HYFI_Referrals

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7ed3e51a at 14967221
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots

No balances found for "HYFI_Referrals"

No transactions found for "HYFI_Referrals"


Functions
Getter at block 21324816
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
REFERRAL_SETTER(view returns (bytes32)
0x7e033b06d157527bacc50cfed39114a64ebe338a615c5a9ac73f686d8f328061
 
getAllUsedReferralCodeList(view returns (uint256[])
 
getReferralRangeSize(view returns (uint256)
 
getTotalAmountBoughtWithReferrals(view returns (uint256)
Read-only
getAmountBoughtWithReferral(uint256 referralCodeview returns (uint256)
getReferralDiscountAmount(uint256 referralview returns (uint256 discountAmount)
getReferralDiscountAmountByRange(uint256 referralCodeview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addToReferralRange(uint256 referralRangeuint256 referralDiscount
grantRole(bytes32 roleaddress account
initialize(payable 
removeReferralRange(uint256 range
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
updateAmountBoughtWithReferral(uint256 referralCodeuint256 amount
Events
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.