MoneyMarket

Verified contract

Active on Ethereum with 9,409 txns
Deployed by via 0x00cf9210 at 8295432
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xe16bf8465c59ff6c39706e5c575c0405df361c7781e9cc77706052b9a5781713
0x7b588d3289118c6a748d3ef984def3f6f97a39e8a416f6b3c60c4347eb76cfe7
0x5114d943b2d06d541fe7202e160869ccba00d2e3cf9c6f00cb0b02e26e5ab6e0
0x29e3be282526f5a6329dc66c539b4d49f5d1d4dd740ed69edcb514150284bb53
0x2bef4e6f565c2a64392bb98ff9e45b4902e4ce823cd23d09c1e04fc75a07c70c
0x99ada8144b1b2ce5309282e5bfc90be2492cfbf6501f117d6ce2fe322f6d3965
0xbc2da7c033f5b9202512d2ce30f1dec075932ac49efc3b8d5809e2d906eb41dc
0x3af093be1e6ad91f5f2efff46f7ca32168b39f6906ba3be011ee6164a0c81922
0x6f5a36269c5e1d55e1b12509ad2af7da28393d266488ce3986aa36709bb01d24
0x2acd42e8fdee2d6d9d7ba77f77e97068ae9753994d89d4531c01a01824652ba5

Functions
Getter at block 21257790
admin(view returns (address)
0xa6a6783828ab3e4a9db54302bc01c4ca73f17efb
collateralRatio(view returns (uint256 mantissa)
1250000000000000000
getCollateralMarketsLength(view returns (uint256)
12
liquidationDiscount(view returns (uint256 mantissa)
100000000000000000
oracle(view returns (address)
0xb620707637c5b2cc49843a03d90e28d9abbda149
originationFee(view returns (uint256 mantissa)
100000000000000
paused(view returns (bool)
true
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
assetPrices(address assetview returns (uint256)
borrowBalances(addressaddressview returns (uint256 principaluint256 interestIndex)
calculateAccountValues(address userAddressview returns (uint256uint256uint256)
collateralMarkets(uint256view returns (address)
getAccountLiquidity(address accountview returns (int256)
getBorrowBalance(address accountaddress assetview returns (uint256)
getSupplyBalance(address accountaddress assetview returns (uint256)
markets(addressview returns (bool isSupporteduint256 blockNumberaddress interestRateModeluint256 totalSupplyuint256 supplyRateMantissauint256 supplyIndexuint256 totalBorrowsuint256 borrowRateMantissauint256 borrowIndex)
supplyBalances(addressaddressview returns (uint256 principaluint256 interestIndex)
State-modifying
_acceptAdmin(returns (uint256)
_setMarketInterestRateModel(address assetaddress interestRateModelreturns (uint256)
_setOracle(address newOraclereturns (uint256)
_setOriginationFee(uint256 originationFeeMantissareturns (uint256)
_setPaused(bool requestedStatereturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setRiskParameters(uint256 collateralRatioMantissauint256 liquidationDiscountMantissareturns (uint256)
_supportMarket(address assetaddress interestRateModelreturns (uint256)
_suspendMarket(address assetreturns (uint256)
_withdrawEquity(address assetuint256 amountreturns (uint256)
borrow(address assetuint256 amountreturns (uint256)
liquidateBorrow(address targetAccountaddress assetBorrowaddress assetCollateraluint256 requestedAmountClosereturns (uint256)
repayBorrow(address assetuint256 amountreturns (uint256)
supply(address assetuint256 amountreturns (uint256)
withdraw(address assetuint256 requestedAmountreturns (uint256)
Events
BorrowLiquidated(address targetAccountaddress assetBorrowuint256 borrowBalanceBeforeuint256 borrowBalanceAccumulateduint256 amountRepaiduint256 borrowBalanceAfteraddress liquidatoraddress assetCollateraluint256 collateralBalanceBeforeuint256 collateralBalanceAccumulateduint256 amountSeizeduint256 collateralBalanceAfter
BorrowRepaid(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
BorrowTaken(address accountaddress assetuint256 amountuint256 startingBalanceuint256 borrowAmountWithFeeuint256 newBalance
EquityWithdrawn(address assetuint256 equityAvailableBeforeuint256 amountaddress owner
Failure(uint256 erroruint256 infouint256 detail
NewAdmin(address oldAdminaddress newAdmin
NewOracle(address oldOracleaddress newOracle
NewOriginationFee(uint256 oldOriginationFeeMantissauint256 newOriginationFeeMantissa
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewRiskParameters(uint256 oldCollateralRatioMantissauint256 newCollateralRatioMantissauint256 oldLiquidationDiscountMantissauint256 newLiquidationDiscountMantissa
SetMarketInterestRateModel(address assetaddress interestRateModel
SetPaused(bool newState
SupplyReceived(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
SupplyWithdrawn(address accountaddress assetuint256 amountuint256 startingBalanceuint256 newBalance
SupportedMarket(address assetaddress interestRateModel
SuspendedMarket(address asset
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.