StakingV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x8245ed2f at 16187673
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "StakingV2"

No transactions found for "StakingV2"


Functions
Getter at block 21123428
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
 
possibleIndex(view returns (uint256)
rebasePerEpoch(view returns (uint256)
0
 
runwayTos(view returns (uint256)
 
runwayTosPossibleIndex(view returns (uint256)
secondsToNextEpoch(view returns (uint256)
0
 
stakedOfAll(view returns (uint256)
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(uint256view returns (address stakeruint256 deposituint256 ltosuint256 endTimeuint256 marketId)
balanceOf(address _addrview returns (uint256 balance)
claimableLtos(uint256 _stakeIdview returns (uint256)
connectId(uint256view returns (uint256)
getLtosToTos(uint256 ltosview returns (uint256)
getLtosToTosPossibleIndex(uint256 ltosview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTosToLtos(uint256 amountview returns (uint256)
getTosToLtosPossibleIndex(uint256 amountview returns (uint256)
getUnlockTime(address lockTosuint256 startuint256 _periodWeeksview returns (uint256 stosEpochUnituint256 unlockTime)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address accountview returns (bool)
isPolicy(address accountview returns (bool)
isProxyAdmin(address accountview returns (bool)
remainedLtos(uint256 _stakeIdview returns (uint256)
stakeInfo(uint256 stakeIdview returns (address stakeruint256 deposituint256 ltosuint256 endTimeuint256 marketId)
stakedOf(uint256 stakeIdview returns (uint256)
stakingOf(address _addrview returns (uint256[])
supportsInterface(bytes4 interfaceIdview returns (bool)
userStakingIndex(addressuint256view returns (uint256)
userStakings(addressuint256view returns (uint256)
State-modifying
addAdmin(address account
addPolicy(address _account
addProxyAdmin(address _owner
claimForSimpleType(uint256 _stakeIduint256 claimLtos
deletePolicy(address _account
generateMarketId(returns (uint256)
grantRole(bytes32 roleaddress account
increaseAmountForSimpleStake(uint256 _stakeIduint256 _amount
increaseBeforeEndOrNonEnd(uint256 _stakeIduint256 _amount
increaseBeforeEndOrNonEnd(uint256 _stakeIduint256 _amountuint256 _unlockWeeks
multiUnstake(uint256[] _stakeIds
rebaseIndex(
removeAdmin(
removePolicy(
removeProxyAdmin(
renounceRole(bytes32 roleaddress account
resetStakeGetStosAfterLock(uint256 _stakeIduint256 _addAmountuint256 _periodWeeks
resetStakeGetStosAfterLock(uint256 _stakeIduint256 _addTosAmountuint256 _relockLtosAmountuint256 _periodWeeks
revokeRole(bytes32 roleaddress account
setAddressInfos(address _tosaddress _lockTOSaddress _treasury
setBasicBondPeriod(uint256 _period
setEpochInfo(uint256 _lengthuint256 _end
setRebasePerEpoch(uint256 _rebasePerEpoch
stake(uint256 _amountreturns (uint256 stakeId)
stakeByBond(address touint256 _amountuint256 _marketIduint256 tosPricereturns (uint256 stakeId)
stakeGetStos(uint256 _amountuint256 _periodWeeksreturns (uint256 stakeId)
stakeGetStosByBond(address _touint256 _amountuint256 _marketIduint256 _periodWeeksuint256 tosPricereturns (uint256 stakeId)
syncStos(address[] accountsuint256[] balancesuint256[] perioduint256[] tokenId
transferAdmin(address newAdmin
transferProxyAdmin(address newAdmin
unstake(uint256 _stakeId
Events
ClaimedForNonLock(address stakeruint256 claimAmountuint256 stakeId
IncreasedAmountForSimpleStake(address touint256 amountuint256 stakeId
IncreasedBeforeEndOrNonEnd(address stakeruint256 amountuint256 unlockWeeksuint256 stakeIduint256 stosIduint256 stosPrincipal
Rebased(uint256 oldIndexuint256 newIndexuint256 totalLTOS
ResetStakedGetStosAfterLock(address touint256 addAmountuint256 claimAmountuint256 periodWeeksuint256 stakeIduint256 stosIduint256 stosPrincipal
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAddressInfos(address tosAddressaddress lockTOSAddressaddress treasuryAddress
SetBasicBondPeriod(uint256 period
SetEpochInfo(uint256 lengthuint256 end
SetIndex(uint256 index
SetRebasePerEpoch(uint256 rebasePerEpoch
Staked(address touint256 amountuint256 stakeId
StakedByBond(address touint256 amountuint256 ltosuint256 marketIduint256 stakeIduint256 tosPrice
StakedGetStos(address touint256 amountuint256 periodWeeksuint256 stakeIduint256 stosIduint256 stosPrincipal
StakedGetStosByBond(address touint256 amountuint256 ltosuint256 periodWeeksuint256 marketIduint256 stakeIduint256 stosIduint256 tosPriceuint256 stosPrincipal
Unstaked(address stakeruint256 amountuint256 stakeId
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.