AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 4,541 txns
Deployed by via 0x11a89e92 at 11683491
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 1 additional slot
ERC-20
--
0x8c611a50526fcbb7f73cd741bd48a59accf9bc22256991a7a05801d27b408900
0x1a140b39f5a8bbdcc40ea91d36cf7f1446877a5e9649e1232a8f5e8aac985c43
0xa102f189797bdfbca8680354c707824b1303df38f3608b54d95455f6a14b9d84
0x4a58af825fb5c97698343633569b6eadcf0299aff69f8977104ce89ac04f8aca
0xdba977330dfcc9757cafa16c37fe8fa6ded7942da1e0287b17d92975efa9ffd8
0x1fcdb805a1f77380517ebdaed0d5ab16bd42ee90ce142a32b9302fa7f0d4dce0
0x3eee84ef644811a147d41ae8a64fcdf73d97c2b62928804400891f3c2698921d
0xba8021ea605637139a6f23110c30eb51fee4964d190ee83aa6d66db6650e841e
0xc50151c449ac048e0249d3777ce8a201051a305730d3e376ee1f0536f3d4f016
0x70d90be57abcf5237c9d6ae79def71c5b5f99bd7d8a097d9bd6c2ebe4a9b6650

Functions
Getter at block 21388638
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_PERCENTAGE(view returns (uint256)
100
TOKEN_LOCKER_ROLE(view returns (bytes32)
0x4bf6f2cdcc8ad6c087a7a4fbecf46150b3686b71387234cac2b3e2e6dc70e345
getDistributionTokens(view returns (address[])
[0x3472A5A71965499acd81997a54BBA8D852C6E53d, 0x798D1bE841a82a273720CE31c822C61a67a601C3]
getNumDistributionTokens(view returns (uint256)
2
getStakingToken(view returns (address)
0xc17078fdd324cc473f8175dc5290fae5f2e84714
globalStartTime(view returns (uint256)
1607014800
supportsHistory(pure returns (bool)
false
totalStaked(view returns (uint256)
1610273580
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUnlockSchedulesFor(address tokenview returns (struct BadgerGeyserUnlockSchedule[])
hasRole(bytes32 roleaddress accountview returns (bool)
totalStakedFor(address addrview returns (uint256)
unlockScheduleCount(address tokenview returns (uint256)
unlockSchedules(addressuint256view returns (uint256 initialLockeduint256 endAtSecuint256 durationSecuint256 startTime)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addDistributionToken(address token
grantRole(bytes32 roleaddress account
initialize(address stakingToken_address initialDistributionToken_uint256 globalStartTime_address initialAdmin_address initialTokenLocker_
modifyTokenLock(address tokenuint256 indexuint256 amountuint256 durationSecuint256 startTime
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
signalTokenLock(address tokenuint256 amountuint256 durationSecuint256 startTime
stake(uint256 amountbytes data
stakeFor(address useruint256 amountbytes data
unstake(uint256 amountbytes data
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(address indexed useruint256 amountuint256 totaluint256 indexed timestampuint256 indexed blockNumberbytes data
TokensLocked(address indexed tokenuint256 amountuint256 durationSecuint256 startTimeuint256 endTimeuint256 indexed timestampbytes data
UnlockScheduleSet(address tokenuint256 indexuint256 initialLockeduint256 durationSecuint256 startTimeuint256 endTime
Unstaked(address indexed useruint256 amountuint256 totaluint256 indexed timestampuint256 indexed blockNumberbytes data
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.