StakingPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
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 21397109
currentVersion() view returns (uint256)
0
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)
hasBeenStaked(uint256) view returns (bool)
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)
poolStakeLimit(uint256) view returns (uint256)
poolVersion(uint256) view returns (uint256)
rewardCredit(address, uint256) view returns (uint256)
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)
addPoolReward(uint256 poolId, uint256 additionalRewardAmount)
claimReward(uint256 poolId)
deposit(uint256 _amount, uint256 poolId)
emergencyWithdraw(uint256 poolId)
initialize()
initializePoolV2()
renounceOwnership()
saveMe(address tokenAddress, uint256 amount)
setPoolStakeLimit(uint256 poolId, uint256 stakeLimit)
stopReward(uint256 poolId)
transferOwnership(address newOwner)
updatePool(uint256 _pid)
updateVersion(uint256 _currentVersion)
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)
RewardAdded(uint256 poolId, uint256 rewardAmount, address rewardToken)
Withdraw(address indexed user, uint256 amount, uint256 poolIndex)
WithdrawTokensEmptyPool(uint256 poolId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AmountIsZero()
CannotStopRewards()
InsufficientRemainingTime(uint256 timeLeft)
InsufficientTransferredAmount()
InvalidPrecision()
InvalidStakeLimit(uint256 totalStaked, uint256 stakeLimit)
InvalidStartAndEndDates()
MaximumStakeAmountReached(uint256 stakeLimit)
NotPoolOwner(address owner, address account)
Overflow()
PoolDoesNotExist(uint256 poolId)
PoolEnded()
RewardAmountIsZero()
RewardsInPast()