This contract is being backfilled. You may encounter incomplete storage history.

BadgerTree

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x0b9a5bf0 at 11709373
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 48 additional slots
-
variable spans 48 additional slots
ERC-20
--

No transactions found for "BadgerTree"


Functions
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(addressaddressview returns (uint256)
encodeClaim(address[] tokensuint256[] cumulativeAmountsaddress accountuint256 indexuint256 cycleview returns (bytes encodedbytes32 hash)
getClaimedFor(address useraddress[] tokensview returns (address[]uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
totalClaimed(addressview returns (uint256)
State-modifying
approveRoot(bytes32 rootbytes32 contentHashuint256 cycleuint256 startBlockuint256 endBlock
claim(address[] tokensuint256[] cumulativeAmountsuint256 indexuint256 cyclebytes32[] merkleProof
grantRole(bytes32 roleaddress account
initialize(address adminaddress initialProposeraddress initialValidator
pause(
proposeRoot(bytes32 rootbytes32 contentHashuint256 cycleuint256 startBlockuint256 endBlock
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
unpause(
Events
Claimed(address indexed useraddress indexed tokenuint256 amountuint256 indexed cycleuint256 timestampuint256 blockNumber
InsufficientFundsForRoot(bytes32 indexed root
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RootProposed(uint256 indexed cyclebytes32 indexed rootbytes32 indexed contentHashuint256 timestampuint256 blockNumber
RootUpdated(uint256 indexed cyclebytes32 indexed rootbytes32 indexed contentHashuint256 timestampuint256 blockNumber
Unpaused(address account
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.