This contract is being backfilled. You may encounter incomplete storage history.

MoonwellLendingStrategyNative

Verified contract

Proxy

Active on Base with 1 txns
Deployed by via 0x3137992e at 15978564
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x561a90e0d7a6e589775805416d34e7578bbc2ed68097ea3ad5bed6ee905ec3c3
From

Functions
Getter at block 23183587
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
 
unclaimedRewards(view returns (address[] rewardTokensuint256[] earnedAmounts)
Read-only
LP_UNDERLYING_TOKENS(uint256view returns (address)
_swapHandlers(addressview returns (bool)
_swapOutputTokens(addressview returns (bool)
_swapTokens(addressview returns (bool)
addLiquidityStaticcall(uint256[] amountsuint256view returns (uint256 lpTokensMinted)
getBalance(address assetAddressview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
_getCollateralAmount(address collateralMtokenview returns (uint256)
_getDebtAmount(address debtMtokenview returns (uint256)
_getLTV(address collateralMtokenaddress debtMtokenview returns (uint256)
_getOraclePrice(address mAssetview returns (uint256 priceuint256 decimals)
_getStoredTotalDebt(address debtMtokenview returns (uint256)
getOraclePriceRatio(address tokenAddressaddress toTokenAddressview returns (uint256uint256)
getPendingReward(address _mTokenview returns (address rewardContractuint256)
simulateSupply(address assetMtokenuint256 amountview returns (uint256)
State-modifying
addLiquidity(uint256[] amountsuint256 minAmountreturns (uint256 lpTokenAmount)
claimAllRewards(uint256 feePctreturns (address[] rewardTokensuint256[] earnedAmounts)
deposit(uint256[] amountsaddress[] assetAddressespayable 
disableSafeHarborMode(
disableStopGuardian(
disableSwapHandlers(address[] swapHandlers
disableSwapOutputTokens(address[] swapOutputTokens
disableSwapTokens(address[] swapTokens
enableSafeHarborMode(
enableStopGuardian(
enableSwapHandlers(address[] swapHandlers
enableSwapOutputTokens(address[] swapOutputTokens
enableSwapTokens(address[] swapTokens
enter(uint256[] amountsuint256 minAmountreturns (uint256 stakedAmount)
executeOperation(address targetbytes payloadpayable 
exit(uint256 lpTokenAmountuint256[] minAmountsreturns (uint256[] amounts)
exitOne(uint256 lpTokenAmountuint256 minAmountuint8 indexreturns (uint256 amount)
grantRole(bytes32 roleaddress account
multicall(bytes[] datareturns (bytes[] results)
removeLiquidity(uint256 lpTokenAmountuint256[] minAmountsreturns (uint256[] amounts)
removeLiquidityOneCoin(uint256 lpTokenAmountuint256 minAmountuint8 indexreturns (uint256[] amounts)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
stake(uint256 amount
swap(struct SwapPayload[] payloadsaddress outputTokenuint256 amountOutMinuint256 feePctreturns (uint256)
unstake(uint256 amount
unwrap(uint256 amount
unwrapAll(
updateFeeAccount(address _feeAccount
withdraw(uint256 amountaddress erc20Tokenreturns (bool)
withdrawAll(address[] tokensreturns (bool)
withdrawAllTo(address[] tokensaddress toreturns (bool)
withdrawTo(uint256 amountaddress erc20Tokenaddress toreturns (bool)
wrap(uint256 amount
Events
AddLiquidity(uint256[] amountsuint256 lpTokenAmount
Deposit(address indexed actoraddress[] assetAddressesuint256[] amounts
Enter(uint256[] amountsuint256 stakedAmount
Exit(uint256 unstakedAmountuint256[] amounts
ExitOne(uint256 unstakedAmountaddress erc20Tokenuint256 amount
FeeAccountUpdated(address actoraddress feeAccount
NativeAssetWrap(address actoruint256 amountbool indexed wrappingToNative
RemoveLiquidity(uint256 lpTokenAmountuint256[] amounts
RewardsClaimed(address[] rewardTokensuint256[] rewardAmountsuint256[] feeAmounts
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SafeHarborModeUpdate(address indexed actorbool indexed isEnabled
Stake(uint256 amount
StopGuardianUpdate(address indexed actorbool indexed isEnabled
SwapHandled(address[] swapTokensuint256[] swapAmountsaddress outputTokenuint256 outputAmountuint256 feeAmount
SwapHandlerUpdate(address actoraddress swapHandlerbool isEnabled
SwapOutputTokenUpdate(address actoraddress swapOutputTokenbool isEnabled
SwapTokenUpdate(address actoraddress swapTokenbool isEnabled
Unstake(uint256 amount
Withdrawal(address indexed erc20Tokenuint256 amountaddress indexed recipient
Constructor
constructor(struct CoreAccessControlConfig coreAccessControlConfigstruct CoreSwapConfig coreSwapConfigstruct CoreFeesConfig coreFeesConfigstruct LPStakingConfig lpConfigstruct BaseNativeWrapperConfig baseNativeWrapperConfig
Fallback and receive
fallback(
receive(
Errors
AccountMissingRole(address _accountbytes32 _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 _outputAmountuint256 _outputAmountMin
StopGuardianEnabled(
SwapLimitExceeded(
SwapTokenIsOutputToken(
BorrowFailed(uint256 errorCode
DecollateralizeFailed(uint256 errorCode
InvalidERC20Address(
RepayDebtFailed(
SupplyFailed(