AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 1,692 txns
Deployed by via 0x8224b93a at 11380956
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
--
0x089f4d037d71ed2fb675ad300f126e6381b7d7888e67c9ec7c91a0af03567d66
0x437e39206c529132b9756c2fc963672324716994902432e214c462c862509b06
0xfe7c2e4179caa9043388823cbd7c76e1d66bf2c572c390a2c30e9f8ef4e98fce
0x58f2757747a50dd9ee73312fb8631c9fa8bb59f00684378cb803627290b00212
0x8f6fd32aa32ebb56778267e245e8afdc83c38894ab90e4324a5e4872ca714a77
0x035d2e5a26fa138b1fb8dc27cdab55df7841536b62104bfbc9d966dcefa78745
0x57203c25e6656509a57d783779a4517eeb0538ddfb66a54e10caaaec0b5c9b56
0xff3f95ce05c183172411e6e30cd0ae08a8e6af22df6787e5aa2b90cda5ea417e
0xfce83b64e15fba684f7b646c69d63bef242b9dd84f9b48ec8d415a2badb2eece
0x58e282828cd0eb6b675538b85115fe29ae057f11c0726cb98e308e533fe90279

Functions
Getter at block 21289367
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)
0xaf5a1decfa95baf63e0084a35c62592b774a2a87
globalStartTime(view returns (uint256)
1607014800
supportsHistory(pure returns (bool)
false
totalStaked(view returns (uint256)
1657861925866553930
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_
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 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.