User Referral Rewards
This is a simple smart contract that implements a referral rewards program. Users can refer others and earn token rewards. The owner of the contract can update the reward amount.
Tech Stack
Description
Referral Rewards Smart Contract
Overview
This is a simple smart contract that implements a referral rewards program. Users can refer others and earn token rewards. The owner of the contract can update the reward amount.
Features
Users can refer a new address and receive token rewards.
Each address can only refer once.
The owner can update the reward amount.
Deployed Address
Network: Edu Chain
Contract Address:
0x2e3c6743235Df5C59C1B9F914442899818A1E829
How It Works
A user calls the
referfunction with a valid referee address.The contract verifies that the user has not referred before.
If valid, the referrer receives a fixed reward.
The owner can adjust the reward amount using
updateReward.
License
This project is open-source and free to use.