AthReferral
Referral records and commission management Contract
- onlyOperator
@notice : check if caller is operator- addAdmin
@notice : assign Administrator permission
@param user {address} : the address to get Admin permission
onlyOwner- removeAdmin
@notice : remove Administrator permission
@param user {address} : the address to be removed Admin permission
onlyOwner- isAdmin
@notice : check if given address is Administrator
@param user {address} : the address to be checked Admin permission
@returns : the judgement value- claimableAmountByOperator
- isReferralContract
- getReferrer
- addOperatorToken
- _recordReferral
- recordReferral
- _addUserReferrer
- addUserReferrer
- _recordReferralCommission
- recordReferralCommission
- isOperator
- addOperator
- removeOperator
- drainBEP20Token
- claimCommissionByOperator
- getOperatorReferralRecords
Last updated