MoonwellLendingStrategyNative

Verified contract

Proxy

Active on Base with 57 txns
Deployed by via 0x3ddc4b1f at 5144664
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.51
ERC-20
Value $0.62
ERC-20
Value $0
ERC-20
--
0x3039a6a2bdf2f8a4c986697385c514bb938fd1f1cb632afb56d4c60c00c545da
0x3775a984a0e0ee578415b75bde9436197ed5f9315af7030feae71d4023e819b1
0x0684a2a63a6391bfdd5ba4ddc1bc5c2eacbf21df1a62f0bfe9b67ea03e977c94
0x9887201d885331fc5c35837f787f495418525dc7f5639b5c82c3064207997886
0x9990cf2c61742474260a13e80f466d8647ef9aa81328cdb58b6f656fb813372d
0x97d02eb012c6d1e1291ea755631156a53fc6c9796f3ecd02fc0ffabc39789231
0x63e3b75824951d4051775e170432be352721d16f82777215e8679f1aa6275ffe
0x9fe9345d21bb13013b4949deec9c3b00dd4b1c67aae63361d63ef3aa5bfa930c
0x34ef566b1bca5e2dc4839eadfb88a8b886afc5bc4637d313be7ab85b1d534df1
0xa326207a67f70a48165e0d36010cf3943e0485e373357a00acbe41de3fedc173

Functions
Getter at block 22944015
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
MAX_SWAPS_PER_BLOCK(view returns (uint256)
25
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)
3215617936
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)
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(