TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 3,101 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
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 |
---|---|---|---|---|---|
CHMPZ | ERC-20 | 6.409307B | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21219163 | 10 hours ago | | | 0 | 0.0018040849 | |
| 21217204 | 16 hours ago | | | 0 | 0.0035473334 | |
| 21216573 | 18 hours ago | | | 0 | 0.0047005751 | |
| 21210102 | 2 days ago | | | 0 | 0.0015596296 | |
| 21209398 | 2 days ago | | | 0 | 0.0021836082 | |
| 21209390 | 2 days ago | | | 0 | 0.0025859574 | |
| 21206596 | 2 days ago | | | 0 | 0.0023727917 | |
| 21206142 | 2 days ago | | | 0 | 0.0019810044 | |
| 21205150 | 2 days ago | | | 0 | 0.0015242374 | |
| 21203530 | 3 days ago | | | 0 | 0.0017517880 |
ABI
ABI objects
Getter at block 21222072 getRewardRatio() view returns (uint256[] _numerator, uint256[] _denominator, uint256[] _rewardRatioAmount)
getCurrentStakerCount() view returns (uint256)
772
getMinStakeAmount() view returns (uint256)
1000000000000000000000
getRewardTokenBalance() view returns (uint256)
1093949652165867126209881022
getTimeUnit() view returns (uint80 _timeUnit)
3600
getTotalCoinStaked() view returns (uint256)
8281181049765761307288087422
getTotalRewardPaid() view returns (uint256)
906050347834132873790118978
getTotalStakerCount() view returns (uint256)
811
locktime() view returns (uint256)
432000
minStakeAmount() view returns (uint256)
1000000000000000000000
owner() view returns (address)
0xac0b7c81959459e59ad50b6a4da951e218664694
paused() view returns (bool)
false
rewardTokenBalance() view returns (uint256)
1093949652165867126209881022
stakingToken() view returns (address)
0x1161ab556baa457994b1d6a6cca3a7a6891009fd
stakingTokenBalance() view returns (uint256)
5315357340845761307288087422
stakingTokenDecimals() view returns (uint16)
18
totalCoinStaked() view returns (uint256)
8281181049765761307288087422
totalRewardPaid() view returns (uint256)
906050347834132873790118978
totalStakersCount() view returns (uint256)
811
Read-only
getLockedCoins(address _staker) view returns (struct IStaking20LockedDeposits[] _lockedCoins)
getStakeInfo(address _staker) view returns (uint256 _tokensStaked, uint256 _rewards, uint256 _totalRewards)
stakers(address) view returns (uint128 timeOfLastUpdate, uint64 conditionIdOflastUpdate, uint256 amountStaked, uint256 unclaimedRewards, uint256 totalEarnedRewards, bool stakedBefore)
stakersArray(uint256) view returns (address)
State-modifying
Events claimRewards()
depositRewardTokens(uint256 _amount) payable
initialize(address _tokenAddress, uint80 _timeUnit, uint256[] _rewardRatioNumerator, uint256[] _rewardRatioDenominator, uint256[] _rewardRatioAmount, uint256 _minStakeAmount, uint256 _locktime)
pause()
renounceOwnership()
setLocktime(uint256 _newAmount)
setMinStakeAmount(uint256 _newAmount)
setRewardRatio(uint256[] _numerator, uint256[] _denominator, uint256[] _rewardRatioAmount)
setTimeUnit(uint80 _timeUnit)
stake(uint256 _amount) payable
transferOwnership(address newOwner)
unpause()
withdraw(uint256 _amount)
withdrawRewardTokens(uint256 _amount)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RewardsClaimed(address indexed staker, uint256 rewardAmount)
TokensStaked(address indexed staker, uint256 amount)
TokensWithdrawn(address indexed staker, uint256 amount)
Unpaused(address account)
UpdatedLocktime(uint256 oldAmount, uint256 newAmount)
UpdatedMinStakeAmount(uint256 oldAmount, uint256 newAmount)
UpdatedRewardRatio(uint256[] oldNumerator, uint256[] newNumerator, uint256[] oldDenominator, uint256[] newDenominator, uint256[] oldRatioAmount, uint256[] newRatioAmount)
UpdatedTimeUnit(uint256 oldTimeUnit, uint256 newTimeUnit)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()
EnforcedPause()
ExpectedPause()
InvalidInitialization()
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()