TopiaLpStaking
Verified contract
Active on
Ethereum with 1,735 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($94,492.76)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
TOPIA | ERC-20 | 5.715316M | $0.016533 |
$94,492.76 | |
UNI-V2 | ERC-20 | 314.039003K | -- | -- | |
Lambo | ERC-20 | 257.724231K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21203949 | 3 hours ago | | | 0 | 0.0015570220 | |
| 21196002 | a day ago | | | 0 | 0.0025552046 | |
| 21160741 | 6 days ago | | | 0 | 0.0020463182 | |
| 21157379 | 7 days ago | | | 0 | 0.0024491332 | |
| 21149726 | 8 days ago | | | 0 | 0.0012232062 | |
| 21147023 | 8 days ago | | | 0 | 0.0010340703 | |
| 21144769 | 8 days ago | | | 0 | 0.0019159530 | |
| 21144053 | 8 days ago | | | 0 | 0.0026934417 | |
| 21140436 | 9 days ago | | | 0 | 0.00098373004 | |
| 21133450 | 10 days ago | | | 0 | 0.00096480360 |
ABI
ABI objects
Getter at block 21204951
getLockupIntervalMultipliers() view returns (uint8[])
[1, 2, 3, 6, 12, 24]
getLockupIntervals() view returns (uint32[])
[2592000, 5184000, 7776000, 15552000, 31104000, 62208000]
getLockupIntervalsCount() view returns (uint8)
6
owner() view returns (address)
0x156fb9db6cb952daaebbf080974022271988868f
rewardsPerWeight() view returns (uint256 totalWeight, uint96 accumulated, uint32 lastUpdated, uint96 rate)
(totalWeight=6010452147500000000000000, accumulated=37125150053382370922, lastUpdated=1731804551, rate=3963723997970000000)
rewardsPeriod() view returns (uint32 start, uint32 end)
(start=1688688950, end=1814919350)
rewardsSet() view returns (bool)
true
rewardsToken() view returns (address)
0xccccb68e1a848cbdb5b60a974e07aae143ed40c3
stakingToken() view returns (address)
0xc91ef786fbf6d62858262c82c63de45085dea659
Read-only
estimateStakeReward(uint256 _lpAmount, uint8 _lockupIntervalIndex) view returns (uint256)
getUserStake(address _user, uint16 _userStakeIndex) view returns (struct ITopiaLpStakingUserStake)
getUserStakeReward(address _user, uint16 _userStakeIndex) view returns (uint256)
getUserStakeRewards(address _user, uint16[] _userStakeIndexes) view returns (uint256[])
getUserStakes(address _user) view returns (struct ITopiaLpStakingUserStake[])
getUserStakesCount(address _user) view returns (uint256)
lockupIntervalMultipliers(uint256) view returns (uint8)
lockupIntervals(uint256) view returns (uint32)
userStakes(address, uint256) view returns (uint256 lpAmount, uint96 checkpoint, uint32 startedAt, uint8 lockupIntervalIndex, bool claimed, bool forfeited)
State-modifying
Events renounceOwnership()
setRewards(uint32 _start, uint32 _end, uint96 _rate)
stake(uint256 _lpAmount, uint8 _lockupIntervalIndex)
transferOwnership(address newOwner)
unstakeClaim(uint16 _userStakeIndex)
unstakeForfeit(uint16 _userStakeIndex)
LockupIntervalAdded(uint8 lockupIntervalIndex, uint32 interval, uint8 multiplier)
LpTokensStaked(address indexed user, uint16 userStakeIndex, uint256 amount, uint256 lockupTime)
LpTokensUnstakeForfeited(address indexed user, uint16 userStakeIndex, uint256 amount)
LpTokensUnstaked(address indexed user, uint16 userStakeIndex, uint256 amount, uint256 reward)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardsPerWeightUpdated(uint256 accumulated)
RewardsSet(uint32 start, uint32 end, uint256 rate)
RewardsTokenSet(address rewardsTokenAddress)
UniswapPairSet(address uniswapPairAddress)
constructor(address _rewardsToken, address _stakingToken, uint32[] _lockupIntervals, uint8[] _lockupIntervalMultipliers)
This contract contains no fallback and receive objects.
AlreadyUnstaked()
IntervalsMismatch()
InvalidRewardRate()
InvalidStart()
InvalidStartEnd()
LPAmountZero()
LockupTimeUnmet()
RewardsAlreadySet()
StakedPositionsRequired()