CreampaiStaking
Verified contract
Active on
Ethereum with 89 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PAI | ERC-20 | 10.76876B | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21040799 | 25 days ago | | | 0 | 0.00046132185 | |
| 21040778 | 25 days ago | | | 0 | 0.00029143954 | |
| 20840380 | 2 months ago | | | 0 | 0.0021120909 | |
| 20631714 | 3 months ago | | | 0 | 0.000047122858 | |
| 20487286 | 3 months ago | | | 0 | 0.00028479475 | |
| 20303869 | 4 months ago | | | 0 | 0.00032139400 | |
| 20298967 | 4 months ago | | | 0 | 0.00047803011 | |
| 20285508 | 4 months ago | | | 0 | 0.00058383061 | |
| 20274398 | 4 months ago | | | 0 | 0.00045754400 | |
| 20253575 | 4 months ago | | | 0 | 0.00014580684 |
ABI
ABI objects
Getter at block 21220649
contractURI() view returns (string)
getRewardRatio() view returns (uint256 _numerator, uint256 _denominator)
(_numerator=411, _denominator=100000)
getRewardTokenBalance() view returns (uint256)
55906509665680411908083342
getTimeUnit() view returns (uint256 _timeUnit)
86400
lockTimePeriod() view returns (uint48)
31536000
owner() view returns (address)
0x40b1762268218b8cd0e8ee3615d6f8ed44f797c8
rewardToken() view returns (address)
0xbb9c41891c15ede58ac237c5f434b33419080dfe
rewardTokenDecimals() view returns (uint256)
18
stakingToken() view returns (address)
0xbb9c41891c15ede58ac237c5f434b33419080dfe
stakingTokenBalance() view returns (uint256)
10712853233645026710000000000
stakingTokenDecimals() view returns (uint256)
18
Read-only
getStakeInfo(address _staker) view returns (uint256 _tokensStaked, uint256 _rewards)
getStakeTime(address _staker) view returns (uint48 stakeTime)
getUnlockTime(address _staker) view returns (uint48 unlockTime)
stakers(address) view returns (uint256 amountStaked, uint256 timeOfLastUpdate, uint256 unclaimedRewards, uint256 conditionIdOflastUpdate)
stakersArray(uint256) view returns (address)
timeMap(address) view returns (uint48 stakeTime, uint48 unlockTime)
State-modifying
Events claimRewards()
depositRewardTokens(uint256 _amount) payable
multicall(bytes[] data) returns (bytes[] results)
setContractURI(string _uri)
setOwner(address _newOwner)
setRewardRatio(uint256 _numerator, uint256 _denominator)
setTimeUnit(uint256 _timeUnit)
stake(uint256 _amount) payable
withdraw(uint256 _amount)
withdrawRewardTokens(uint256 _amount)
ContractURIUpdated(string prevURI, string newURI)
OwnerUpdated(address indexed prevOwner, address indexed newOwner)
RewardsClaimed(address indexed staker, uint256 rewardAmount)
TokensStaked(address indexed staker, uint256 amount)
TokensWithdrawn(address indexed staker, uint256 amount)
UpdatedMinStakeAmount(uint256 oldAmount, uint256 newAmount)
UpdatedRewardRatio(uint256 oldNumerator, uint256 newNumerator, uint256 oldDenominator, uint256 newDenominator)
UpdatedTimeUnit(uint256 oldTimeUnit, uint256 newTimeUnit)
constructor(uint256 _timeUnit, uint256 _rewardRatioNumerator, uint256 _rewardRatioDenominator, address _stakingToken, address _rewardToken, address _nativeTokenWrapper, uint48 _lockTimePeriod)
receive()
This contract contains no error objects.