StakingPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x223c8efb at 17800265
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "StakingPool"

No transactions found for "StakingPool"


Functions
Getter at block 21227371
depositToken(view returns (address)
0x0000000000000000000000000000000000000000
lockPeriod(view returns (uint256)
0
locked(view returns (bool)
false
owner(view returns (address)
0x5ec5764a4fe453a066675b21f6ad05a63f1a8913
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
tvl(view returns (uint256)
0
uniswapV2Router(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getUserRewards(address userview returns (uint256 userRewards)
getUserStake(address userview returns (struct StakingPoolStake)
stakes(address userview returns (uint256 amountuint256 rewardDebtuint256 startTimeuint256 lockPeriod)
vaults(address vaultview returns (bool canBypassTimelock)
State-modifying
addVault(address vault
deposit(uint256 amount
distributeRewards(uint256 amount
harvest(
initialize(address _depositTokenaddress _rewardTokenuint256 initialLockPeriod
removeVault(address vault
renounceOwnership(
setLockPeriod(uint256 lockPeriodInSeconds
setUniV2Router(address uniRouter
transferOwnership(address newOwner
unlock(
withdraw(uint256 amount
withdrawAsVault(uint256 amount
Events
Compound(address indexed useruint256 indexed harvestedRewardsuint256 indexed compoundedTokens
Deposit(address indexed useruint256 indexed stakedAmount
Harvest(address indexed useruint256 indexed harvestAmount
Initialized(uint8 version
MinLockPeriodChanged(uint256 indexed oldDurationuint256 indexed newDuration
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolUnlocked(
RewardsAdded(uint256 amount
UniV2RouterChanged(address indexed oldRouteraddress indexed newRouter
Withdraw(address indexed useruint256 indexed withdrawAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ImplausibleLockDuration(
InsufficientStakedAmount(
InvalidAmountZero(
InvalidTokenAddress(
NotAVault(
PoolIsLocked(
StakingLockNotFinished(uint256 minTimeLeft