MoonwellLendingStrategyNative
Verified contract
Proxy
Active on
Base with 1 txns
Unified storage
Map
Table
Raw
Constants and immutables
15
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xa2fe…3643
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
mWETH | ERC-20 | 130.957534 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15978573 | 5 months ago | | | 0 | 9.5308901e-7 |
ABI
ABI objects
Getter at block 23183587 unclaimedRewards() view returns (address[] rewardTokens, uint256[] earnedAmounts)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_ACCOUNT() view returns (address)
0xa2fe8e38a14cf7beece22ae71e951f78ce233643
LP_DEPOSIT_POOL() view returns (address)
0x0000000000000000000000000000000000000000
LP_STAKING() view returns (address)
0x0000000000000000000000000000000000000000
LP_TOKEN() view returns (address)
0x628ff693426583d9a7fb391e54366292f509d457
LP_UNDERLYING_TOKENS_COUNT() view returns (uint256)
1
ROLE_CLIENT() view returns (bytes32)
0x43023f179164d629e1d761fb32e2db4dbd5ce417a23159d7da9cc7b562689285
ROLE_DEFINITIVE() view returns (bytes32)
0xd9c9e1a27f80559d0ef9cb96900d3b37cb5d56df00dca6d004c3b26d13df7898
ROLE_DEFINITIVE_ADMIN() view returns (bytes32)
0x71b4013af46185a424aaa4fe1eb172247581306dd750cb51be59e3864d3dc986
SAFE_HARBOR_MODE_ENABLED() view returns (bool)
false
STOP_GUARDIAN_ENABLED() view returns (bool)
false
WRAPPED_NATIVE_ASSET_ADDRESS() view returns (address)
0x4200000000000000000000000000000000000006
getAmountStaked() view returns (uint256)
13095753435
supportsNativeAssets() pure returns (bool)
true
Read-only
LP_UNDERLYING_TOKENS(uint256) view returns (address)
_swapHandlers(address) view returns (bool)
_swapOutputTokens(address) view returns (bool)
_swapTokens(address) view returns (bool)
addLiquidityStaticcall(uint256[] amounts, uint256) view returns (uint256 lpTokensMinted)
getBalance(address assetAddress) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
_getCollateralAmount(address collateralMtoken) view returns (uint256)
_getDebtAmount(address debtMtoken) view returns (uint256)
_getLTV(address collateralMtoken, address debtMtoken) view returns (uint256)
_getOraclePrice(address mAsset) view returns (uint256 price, uint256 decimals)
_getStoredTotalDebt(address debtMtoken) view returns (uint256)
getOraclePriceRatio(address tokenAddress, address toTokenAddress) view returns (uint256, uint256)
getPendingReward(address _mToken) view returns (address rewardContract, uint256)
simulateSupply(address assetMtoken, uint256 amount) view returns (uint256)
State-modifying
Events addLiquidity(uint256[] amounts, uint256 minAmount) returns (uint256 lpTokenAmount)
claimAllRewards(uint256 feePct) returns (address[] rewardTokens, uint256[] earnedAmounts)
deposit(uint256[] amounts, address[] assetAddresses) payable
disableSafeHarborMode()
disableStopGuardian()
disableSwapHandlers(address[] swapHandlers)
disableSwapOutputTokens(address[] swapOutputTokens)
disableSwapTokens(address[] swapTokens)
enableSafeHarborMode()
enableStopGuardian()
enableSwapHandlers(address[] swapHandlers)
enableSwapOutputTokens(address[] swapOutputTokens)
enableSwapTokens(address[] swapTokens)
enter(uint256[] amounts, uint256 minAmount) returns (uint256 stakedAmount)
executeOperation(address target, bytes payload) payable
exit(uint256 lpTokenAmount, uint256[] minAmounts) returns (uint256[] amounts)
exitOne(uint256 lpTokenAmount, uint256 minAmount, uint8 index) returns (uint256 amount)
grantRole(bytes32 role, address account)
multicall(bytes[] data) returns (bytes[] results)
removeLiquidity(uint256 lpTokenAmount, uint256[] minAmounts) returns (uint256[] amounts)
removeLiquidityOneCoin(uint256 lpTokenAmount, uint256 minAmount, uint8 index) returns (uint256[] amounts)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
stake(uint256 amount)
swap(struct SwapPayload[] payloads, address outputToken, uint256 amountOutMin, uint256 feePct) returns (uint256)
unstake(uint256 amount)
unwrap(uint256 amount)
unwrapAll()
updateFeeAccount(address _feeAccount)
withdraw(uint256 amount, address erc20Token) returns (bool)
withdrawAll(address[] tokens) returns (bool)
withdrawAllTo(address[] tokens, address to) returns (bool)
withdrawTo(uint256 amount, address erc20Token, address to) returns (bool)
wrap(uint256 amount)
AddLiquidity(uint256[] amounts, uint256 lpTokenAmount)
Deposit(address indexed actor, address[] assetAddresses, uint256[] amounts)
Enter(uint256[] amounts, uint256 stakedAmount)
Exit(uint256 unstakedAmount, uint256[] amounts)
ExitOne(uint256 unstakedAmount, address erc20Token, uint256 amount)
FeeAccountUpdated(address actor, address feeAccount)
NativeAssetWrap(address actor, uint256 amount, bool indexed wrappingToNative)
RemoveLiquidity(uint256 lpTokenAmount, uint256[] amounts)
RewardsClaimed(address[] rewardTokens, uint256[] rewardAmounts, uint256[] feeAmounts)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SafeHarborModeUpdate(address indexed actor, bool indexed isEnabled)
Stake(uint256 amount)
StopGuardianUpdate(address indexed actor, bool indexed isEnabled)
SwapHandled(address[] swapTokens, uint256[] swapAmounts, address outputToken, uint256 outputAmount, uint256 feeAmount)
SwapHandlerUpdate(address actor, address swapHandler, bool isEnabled)
SwapOutputTokenUpdate(address actor, address swapOutputToken, bool isEnabled)
SwapTokenUpdate(address actor, address swapToken, bool isEnabled)
Unstake(uint256 amount)
Withdrawal(address indexed erc20Token, uint256 amount, address indexed recipient)
constructor(struct CoreAccessControlConfig coreAccessControlConfig, struct CoreSwapConfig coreSwapConfig, struct CoreFeesConfig coreFeesConfig, struct LPStakingConfig lpConfig, struct BaseNativeWrapperConfig baseNativeWrapperConfig)
fallback()
receive()
AccountMissingRole(address _account, bytes32 _role)
AccountNotAdmin(address arg0)
AccountNotWhitelisted(address arg0)
AddLiquidityFailed()
DecollateralizeFailed(uint256 errorCode)
EnterAllFailed()
InputGreaterThanStaked()
InsufficientBalance()
InsufficientSwapTokenBalance()
InvalidAmount()
InvalidAmounts()
InvalidERC20Address()
InvalidExecutedOutputAmount()
InvalidFeePercent()
InvalidInputs()
InvalidMsgValue()
InvalidOutputToken()
InvalidReportedOutputAmount()
InvalidSwapHandler()
InvalidSwapOutputToken()
InvalidSwapPayload()
RemoveLiquidityFailed()
SlippageExceeded(uint256 _outputAmount, uint256 _outputAmountMin)
StopGuardianEnabled()
SwapLimitExceeded()
SwapTokenIsOutputToken()
BorrowFailed(uint256 errorCode)
DecollateralizeFailed(uint256 errorCode)
InvalidERC20Address()
RepayDebtFailed()
SupplyFailed()