MetaMorpho

Verified contract

Active on Base with 8,650 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
--
0xadea0ca447e5a120478c138fd87ebaf022b6f959248a1a0eb7a8e87107c46d5b
0x913be85875b1184c4faccabefaa799179b92f85cd3150e5a743dc9a036aec6c8
0x7237b8656a49cc7966bd13ec700d577a56086b681c77fac664cf9f0a565157dc
0x6ed7970d89a70880b33f24cd80e7f302c8212972c0850ead0142429b1b874677
0x50cdf10439e6355905b7280734d23cb125328ce2910afd011248b66187266cdb
0x682ff914ec5ac36f667245ee475a43b9b2cb5b99d37fd0870457f3a726b17028
0x7d20c808e3522a9c0bbd800f0a00a782011d5fc30169c23f4aeb28b52a3d27b7
0x769ae8fe2fef8b8711b68733adb3942002b85ed86f8b6f0e3b622c6a1cb2d4c1
0x7f55d37f3871584f37006ce745accc064238ad82701ce2c8aca6d30b5a4a32f8
0xd4b3d308d983c42f8e6d7f872403865d7b4b1db47642f33c4a247a228456ffcd

Functions
Getter at block 22747445
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)
43901381927340
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)
43638571477874323276412328
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(