CreampaiStaking

Verified contract

Active on Ethereum with 89 txns
Deployed by via 0x855d0bcb at 17484306
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x6b2e4f4b72ed01b62576b5e8f2c11982a9b3ae3f18fe9b1e469456ecf42c4b22
0xc948d854b7c23e94a603efdfaa57ec5123bb4470de656ee38a3caf5ee1fd825c
0x412485c26494126f224dbee0c93371ec3867ce786a29f14d0b77d222d32db2e8
0x88bff2aecf23f397de95440fd912b9b7285477254ba58792e66d511f9fca01f2
0x625112d5f983a6727a45652568045105293e68c0e3ea75c39d43136e7ace3110
0x9d52d6d35f877449a4bafaab48c939205af332bc93e74b0296d8a3194872f2b5
0xa653e9448d33f00d01d8364947ca6d428cc3000adc49608acd8ad6faf71f3db7
0xf6fb789c591921e056913adb803747aad880de2067851e5d5173bbbf22dcfab0
0xd77dbc15fafb13111921ded0ff81be8f4bfbcd4297dde691aedbf60728888778
0x7dc282db59e4a539acf9268d73ab6b4239a57a9d74bf30a774c12d09f8cb9c70

Functions
Getter at block 21220649
contractURI(view returns (string)
getRewardRatio(view returns (uint256 _numeratoruint256 _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 _stakerview returns (uint256 _tokensStakeduint256 _rewards)
getStakeTime(address _stakerview returns (uint48 stakeTime)
getUnlockTime(address _stakerview returns (uint48 unlockTime)
stakers(addressview returns (uint256 amountStakeduint256 timeOfLastUpdateuint256 unclaimedRewardsuint256 conditionIdOflastUpdate)
stakersArray(uint256view returns (address)
timeMap(addressview returns (uint48 stakeTimeuint48 unlockTime)
State-modifying
claimRewards(
depositRewardTokens(uint256 _amountpayable 
multicall(bytes[] datareturns (bytes[] results)
setContractURI(string _uri
setOwner(address _newOwner
setRewardRatio(uint256 _numeratoruint256 _denominator
setTimeUnit(uint256 _timeUnit
stake(uint256 _amountpayable 
withdraw(uint256 _amount
withdrawRewardTokens(uint256 _amount
Events
ContractURIUpdated(string prevURIstring newURI
OwnerUpdated(address indexed prevOwneraddress indexed newOwner
RewardsClaimed(address indexed stakeruint256 rewardAmount
TokensStaked(address indexed stakeruint256 amount
TokensWithdrawn(address indexed stakeruint256 amount
UpdatedMinStakeAmount(uint256 oldAmountuint256 newAmount
UpdatedRewardRatio(uint256 oldNumeratoruint256 newNumeratoruint256 oldDenominatoruint256 newDenominator
UpdatedTimeUnit(uint256 oldTimeUnituint256 newTimeUnit
Constructor
constructor(uint256 _timeUnituint256 _rewardRatioNumeratoruint256 _rewardRatioDenominatoraddress _stakingTokenaddress _rewardTokenaddress _nativeTokenWrapperuint48 _lockTimePeriod
Fallback and receive
receive(
Errors

This contract contains no error objects.