MetaMorpho

Verified contract

Active on Ethereum with 48 txns
Deployed by via 0x58e8300f at 20865075
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MetaMorpho"

0x5a4a7505736f75f6037c159c3c3e730cf7bdbf2246cfac74a2149c4b9d28bdfe
0xd6026b207fb06af0fed6862177638dd1ad5b2ce53fccb8832f3f7b9c052ecc65
0x37a7d5f51bb43c1f781c5354414b287ca95f8e8cf43c63c972e75dc05db313fc
0x3f6dc9b054255050fee2087da5c038fb52be7acd0149e98f01219b261b44b391
0x59cbcd7e7019da9ab0f679a47104bc746139ae298669e9613f7bb18d66cb9a9e
0xa14c531be02e3fa55296a72c1b65715481ae7419e269963dd530b5bc055401eb
0xd1b4cb9632b940ce39ce753a893a33dc5ba7928483daa4737425792e158f5838
0x3d8214a8e83ea378766d434f5502c2b1a44777d97e2170693af31345dd038d74
0xdddddc9db2b286f51c210b5065040aa99cc6b50afadc9887ea1ef07a339b6159
0xb809106bb8270e861a331f8f363d4eeda523e46a29ed41eb807ade60b92b6d57

Functions
Getter at block 21184094
DECIMALS_OFFSET(view returns (uint8)
12
DOMAIN_SEPARATOR(view returns (bytes32)
0x08543f33d557c84df2575a1949cb89c7a8f3a17e9502a52e8cf2ef727bfbd9af
MORPHO(view returns (address)
0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb
asset(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
curator(view returns (address)
0xd6d14e60c0dafcb3b77b296fe718623ec84e5eb3
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Relend USDC, version=1, chainId=1, verifyingContract=0x0f359fd18bda75e9c49bc027e7da59a4b01bf32a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fee(view returns (uint96)
100000000000000000
feeRecipient(view returns (address)
0xd6d14e60c0dafcb3b77b296fe718623ec84e5eb3
guardian(view returns (address)
0x3a9b02c14d967333ce68e353a64653e258da2baa
lastTotalAssets(view returns (uint256)
12294712686930
name(view returns (string)
Relend USDC
owner(view returns (address)
0xd6d14e60c0dafcb3b77b296fe718623ec84e5eb3
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)
reUSDC
timelock(view returns (uint256)
86400
 
totalAssets(view returns (uint256 assets)
totalSupply(view returns (uint256)
12199057711882035674586162
withdrawQueueLength(view returns (uint256)
15
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(