MetaMorpho

Verified contract

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

No balances found for "MetaMorpho"

0xa2bd3abb7487025404ae1eb98128c8be1f15e013ac7c07763e25b7b30ac87082
0x657c01e817cf33b2105ce6d3453f0413360e42102e5bb771c2b4bc7db377a593
0x2d0e37a77a34192d39a875a8cf72134466031854c0c1d0765b76e4a0f738a07a
0x5c7ca7f50faa7d9a4b2610184992e457e069b05694a6a75ec60d8c2cc05bc1b4
0xc24466ba6e2a1a2a02bffafede1f76e9ac8d5ef332c4ffae6db14599eab3b0ca
0x5b965537f61964183b23251760405c82c6179314b28f9a0549385a19f3f3d1a5
0x8ccf69076c422430a1489126a8119f6280750973194373fbcbe3fb2e59f8dae4
0x885591faeff150f4bb151636a8db27932ca845788d4b17313ff160d7192d828f
0x893babd5d45065cb0b80f09a7e567a2fdffa8b11e3eed3ed4012c2a3f6a3c648
0x53b5f9fbe37e537beabc3ea5a906f1de49994e24aa66d339a689aa8a32f87a68

Functions
Getter at block 21417338
DECIMALS_OFFSET(view returns (uint8)
0
DOMAIN_SEPARATOR(view returns (bytes32)
0x4d6adc9fcd84adc6ee476c9a39123854637dfd84cb576195dd918dc30ae949c5
MORPHO(view returns (address)
0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb
asset(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
curator(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Smokehouse DAI, version=1, chainId=1, verifyingContract=0xbeefff68cc520d68f82641eff84330c631e2490e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fee(view returns (uint96)
50000000000000000
feeRecipient(view returns (address)
0x255c7705e8bb334dfcae438197f7c4297988085a
guardian(view returns (address)
0xbdb791b5d2c61ab8c2ccac3cb802ce8679b7a36b
lastTotalAssets(view returns (uint256)
41001005198588275702458
name(view returns (string)
Smokehouse DAI
owner(view returns (address)
0x0a0e559bc3b0950a7e448f0d4894db195b9cf8dd
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)
5
symbol(view returns (string)
bbqDAI
timelock(view returns (uint256)
604800
 
totalAssets(view returns (uint256 assets)
totalSupply(view returns (uint256)
40799510335308914390351
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(