BadgerTree
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "BadgerTree"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BadgerTree"
ABI
ABI objects
Getter at block 20798540
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GUARDIAN_ROLE() view returns (bytes32)
0x55435dd261a4b9b3364963f7738a7a662ad9c84396d64be3365284bb7f0a5041
ROOT_UPDATER_ROLE() view returns (bytes32)
0x009ab23a1010d07a0450a1fbea1d84169b57d2c2273b54bff0f20c3e90199b5d
currentCycle() view returns (uint256)
0
getCurrentMerkleData() view returns (struct BadgerTreeMerkleData)
(0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0, 0)
getPendingMerkleData() view returns (struct BadgerTreeMerkleData)
(0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0, 0)
hasPendingRoot() view returns (bool)
false
lastProposeBlockNumber() view returns (uint256)
0
lastProposeTimestamp() view returns (uint256)
0
lastPublishBlockNumber() view returns (uint256)
0
lastPublishTimestamp() view returns (uint256)
0
merkleContentHash() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
merkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
paused() view returns (bool)
false
pendingCycle() view returns (uint256)
0
pendingMerkleContentHash() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
pendingMerkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
claimed(address, address) view returns (uint256)
encodeClaim(address[] tokens, uint256[] cumulativeAmounts, uint256 index, uint256 cycle) view returns (bytes encoded, bytes32 hash)
getClaimedFor(address user, address[] tokens) view returns (address[], uint256[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
totalClaimed(address) view returns (uint256)
State-modifying
Events approveRoot(bytes32 root, bytes32 contentHash, uint256 cycle)
claim(address[] tokens, uint256[] cumulativeAmounts, uint256 index, uint256 cycle, bytes32[] merkleProof)
grantRole(bytes32 role, address account)
initialize(address admin, address initialUpdater, address initialGuardian)
pause()
proposeRoot(bytes32 root, bytes32 contentHash, uint256 cycle)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
unpause()
Claimed(address indexed user, address indexed token, uint256 amount, uint256 indexed cycle, uint256 timestamp, uint256 blockNumber)
InsufficientFundsForRoot(bytes32 indexed root)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RootProposed(uint256 indexed cycle, bytes32 indexed root, bytes32 indexed contentHash, uint256 timestamp, uint256 blockNumber)
RootUpdated(uint256 indexed cycle, bytes32 indexed root, bytes32 indexed contentHash, uint256 timestamp, uint256 blockNumber)
Unpaused(address account)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.