Staking
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
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
-
variable spans 2 additional slots
10 additional
variables
Balances ($0.00)
No balances found for "Staking"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Staking"
ABI
ABI objects
Getter at block 21184841 calculateStepsFromStart() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXTERNAL_STAKER_ROLE() view returns (bytes32)
0x89b9439cc214903f84e45dd38c65d9d5e383ed005a269516b5b7973bbeeb4185
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE() view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
addresses() view returns (address mainToken, address auction, address subBalances)
(mainToken=0x0000000000000000000000000000000000000000, auction=0x0000000000000000000000000000000000000000, subBalances=0x0000000000000000000000000000000000000000)
basePeriod() view returns (uint256)
0
getBPD() view returns (uint128[5], uint128[5])
([0, 0, 0, 0, 0], [0, 0, 0, 0, 0])
getDivTokens() view returns (address[])
[]
getMaxShareEventActive() view returns (bool)
false
getMaxShareMaxDays() view returns (uint16)
0
getPaused() view returns (bool)
false
getTotalVcaRegisteredShares() view returns (uint256)
0
globalPayin() view returns (uint256)
0
globalPayout() view returns (uint256)
0
init_() view returns (bool)
false
lastSessionId() view returns (uint256)
0
lastSessionIdV1() view returns (uint256)
0
nextPayoutCall() view returns (uint256)
0
shareRate() view returns (uint256)
0
sharesTotalSupply() view returns (uint256)
0
stakingV1() view returns (address)
0x0000000000000000000000000000000000000000
startContract() view returns (uint256)
0
stepTimestamp() view returns (uint256)
0
totalStakedAmount() view returns (uint256)
0
Read-only
calcBPD(uint256 start, uint256 end, uint256 shares) view returns (uint256)
calculateStakingInterest(uint256 firstPayout, uint256 lastPayout, uint256 shares) view returns (uint256)
findBPDEligible(uint256 starttime, uint256 endtime) view returns (uint16[2])
getAmountOutAndPenalty(uint256 amount, uint256 start, uint256 end, uint256 stakingInterest) view returns (uint256, uint256)
getIsVCARegistered(address staker) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getTokenInterestEarned(address accountAddress, address tokenAddress) view returns (uint256)
getTotalSharesOf(address account) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
payouts(uint256) view returns (uint256 payout, uint256 sharesTotalSupply)
sessionDataOf(address, uint256) view returns (uint256 amount, uint256 start, uint256 end, uint256 shares, uint256 firstPayout, uint256 lastPayout, bool withdrawn, uint256 payout)
sessionsOf(address, uint256) view returns (uint256)
sessionsOf_(address account) view returns (uint256[])
State-modifying
Events addDivToken(address tokenAddress)
externalStake(uint256 amount, uint256 stakingDays, address staker)
grantRole(bytes32 role, address account)
initialize(address _manager, address _migrator)
makePayout()
maxShare(uint256 sessionId)
maxShareV1(uint256 sessionId)
renounceRole(bytes32 role, address account)
restake(uint256 sessionId, uint256 stakingDays, uint256 topup)
restakeV1(uint256 sessionId, uint256 stakingDays, uint256 topup)
revokeRole(bytes32 role, address account)
setBPDPools(uint128[5] poolAmount, uint128[5] poolShares)
setMaxShareEventActive(bool _active)
setMaxShareMaxDays(uint16 _maxShareMaxDays)
setPaused(bool _paused)
setShareRateScalingFactor(uint256 _scalingFactor)
setTotalSharesOfAccount(address _address)
setTotalVcaRegisteredShares(uint256 _shares)
setupRole(bytes32 role, address account)
stake(uint256 amount, uint256 stakingDays)
unstake(uint256 sessionId)
unstakeV1(uint256 sessionId)
updateTokenPricePerShare(address bidderAddress, address originAddress, address tokenAddress, uint256 amountBought) payable
withdrawDivToken(address tokenAddress)
AccountRegistered(address indexed account, uint256 indexed totalShares)
MakePayout(uint256 indexed value, uint256 indexed sharesTotalSupply, uint256 indexed time)
MaxShareUpgrade(address indexed account, uint256 indexed sessionId, uint256 amount, uint256 newAmount, uint256 shares, uint256 newShares, uint256 start, uint256 end)
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)
Stake(address indexed account, uint256 indexed sessionId, uint256 amount, uint256 start, uint256 end, uint256 shares)
Unstake(address indexed account, uint256 indexed sessionId, uint256 amount, uint256 start, uint256 end, uint256 shares)
WithdrawLiquidDiv(address indexed account, address indexed tokenAddress, uint256 indexed interest)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.