Comptroller
Verified contract
Implementation
Active on
Ethereum
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
6 additional
variables
Balances ($0.00)
No balances found for "Comptroller"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19393422 | 8 months ago | | | 0 | 0.0022265545 |
ABI
ABI objects
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(address, uint256) view returns (address)
allMarkets(uint256) view returns (address)
borrowCaps(address) view returns (uint256)
borrowGuardianPaused(address) view returns (bool)
checkMembership(address account, address oToken) view returns (bool)
getAccountLiquidity(address account) view returns (uint256, uint256, uint256)
getAssetsIn(address account) view returns (address[])
getHypotheticalAccountLiquidity(address account, address oTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns (uint256, uint256, uint256)
isDeprecated(address oToken) view returns (bool)
liquidateCalculateSeizeTokens(address oTokenBorrowed, address oTokenCollateral, uint256 actualRepayAmount) view returns (uint256, uint256)
liquidateCalculateSeizeTokensEx(address oTokenBorrowed, address oTokenExCollateral, uint256 repayAmount) view returns (uint256, uint256, uint256)
markets(address) view returns (bool isListed, uint256 collateralFactorMantissa, bool isXcned)
mintGuardianPaused(address) view returns (bool)
supplyCaps(address) view returns (uint256)
xcnAccrued(address) view returns (uint256)
xcnBorrowSpeeds(address) view returns (uint256)
xcnBorrowState(address) view returns (uint224 index, uint32 block)
xcnBorrowerIndex(address, address) view returns (uint256)
xcnSpeeds(address) view returns (uint256)
xcnSupplierIndex(address, address) view returns (uint256)
xcnSupplySpeeds(address) view returns (uint256)
xcnSupplyState(address) view returns (uint224 index, uint32 block)
State-modifying
Events _become(address unitroller)
_grantXcn(address recipient, uint256 amount)
_setBorrowPaused(address oToken, bool state) returns (bool)
_setCloseFactor(uint256 newCloseFactorMantissa) returns (uint256)
_setCollateralFactor(address oToken, uint256 newCollateralFactorMantissa) returns (uint256)
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa) returns (uint256)
_setMarketCapGuardian(address newMarketCapGuardian)
_setMarketCaps(address[] oTokens, uint256[] newSupplyCaps, uint256[] newBorrowCaps)
_setMintPaused(address oToken, bool state) returns (bool)
_setPauseGuardian(address newPauseGuardian) returns (uint256)
_setPriceOracle(address newOracle) returns (uint256)
_setSeizePaused(bool state) returns (bool)
_setTransferPaused(bool state) returns (bool)
_setXcnSpeeds(address[] oTokens, uint256[] supplySpeeds, uint256[] borrowSpeeds)
_supportMarket(address oToken) returns (uint256)
borrowAllowed(address oToken, address borrower, uint256 borrowAmount) returns (uint256)
borrowVerify(address oToken, address borrower, uint256 borrowAmount)
claimXcn(address holder)
claimXcn(address holder, address[] oTokens)
claimXcn(address[] holders, address[] oTokens, bool borrowers, bool suppliers)
enterMarkets(address[] oTokens) returns (uint256[])
exitMarket(address oTokenAddress) returns (uint256)
liquidateBorrowAllowed(address oTokenBorrowed, address oTokenCollateral, address liquidator, address borrower, uint256 repayAmount) returns (uint256)
liquidateBorrowVerify(address oTokenBorrowed, address oTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens)
mintAllowed(address oToken, address minter, uint256 mintAmount) returns (uint256)
mintVerify(address oToken, address minter, uint256 actualMintAmount, uint256 mintTokens)
redeemAllowed(address oToken, address redeemer, uint256 redeemTokens) returns (uint256)
redeemVerify(address oToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens)
repayBorrowAllowed(address oToken, address payer, address borrower, uint256 repayAmount) returns (uint256)
repayBorrowVerify(address oToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex)
seizeAllowed(address oTokenCollateral, address oTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens) returns (uint256)
seizeVerify(address oTokenCollateral, address oTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens)
transferAllowed(address oToken, address src, address dst, uint256 transferTokens) returns (uint256)
transferVerify(address oToken, address src, address dst, uint256 transferTokens)
ActionPaused(address oToken, string action, bool pauseState)
ActionPaused(string action, bool pauseState)
DistributedBorrowerXcn(address indexed oToken, address indexed borrower, uint256 xcnDelta, uint256 xcnBorrowIndex)
DistributedSupplierXcn(address indexed oToken, address indexed supplier, uint256 xcnDelta, uint256 xcnSupplyIndex)
Failure(uint256 error, uint256 info, uint256 detail)
MarketEntered(address oToken, address account)
MarketExited(address oToken, address account)
MarketListed(address oToken)
NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)
NewCollateralFactor(address oToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)
NewMarketCapGuardian(address oldMarketCapGuardian, address newMarketCapGuardian)
NewMarketCaps(address indexed oToken, uint256 newSupplyCap, uint256 newBorrowCap)
NewPauseGuardian(address oldPauseGuardian, address newPauseGuardian)
NewPriceOracle(address oldPriceOracle, address newPriceOracle)
XcnAccruedAdjusted(address indexed user, uint256 oldXcnAccrued, uint256 newXcnAccrued)
XcnBorrowSpeedUpdated(address indexed oToken, uint256 newSpeed)
XcnGranted(address recipient, uint256 amount)
XcnSupplySpeedUpdated(address indexed oToken, uint256 newSpeed)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.