LPStakingV4
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "LPStakingV4"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LPStakingV4"
ABI
ABI objects
Getter at block 21383807 getAccMarketFee() view returns (uint256)
NAME_HASH() view returns (uint256)
16386374990929166980997476097257089099824276953769225600355771737787666486003
PRECISION_FACTOR() view returns (uint256)
1000000000000000000
WETH() view returns (address)
0x0000000000000000000000000000000000000000
admin() view returns (address)
0x0000000000000000000000000000000000000000
isPaused() view returns (bool)
false
owner() view returns (address)
0x0000000000000000000000000000000000000000
pausedTimestamp() view returns (uint256)
0
poolLength() view returns (uint256)
0
validator() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
_verify(address _staker, uint256 _tokenId, uint256 _amountUSD, uint256 _ETHUSD, uint256 _mpwrUSD, uint256 _totalLpStaked, bytes _signature) view returns (bool)
calculateDyanmicAPR(uint256 _ethPerDay, uint256 _ethUSD, uint256 _totalLpStaked) pure returns (uint256)
calculateReward(address _stakeHolder, uint256 _dId, uint256 _ethUSD, uint256 _mpwrUSD, uint256 _amount, uint256 _totalLpStaked) view returns (uint256 reward)
depositDetails(uint256) view returns (uint256 depositId, uint256 stake, uint256 reward, uint256 APR, uint256 period, uint256 lastRewardCalculated, uint256 poolId, uint256 vestedFor, uint256 NFTId, bool isDyanmic)
deposits(address, uint256) view returns (uint256 depositId, uint256 stake, uint256 reward, uint256 APR, uint256 period, uint256 lastRewardCalculated, uint256 poolId, uint256 vestedFor, uint256 NFTId, bool isDyanmic)
getAPR(uint256 _poolId, uint256 _period) view returns (uint256)
getDeposits(address _user) view returns (struct LPStakingV4stakeDetails[])
getDyanmicAPR(uint256 _poolId, uint256 _period, uint256 _ethUSD, uint256 _totalLpStaked) view returns (uint256)
periodPoolMap(uint256) view returns (uint256 tvl, uint256 totalAllotedFeeReward)
poolPair(uint256, uint256) view returns (address)
poolPeriodEth(uint256, uint256) view returns (uint256)
poolPeriodRange(uint256, uint256) view returns (uint256 min, uint256 max)
pools(uint256) view returns (address token, address reward, uint256 tvl, uint256 totalAllotedReward, uint256 totalClaimedReward)
tokenPools(address) view returns (bool)
userDepositMap(address, uint256) view returns (uint256)
vestingAPRPerPool(uint256, uint256) view returns (uint256)
State-modifying
Events addPool(address _token, address _stakeToken, address _reward, struct LPStakingV4interestRate[] _periodRates, bool isDyanmic)
addRewardToPool(uint256 _poolId, uint256 amount)
adminWETHWithdraw()
initialize()
pauseStaking()
renounceOwnership()
resumeStaking()
setAdminAddress(address _admin)
setFeeToken(address _feeToken)
setPoolPair(uint256 _poolId, address _stake, address _reward)
setPoolPeriodRange(uint256 _poolId, uint256 period, uint256 min, uint256 max)
setValidator(address _validator)
stake(uint256 _poolId, uint256 tokenId, uint256 _amount, uint256 _ethUSD, uint256 _mpwrUSD, uint256 _totalLpStaked, uint256 _period, bytes _signature) returns (uint256)
transferOwnership(address newOwner)
updateAPR(uint256 _poolId, struct LPStakingV4interestRate[] _periodRates)
updateETHOnPeriod(uint256 _poolId, struct LPStakingV4interestRate[] _periodRates)
updatePool(uint256 poolId, address _token, address _stakeToken, address _reward, struct LPStakingV4interestRate[] _periodRates, bool isDyanmic)
withdraw(uint256 _poolId, uint256 _dId, uint256 _ethUSD, uint256 _mpwrUSD, uint256 _stake, uint256 _totalLpStaked, bytes _signature)
withdrawRewardfromPool(uint256 _poolId, uint256 amount)
Harvest(address indexed user, uint256 feeReward)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardClaimed(address indexed staker, uint256 amount, uint256 indexed _poolId, uint256 timestamp)
Staked(address indexed staker, uint256 amount, uint256 indexed depositId, uint256 timestamp)
Unstaked(address indexed staker, uint256 amount, uint256 reward, uint256 indexed depositId, uint256 timestamp)
WETHDeposit(address indexed user, uint256 amount)
WETHWithdraw(address indexed user, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.