StakingPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x23af2e09 at 15141500
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

No balances found for "StakingPool"

No transactions found for "StakingPool"


Functions
Getter at block 21385899
getPoolLength(view returns (uint256)
0
getPools(view returns (struct StakingPoolPoolInfo[])
[]
owner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUserInfo(address useruint256 poolIdview returns (struct StakingPoolUserInfo)
pendingReward(address _useruint256 poolIdview returns (uint256)
poolInfo(uint256view returns (address stakingTokenaddress rewardTokenuint256 lastRewardTimestampuint256 accTokenPerShareuint256 startTimeuint256 endTimeuint256 precisionuint256 totalStakeduint256 totalRewardaddress owner)
userInfo(addressuint256view returns (uint256 amountuint256 rewardDebt)
State-modifying
addPool(address stakingTokenaddress rewardTokenuint256 startTimeuint256 endTimeuint256 precisionuint256 totalReward
deposit(uint256 _amountuint256 poolId
emergencyWithdraw(uint256 poolId
initialize(
renounceOwnership(
saveMe(address tokenAddressuint256 amount
stopReward(uint256 poolId
transferOwnership(address newOwner
updatePool(uint256 _pid
withdraw(uint256 _amountuint256 poolId
Events
Claim(address indexed useruint256 amountuint256 poolIndex
Deposit(address indexed useruint256 amountuint256 poolIndex
EmergencyWithdraw(address indexed useruint256 amount
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolCreated(address indexed stakingTokenaddress indexed rewardTokenuint256 startTimeuint256 endTimeuint256 precisionuint256 totalReward
PoolStopped(uint256 poolId
Withdraw(address indexed useruint256 amountuint256 poolIndex
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountIsZero(
NotPoolOwner(address owneraddress account
PoolEnded(
PrecisionTooBig(
RewardAmountIsZero(
RewardsInPast(
WithdrawAmountTooBig(