TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 6,766 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
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
0xcc43…4efe
Balances ($2,546,961.61)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SWAP | ERC-20 | 22.81549M | $0.111633 |
$2,546,961.61 | |
TKX | ERC-20 | 0.000051 | $11.97 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21216852 | 6 hours ago | | | 0 | 0.0016958240 | |
| 21214666 | 13 hours ago | | | 0 | 0.0015787629 | |
| 21213743 | 16 hours ago | | | 0 | 0.0012638899 | |
| 21212270 | 21 hours ago | | | 0 | 0.0013062195 | |
| 21211975 | a day ago | | | 0 | 0.0011227072 | |
| 21211966 | a day ago | | | 0 | 0.0011405010 | |
| 21211170 | a day ago | | | 0 | 0.00096554419 | |
| 21209562 | a day ago | | | 0 | 0.0014381963 | |
| 21202614 | 2 days ago | | | 0 | 0.0012844655 | |
| 21202611 | 2 days ago | | | 0 | 0.0014722033 |
ABI
ABI objects
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 shares) view returns (uint256)
convertToAutoCompoundShares(uint256 assets) view returns (uint256)
getLockLength(address addr) view returns (uint256)
getUserClaimable(address user) view returns (uint256 claimable)
getUserLocks(address addr) view returns (struct LockedStakingLock[])
hasLockAutoCompoundEnabled(address user, uint256 index) view returns (bool)
locks(address, uint256) view returns (uint16 multiplier, uint32 end, uint208 amount)
rewardoors(address) view returns (bool)
rewards(uint256) view returns (uint32 start, uint32 end, uint192 amountPerSecond)
userLastAccRewardsWeight(address) view returns (uint256)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addLock(uint208 amount, uint256 duration)
addReward(uint32 start, uint32 end, uint192 amountPerSecond)
claim()
compound(uint8 index)
disableAutoCompound(uint256 index)
enableAutoCompound(uint256 index)
initialize(address _swapToken, uint256 _precision)
removeReward(uint256 index)
renounceOwnership()
setRewardoor(address addr, bool value)
transferOwnership(address newOwner)
unlock(uint256 index)
updateLockAmount(uint256 index, uint208 amount)
updateLockDuration(uint8 index, uint256 duration)
updateReward(uint256 index, uint256 newStart, uint256 newEnd, uint256 newAmountPerSecond)
updateRewardsWeight() returns (uint256)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AutoCompoundDisabled(address indexed from, uint256 index, uint256 amount)
AutoCompoundEnabled(address indexed from, uint256 index, uint256 shares)
AutoCompounded(uint256 compoundAmount)
Claim(address indexed from, uint256 amount)
Initialized(uint8 version)
LockAdded(address indexed from, uint208 amount, uint32 end, uint16 multiplier)
LockUpdated(address indexed from, uint8 index, uint208 amount, uint32 end, uint16 multiplier)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardAdded(uint256 start, uint256 end, uint256 amountPerSecond)
RewardRemoved(uint256 index)
RewardUpdated(uint256 index, uint256 start, uint256 end, uint256 amountPerSecond)
RewardoorSet(address indexed rewardoor, bool value)
Unlock(address indexed from, uint256 amount, uint256 index)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
AlreadyAutoCompound()
AmountIsZero()
CanOnlyAddFutureRewards()
CantAutoCompound()
CantChangePast()
CantUpdateExpiredLock()
DurationOutOfBounds(uint256 duration)
IntervalNotRoundedWithEpoch()
LockStillActive()
MaxLocksSucceeded()
MaxRewardsSucceeded()
MustProlongLock(uint256 oldDuration, uint256 newDuration)
NotAutoCompoundEnabled()
NotRewardoor()
NothingToClaim()
RewardStartEqEnd()
TransferFailed()
UpdateToSmallerMultiplier(uint16 oldMultiplier, uint16 newMultiplier)
ZeroAddress()
ZeroAmount()
ZeroPrecision()