AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 178 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 49 additional slots
-
variable spans 48 additional slots
0x0715…5fdc
0x0715…5fdc
Balances ($0.00)
No balances found for "AdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19577322 | 8 months ago | | | 0 | 0.0026522661 | |
| 19493106 | 9 months ago | | | 0 | 0.00047162609 | |
| 13951606 | 3 years ago | | | 0 | 0.012378960 | |
| 13934445 | 3 years ago | | | 0 | 0.0055958885 | |
| 13934378 | 3 years ago | | | 0 | 0.0041030975 | |
| 12519355 | 4 years ago | | | 0 | 0.0046227748 | |
| 12433277 | 4 years ago | | | 0 | 0.022257916 | |
| 12373320 | 4 years ago | | | 0 | 0.0048749261 | |
| 12348754 | 4 years ago | | | 0 | 0.0048858840 | |
| 12347701 | 4 years ago | | | 0 | 0.0038001320 |
ABI
ABI objects
Getter at block 21386505
BASE() view returns (address)
0x07150e919b4de5fd6a63de1f9384828396f25fdc
enrollmentPeriodDuration() view returns (uint256)
259200
enrollmentPeriodStartTimestamp() view returns (uint256)
1609372800
maxStaked() view returns (uint256)
2061619159049969152149402250000000000000
owner() view returns (address)
0x471aea3d5a2c588a51e74132752c7b15c185db79
stakeToken() view returns (address)
0x07150e919b4de5fd6a63de1f9384828396f25fdc
stakeTokenIsBASE() view returns (bool)
true
totalRewardShares() view returns (uint256)
465543969240410050016114755024000000000
totalStaked() view returns (uint256)
1920592904139263993213847144766589968982
vestingDuration() view returns (uint256)
1
vestingStartTimestamp() view returns (uint256)
1641238610
Read-only
sharesToTokens(uint256 shares) view returns (uint256)
sharesWithdrawnByUser(address) view returns (uint256)
staked(address) view returns (uint256)
tokensToShares(uint256 tokens) view returns (uint256)
unstaked(address) view returns (bool)
vaultInfo(address user) view returns (uint256 _enrollmentPeriodStartTimestamp, uint256 _enrollmentPeriodDuration, uint256 _vestingStartTimestamp, uint256 _vestingDuration, uint256 _maxStaked, uint256 _totalTokensStaked, uint256 _tokensStakedByUser, uint256 _totalRewardTokens, uint256 _tokensWithdrawableByUser, uint256 _tokensWithdrawnByUser)
withdrawable(address user) view returns (uint256 tokens, uint256 shares)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addRewards(uint256 tokens)
adminRescueFunds(address token, address recipient, uint256 amount)
initialize()
removeRewards(uint256 tokens)
renounceOwnership()
setupVault(address BASE_, address stakeToken_, uint256 maxStaked_, uint256 enrollmentPeriodStartTimestamp_, uint256 enrollmentPeriodDuration_, uint256 vestingStartTimestamp_, uint256 vestingDuration_)
stake(uint256 tokens)
transferOwnership(address newOwner)
unstake()
withdrawRewards()
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AddRewards(uint256 amountAdded, uint256 totalRewardTokens)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RemoveRewards(uint256 amountRemoved, uint256 totalRewardTokens)
RescueFunds(address token, address recipient, uint256 amount)
Stake(address indexed user, uint256 newAmount, uint256 totalAmount)
Unstake(address indexed user, uint256 amount)
Withdraw(address indexed user, uint256 tokensWithdrawnThisTime, uint256 totalSharesWithdrawnByUser)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.