Referral Storage
Public function for setting the user's referral code.
function registerCode(string memory _code)
Admin function to set the config for step reduction and discount on the basis of tier
function configure(
uint8[3] calldata _referrerTierStep,
uint32[3] calldata _referrerTierDiscount // Factor of 1e5
)
Admin function to set referrer's tier
function setReferrerTier(address _referrer, uint8 tier)
Last modified 2mo ago