MoneyMarket

Verified contract

Active on Ethereum with 162 txns
Deployed by via 0xf651f912 at 6357478
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $211.67
ERC-20
Value $65.88
ERC-20
Value $9.82
ERC-20
Value $0.81
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x533293a284997759f4b2ab32be8f57ff7238920e25125dd81773d599d08a796a
0x7c51698584c05a00add46d28ec73bd4f6be3b974402caadc604c916b73f2de4b
0x83a1f0764a93551b948e5cc4409b3974ecc4115e8c09ca0e846e6c41b549bc5f
0x8b481987bdc286b136d4c8045741090c8126e6a3b326a7d7cbdd1b339d77fa51
0x34bd347963c85a9899c0687918f7a655ebf36107fec5709e9fab50af2042c999
0xe3c69ef9863ed1a946a0a78c3437b34cf6c34fd8c94b3716f6e56288ee83d284
0x5b761a2df883688b0cb2b40d97055cd8cc837b991402a5a1746a1181d2d71464
0x05a7b4f06536da4e72eb3b2a79cba151430a034c687ab0d9551fd675328ee564
0x4e17dace7f8bf1b06b6376fc0521a98bf15431e938d3306d013c4a6d8a891c1d
0x62941a684407d8d30935b4af6c93b3b03251653ed7eb364c74eb7125c7a24d11

Functions
Getter at block 21203006
admin(view returns (address)
0xf06e41add8a7e7a8ad81a07c0aca291e4573ca50
collateralRatio(view returns (uint256 mantissa)
2000000000000000000
getCollateralMarketsLength(view returns (uint256)
6
liquidationDiscount(view returns (uint256 mantissa)
0
oracle(view returns (address)
0x791851c995a8538feb4c8f4ce0cb1a34b20b9c1d
originationFee(view returns (uint256 mantissa)
0
paused(view returns (bool)
false
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.