Referral system overview

QuipuSwap Farmings implements referral system.

Every user can have only one referrer. In the beginning, users don't have referrers. A referrer can be changed by the user every his deposit (stake). Users can't refer themselves (transaction will fail in this case).

Every time when claim_rewards function is called (in deposit, withdraw, and harvest entrypoints) harvest_fee will be minted/transferred to the user's referrer. If a user doesn't have a referrer, a harvest_fee will be minted/transferred to the zero_address.

zero_address is the account address that no one has access to: tz1ZZZZZZZZZZZZZZZZZZZZZZZZZZZZNkiRg

Last updated