StakingV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "StakingV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakingV2"
ABI
ABI objects
Getter at block 21214666 possibleIndex() view returns (uint256) runwayTos() view returns (uint256) runwayTosPossibleIndex() view returns (uint256) stakedOfAll() view returns (uint256)
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
POLICY_ROLE() view returns (bytes32)
0xfb5864e8ff833c3cb2d2d08505e82ff02a43554c74a35d4f5a64e85261278311
basicBondPeriod() view returns (uint256)
0
epoch() view returns (uint256 length_, uint256 end)
(length_=0, end=0)
getIndex() view returns (uint256)
0
index_() view returns (uint256)
0
lockTOS() view returns (address)
0x0000000000000000000000000000000000000000
marketIdCounter() view returns (uint256)
0
rebasePerEpoch() view returns (uint256)
0
secondsToNextEpoch() view returns (uint256)
0
stakingIdCounter() view returns (uint256)
0
stakingPrincipal() view returns (uint256)
0
tos() view returns (address)
0x0000000000000000000000000000000000000000
totalLtos() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allStakings(uint256) view returns (address staker, uint256 deposit, uint256 ltos, uint256 endTime, uint256 marketId)
balanceOf(address _addr) view returns (uint256 balance)
claimableLtos(uint256 _stakeId) view returns (uint256)
connectId(uint256) view returns (uint256)
getLtosToTos(uint256 ltos) view returns (uint256)
getLtosToTosPossibleIndex(uint256 ltos) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTosToLtos(uint256 amount) view returns (uint256)
getTosToLtosPossibleIndex(uint256 amount) view returns (uint256)
getUnlockTime(address lockTos, uint256 start, uint256 _periodWeeks) view returns (uint256 stosEpochUnit, uint256 unlockTime)
hasRole(bytes32 role, address account) view returns (bool)
isAdmin(address account) view returns (bool)
isPolicy(address account) view returns (bool)
isProxyAdmin(address account) view returns (bool)
remainedLtos(uint256 _stakeId) view returns (uint256)
stakeInfo(uint256 stakeId) view returns (address staker, uint256 deposit, uint256 ltos, uint256 endTime, uint256 marketId)
stakedOf(uint256 stakeId) view returns (uint256)
stakingOf(address _addr) view returns (uint256[])
supportsInterface(bytes4 interfaceId) view returns (bool)
userStakingIndex(address, uint256) view returns (uint256)
userStakings(address, uint256) view returns (uint256)
State-modifying
Events addAdmin(address account)
addPolicy(address _account)
addProxyAdmin(address _owner)
claimForSimpleType(uint256 _stakeId, uint256 claimLtos)
deletePolicy(address _account)
generateMarketId() returns (uint256)
grantRole(bytes32 role, address account)
increaseAmountForSimpleStake(uint256 _stakeId, uint256 _amount)
increaseBeforeEndOrNonEnd(uint256 _stakeId, uint256 _amount)
increaseBeforeEndOrNonEnd(uint256 _stakeId, uint256 _amount, uint256 _unlockWeeks)
multiUnstake(uint256[] _stakeIds)
rebaseIndex()
removeAdmin()
removePolicy()
removeProxyAdmin()
renounceRole(bytes32 role, address account)
resetStakeGetStosAfterLock(uint256 _stakeId, uint256 _addAmount, uint256 _periodWeeks)
resetStakeGetStosAfterLock(uint256 _stakeId, uint256 _addTosAmount, uint256 _relockLtosAmount, uint256 _periodWeeks)
revokeRole(bytes32 role, address account)
setAddressInfos(address _tos, address _lockTOS, address _treasury)
setBasicBondPeriod(uint256 _period)
setEpochInfo(uint256 _length, uint256 _end)
setRebasePerEpoch(uint256 _rebasePerEpoch)
stake(uint256 _amount) returns (uint256 stakeId)
stakeByBond(address to, uint256 _amount, uint256 _marketId, uint256 tosPrice) returns (uint256 stakeId)
stakeGetStos(uint256 _amount, uint256 _periodWeeks) returns (uint256 stakeId)
stakeGetStosByBond(address _to, uint256 _amount, uint256 _marketId, uint256 _periodWeeks, uint256 tosPrice) returns (uint256 stakeId)
syncStos(address[] accounts, uint256[] balances, uint256[] period, uint256[] tokenId)
transferAdmin(address newAdmin)
transferProxyAdmin(address newAdmin)
unstake(uint256 _stakeId)
ClaimedForNonLock(address staker, uint256 claimAmount, uint256 stakeId)
IncreasedAmountForSimpleStake(address to, uint256 amount, uint256 stakeId)
IncreasedBeforeEndOrNonEnd(address staker, uint256 amount, uint256 unlockWeeks, uint256 stakeId, uint256 stosId, uint256 stosPrincipal)
Rebased(uint256 oldIndex, uint256 newIndex, uint256 totalLTOS)
ResetStakedGetStosAfterLock(address to, uint256 addAmount, uint256 claimAmount, uint256 periodWeeks, uint256 stakeId, uint256 stosId, uint256 stosPrincipal)
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)
SetAddressInfos(address tosAddress, address lockTOSAddress, address treasuryAddress)
SetBasicBondPeriod(uint256 period)
SetEpochInfo(uint256 length, uint256 end)
SetIndex(uint256 index)
SetRebasePerEpoch(uint256 rebasePerEpoch)
Staked(address to, uint256 amount, uint256 stakeId)
StakedByBond(address to, uint256 amount, uint256 ltos, uint256 marketId, uint256 stakeId, uint256 tosPrice)
StakedGetStos(address to, uint256 amount, uint256 periodWeeks, uint256 stakeId, uint256 stosId, uint256 stosPrincipal)
StakedGetStosByBond(address to, uint256 amount, uint256 ltos, uint256 periodWeeks, uint256 marketId, uint256 stakeId, uint256 stosId, uint256 tosPrice, uint256 stosPrincipal)
Unstaked(address staker, uint256 amount, uint256 stakeId)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.