StakingV2Proxy
Verified contract
Proxy
Active on
Ethereum with 12 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) |
---|---|---|---|---|---|---|---|
| 15973209 | 2 years ago | | | 0 | 0.00060945000 | |
| 15973208 | 2 years ago | | | 0 | 0.00061042500 | |
| 15973207 | 2 years ago | | | 0 | 0.00061055000 | |
| 15972798 | 2 years ago | | | 0 | 0.22298960 | |
| 15972611 | 2 years ago | | | 0 | 0.52296280 | |
| 15972607 | 2 years ago | | | 0 | 0.51413462 | |
| 15972602 | 2 years ago | | | 0 | 0.49102638 | |
| 15972455 | 2 years ago | | | 0 | 0.0014171750 | |
| 15972454 | 2 years ago | | | 0 | 0.0012836750 | |
| 15972453 | 2 years ago | | | 0 | 0.0012836750 |
ABI
ABI objects
Getter at block 21213005 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=1668682800)
implementation() view returns (address)
0xc42698d87c95dcb9aae9aabe8c70a4d52b243847
index_() view returns (uint256)
1000000000000000000
isTreasury() pure returns (bool)
false
lockTOS() view returns (address)
0x69b4a202fa4039b42ab23adb725aa7b1e9eebd79
marketIdCounter() view returns (uint256)
2
pauseProxy() view returns (bool)
false
rebasePerEpoch() view returns (uint256)
87045050000000
stakingIdCounter() view returns (uint256)
556
stakingPrincipal() view returns (uint256)
2145825803393205279456052
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
totalLtos() view returns (uint256)
2145825803393205279456052
treasury() view returns (address)
0x11176e6e3fe72130fd96b0b38cf95b0f0c2c36fc
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=1668682800)
getIndex() view returns (uint256)
1000000000000000000
index_() view returns (uint256)
1000000000000000000
lockTOS() view returns (address)
0x69b4a202fa4039b42ab23adb725aa7b1e9eebd79
marketIdCounter() view returns (uint256)
2
rebasePerEpoch() view returns (uint256)
87045050000000
secondsToNextEpoch() view returns (uint256)
0
stakingIdCounter() view returns (uint256)
556
stakingPrincipal() view returns (uint256)
2145825803393205279456052
tos() view returns (address)
0x409c4d8cd5d2924b9bc5509230d16a61289c8153
totalLtos() view returns (uint256)
2145825803393205279456052
treasury() view returns (address)
0x11176e6e3fe72130fd96b0b38cf95b0f0c2c36fc
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.