StakingPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
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 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 user) view returns (uint256 userRewards)
getUserStake(address user) view returns (struct StakingPoolStake)
stakes(address user) view returns (uint256 amount, uint256 rewardDebt, uint256 startTime, uint256 lockPeriod)
vaults(address vault) view returns (bool canBypassTimelock)
State-modifying
Events addVault(address vault)
deposit(uint256 amount)
distributeRewards(uint256 amount)
harvest()
initialize(address _depositToken, address _rewardToken, uint256 initialLockPeriod)
removeVault(address vault)
renounceOwnership()
setLockPeriod(uint256 lockPeriodInSeconds)
setUniV2Router(address uniRouter)
transferOwnership(address newOwner)
unlock()
withdraw(uint256 amount)
withdrawAsVault(uint256 amount)
Compound(address indexed user, uint256 indexed harvestedRewards, uint256 indexed compoundedTokens)
Deposit(address indexed user, uint256 indexed stakedAmount)
Harvest(address indexed user, uint256 indexed harvestAmount)
Initialized(uint8 version)
MinLockPeriodChanged(uint256 indexed oldDuration, uint256 indexed newDuration)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolUnlocked()
RewardsAdded(uint256 amount)
UniV2RouterChanged(address indexed oldRouter, address indexed newRouter)
Withdraw(address indexed user, uint256 indexed withdrawAmount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
ImplausibleLockDuration()
InsufficientStakedAmount()
InvalidAmountZero()
InvalidTokenAddress()
NotAVault()
PoolIsLocked()
StakingLockNotFinished(uint256 minTimeLeft)