TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 173 txns
Unified 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
0xc364…fe88
7 additional
variables
Balances ($39.54)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MPWR | ERC-20 | 899.97385K | $0.000044 |
$39.54 | |
(#399266) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#387663) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#386545) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#386292) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#386060) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#384275) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#383147) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#383077) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#382702) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17532844 | a year ago | | | 0 | 0.0053251020 | |
| 17532834 | a year ago | | | 0 | 0.0056209410 | |
| 17532829 | a year ago | | | 0 | 0.0056209410 | |
| 17510533 | a year ago | | | 0 | 0.0038067633 | |
| 17510530 | a year ago | | | 0 | 0.0087603767 | |
| 16865987 | 2 years ago | | | 0 | 0.0043783022 | |
| 16865985 | 2 years ago | | | 0 | 0.0050133342 | |
| 16862143 | 2 years ago | | | 0 | 0.0095322188 | |
| 16817262 | 2 years ago | | | 0 | 0.0047150012 | |
| 16598556 | 2 years ago | | | 0 | 0.0077141551 |
ABI
ABI objects
Getter at block 21324807
NAME_HASH() view returns (uint256)
16386374990929166980997476097257089099824276953769225600355771737787666486003
PRECISION_FACTOR() view returns (uint256)
1000000000000000000
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
admin() view returns (address)
0x6d3fb2f65e8aee7537bdf8a380238388e0c6b3d5
getAccMarketFee() view returns (uint256)
0
isPaused() view returns (bool)
false
owner() view returns (address)
0x5bd131c0dbbb8a610c574b1f8c0da5739430245b
pausedTimestamp() view returns (uint256)
0
poolLength() view returns (uint256)
3
validator() view returns (address)
0x9e57779542337740063c0903980d8ca8714418bb
Read-only
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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.