Morpho
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
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
Balances ($0.00)
No balances found for "Morpho"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Morpho"
ABI
ABI objects
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 supply, uint64 borrow, uint64 withdraw, uint64 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(address, address) view returns (uint256 inP2P, uint256 onPool)
deltas(address) view returns (uint256 p2pSupplyDelta, uint256 p2pBorrowDelta, uint256 p2pSupplyAmount, uint256 p2pBorrowAmount)
enteredMarkets(address, uint256) view returns (address)
getEnteredMarkets(address _user) view returns (address[])
getHead(address _poolToken, uint8 _positionType) view returns (address head)
getNext(address _poolToken, uint8 _positionType, address _user) view returns (address next)
lastBorrowBlock(address) view returns (uint256)
lastPoolIndexes(address) view returns (uint32 lastUpdateBlockNumber, uint112 lastSupplyPoolIndex, uint112 lastBorrowPoolIndex)
marketParameters(address) view returns (uint16 reserveFactor, uint16 p2pIndexCursor)
marketPauseStatus(address) view returns (bool isSupplyPaused, bool isBorrowPaused, bool isWithdrawPaused, bool isRepayPaused, bool isLiquidateCollateralPaused, bool isLiquidateBorrowPaused, bool isDeprecated)
marketStatus(address) view returns (bool isCreated, bool isPaused, bool isPartiallyPaused)
p2pBorrowIndex(address) view returns (uint256)
p2pDisabled(address) view returns (bool)
p2pSupplyIndex(address) view returns (uint256)
supplyBalanceInOf(address, address) view returns (uint256 inP2P, uint256 onPool)
userMembership(address, address) view returns (bool)
State-modifying
Events borrow(address _poolToken, uint256 _amount)
borrow(address _poolToken, uint256 _amount, uint256 _maxGasForMatching)
claimRewards(address[] _cTokenAddresses, bool) returns (uint256 amountOfRewards)
claimToTreasury(address[] _poolTokens, uint256[] _amounts)
createMarket(address _poolToken, struct TypesMarketParameters _marketParams)
increaseP2PDeltas(address _poolToken, uint256 _amount)
initialize(address _positionsManager, address _interestRatesManager, address _comptroller, struct TypesMaxGasForMatching _defaultMaxGasForMatching, uint256 _dustThreshold, uint256 _maxSortedUsers, address _cEth, address _wEth)
liquidate(address _poolTokenBorrowed, address _poolTokenCollateral, address _borrower, uint256 _amount)
renounceOwnership()
repay(address _poolToken, address _onBehalf, uint256 _amount)
repay(address _poolToken, uint256 _amount)
setDefaultMaxGasForMatching(struct TypesMaxGasForMatching _defaultMaxGasForMatching)
setDustThreshold(uint256 _dustThreshold)
setInterestRatesManager(address _interestRatesManager)
setIsBorrowPaused(address _poolToken, bool _isPaused)
setIsClaimRewardsPaused(bool _isPaused)
setIsDeprecated(address _poolToken, bool _isDeprecated)
setIsLiquidateBorrowPaused(address _poolToken, bool _isPaused)
setIsLiquidateCollateralPaused(address _poolToken, bool _isPaused)
setIsP2PDisabled(address _poolToken, bool _isP2PDisabled)
setIsPausedForAllMarkets(bool _isPaused)
setIsRepayPaused(address _poolToken, bool _isPaused)
setIsSupplyPaused(address _poolToken, bool _isPaused)
setIsWithdrawPaused(address _poolToken, bool _isPaused)
setMaxSortedUsers(uint256 _newMaxSortedUsers)
setP2PIndexCursor(address _poolToken, uint16 _p2pIndexCursor)
setPositionsManager(address _positionsManager)
setReserveFactor(address _poolToken, uint16 _newReserveFactor)
setRewardsManager(address _rewardsManager)
setTreasuryVault(address _treasuryVault)
supply(address _poolToken, address _onBehalf, uint256 _amount)
supply(address _poolToken, address _onBehalf, uint256 _amount, uint256 _maxGasForMatching)
supply(address _poolToken, uint256 _amount)
transferOwnership(address newOwner)
updateP2PIndexes(address _poolToken)
withdraw(address _poolToken, uint256 _amount)
withdraw(address _poolToken, uint256 _amount, address _receiver)
ClaimRewardsPauseStatusSet(bool _isPaused)
DefaultMaxGasForMatchingSet(struct TypesMaxGasForMatching _defaultMaxGasForMatching)
DustThresholdSet(uint256 _dustThreshold)
InterestRatesSet(address indexed _interestRatesManager)
IsBorrowPausedSet(address indexed _poolToken, bool _isPaused)
IsDeprecatedSet(address indexed _poolToken, bool _isDeprecated)
IsLiquidateBorrowPausedSet(address indexed _poolToken, bool _isPaused)
IsLiquidateCollateralPausedSet(address indexed _poolToken, bool _isPaused)
IsRepayPausedSet(address indexed _poolToken, bool _isPaused)
IsSupplyPausedSet(address indexed _poolToken, bool _isPaused)
IsWithdrawPausedSet(address indexed _poolToken, bool _isPaused)
MarketCreated(address indexed _poolToken, uint16 _reserveFactor, uint16 _p2pIndexCursor)
MaxSortedUsersSet(uint256 _newValue)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
P2PIndexCursorSet(address indexed _poolToken, uint16 _newValue)
P2PStatusSet(address indexed _poolToken, bool _isP2PDisabled)
PositionsManagerSet(address indexed _positionsManager)
ReserveFactorSet(address indexed _poolToken, uint16 _newValue)
ReserveFeeClaimed(address indexed _poolToken, uint256 _amountClaimed)
RewardsClaimed(address indexed _user, uint256 _amountClaimed, bool indexed _traded)
RewardsManagerSet(address indexed _newRewardsManagerAddress)
TreasuryVaultSet(address indexed _newTreasuryVaultAddress)
This contract contains no constructor objects.
receive()
AmountIsZero()
BorrowNotPaused()
ClaimRewardsPaused()
CompoundOracleFailed()
ExceedsMaxBasisPoints()
MarketAlreadyCreated()
MarketCreationFailedOnCompound(uint256 errorCode)
MarketIsDeprecated()
MarketNotCreated()
ZeroAddress()