Staking

Verified contract

Active on Ethereum with 15,824 txns
Deployed by via 0x3efee37d at 11061460
Slot
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
ERC-20
Value $132,211,020.63
ERC-20
--
0x8714bd3df7a4e10f7de28b1449b374a6b5064388c196e41e9a6e5968d376519c
0xaac06835e9a3fd71f0af495c5f41d0d2e151cbc85d2fe2354431a18f69e23d2a
0x288eec47b78c0eb28c617bf1a735c9a169fd1e429d360cc592e662b93fd1b6ad
0x94148b0a63ed39308b21acf7c94328da2f80b2b6e6a04fa7c7fc710dec64dda1
0x701a3b59ddd627d0cb3fa1477106a7b6228f3ec93b3e7a86be23f44783cd885c
0x7810d28cc825d0a3b01507c8039eefc5b1e8728bb4b3592344fbe3e65f9d1f08
0x4a14ab0ba291c5c80d78112cfacd2a5372d9d2cc65613e7d621a72b3bc18c913
0x89e55ee84c42dfff1e4f86cc69509fa71e001e56730b4a5d52e3e9cb7c1d4006
0x0fac69ef2d9eac4a9ff381e6c464559fa29be1dbdcadae1ae40caf3bf2291588
0x07f756bdee2bf5c30d8cfe54f9e6aa4cbc81a7e44f7d9303847c724dd330fd94

Functions
Getter at block 20815667
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DELEGATE_ROLE(view returns (bytes32)
0x1a82baf2b928242f69f7147fb92490c6288d044f7257b88817e6284f1eec0f15
DELETE_PROTECTION_PERIOD(view returns (uint256)
370285
_accruedGlobalLiquidity(view returns (uint256 principaluint256 compoundInterest)
(principal=34806866916294067570842, compoundInterest=79856062075932429158)
_accruedGlobalLocked(view returns (uint256 principaluint256 compoundInterest)
(principal=12407917428537394820121151, compoundInterest=560885174891605179878849)
_accruedGlobalPrincipal(view returns (uint256)
80242822747356122672492653
_earliestDelete(view returns (uint256)
11431745
_interestRatesNextIdx(view returns (uint256)
2
_interestRatesStartIdx(view returns (uint256)
0
_lockPeriodInBlocks(view returns (uint64)
45750
_pausedSinceBlock(view returns (uint256)
13224000
_rewardsPoolBalance(view returns (uint256)
225802483950420296727864
_token(view returns (address)
0xaea46a60368a7bd060eec7df8cba43b7ef41ad85
getEarliestDeleteBlock(view returns (uint256)
11431745
getRewardsPoolBalance(view returns (uint256)
225802483950420296727864
Read-only
_interestRates(uint256view returns (uint256 sinceBlockuint256 rate)
_liquidity(addressview returns (uint256 principaluint256 compoundInterest)
getLockedAssetsAggregateForUser(address forAddressview returns (uint256 principaluint256 compoundInterest)
getLockedAssetsForUser(address forAddressview returns (uint256[] principaluint256[] compoundInterestuint256[] liquidSinceBlock)
getNumberOfLockedAssetsForUser(address forAddressview returns (uint256 length)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getStakeForUser(address forAddressview returns (uint256 principaluint256 compoundInterestuint256 sinceBlockuint256 sinceInterestRateIndex)
hasRole(bytes32 roleaddress accountview returns (bool)
State-modifying
addInterestRate(uint256 rateuint256 expirationBlock
bindStake(uint256 amountuint256 txExpirationBlock
deleteContract(address payoutAddressuint256 txExpirationBlock
deposit(uint256 amountuint256 txExpirationBlock
grantRole(bytes32 roleaddress account
pauseSince(uint256 blockNumberuint256 txExpirationBlock
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
topUpRewardsPool(uint256 amountuint256 txExpirationBlock
unbindStake(uint256 amountuint256 txExpirationBlock
updateLockPeriod(uint64 numOfBlocksuint256 txExpirationBlock
withdraw(uint256 amountuint256 txExpirationBlock
withdrawCompoundInterest(uint256 txExpirationBlock
withdrawExcessTokens(address targetAddressuint256 txExpirationBlock
withdrawFromRewardsPool(uint256 amountaddress targetAddressuint256 txExpirationBlock
withdrawPrincipal(uint256 txExpirationBlock
withdrawWholeLiquidity(uint256 txExpirationBlock
Events
BindStake(address indexed stakerAddressuint256 indexed sinceInterestRateIndexuint256 principaluint256 compoundInterest
DeleteContract(
ExcessTokenWithdrawal(address targetAddressuint256 amount
LiquidityDeposited(address indexed stakerAddressuint256 amount
LiquidityUnlocked(address indexed stakerAddressuint256 principaluint256 compoundInterest
LockPeriod(uint64 numOfBlocks
NewInterestRate(uint256 indexed indexuint256 rate
Pause(uint256 sinceBlock
RewardsPoolTokenTopUp(address senderuint256 amount
RewardsPoolTokenWithdrawal(address targetAddressuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StakeCompoundInterest(address indexed stakerAddressuint256 indexed sinceInterestRateIndexuint256 principaluint256 compoundInterest
TokenWithdrawal(address targetAddressuint256 amount
UnbindStake(address indexed stakerAddressuint256 indexed liquidSinceBlockuint256 principaluint256 compoundInterest
Withdraw(address indexed stakerAddressuint256 principaluint256 compoundInterest
Constructor
constructor(address ERC20Addressuint256 interestRatePerBlockuint256 pausedSinceBlockuint64 lockPeriodInBlocks
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.