RewardSystem
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "RewardSystem"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RewardSystem"
ABI
ABI objects
Getter at block 23112210
FEATURE_CLAIM_ACTIVE() view returns (uint32)
1
ROLE_ACCESS_MANAGER() view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819968
ROLE_DATA_ROOT_MANAGER() view returns (uint32)
65536
ROLE_UPGRADE_MANAGER() view returns (uint256)
28948022309329048855892746252171976963317496166410141009864396001978282409984
erc20RewardToken() view returns (address)
0x0000000000000000000000000000000000000000
features() view returns (uint256)
0
getImplementation() view returns (address)
0x0000000000000000000000000000000000000000
rewardSystemType() view returns (bool)
true
root() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
totalClaimedReward() view returns (uint256)
0
Read-only
claimedReward(address userAddress) view returns (uint256)
claimedReward(uint256 index, address userAddress) view returns (uint256)
getRole(address operator) view returns (uint256)
isClaimValid(address _to, uint256 _totalReward, bytes32[] _proof) view returns (bool)
isFeatureEnabled(uint256 required) view returns (bool)
isOperatorInRole(address operator, uint256 required) view returns (bool)
isSenderInRole(uint256 required) view returns (bool)
State-modifying
Events claimReward(address _to, uint256 _totalReward, bytes32[] _proof)
postConstruct(address _erc20RewardToken)
resetClaimedRewards()
setInputDataRoot(bytes32 _root)
updateFeatures(uint256 _mask)
updateRole(address operator, uint256 role)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
ClaimedRewardsReset(uint256 size)
ERC20RewardClaimed(address indexed rewardToken, address indexed user, uint256 amount)
EthRewardClaimed(address indexed user, uint256 amount)
PaymentReceived(uint256 value)
RoleUpdated(address indexed operator, uint256 requested, uint256 assigned)
RootChanged(address indexed by, bytes32 root)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
receive()
This contract contains no error objects.