ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 53,501 txns
Deployed by via 0x8c205bca at 20414830
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xc7e20131ffee2b1e3368ec57e8dca286d1cac33932be8799bb9de5a7fd08737f
0xd2398ffff9d1e375f8234c6cb89c59b9dc10fa19961d98971087b43d0a6bd8e6
0x915f8233321ad63367217e2444b8c7f690d7fa8ab7213d2a25b54bd28f4b473b
0x89e432f3f4b5a52a964e9fac4c0768e169825f2960320c694168f4554ffe4efb
0xb12059f4900b3b5eca21b5c89f80f1eb14d413a159fbad748f78a39ae8c61b90
0x365a2229bb2ebb954f316c577498ebdbc4fe54b102b12cf97dbcfb4110b31837
0xb0b2fadcbafc973ce131273da69a269b3b66a625b70c906e36b7570db4a0899b
0xa116592b0cc8ae7a363b4c16797b80790534d2a7b77ff1fa9344909993897f98
0x6c129896f31d08ffc8a16f6175406ecc5551938ea7d708a2d0d4b92788e6b212
0x9fe44a87f61116d54cc823beeacea3f84a90f4c399e64b29e57af3c1b0d1c0c7

Functions
Getter at block 21157900
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
distributor(view returns (address)
0x6571e50e8769d236414f3fb9e9b1d05341f6f79a
lastUpdateTime(view returns (uint256)
1731249155
owner(view returns (address)
0x49a941d7d7d40f340fabb17d25a9e2a76b72fac6
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
periodFinish(view returns (uint256)
1877847491
 
proxiableUUID(view returns (bytes32)
rewardPerSecond(view returns (uint256)
1071673525270061728
rewardPerShare(view returns (uint256)
221561335810284731
rewardsDuration(view returns (uint256)
155520000
token(view returns (address)
0x88909d489678dd17aa6d9609f89b0419bf78fd9a
totalDeposits(view returns (uint256)
149903792455424652931663569
totalRewards(view returns (uint256)
163270490146488715262730210
totalWeights(view returns (uint256)
54764109564269279128886213
withdrawalPeriod(view returns (uint256)
604800
Read-only
calculateAPY(address _useruint256 _indexview returns (uint256 _apy)
calculateAPY(uint256 _amountuint256 _lockupPeriodview returns (uint256 _apy)
deposits(address _useruint256 _indexview returns (uint128 amountuint40 unlockAtuint32 lockupPerioduint16 indexuint40 withdrawAt)
listDeposits(address _useruint256 _startFromuint256 _batchSizeview returns (struct IStakingDeposit[] _list)
pendingRewards(address _userview returns (uint256 _pendingRewards)
stakers(address _userview returns (uint128 weightuint128 depositCountuint128 rewardPerShareSnapshotuint128 pendingRewards)
State-modifying
acceptOwnership(
cancelWithdrawal(uint256 _index
collectDust(address _tokenuint256 _amount
emergencyWithdraw(uint256 _amount
getReward(
getRewardAndIncreaseStake(uint256 _index
getRewardAndStake(uint256 _lockupPeriod
increaseStake(uint256 _indexuint256 _amount
initialize(address _tokenaddress _distributoraddress _owner
initiateWithdrawal(uint256 _index
pause(
renounceOwnership(
setDistributorAddress(address _distributor
setRewardAmount(uint256 _reward
setRewardsDuration(uint256 _rewardsDuration
setWithdrawalPeriod(uint256 _withdrawalPeriod
stake(uint256 _amountuint256 _lockupPeriod
stake(uint256 _amountuint256 _lockupPeriodaddress _user
transferOwnership(address newOwner
unpause(
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 _index
Events
Upgraded(address indexed implementation
ClaimRewardAndIncreaseStake(address indexed _useruint256 indexed _indexuint256 _amount
ClaimRewardAndStake(address indexed _useruint256 indexed _indexuint256 _amountuint256 _lockupPeriod
DistributorUpdated(address _oldDistributoraddress _distributor
DustCollected(address indexed _owneraddress _tokenuint256 _amount
EmergencyWithdrawn(address indexed _owneruint256 _amount
Initialized(uint64 version
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RewardAdded(uint256 _reward
RewardPaid(address indexed _useruint256 _amount
RewardsDurationUpdated(uint256 _oldRewardsDurationuint256 _rewardsDuration
StakeIncreased(address indexed _useruint256 indexed _indexuint256 _amount
Staked(address indexed _useruint256 indexed _indexuint256 _amountuint256 _lockupPerioduint256 _unlockAt
Unpaused(address account
Upgraded(address indexed implementation
WithdrawalCancelled(address indexed _useruint256 indexed _index
WithdrawalInitiated(address indexed _useruint256 indexed _indexuint256 _withdrawAt
WithdrawalPeriodUpdated(uint256 _oldWithdrawalPerioduint256 _withdrawalPeriod
Withdrawn(address indexed _useruint256 indexed _indexuint256 _amount
Constructor
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CannotIncreaseLockedStake(
DepositLocked(
DepositNotWithdrawable(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InsufficientBalance(
InvalidDepositIndex(
InvalidInitialization(
InvalidLockupPeriod(
InvalidToken(
MathOverflowedMulDiv(
NotInitializing(
OnlyDistributor(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PeriodNotFinished(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
WithdrawalAlreadyInitiated(
WithdrawalNotInitiated(
ZeroAmount(