TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 6,766 txns
Deployed by via 0xe311ca79 at 14791315
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
ERC-20
Value $2,546,961.61
ERC-20
Value $0
0xd8762b1f25a41ed206c704a344c8b6d9195cb5349c0692c5e774f81b0b84166f
0xce7e5fe4ecede55c83498093557fe0c011cabe25a38e307bb4083c60db7558d8
0xa39abe38a011b9da6f78395f8cdcbe0291a66fd07f3e71857bd9642bd93afc75
0xff7ee2273053895e6709f0aea25a65a9678a5e35ddb6fbebb13210a8fba2cbad
0xe604d756633e8f79a95f22953c1ef35bfec6c74fa6c6acc80451b09d73dc7a31
0x775b6470fe5ff1ad579782b92d73a8e9eff7388597ac39459741a7c49668cb52
0xcd15ad4d47455385be9d1654eb7a677026027daf3986c9e96ff3aa31e47ca53a
0xe44679adca4fb5a38e83258c98ece25597c9bd08cf5f371c9a43d9ab21a741d5
0xa0f6c03eae91f3f05d0d61fde3e90a853a25079b911938b70dd3e45c7b4a6935
0xef58e8d3960876954cccfe16c5d8b89ddd8547c57cacc6c8ba813050eba06775

Functions
Getter at block 21218654
ALGORITHM_THRESHOLD_IN_EPOCHS(view returns (uint256)
5
EPOCH_DURATION(view returns (uint256)
28800
MAX_LOCK_COUNT(view returns (uint256)
5
MAX_MULTIPLIER(view returns (uint256)
998
MAX_REWARD_COUNT(view returns (uint256)
5
accRewardWeight(view returns (uint256)
128134910017945763
compoundAmount(view returns (uint256)
4283583437723362514196440
compoundLastAccRewardWeight(view returns (uint256)
128134893789276368
compoundShares(view returns (uint256)
3954232823001650816015026
getRewards(view returns (struct LockedStakingReward[])
[(1684886400, 1716595200, 23650054868127292), (1718236800, 1749772800, 19835140791476410)]
getRewardsLength(view returns (uint256)
2
lastRewardUpdate(view returns (uint256)
1731959999
owner(view returns (address)
0x00d2a4873e7c73fcc3e6ebc9dd17241247a73846
precision(view returns (uint256)
1000000000000000000
swapToken(view returns (address)
0xcc4304a31d09258b0029ea7fe63d032f52e44efe
totalScore(view returns (uint256)
17598367272790126830653112756
Read-only
convertToAutoCompoundAssets(uint256 sharesview returns (uint256)
convertToAutoCompoundShares(uint256 assetsview returns (uint256)
getLockLength(address addrview returns (uint256)
getUserClaimable(address userview returns (uint256 claimable)
getUserLocks(address addrview returns (struct LockedStakingLock[])
hasLockAutoCompoundEnabled(address useruint256 indexview returns (bool)
locks(addressuint256view returns (uint16 multiplieruint32 enduint208 amount)
rewardoors(addressview returns (bool)
rewards(uint256view returns (uint32 startuint32 enduint192 amountPerSecond)
userLastAccRewardsWeight(addressview returns (uint256)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addLock(uint208 amountuint256 duration
addReward(uint32 startuint32 enduint192 amountPerSecond
claim(
compound(uint8 index
disableAutoCompound(uint256 index
enableAutoCompound(uint256 index
initialize(address _swapTokenuint256 _precision
removeReward(uint256 index
renounceOwnership(
setRewardoor(address addrbool value
transferOwnership(address newOwner
unlock(uint256 index
updateLockAmount(uint256 indexuint208 amount
updateLockDuration(uint8 indexuint256 duration
updateReward(uint256 indexuint256 newStartuint256 newEnduint256 newAmountPerSecond
updateRewardsWeight(returns (uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AutoCompoundDisabled(address indexed fromuint256 indexuint256 amount
AutoCompoundEnabled(address indexed fromuint256 indexuint256 shares
AutoCompounded(uint256 compoundAmount
Claim(address indexed fromuint256 amount
Initialized(uint8 version
LockAdded(address indexed fromuint208 amountuint32 enduint16 multiplier
LockUpdated(address indexed fromuint8 indexuint208 amountuint32 enduint16 multiplier
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardAdded(uint256 startuint256 enduint256 amountPerSecond
RewardRemoved(uint256 index
RewardUpdated(uint256 indexuint256 startuint256 enduint256 amountPerSecond
RewardoorSet(address indexed rewardoorbool value
Unlock(address indexed fromuint256 amountuint256 index
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
AlreadyAutoCompound(
AmountIsZero(
CanOnlyAddFutureRewards(
CantAutoCompound(
CantChangePast(
CantUpdateExpiredLock(
DurationOutOfBounds(uint256 duration
IntervalNotRoundedWithEpoch(
LockStillActive(
MaxLocksSucceeded(
MaxRewardsSucceeded(
MustProlongLock(uint256 oldDurationuint256 newDuration
NotAutoCompoundEnabled(
NotRewardoor(
NothingToClaim(
RewardStartEqEnd(
TransferFailed(
UpdateToSmallerMultiplier(uint16 oldMultiplieruint16 newMultiplier
ZeroAddress(
ZeroAmount(
ZeroPrecision(