AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 1,935 txns
Deployed by via 0x286ab10d at 11539829
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
--
0xc459d233b97e40c1c36ab6eb4d6cf3287d4443627ecff4bee111bd00b315dc23
0xf9d9161eca56e570af173fc506473e0471efa0c40884abab60e1ee2aafff16d7
0x80cb8c89163af818e30ef373914b01170e204edb5707d31e39951e7c46e548f7
0x1e21375ccf2d4f2927f8e80f81624dc1cf90b58a240510aae2d3e8ee5a52f5e5
0xb13762b3225e65e2226d884dd1a44d503c098408acab49cd764489f0c475ec3d
0x22fe63ddf6804d47e203035af8c4ee93d569a4a8e731100cca0c2ac4c84f9572
0xd94e532d5c2c734baf7fbe33f9f4e3bd3ebcf7b5973ee272f8b54794425b32c6
0x528bd153a13aa14e867e7d7c734018fce7bf4347d87d021ab0f65379e9bd76dd
0xe6b3f267baeaba663a076f5944d801f2d34ac4c03ceb9e2cf26c84183f1d5618
0x2219c036227829bfc5cd37e17205ef53ecab499462fbee821011ace79151b66e

Functions
Getter at block 21160423
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)
0x758a43ee2bff8230eeb784879cdcff4828f2544d
globalStartTime(view returns (uint256)
1607014800
supportsHistory(pure returns (bool)
false
totalStaked(view returns (uint256)
216949881726389
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.