StakingPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
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
Balances ($0.00)
No balances found for "StakingPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakingPool"
ABI
ABI objects
Getter at block 21385899
getPoolLength() view returns (uint256)
0
getPools() view returns (struct StakingPoolPoolInfo[])
[]
owner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUserInfo(address user, uint256 poolId) view returns (struct StakingPoolUserInfo)
pendingReward(address _user, uint256 poolId) view returns (uint256)
poolInfo(uint256) view returns (address stakingToken, address rewardToken, uint256 lastRewardTimestamp, uint256 accTokenPerShare, uint256 startTime, uint256 endTime, uint256 precision, uint256 totalStaked, uint256 totalReward, address owner)
userInfo(address, uint256) view returns (uint256 amount, uint256 rewardDebt)
State-modifying
Events addPool(address stakingToken, address rewardToken, uint256 startTime, uint256 endTime, uint256 precision, uint256 totalReward)
deposit(uint256 _amount, uint256 poolId)
emergencyWithdraw(uint256 poolId)
initialize()
renounceOwnership()
saveMe(address tokenAddress, uint256 amount)
stopReward(uint256 poolId)
transferOwnership(address newOwner)
updatePool(uint256 _pid)
withdraw(uint256 _amount, uint256 poolId)
Claim(address indexed user, uint256 amount, uint256 poolIndex)
Deposit(address indexed user, uint256 amount, uint256 poolIndex)
EmergencyWithdraw(address indexed user, uint256 amount)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolCreated(address indexed stakingToken, address indexed rewardToken, uint256 startTime, uint256 endTime, uint256 precision, uint256 totalReward)
PoolStopped(uint256 poolId)
Withdraw(address indexed user, uint256 amount, uint256 poolIndex)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AmountIsZero()
NotPoolOwner(address owner, address account)
PoolEnded()
PrecisionTooBig()
RewardAmountIsZero()
RewardsInPast()
WithdrawAmountTooBig()