BadgerTree
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6Slot
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)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
wbtcDiggSLP | ERC-20 | 7.721145 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BadgerTree"
ABI
ABI objects
Getter at block 20798512
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PAUSER_ROLE() view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
ROOT_PROPOSER_ROLE() view returns (bytes32)
0x64ba955c8b5b448b2248fa0532807b98b1b75941bbd2184ca97df4881a13b448
ROOT_VALIDATOR_ROLE() view returns (bytes32)
0x2650881bae229064abd4495ca56feba9ce572f8653a1aad517d81f9e3cf174c0
UNPAUSER_ROLE() view returns (bytes32)
0x427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a
currentCycle() view returns (uint256)
0
getCurrentMerkleData() view returns (struct BadgerTreeMerkleData)
(0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0, 0, 0, 0)
getPendingMerkleData() view returns (struct BadgerTreeMerkleData)
(0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0, 0, 0, 0)
hasPendingRoot() view returns (bool)
false
lastProposeBlockNumber() view returns (uint256)
0
lastProposeEndBlock() view returns (uint256)
0
lastProposeStartBlock() view returns (uint256)
0
lastProposeTimestamp() view returns (uint256)
0
lastPublishBlockNumber() view returns (uint256)
0
lastPublishEndBlock() view returns (uint256)
0
lastPublishStartBlock() 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, address account, 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, uint256 startBlock, uint256 endBlock)
claim(address[] tokens, uint256[] cumulativeAmounts, uint256 index, uint256 cycle, bytes32[] merkleProof)
grantRole(bytes32 role, address account)
initialize(address admin, address initialProposer, address initialValidator)
pause()
proposeRoot(bytes32 root, bytes32 contentHash, uint256 cycle, uint256 startBlock, uint256 endBlock)
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.