ReferralsUtils
GNSReferrals facet internal library
initializeReferrals
Check IReferralsUtils interface for documentation
updateAllyFeeP
Check IReferralsUtils interface for documentation
updateStartReferrerFeeP
Check IReferralsUtils interface for documentation
updateReferralsTargetVolumeUsd
Check IReferralsUtils interface for documentation
whitelistAllies
Check IReferralsUtils interface for documentation
unwhitelistAllies
Check IReferralsUtils interface for documentation
whitelistReferrers
Check IReferralsUtils interface for documentation
unwhitelistReferrers
Check IReferralsUtils interface for documentation
registerPotentialReferrer
Check IReferralsUtils interface for documentation
distributeReferralReward
Check IReferralsUtils interface for documentation
claimAllyRewards
Check IReferralsUtils interface for documentation
claimReferrerRewards
Check IReferralsUtils interface for documentation
getReferrerFeeProgressP
Check IReferralsUtils interface for documentation
getTraderLastReferrer
Check IReferralsUtils interface for documentation
getTraderActiveReferrer
Check IReferralsUtils interface for documentation
getReferrersReferred
Check IReferralsUtils interface for documentation
getTradersReferred
Check IReferralsUtils interface for documentation
getReferralsAllyFeeP
Check IReferralsUtils interface for documentation
getReferralsStartReferrerFeeP
Check IReferralsUtils interface for documentation
getReferralsTargetVolumeUsd
Check IReferralsUtils interface for documentation
getAllyDetails
Check IReferralsUtils interface for documentation
getReferrerDetails
Check IReferralsUtils interface for documentation
_getSlot
Returns storage slot to use when fetching storage relevant to library
_getStorage
Returns storage pointer for storage struct in diamond contract, at defined slot
_whitelistAlly
Whitelists new ally
Parameters
_unwhitelistAlly
Unwhitelists ally
Parameters
_whitelistReferrer
Whitelists new referrer
Parameters
_unwhitelistReferrer
Unwhitelists referrer