StakingV03
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
18
Slot
XX
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
Balances ($0.00)
No balances found for "StakingV03"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakingV03"
ABI
ABI objects
Getter at block 21214462 rewardRate() view returns (uint256)
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
rewardReserves() view returns (uint256 dips)
0
stakeBalance() view returns (uint256 dips)
0
version() pure returns (uint48)
4295032833
versionParts() pure returns (uint16 major, uint16 minor, uint16 patch)
(major=1, minor=1, patch=1)
versions() view returns (uint256)
1
Read-only
calculateCapitalSupport(bytes5 chain, address token, uint256 dipAmount) view returns (uint256 tokenAmount)
calculateLockingUntil(uint96 target) view returns (uint40 lockedUntil)
calculateRequiredStaking(bytes5 chain, address token, uint256 tokenAmount) view returns (uint256 dipAmount)
calculateRewards(uint256 amount, uint256 duration) view returns (uint256 rewardAmount)
calculateRewardsIncrement(struct IStakingStakeInfo info) view returns (uint256 rewardsAmount)
capitalSupport(uint96 target) view returns (uint256 capitalAmount)
ftoi(uint256 a) pure returns (uint256)
ftoi(uint256 a, uint8 rounding) pure returns (uint256)
getBundleInfo(uint96 bundleNft) view returns (bytes32 instanceId, uint256 riskpoolId, uint256 bundleId, address token, string displayName, uint8 bundleState, uint40 expiryAt, bool stakingSupported, bool unstakingSupported, uint256 stakeAmount)
getBundleState(uint96 target) view returns (uint8 objectState, uint8 bundleState, uint40 expiryAt)
getInfo(uint96 id) view returns (struct IStakingStakeInfo info)
getTargetRewardRate(uint96 target) view returns (uint256)
getVersion(uint256 idx) view returns (uint48)
getVersionInfo(uint48 _version) view returns (struct IVersionableVersionInfo)
intToBytes(uint256 x, uint8 shift) pure returns (bytes)
isActivated(uint48 _version) view returns (bool)
isStakingSupported(uint96 target) view returns (bool isSupported)
isStakingSupportedForType(uint8 targetType) view returns (bool isSupported)
isUnstakingAvailable(uint96 stakeId) view returns (bool isAvailable)
isUnstakingSupported(uint96 target) view returns (bool isSupported)
itof(uint256 a) pure returns (uint256)
itof(uint256 a, int8 exp) pure returns (uint256)
stakes(uint96 target) view returns (uint256 dipAmount)
stakingRate(bytes5 chain, address token) view returns (uint256 rate)
toChain(uint256 chainId) pure returns (bytes5)
toInt(bytes5 x) pure returns (uint256)
toInt(uint32 x) pure returns (uint256)
toInt(uint40 x) pure returns (uint256)
toRate(uint256 value, int8 exp) pure returns (uint256)
toVersionParts(uint48 _version) pure returns (uint16 major, uint16 minor, uint16 patch)
State-modifying
Events activate(address implementation, address activatedBy)
activateAndSetOwner(address implementation, address newOwner, address activatedBy)
claimRewards(uint96 stakeId)
createStake(uint96 target, uint256 dipAmount) returns (uint96 stakeId)
createStakeWithSignature(address owner, uint96 target, uint256 dipAmount, bytes32 signatureId, bytes signature) returns (uint96 stakeId)
refillRewardReserves(uint256 dipAmount)
renounceOwnership()
restake(uint96 stakeId, uint96 newTarget)
restakeWithSignature(address owner, uint96 stakeId, uint96 newTarget, bytes32 signatureId, bytes signature)
setDipContract(address dipToken)
setMessageHelper(address stakingMessageHelper)
setRegistry(address registryAddress)
setRewardHelper(address rewardHelper)
setRewardRate(uint256 newRewardRate)
setStakingRate(bytes5 chain, address token, uint256 newStakingRate)
setStakingWallet(address stakingWalletNew)
setTargetRewardRate(uint96 target, uint256 newRewardRate)
stake(uint96 stakeId, uint256 dipAmount)
transferOwnership(address newOwner)
unstake(uint96 stakeId, uint256 amount)
unstakeAndClaimRewards(uint96 stakeId)
updateRewards(uint96 stakeId)
withdrawRewardReserves(uint256 dipAmount)
Initialized(uint8 version)
LogStakingNewStakeCreated(uint96 target, address user, uint96 id)
LogStakingRestaked(uint96 oldTarget, uint96 newTrget, address user, uint96 stakeId, uint256 stakingAmount)
LogStakingRewardRateSet(address user, uint256 oldRewardRate, uint256 newRewardRate)
LogStakingRewardReservesDecreased(address user, uint256 amount, uint256 newBalance)
LogStakingRewardReservesIncreased(address user, uint256 amount, uint256 newBalance)
LogStakingRewardsClaimed(uint96 id, uint256 amount, uint256 newBalance)
LogStakingRewardsUpdated(uint96 id, uint256 amount, uint256 newBalance)
LogStakingStaked(uint96 target, address user, uint96 id, uint256 amount, uint256 newBalance)
LogStakingStakingRateSet(address user, bytes5 chain, address token, uint256 oldStakingRate, uint256 newStakingRate)
LogStakingUnstaked(uint96 target, address user, uint96 id, uint256 amount, uint256 newBalance)
LogStakingWalletChanged(address user, address oldWallet, address newWallet)
LogTargetRewardRateSet(address user, uint96 target, uint256 oldRewardRate, uint256 newRewardRate)
LogVersionableActivated(uint48 version, address implementation, address activatedBy)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.