Comptroller

Verified contract

Implementation

Active on Ethereum
Deployed by via 0xede51d90 at 19393381
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
6 additional variables

No balances found for "Comptroller"

0x362db07619298565cdeb707ab89fd7339ed443263db2fb85a3a6574cb70ecbc4

Functions
Getter at block 20867005
_borrowGuardianPaused(view returns (bool)
false
_mintGuardianPaused(view returns (bool)
false
admin(view returns (address)
0x7ec7d0db303b09fe634efc27c8d2603b4ebf5e3b
closeFactorMantissa(view returns (uint256)
0
comptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
getAllMarkets(view returns (address[])
[]
getBlockNumber(view returns (uint256)
20867005
getLiquidationExtraRepayAmount(view returns (uint256)
0
getLiquidationProxyAddress(view returns (address)
0x323398de3c35f96053d930d25fe8d92132f83d44
getLiquidationSeizeIndexes(view returns (uint256[])
[]
getXcnAddress(view returns (address)
0xa2cd3d43c775978a96bdbf12d733d5a1ed94fb18
isComptroller(view returns (bool)
true
liquidationIncentiveMantissa(view returns (uint256)
0
marketCapGuardian(view returns (address)
0x0000000000000000000000000000000000000000
maxAssets(view returns (uint256)
0
oracle(view returns (address)
0x0000000000000000000000000000000000000000
pauseGuardian(view returns (address)
0x0000000000000000000000000000000000000000
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
seizeGuardianPaused(view returns (bool)
false
transferGuardianPaused(view returns (bool)
false
xcnInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
xcnRate(view returns (uint256)
0
Read-only
accountAssets(addressuint256view returns (address)
allMarkets(uint256view returns (address)
borrowCaps(addressview returns (uint256)
borrowGuardianPaused(addressview returns (bool)
checkMembership(address accountaddress oTokenview returns (bool)
getAccountLiquidity(address accountview returns (uint256uint256uint256)
getAssetsIn(address accountview returns (address[])
getHypotheticalAccountLiquidity(address accountaddress oTokenModifyuint256 redeemTokensuint256 borrowAmountview returns (uint256uint256uint256)
isDeprecated(address oTokenview returns (bool)
liquidateCalculateSeizeTokens(address oTokenBorrowedaddress oTokenCollateraluint256 actualRepayAmountview returns (uint256uint256)
liquidateCalculateSeizeTokensEx(address oTokenBorrowedaddress oTokenExCollateraluint256 repayAmountview returns (uint256uint256uint256)
markets(addressview returns (bool isListeduint256 collateralFactorMantissabool isXcned)
mintGuardianPaused(addressview returns (bool)
supplyCaps(addressview returns (uint256)
xcnAccrued(addressview returns (uint256)
xcnBorrowSpeeds(addressview returns (uint256)
xcnBorrowState(addressview returns (uint224 indexuint32 block)
xcnBorrowerIndex(addressaddressview returns (uint256)
xcnSpeeds(addressview returns (uint256)
xcnSupplierIndex(addressaddressview returns (uint256)
xcnSupplySpeeds(addressview returns (uint256)
xcnSupplyState(addressview returns (uint224 indexuint32 block)
State-modifying
_become(address unitroller
_grantXcn(address recipientuint256 amount
_setBorrowPaused(address oTokenbool statereturns (bool)
_setCloseFactor(uint256 newCloseFactorMantissareturns (uint256)
_setCollateralFactor(address oTokenuint256 newCollateralFactorMantissareturns (uint256)
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissareturns (uint256)
_setMarketCapGuardian(address newMarketCapGuardian
_setMarketCaps(address[] oTokensuint256[] newSupplyCapsuint256[] newBorrowCaps
_setMintPaused(address oTokenbool statereturns (bool)
_setPauseGuardian(address newPauseGuardianreturns (uint256)
_setPriceOracle(address newOraclereturns (uint256)
_setSeizePaused(bool statereturns (bool)
_setTransferPaused(bool statereturns (bool)
_setXcnSpeeds(address[] oTokensuint256[] supplySpeedsuint256[] borrowSpeeds
_supportMarket(address oTokenreturns (uint256)
borrowAllowed(address oTokenaddress borroweruint256 borrowAmountreturns (uint256)
borrowVerify(address oTokenaddress borroweruint256 borrowAmount
claimXcn(address holder
claimXcn(address holderaddress[] oTokens
claimXcn(address[] holdersaddress[] oTokensbool borrowersbool suppliers
enterMarkets(address[] oTokensreturns (uint256[])
exitMarket(address oTokenAddressreturns (uint256)
liquidateBorrowAllowed(address oTokenBorrowedaddress oTokenCollateraladdress liquidatoraddress borroweruint256 repayAmountreturns (uint256)
liquidateBorrowVerify(address oTokenBorrowedaddress oTokenCollateraladdress liquidatoraddress borroweruint256 actualRepayAmountuint256 seizeTokens
mintAllowed(address oTokenaddress minteruint256 mintAmountreturns (uint256)
mintVerify(address oTokenaddress minteruint256 actualMintAmountuint256 mintTokens
redeemAllowed(address oTokenaddress redeemeruint256 redeemTokensreturns (uint256)
redeemVerify(address oTokenaddress redeemeruint256 redeemAmountuint256 redeemTokens
repayBorrowAllowed(address oTokenaddress payeraddress borroweruint256 repayAmountreturns (uint256)
repayBorrowVerify(address oTokenaddress payeraddress borroweruint256 actualRepayAmountuint256 borrowerIndex
seizeAllowed(address oTokenCollateraladdress oTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
seizeVerify(address oTokenCollateraladdress oTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokens
transferAllowed(address oTokenaddress srcaddress dstuint256 transferTokensreturns (uint256)
transferVerify(address oTokenaddress srcaddress dstuint256 transferTokens
Events
ActionPaused(address oTokenstring actionbool pauseState
ActionPaused(string actionbool pauseState
DistributedBorrowerXcn(address indexed oTokenaddress indexed borroweruint256 xcnDeltauint256 xcnBorrowIndex
DistributedSupplierXcn(address indexed oTokenaddress indexed supplieruint256 xcnDeltauint256 xcnSupplyIndex
Failure(uint256 erroruint256 infouint256 detail
MarketEntered(address oTokenaddress account
MarketExited(address oTokenaddress account
MarketListed(address oToken
NewCloseFactor(uint256 oldCloseFactorMantissauint256 newCloseFactorMantissa
NewCollateralFactor(address oTokenuint256 oldCollateralFactorMantissauint256 newCollateralFactorMantissa
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissauint256 newLiquidationIncentiveMantissa
NewMarketCapGuardian(address oldMarketCapGuardianaddress newMarketCapGuardian
NewMarketCaps(address indexed oTokenuint256 newSupplyCapuint256 newBorrowCap
NewPauseGuardian(address oldPauseGuardianaddress newPauseGuardian
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
XcnAccruedAdjusted(address indexed useruint256 oldXcnAccrueduint256 newXcnAccrued
XcnBorrowSpeedUpdated(address indexed oTokenuint256 newSpeed
XcnGranted(address recipientuint256 amount
XcnSupplySpeedUpdated(address indexed oTokenuint256 newSpeed
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.