ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 55,951 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
--
0x2c27c72749ae891610903d9d7544611ab7628c5765e3c157a0648c52a2161b25
0x9d4c2ea5973de31fa90afde99f5ac8e8a333209e91ea4c40577df42cb140f0b0
0xdaccc65c17a8dc8335d97f634f47f10661317b5c59107144568a61a37381a6c2
0x24ac2f8acd74b08caf95d828fc816a3ae7ac3239047fe60a73527a978ed1ef20
0x0e81b6081aff1e145ea56436bf6f2e9e2ff07c0616ba81cf59d3acf2bebd77d8
0x66f001cc2f3c45db5017486fe244cf14f881e632025db09c6645cbd236e2f821
0xea8a0c71c12e5b2b79455ac041e0b07f64cbfcedf110ddac130a70301fe6aa43
0x744463ccf8695dbf8049dbdb277b34acc5e0d7a1da5d83a546af5002f1bddef8
0xeab747eb533b58e05d8f999ab3f7d3b4a3ed21ce33ca3ca79e0e1fc518974bec
0xc38e584eb97c21493f41cb8d95906472f9c73cd52b0a88ffde03352e09594a7e

Functions
Getter at block 21244605
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
distributor(view returns (address)
0x6571e50e8769d236414f3fb9e9b1d05341f6f79a
lastUpdateTime(view returns (uint256)
1732293647
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)
241787643170928184
rewardsDuration(view returns (uint256)
155520000
token(view returns (address)
0x88909d489678dd17aa6d9609f89b0419bf78fd9a
totalDeposits(view returns (uint256)
158196206634854084149434864
totalRewards(view returns (uint256)
162897209330589415383438565
totalWeights(view returns (uint256)
56849243598280834298789885
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(