AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 4,541 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
0xc170…4714
-
variable spans 1 additional slot
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
bUNI-V2 | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20564597 | 4 months ago | | | 0 | 0.00016000084 | |
| 20283926 | 5 months ago | | | 0 | 0.0011746023 | |
| 19916669 | 7 months ago | | | 0 | 0.0012069860 | |
| 19842152 | 7 months ago | | | 0 | 0.00082071920 | |
| 19778492 | 7 months ago | | | 0 | 0.00069597395 | |
| 19613007 | 8 months ago | | | 0 | 0.0030726640 | |
| 19551711 | 8 months ago | | | 0 | 0.0017192018 | |
| 19346788 | 9 months ago | | | 0 | 0.0039505680 | |
| 18892478 | a year ago | | | 0 | 0.0029626020 | |
| 18757752 | a year ago | | | 0 | 0.0029629260 |
ABI
ABI objects
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 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getUnlockSchedulesFor(address token) view returns (struct BadgerGeyserUnlockSchedule[])
hasRole(bytes32 role, address account) view returns (bool)
totalStakedFor(address addr) view returns (uint256)
unlockScheduleCount(address token) view returns (uint256)
unlockSchedules(address, uint256) view returns (uint256 initialLocked, uint256 endAtSec, uint256 durationSec, uint256 startTime)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addDistributionToken(address token)
grantRole(bytes32 role, address account)
initialize(address stakingToken_, address initialDistributionToken_, uint256 globalStartTime_, address initialAdmin_, address initialTokenLocker_)
modifyTokenLock(address token, uint256 index, uint256 amount, uint256 durationSec, uint256 startTime)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
signalTokenLock(address token, uint256 amount, uint256 durationSec, uint256 startTime)
stake(uint256 amount, bytes data)
stakeFor(address user, uint256 amount, bytes data)
unstake(uint256 amount, bytes data)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Staked(address indexed user, uint256 amount, uint256 total, uint256 indexed timestamp, uint256 indexed blockNumber, bytes data)
TokensLocked(address indexed token, uint256 amount, uint256 durationSec, uint256 startTime, uint256 endTime, uint256 indexed timestamp, bytes data)
UnlockScheduleSet(address token, uint256 index, uint256 initialLocked, uint256 durationSec, uint256 startTime, uint256 endTime)
Unstaked(address indexed user, uint256 amount, uint256 total, uint256 indexed timestamp, uint256 indexed blockNumber, bytes data)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.