π₯1.6. Referrals
Carpe Diem Pension has a referral program that rewards referrers with 0.1 shares for each CDP their referee burns. The referrer address is stored in the smart contract when CDP is burnt by the referee. The system checks for a stored referrer address when a user burns more CDP and no referrer address is filled in. When a referrer address is filled in, it overwrites the referrer address. A stored referrer address can only be changed; thus, the referred status cannot be removed once set. The referral shares are added to the daily auction pool when there is no referrer.
Traditional referral programs often reward referrers with a cut whenever their referee purchases something. Carpe Diem Pension rewards referrers with a permanent income. Thus, referrers earn, no matter of whether they are actively getting in new referees or not. Any effort and work put into gaining more referees increases the referrerβs number of shares.
Technical information: The βnullβ address 0x0000000000000000000000000000000000000000 is used to let the smart contract know that no referrer was filled in.
Last updated