StakingV2Proxy
Verified contract
Proxy
Active on
Ethereum with 455 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
0x409c…8153
0x409c…8153
14 additional
variables
Balances ($0.00)
No balances found for "StakingV2Proxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21113874 | a day ago | | | 0 | 0.0017636682 | |
| 21111568 | 2 days ago | | | 0 | 0.0012668605 | |
| 21111563 | 2 days ago | | | 0 | 0.0012316027 | |
| 21111558 | 2 days ago | | | 0 | 0.0013382052 | |
| 21107182 | 2 days ago | | | 0 | 0.0015134865 | |
| 21107073 | 2 days ago | | | 0 | 0.0016291571 | |
| 21064587 | 8 days ago | | | 0 | 0.0016588590 | |
| 21064543 | 8 days ago | | | 0 | 0.0013921478 | |
| 21064503 | 8 days ago | | | 0 | 0.0034168824 | |
| 21064496 | 8 days ago | | | 0 | 0.0036554261 |
ABI
ABI objects
Getter at block 21124393 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)
432000
epoch() view returns (uint256 length_, uint256 end)
(length_=28800, end=1730746800)
implementation() view returns (address)
0x081fb1858664b160f24234916b732376b92a1c6c
index_() view returns (uint256)
1206319416264836195
isTreasury() pure returns (bool)
false
lockTOS() view returns (address)
0x69b4a202fa4039b42ab23adb725aa7b1e9eebd79
marketIdCounter() view returns (uint256)
4
pauseProxy() view returns (bool)
false
rebasePerEpoch() view returns (uint256)
87045050000000
stakingIdCounter() view returns (uint256)
785
stakingPrincipal() view returns (uint256)
7010168520407629157730822
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
totalLtos() view returns (uint256)
6402806579492407782264758
treasury() view returns (address)
0xd27a68a457005f822863199af0f817f672588ad6
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
POLICY_ROLE() view returns (bytes32)
0xfb5864e8ff833c3cb2d2d08505e82ff02a43554c74a35d4f5a64e85261278311
basicBondPeriod() view returns (uint256)
432000
epoch() view returns (uint256 length_, uint256 end)
(length_=28800, end=1730746800)
getIndex() view returns (uint256)
1206319416264836195
index_() view returns (uint256)
1206319416264836195
lockTOS() view returns (address)
0x69b4a202fa4039b42ab23adb725aa7b1e9eebd79
marketIdCounter() view returns (uint256)
4
rebasePerEpoch() view returns (uint256)
87045050000000
secondsToNextEpoch() view returns (uint256)
0
stakingIdCounter() view returns (uint256)
785
stakingPrincipal() view returns (uint256)
7010168520407629157730822
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
totalLtos() view returns (uint256)
6402806579492407782264758
treasury() view returns (address)
0xd27a68a457005f822863199af0f817f672588ad6
Read-only
aliveImplementation(address) view returns (bool)
allStakings(uint256) view returns (address staker, uint256 deposit, uint256 ltos, uint256 endTime, uint256 marketId)
connectId(uint256) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSelectorImplementation2(bytes4 _selector) view returns (address impl)
hasRole(bytes32 role, address account) view returns (bool)
implementation2(uint256 _index) view returns (address)
isAdmin(address account) view returns (bool)
isPolicy(address account) view returns (bool)
isProxyAdmin(address account) view returns (bool)
proxyImplementation(uint256) view returns (address)
selectorImplementation(bytes4) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
userStakingIndex(address, uint256) view returns (uint256)
userStakings(address, uint256) view returns (uint256)
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)
deletePolicy(address _account)
grantRole(bytes32 role, address account)
initialize(address _tos, uint256[2] _epoch, address _lockTOS, address _treasury, uint256 _basicBondPeriod)
removeAdmin()
removePolicy()
removeProxyAdmin()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAliveImplementation2(address newImplementation, bool _alive)
setImplementation2(address newImplementation, uint256 _index, bool _alive)
setProxyPause(bool _pause)
setSelectorImplementations2(bytes4[] _selectors, address _imp)
transferAdmin(address newAdmin)
transferProxyAdmin(address newAdmin)
upgradeTo(address impl)
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)
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)
SetAliveImplementation(address indexed impl, bool alive)
SetSelectorImplementation(bytes4 indexed selector, address indexed impl)
Upgraded(address indexed implementation)
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)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.