AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 46,113 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
0x19d9…fc28
-
variable spans 1 additional slot
Balances ($451,685.23)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
bBADGER | ERC-20 | 125.120285K | $3.61 |
$451,684.23 | |
DAI | ERC-20 | 1 | $1.001 |
$1 | |
HQG | ERC-20 | 0.01 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21148758 | 2 days ago | | | 0 | 0.00085984000 | |
| 21091358 | 10 days ago | | | 0 | 0.00063387528 | |
| 21049576 | 16 days ago | | | 0 | 0.0015616927 | |
| 20948391 | a month ago | | | 0 | 0.00081151505 | |
| 20940552 | a month ago | | | 0 | 0.0012009354 | |
| 20838960 | a month ago | | | 0 | 0.0012467680 | |
| 20737403 | 2 months ago | | | 0 | 0.00030339795 | |
| 20735282 | 2 months ago | | | 0 | 0.00075896110 | |
| 20693315 | 2 months ago | | | 0 | 0.00075236000 | |
| 20688156 | 2 months ago | | | 0 | 0.00010746800 |
ABI
ABI objects
Getter at block 21161252
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)
0x19d97d8fa813ee2f51ad4b4e04ea08baf4dffc28
globalStartTime() view returns (uint256)
1607014800
supportsHistory() pure returns (bool)
false
totalStaked() view returns (uint256)
125119284887668773959967
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.