AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 106,429 txns
Deployed by via 0x0dcc7763 at 11380690
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
2 additional variables
ERC-20
Value $361,841.68
ERC-20
Value $52,855.8
ERC-20
Value $39,225.62
ERC-20
Value $5,463.02
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x68e4a13b8f96d9b806bacf9fb5f8e7dfa2acb1177526204f98a834bbcfefcbc2
0x6d733efc9c60887b8193415834b31d701fa8b3fa283cffb1c7a1a610ce8bfce6
0x71ce76b62d1a4bebfb08be8db7bf7b8eca56e2c38f8fd5948c01a9d76497f153
0x23e3982e7c8e6861f253f5d2531bb8ddac9d4d17c49ea0f634b63b472eb1eda9
0x6cc8d142ca2072a77ae7c31f1e8d63fa509ad4949a5af0b21444da12b1d007ca
0xd0fb4b7bd67be1148b7f3c803b639396995ca84c3e3b8adecba8d56ef0e6584b
0x874b85ccd5b5174167c56c1fd6cf9afd39c88845e994b065a76a5c87c70b5327
0x9bd9dec1abf84f897bee9805f413a788184b19bb462552502bcceffede89807b
0xfe850b52e1a8b380b8050bfacc5240b9ac4fd25b8a84f19dc0e766c90dfd70d3
0xec9ed3348dbbed02f230cfc06a6ca635a6a52e4e4ced4633c96068d873a12b0f

Functions
Getter at block 21249273
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)
13315
getCurrentMerkleData(view returns (struct BadgerTreeV2MerkleData)
(0xaf5e156e9b8155c16a4c00c19cfa3b0c40a46df80ae7089685f9cdf49f18fbc1, 0x53cb60b63e3bc7cd1aff99f8df41da85b4f8bb1ab2ae0b2d204c503a54820251, 1713932411, 19722817, 19721930, 19722525)
getPendingMerkleData(view returns (struct BadgerTreeV2MerkleData)
(0xaf5e156e9b8155c16a4c00c19cfa3b0c40a46df80ae7089685f9cdf49f18fbc1, 0x53cb60b63e3bc7cd1aff99f8df41da85b4f8bb1ab2ae0b2d204c503a54820251, 1713931883, 19722774, 19721930, 19722525)
hasPendingRoot(view returns (bool)
false
lastProposeBlockNumber(view returns (uint256)
19722774
lastProposeEndBlock(view returns (uint256)
19722525
lastProposeStartBlock(view returns (uint256)
19721930
lastProposeTimestamp(view returns (uint256)
1713931883
lastPublishBlockNumber(view returns (uint256)
19722817
lastPublishEndBlock(view returns (uint256)
19722525
lastPublishStartBlock(view returns (uint256)
19721930
lastPublishTimestamp(view returns (uint256)
1713932411
merkleContentHash(view returns (bytes32)
0x53cb60b63e3bc7cd1aff99f8df41da85b4f8bb1ab2ae0b2d204c503a54820251
merkleRoot(view returns (bytes32)
0xaf5e156e9b8155c16a4c00c19cfa3b0c40a46df80ae7089685f9cdf49f18fbc1
paused(view returns (bool)
false
pendingCycle(view returns (uint256)
13315
pendingMerkleContentHash(view returns (bytes32)
0x53cb60b63e3bc7cd1aff99f8df41da85b4f8bb1ab2ae0b2d204c503a54820251
pendingMerkleRoot(view returns (bytes32)
0xaf5e156e9b8155c16a4c00c19cfa3b0c40a46df80ae7089685f9cdf49f18fbc1
Read-only
claimed(addressaddressview returns (uint256)
encodeClaim(address[] tokensuint256[] cumulativeAmountsaddress accountuint256 indexuint256 cyclepure returns (bytes encodedbytes32 hash)
getClaimableFor(address useraddress[] tokensuint256[] cumulativeAmountsview returns (address[]uint256[])
getClaimedFor(address useraddress[] tokensview returns (address[]uint256[])
getMerkleRootFor(uint256 cycleview returns (bytes32)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isClaimAvailableFor(address useraddress[] tokensuint256[] cumulativeAmountsview returns (bool)
totalClaimed(addressview returns (uint256)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
approveRoot(bytes32 rootbytes32 contentHashuint256 cycleuint256 startBlockuint256 endBlock
claim(address[] tokensuint256[] cumulativeAmountsuint256 indexuint256 cyclebytes32[] merkleProofuint256[] amountsToClaim
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
setCycle(uint256 x
unpause(
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
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 startBlockuint256 endBlockuint256 timestampuint256 blockNumber
RootUpdated(uint256 indexed cyclebytes32 indexed rootbytes32 indexed contentHashuint256 startBlockuint256 endBlockuint256 timestampuint256 blockNumber
Unpaused(address account
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.