Morpho

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x48c3df45 at 16784253
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
13 additional variables

No balances found for "Morpho"

No transactions found for "Morpho"


Functions
Getter at block 21182878
CTOKEN_DECIMALS(view returns (uint8)
8
MAX_BASIS_POINTS(view returns (uint16)
10000
WAD(view returns (uint256)
1000000000000000000
cEth(view returns (address)
0x0000000000000000000000000000000000000000
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
defaultMaxGasForMatching(view returns (uint64 supplyuint64 borrowuint64 withdrawuint64 repay)
(supply=0, borrow=0, withdraw=0, repay=0)
dustThreshold(view returns (uint256)
0
getAllMarkets(view returns (address[])
[]
incentivesVault(view returns (address)
0x0000000000000000000000000000000000000000
interestRatesManager(view returns (address)
0x0000000000000000000000000000000000000000
isClaimRewardsPaused(view returns (bool)
false
maxSortedUsers(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
positionsManager(view returns (address)
0x0000000000000000000000000000000000000000
rewardsManager(view returns (address)
0x0000000000000000000000000000000000000000
treasuryVault(view returns (address)
0x0000000000000000000000000000000000000000
wEth(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
borrowBalanceInOf(addressaddressview returns (uint256 inP2Puint256 onPool)
deltas(addressview returns (uint256 p2pSupplyDeltauint256 p2pBorrowDeltauint256 p2pSupplyAmountuint256 p2pBorrowAmount)
enteredMarkets(addressuint256view returns (address)
getEnteredMarkets(address _userview returns (address[])
getHead(address _poolTokenuint8 _positionTypeview returns (address head)
getNext(address _poolTokenuint8 _positionTypeaddress _userview returns (address next)
lastBorrowBlock(addressview returns (uint256)
lastPoolIndexes(addressview returns (uint32 lastUpdateBlockNumberuint112 lastSupplyPoolIndexuint112 lastBorrowPoolIndex)
marketParameters(addressview returns (uint16 reserveFactoruint16 p2pIndexCursor)
marketPauseStatus(addressview returns (bool isSupplyPausedbool isBorrowPausedbool isWithdrawPausedbool isRepayPausedbool isLiquidateCollateralPausedbool isLiquidateBorrowPausedbool isDeprecated)
marketStatus(addressview returns (bool isCreatedbool isPausedbool isPartiallyPaused)
p2pBorrowIndex(addressview returns (uint256)
p2pDisabled(addressview returns (bool)
p2pSupplyIndex(addressview returns (uint256)
supplyBalanceInOf(addressaddressview returns (uint256 inP2Puint256 onPool)
userMembership(addressaddressview returns (bool)
State-modifying
borrow(address _poolTokenuint256 _amount
borrow(address _poolTokenuint256 _amountuint256 _maxGasForMatching
claimRewards(address[] _cTokenAddressesboolreturns (uint256 amountOfRewards)
claimToTreasury(address[] _poolTokensuint256[] _amounts
createMarket(address _poolTokenstruct TypesMarketParameters _marketParams
increaseP2PDeltas(address _poolTokenuint256 _amount
initialize(address _positionsManageraddress _interestRatesManageraddress _comptrollerstruct TypesMaxGasForMatching _defaultMaxGasForMatchinguint256 _dustThresholduint256 _maxSortedUsersaddress _cEthaddress _wEth
liquidate(address _poolTokenBorrowedaddress _poolTokenCollateraladdress _borroweruint256 _amount
renounceOwnership(
repay(address _poolTokenaddress _onBehalfuint256 _amount
repay(address _poolTokenuint256 _amount
setDefaultMaxGasForMatching(struct TypesMaxGasForMatching _defaultMaxGasForMatching
setDustThreshold(uint256 _dustThreshold
setInterestRatesManager(address _interestRatesManager
setIsBorrowPaused(address _poolTokenbool _isPaused
setIsClaimRewardsPaused(bool _isPaused
setIsDeprecated(address _poolTokenbool _isDeprecated
setIsLiquidateBorrowPaused(address _poolTokenbool _isPaused
setIsLiquidateCollateralPaused(address _poolTokenbool _isPaused
setIsP2PDisabled(address _poolTokenbool _isP2PDisabled
setIsPausedForAllMarkets(bool _isPaused
setIsRepayPaused(address _poolTokenbool _isPaused
setIsSupplyPaused(address _poolTokenbool _isPaused
setIsWithdrawPaused(address _poolTokenbool _isPaused
setMaxSortedUsers(uint256 _newMaxSortedUsers
setP2PIndexCursor(address _poolTokenuint16 _p2pIndexCursor
setPositionsManager(address _positionsManager
setReserveFactor(address _poolTokenuint16 _newReserveFactor
setRewardsManager(address _rewardsManager
setTreasuryVault(address _treasuryVault
supply(address _poolTokenaddress _onBehalfuint256 _amount
supply(address _poolTokenaddress _onBehalfuint256 _amountuint256 _maxGasForMatching
supply(address _poolTokenuint256 _amount
transferOwnership(address newOwner
updateP2PIndexes(address _poolToken
withdraw(address _poolTokenuint256 _amount
withdraw(address _poolTokenuint256 _amountaddress _receiver
Events
ClaimRewardsPauseStatusSet(bool _isPaused
DefaultMaxGasForMatchingSet(struct TypesMaxGasForMatching _defaultMaxGasForMatching
DustThresholdSet(uint256 _dustThreshold
InterestRatesSet(address indexed _interestRatesManager
IsBorrowPausedSet(address indexed _poolTokenbool _isPaused
IsDeprecatedSet(address indexed _poolTokenbool _isDeprecated
IsLiquidateBorrowPausedSet(address indexed _poolTokenbool _isPaused
IsLiquidateCollateralPausedSet(address indexed _poolTokenbool _isPaused
IsRepayPausedSet(address indexed _poolTokenbool _isPaused
IsSupplyPausedSet(address indexed _poolTokenbool _isPaused
IsWithdrawPausedSet(address indexed _poolTokenbool _isPaused
MarketCreated(address indexed _poolTokenuint16 _reserveFactoruint16 _p2pIndexCursor
MaxSortedUsersSet(uint256 _newValue
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
P2PIndexCursorSet(address indexed _poolTokenuint16 _newValue
P2PStatusSet(address indexed _poolTokenbool _isP2PDisabled
PositionsManagerSet(address indexed _positionsManager
ReserveFactorSet(address indexed _poolTokenuint16 _newValue
ReserveFeeClaimed(address indexed _poolTokenuint256 _amountClaimed
RewardsClaimed(address indexed _useruint256 _amountClaimedbool indexed _traded
RewardsManagerSet(address indexed _newRewardsManagerAddress
TreasuryVaultSet(address indexed _newTreasuryVaultAddress
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AmountIsZero(
BorrowNotPaused(
ClaimRewardsPaused(
CompoundOracleFailed(
ExceedsMaxBasisPoints(
MarketAlreadyCreated(
MarketCreationFailedOnCompound(uint256 errorCode
MarketIsDeprecated(
MarketNotCreated(
ZeroAddress(