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

BadgerTree

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xb45b1925 at 11385035
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

No balances found for "BadgerTree"

No transactions found for "BadgerTree"


Functions
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(addressaddressview returns (uint256)
encodeClaim(address[] tokensuint256[] cumulativeAmountsuint256 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 cycle
claim(address[] tokensuint256[] cumulativeAmountsuint256 indexuint256 cyclebytes32[] merkleProof
grantRole(bytes32 roleaddress account
initialize(address adminaddress initialUpdateraddress initialGuardian
pause(
proposeRoot(bytes32 rootbytes32 contentHashuint256 cycle
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.