This contract is being backfilled. You may encounter incomplete storage history.

StakingV03

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x0a155285 at 18072469
Slot
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

No balances found for "StakingV03"

No transactions found for "StakingV03"


Functions
Getter at block 21214462
DIP_CONTRACT_ADDRESS(view returns (address)
0xc719d010b63e5bbf2c0551872cd5316ed26acd83
DIP_DECIMALS(view returns (uint256)
18
EXP(view returns (int8)
18
MAINNET_ID(view returns (uint256)
1
MAX_REWARD_RATE_EXP(view returns (int8)
-3
MAX_REWARD_RATE_VALUE(view returns (uint256)
333
MULTIPLIER(view returns (uint256)
1000000000000000000
MULTIPLIER_HALF(view returns (uint256)
500000000000000000
ROUNDING_DEFAULT(view returns (uint8)
2
YEAR_DURATION(view returns (uint256)
31536000
blockNumber(view returns (uint32)
21214462
decimals(pure returns (uint256)
18
getDip(view returns (address dip)
0x0000000000000000000000000000000000000000
getMessageHelperAddress(view returns (address messageHelperAddress)
0x0000000000000000000000000000000000000000
getRegistry(view returns (address)
0x0000000000000000000000000000000000000000
getStakingWallet(view returns (address stakingWallet)
0x0000000000000000000000000000000000000000
implementsIStaking(pure returns (bool)
true
maxRewardRate(view returns (uint256)
0
owner(view returns (address)
0xb78599af44ee7f39735d8f0267a15641e7ab7cc0
rateDecimals(pure returns (uint256)
18
rewardBalance(view returns (uint256 dips)
0
 
rewardRate(view returns (uint256)
rewardReserves(view returns (uint256 dips)
0
stakeBalance(view returns (uint256 dips)
0
version(pure returns (uint48)
4295032833
versionParts(pure returns (uint16 majoruint16 minoruint16 patch)
(major=1, minor=1, patch=1)
versions(view returns (uint256)
1
Read-only
calculateCapitalSupport(bytes5 chainaddress tokenuint256 dipAmountview returns (uint256 tokenAmount)
calculateLockingUntil(uint96 targetview returns (uint40 lockedUntil)
calculateRequiredStaking(bytes5 chainaddress tokenuint256 tokenAmountview returns (uint256 dipAmount)
calculateRewards(uint256 amountuint256 durationview returns (uint256 rewardAmount)
calculateRewardsIncrement(struct IStakingStakeInfo infoview returns (uint256 rewardsAmount)
capitalSupport(uint96 targetview returns (uint256 capitalAmount)
ftoi(uint256 apure returns (uint256)
ftoi(uint256 auint8 roundingpure returns (uint256)
getBundleInfo(uint96 bundleNftview returns (bytes32 instanceIduint256 riskpoolIduint256 bundleIdaddress tokenstring displayNameuint8 bundleStateuint40 expiryAtbool stakingSupportedbool unstakingSupporteduint256 stakeAmount)
getBundleState(uint96 targetview returns (uint8 objectStateuint8 bundleStateuint40 expiryAt)
getInfo(uint96 idview returns (struct IStakingStakeInfo info)
getTargetRewardRate(uint96 targetview returns (uint256)
getVersion(uint256 idxview returns (uint48)
getVersionInfo(uint48 _versionview returns (struct IVersionableVersionInfo)
intToBytes(uint256 xuint8 shiftpure returns (bytes)
isActivated(uint48 _versionview returns (bool)
isStakingSupported(uint96 targetview returns (bool isSupported)
isStakingSupportedForType(uint8 targetTypeview returns (bool isSupported)
isUnstakingAvailable(uint96 stakeIdview returns (bool isAvailable)
isUnstakingSupported(uint96 targetview returns (bool isSupported)
itof(uint256 apure returns (uint256)
itof(uint256 aint8 exppure returns (uint256)
stakes(uint96 targetview returns (uint256 dipAmount)
stakingRate(bytes5 chainaddress tokenview returns (uint256 rate)
toChain(uint256 chainIdpure returns (bytes5)
toInt(bytes5 xpure returns (uint256)
toInt(uint32 xpure returns (uint256)
toInt(uint40 xpure returns (uint256)
toRate(uint256 valueint8 exppure returns (uint256)
toVersionParts(uint48 _versionpure returns (uint16 majoruint16 minoruint16 patch)
State-modifying
activate(address implementationaddress activatedBy
activateAndSetOwner(address implementationaddress newOwneraddress activatedBy
claimRewards(uint96 stakeId
createStake(uint96 targetuint256 dipAmountreturns (uint96 stakeId)
createStakeWithSignature(address owneruint96 targetuint256 dipAmountbytes32 signatureIdbytes signaturereturns (uint96 stakeId)
refillRewardReserves(uint256 dipAmount
renounceOwnership(
restake(uint96 stakeIduint96 newTarget
restakeWithSignature(address owneruint96 stakeIduint96 newTargetbytes32 signatureIdbytes signature
setDipContract(address dipToken
setMessageHelper(address stakingMessageHelper
setRegistry(address registryAddress
setRewardHelper(address rewardHelper
setRewardRate(uint256 newRewardRate
setStakingRate(bytes5 chainaddress tokenuint256 newStakingRate
setStakingWallet(address stakingWalletNew
setTargetRewardRate(uint96 targetuint256 newRewardRate
stake(uint96 stakeIduint256 dipAmount
transferOwnership(address newOwner
unstake(uint96 stakeIduint256 amount
unstakeAndClaimRewards(uint96 stakeId
updateRewards(uint96 stakeId
withdrawRewardReserves(uint256 dipAmount
Events
Initialized(uint8 version
LogStakingNewStakeCreated(uint96 targetaddress useruint96 id
LogStakingRestaked(uint96 oldTargetuint96 newTrgetaddress useruint96 stakeIduint256 stakingAmount
LogStakingRewardRateSet(address useruint256 oldRewardRateuint256 newRewardRate
LogStakingRewardReservesDecreased(address useruint256 amountuint256 newBalance
LogStakingRewardReservesIncreased(address useruint256 amountuint256 newBalance
LogStakingRewardsClaimed(uint96 iduint256 amountuint256 newBalance
LogStakingRewardsUpdated(uint96 iduint256 amountuint256 newBalance
LogStakingStaked(uint96 targetaddress useruint96 iduint256 amountuint256 newBalance
LogStakingStakingRateSet(address userbytes5 chainaddress tokenuint256 oldStakingRateuint256 newStakingRate
LogStakingUnstaked(uint96 targetaddress useruint96 iduint256 amountuint256 newBalance
LogStakingWalletChanged(address useraddress oldWalletaddress newWallet
LogTargetRewardRateSet(address useruint96 targetuint256 oldRewardRateuint256 newRewardRate
LogVersionableActivated(uint48 versionaddress implementationaddress activatedBy
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.