AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 4,550 txns
Deployed by via 0x5bcdb836 at 11539649
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
--
0x304f9fa021965cd4e27bd95e291e81f511b7311670f0c7e240a079fc7a44057d
0x012210a699a2dadf4d451343bf9a1f699a874dc6a8e7f2fc5745a3358c3b7562
0xbfb7396f5dd285d5497b294493897cab2ab98405a9667773aadeac33c2aff945
0x22c27b53482f12c122389decf7c48883f00695518231ba24d53f627b06880cb3
0xd31eab5125be716efc2d8adcedd6eacf98aaf4c057634e24c56bf509377bab32
0xb4c53912b0a77488084e5a4095661d807970024c7326a92758afca1037c281d0
0x1f03be5ee05dfc4164c19b4f447d0f5c17c722b2dbb16054b2565603344c47be
0xdc9857f6e907c0661ff6af19c9d35044bde1d428b6a8e34bad8922e50fa89f21
0x7166af895aaf258a233238660caed1a950a3a07ebaac250ccb1aafa9995db1f2
0x49fe89c667394a6c3dcfc5c6e4ba45a4f9c62882aabdf293be85aa780002fa46

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