TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 3,101 txns
Deployed by via 0x4dcf1fec at 18960185
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x1146e4a69695b1cbe00ee11f99981c6a067244450ca757579509732dcd3fe378
0xf2fd53a87c67c338230ec8cdd90f024b25f76aa8c7ed1e83a981993e90e0c279
0xb2373dd6302a7d5f17c52fc9f4a237ea4729856462085f9bf163521dacfabff5
0x1cb6ef05a524b0df627a5f88f1bfea7f4ebf46ab29ecec720c96b70d7b4212f9
0x8642e0cc96c09c5f0134bc8bf30a29214a194e2110b42bee991159a744d07bba
0x9e0b3e21b8d9f0879570233edfcb4813c3fbc0c437b95b5bf1090270e07cd158
0x88930a397784608fc167f12c91d431532c61d5369d4cd89bf192faf9fe8efc13
0xb818191b2d26ed14210e54a69ca6eea40c798e29844a9eb4fa22cb95a1a694e1
0x4bb9d4c99dc0c270d27e24dc61a27946fa71e83faaaea2744c7de40b4f5a681b
0x5ac0e266374d08dd07fa1b2eb9d59c9ed916d8fc5a85401a8f84acd133431604

Functions
Getter at block 21222072
getCurrentStakerCount(view returns (uint256)
772
getMinStakeAmount(view returns (uint256)
1000000000000000000000
 
getRewardRatio(view returns (uint256[] _numeratoruint256[] _denominatoruint256[] _rewardRatioAmount)
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 _stakerview returns (struct IStaking20LockedDeposits[] _lockedCoins)
getStakeInfo(address _stakerview returns (uint256 _tokensStakeduint256 _rewardsuint256 _totalRewards)
stakers(addressview returns (uint128 timeOfLastUpdateuint64 conditionIdOflastUpdateuint256 amountStakeduint256 unclaimedRewardsuint256 totalEarnedRewardsbool stakedBefore)
stakersArray(uint256view returns (address)
State-modifying
claimRewards(
depositRewardTokens(uint256 _amountpayable 
initialize(address _tokenAddressuint80 _timeUnituint256[] _rewardRatioNumeratoruint256[] _rewardRatioDenominatoruint256[] _rewardRatioAmountuint256 _minStakeAmountuint256 _locktime
pause(
renounceOwnership(
setLocktime(uint256 _newAmount
setMinStakeAmount(uint256 _newAmount
setRewardRatio(uint256[] _numeratoruint256[] _denominatoruint256[] _rewardRatioAmount
setTimeUnit(uint80 _timeUnit
stake(uint256 _amountpayable 
transferOwnership(address newOwner
unpause(
withdraw(uint256 _amount
withdrawRewardTokens(uint256 _amount
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RewardsClaimed(address indexed stakeruint256 rewardAmount
TokensStaked(address indexed stakeruint256 amount
TokensWithdrawn(address indexed stakeruint256 amount
Unpaused(address account
UpdatedLocktime(uint256 oldAmountuint256 newAmount
UpdatedMinStakeAmount(uint256 oldAmountuint256 newAmount
UpdatedRewardRatio(uint256[] oldNumeratoruint256[] newNumeratoruint256[] oldDenominatoruint256[] newDenominatoruint256[] oldRatioAmountuint256[] newRatioAmount
UpdatedTimeUnit(uint256 oldTimeUnituint256 newTimeUnit
Constructor
constructor(address _logicaddress initialOwnerbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(
EnforcedPause(
ExpectedPause(
InvalidInitialization(
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(