StakingPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1ff8959f at 20465218
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 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 useruint256 poolIdview returns (struct StakingPoolUserInfo)
hasBeenStaked(uint256view returns (bool)
pendingReward(address _useruint256 poolIdview returns (uint256)
poolInfo(uint256view returns (address stakingTokenaddress rewardTokenuint256 lastRewardTimestampuint256 accTokenPerShareuint256 startTimeuint256 endTimeuint256 precisionuint256 totalStakeduint256 totalRewardaddress owner)
poolStakeLimit(uint256view returns (uint256)
poolVersion(uint256view returns (uint256)
rewardCredit(addressuint256view returns (uint256)
userInfo(addressuint256view returns (uint256 amountuint256 rewardDebt)
State-modifying
addPool(address stakingTokenaddress rewardTokenuint256 startTimeuint256 endTimeuint256 precisionuint256 totalReward
addPoolReward(uint256 poolIduint256 additionalRewardAmount
claimReward(uint256 poolId
deposit(uint256 _amountuint256 poolId
emergencyWithdraw(uint256 poolId
initialize(
initializePoolV2(
renounceOwnership(
saveMe(address tokenAddressuint256 amount
setPoolStakeLimit(uint256 poolIduint256 stakeLimit
stopReward(uint256 poolId
transferOwnership(address newOwner
updatePool(uint256 _pid
updateVersion(uint256 _currentVersion
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
RewardAdded(uint256 poolIduint256 rewardAmountaddress rewardToken
Withdraw(address indexed useruint256 amountuint256 poolIndex
WithdrawTokensEmptyPool(uint256 poolId
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountIsZero(
CannotStopRewards(
InsufficientRemainingTime(uint256 timeLeft
InsufficientTransferredAmount(
InvalidPrecision(
InvalidStakeLimit(uint256 totalStakeduint256 stakeLimit
InvalidStartAndEndDates(
MaximumStakeAmountReached(uint256 stakeLimit
NotPoolOwner(address owneraddress account
Overflow(
PoolDoesNotExist(uint256 poolId
PoolEnded(
RewardAmountIsZero(
RewardsInPast(