Vault
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
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
Balances ($0.00)
No balances found for "Vault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Vault"
ABI
ABI objects
Getter at block 21386505
BASE() view returns (address)
0x0000000000000000000000000000000000000000
enrollmentPeriodDuration() view returns (uint256)
0
enrollmentPeriodStartTimestamp() view returns (uint256)
0
maxStaked() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
stakeToken() view returns (address)
0x0000000000000000000000000000000000000000
stakeTokenIsBASE() view returns (bool)
true
totalRewardShares() view returns (uint256)
0
totalStaked() view returns (uint256)
0
vestingDuration() view returns (uint256)
0
vestingStartTimestamp() view returns (uint256)
0
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 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()
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.