MetaMorpho

Verified contract

Active on Base with 7,474 txns
Deployed by via 0x082edd73 at 15620450
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.19
ERC-20
--
ERC-20
--
0x1204efa93bff956805288695ded2aaaabae38fae79ff3d07516b21638cd156a1
0x8eba5e64e74453c44b2e7a3fb824aec3f9702a090dfe2a8fb2e0dbbaedc11983
0x166a5385d4d1d80c1ee4be5fa56df979b35a57bdb60e4f802e020cba441774c4
0x7b2efd7df0e19d7bbb819f926a8d2ce4371c03a725a665dbd7daf538b3aa52d7
0xcb4fa74042903cf0021610dfbb5ff96f7533e88e2f6d4b8059ab1f18fda45060
0x1e2ff8ba101b4da5ad12dad05eb86fe8a1757835c1e6ec984f4d57c386991029
0x7b2481827fbcb3171bd6fb11315879e2a6e59b6717f49edc8ed861efc7a8c06c
0xfe7f12143c9eb6d221522367530fd8159aba5236f760463e91d85a44a85116b4
0xd488c0348fa728015d04e65c668f19210c86954e16e4e25ec7763eaffa24da59
0x11c16a1cdf21d7a92a31e228aaaf8930a14b7ccaac3087ae8d514bcbd4c1ce79

Functions
Getter at block 22152170
DECIMALS_OFFSET(view returns (uint8)
12
DOMAIN_SEPARATOR(view returns (bytes32)
0xbd6e539e9a760543661cc37e617f4437cad9dfbf6540b1fe6d1ece1cb7331c74
MORPHO(view returns (address)
0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb
asset(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
curator(view returns (address)
0x4b8f6cadb8a2b222e8840e8addc32e031794a4d6
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Moonwell Flagship USDC, version=1, chainId=8453, verifyingContract=0xc1256ae5ff1cf2719d4937adb3bbccab2e00a2ca, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fee(view returns (uint96)
150000000000000000
feeRecipient(view returns (address)
0x1e1b4a620d1a840bcd56706d87903e3583c8b26f
guardian(view returns (address)
0xb9d4acf113a423bc4a64110b8738a52e51c2ab38
lastTotalAssets(view returns (uint256)
51831588939983
name(view returns (string)
Moonwell Flagship USDC
owner(view returns (address)
0x8b621804a7637b781e2bbd58e256a591f2df7d51
pendingGuardian(view returns (address valueuint64 validAt)
(value=0x0000000000000000000000000000000000000000, validAt=0)
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
pendingTimelock(view returns (uint192 valueuint64 validAt)
(value=0, validAt=0)
skimRecipient(view returns (address)
0x0000000000000000000000000000000000000000
supplyQueueLength(view returns (uint256)
1
symbol(view returns (string)
mwUSDC
timelock(view returns (uint256)
345600
 
totalAssets(view returns (uint256 assets)
totalSupply(view returns (uint256)
51590302495267060992381084
withdrawQueueLength(view returns (uint256)
8
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
config(bytes32view returns (uint184 capbool enableduint64 removableAt)
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
isAllocator(addressview returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256 assets)
nonces(address ownerview returns (uint256)
pendingCap(bytes32view returns (uint192 valueuint64 validAt)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
supplyQueue(uint256view returns (bytes32)
withdrawQueue(uint256view returns (bytes32)
State-modifying
acceptCap(struct MarketParams marketParams
acceptGuardian(
acceptOwnership(
acceptTimelock(
approve(address spenderuint256 valuereturns (bool)
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
mint(uint256 sharesaddress receiverreturns (uint256 assets)
multicall(bytes[] datareturns (bytes[] results)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
reallocate(struct MarketAllocation[] allocations
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
renounceOwnership(
revokePendingCap(bytes32 id
revokePendingGuardian(
revokePendingMarketRemoval(bytes32 id
revokePendingTimelock(
setCurator(address newCurator
setFee(uint256 newFee
setFeeRecipient(address newFeeRecipient
setIsAllocator(address newAllocatorbool newIsAllocator
setSkimRecipient(address newSkimRecipient
setSupplyQueue(bytes32[] newSupplyQueue
skim(address token
submitCap(struct MarketParams marketParamsuint256 newSupplyCap
submitGuardian(address newGuardian
submitMarketRemoval(struct MarketParams marketParams
submitTimelock(uint256 newTimelock
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
updateWithdrawQueue(uint256[] indexes
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256 shares)
Events
AccrueInterest(uint256 newTotalAssetsuint256 feeShares
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
EIP712DomainChanged(
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReallocateSupply(address indexed callerbytes32 indexed iduint256 suppliedAssetsuint256 suppliedShares
ReallocateWithdraw(address indexed callerbytes32 indexed iduint256 withdrawnAssetsuint256 withdrawnShares
RevokePendingCap(address indexed callerbytes32 indexed id
RevokePendingGuardian(address indexed caller
RevokePendingMarketRemoval(address indexed callerbytes32 indexed id
RevokePendingTimelock(address indexed caller
SetCap(address indexed callerbytes32 indexed iduint256 cap
SetCurator(address indexed newCurator
SetFee(address indexed calleruint256 newFee
SetFeeRecipient(address indexed newFeeRecipient
SetGuardian(address indexed calleraddress indexed guardian
SetIsAllocator(address indexed allocatorbool isAllocator
SetSkimRecipient(address indexed newSkimRecipient
SetSupplyQueue(address indexed callerbytes32[] newSupplyQueue
SetTimelock(address indexed calleruint256 newTimelock
SetWithdrawQueue(address indexed callerbytes32[] newWithdrawQueue
Skim(address indexed calleraddress indexed tokenuint256 amount
SubmitCap(address indexed callerbytes32 indexed iduint256 cap
SubmitGuardian(address indexed newGuardian
SubmitMarketRemoval(address indexed callerbytes32 indexed id
SubmitTimelock(uint256 newTimelock
Transfer(address indexed fromaddress indexed touint256 value
UpdateLastTotalAssets(uint256 updatedTotalAssets
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(address owneraddress morphouint256 initialTimelockaddress _assetstring _namestring _symbol
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AboveMaxTimelock(
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AllCapsReached(
AlreadyPending(
AlreadySet(
BelowMinTimelock(
DuplicateMarket(bytes32 id
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
ERC4626ExceededMaxDeposit(address receiveruint256 assetsuint256 max
ERC4626ExceededMaxMint(address receiveruint256 sharesuint256 max
ERC4626ExceededMaxRedeem(address owneruint256 sharesuint256 max
ERC4626ExceededMaxWithdraw(address owneruint256 assetsuint256 max
FailedInnerCall(
InconsistentAsset(bytes32 id
InconsistentReallocation(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidMarketRemovalNonZeroCap(bytes32 id
InvalidMarketRemovalNonZeroSupply(bytes32 id
InvalidMarketRemovalTimelockNotElapsed(bytes32 id
InvalidShortString(
MarketNotCreated(
MarketNotEnabled(bytes32 id
MathOverflowedMulDiv(
MaxFeeExceeded(
MaxQueueLengthExceeded(
NoPendingValue(
NonZeroCap(
NotAllocatorRole(
NotCuratorNorGuardianRole(
NotCuratorRole(
NotEnoughLiquidity(
NotGuardianRole(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PendingCap(bytes32 id
PendingRemoval(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
StringTooLong(string str
SupplyCapExceeded(bytes32 id
TimelockNotElapsed(
UnauthorizedMarket(bytes32 id
ZeroAddress(
ZeroFeeRecipient(