Comptroller
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
14
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
-
variable spans 48 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "Comptroller"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Comptroller"
ABI
ABI objects
Getter at block 20872557
accessControlManager() view returns (address)
0x0000000000000000000000000000000000000000
closeFactorMantissa() view returns (uint256)
0
getAllMarkets() view returns (address[])
[]
getRewardDistributors() view returns (address[])
[]
isComptroller() pure returns (bool)
true
liquidationIncentiveMantissa() view returns (uint256)
0
maxLoopsLimit() view returns (uint256)
0
minLiquidatableCollateral() view returns (uint256)
0
oracle() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
poolRegistry() view returns (address)
0x61caff113ccaf05ffc6540302c37adcf077c5179
prime() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
accountAssets(address, uint256) view returns (address)
actionPaused(address market, uint8 action) view returns (bool)
allMarkets(uint256) view returns (address)
approvedDelegates(address, address) view returns (bool)
borrowCaps(address) view returns (uint256)
checkMembership(address account, address vToken) view returns (bool)
getAccountLiquidity(address account) view returns (uint256 error, uint256 liquidity, uint256 shortfall)
getAssetsIn(address account) view returns (address[])
getBorrowingPower(address account) view returns (uint256 error, uint256 liquidity, uint256 shortfall)
getHypotheticalAccountLiquidity(address account, address vTokenModify, uint256 redeemTokens, uint256 borrowAmount) view returns (uint256 error, uint256 liquidity, uint256 shortfall)
getRewardsByMarket(address vToken) view returns (struct ComptrollerStorageRewardSpeeds[] rewardSpeeds)
isForcedLiquidationEnabled(address) view returns (bool)
isMarketListed(address vToken) view returns (bool)
liquidateCalculateSeizeTokens(address vTokenBorrowed, address vTokenCollateral, uint256 actualRepayAmount) view returns (uint256 error, uint256 tokensToSeize)
markets(address) view returns (bool isListed, uint256 collateralFactorMantissa, uint256 liquidationThresholdMantissa)
supplyCaps(address) view returns (uint256)
State-modifying
Events acceptOwnership()
addRewardsDistributor(address _rewardsDistributor)
borrowVerify(address vToken, address borrower, uint256 borrowAmount)
enterMarkets(address[] vTokens) returns (uint256[])
exitMarket(address vTokenAddress) returns (uint256)
healAccount(address user)
initialize(uint256 loopLimit, address accessControlManager)
liquidateAccount(address borrower, struct ComptrollerStorageLiquidationOrder[] orders)
liquidateBorrowVerify(address vTokenBorrowed, address vTokenCollateral, address liquidator, address borrower, uint256 actualRepayAmount, uint256 seizeTokens)
mintVerify(address vToken, address minter, uint256 actualMintAmount, uint256 mintTokens)
preBorrowHook(address vToken, address borrower, uint256 borrowAmount)
preLiquidateHook(address vTokenBorrowed, address vTokenCollateral, address borrower, uint256 repayAmount, bool skipLiquidityCheck)
preMintHook(address vToken, address minter, uint256 mintAmount)
preRedeemHook(address vToken, address redeemer, uint256 redeemTokens)
preRepayHook(address vToken, address borrower)
preSeizeHook(address vTokenCollateral, address seizerContract, address liquidator, address borrower)
preTransferHook(address vToken, address src, address dst, uint256 transferTokens)
redeemVerify(address vToken, address redeemer, uint256 redeemAmount, uint256 redeemTokens)
renounceOwnership()
repayBorrowVerify(address vToken, address payer, address borrower, uint256 actualRepayAmount, uint256 borrowerIndex)
seizeVerify(address vTokenCollateral, address vTokenBorrowed, address liquidator, address borrower, uint256 seizeTokens)
setAccessControlManager(address accessControlManager_)
setActionsPaused(address[] marketsList, uint8[] actionsList, bool paused)
setCloseFactor(uint256 newCloseFactorMantissa)
setCollateralFactor(address vToken, uint256 newCollateralFactorMantissa, uint256 newLiquidationThresholdMantissa)
setForcedLiquidation(address vTokenBorrowed, bool enable)
setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa)
setMarketBorrowCaps(address[] vTokens, uint256[] newBorrowCaps)
setMarketSupplyCaps(address[] vTokens, uint256[] newSupplyCaps)
setMaxLoopsLimit(uint256 limit)
setMinLiquidatableCollateral(uint256 newMinLiquidatableCollateral)
setPriceOracle(address newOracle)
setPrimeToken(address _prime)
supportMarket(address vToken)
transferOwnership(address newOwner)
transferVerify(address vToken, address src, address dst, uint256 transferTokens)
unlistMarket(address market) returns (uint256)
updateDelegate(address delegate, bool approved)
updatePrices(address account)
ActionPausedMarket(address vToken, uint8 action, bool pauseState)
DelegateUpdated(address indexed approver, address indexed delegate, bool approved)
Initialized(uint8 version)
IsForcedLiquidationEnabledUpdated(address indexed vToken, bool enable)
MarketEntered(address indexed vToken, address indexed account)
MarketExited(address indexed vToken, address indexed account)
MarketSupported(address vToken)
MarketUnlisted(address indexed vToken)
MaxLoopsLimitUpdated(uint256 oldMaxLoopsLimit, uint256 newmaxLoopsLimit)
NewAccessControlManager(address oldAccessControlManager, address newAccessControlManager)
NewBorrowCap(address indexed vToken, uint256 newBorrowCap)
NewCloseFactor(uint256 oldCloseFactorMantissa, uint256 newCloseFactorMantissa)
NewCollateralFactor(address vToken, uint256 oldCollateralFactorMantissa, uint256 newCollateralFactorMantissa)
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissa, uint256 newLiquidationIncentiveMantissa)
NewLiquidationThreshold(address vToken, uint256 oldLiquidationThresholdMantissa, uint256 newLiquidationThresholdMantissa)
NewMinLiquidatableCollateral(uint256 oldMinLiquidatableCollateral, uint256 newMinLiquidatableCollateral)
NewPriceOracle(address oldPriceOracle, address newPriceOracle)
NewPrimeToken(address oldPrimeToken, address newPrimeToken)
NewRewardsDistributor(address indexed rewardsDistributor, address indexed rewardToken)
NewSupplyCap(address indexed vToken, uint256 newSupplyCap)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address poolRegistry_)
This contract contains no fallback and receive objects.
ActionPaused(address market, uint8 action)
BorrowActionNotPaused()
BorrowCapExceeded(address market, uint256 cap)
BorrowCapIsNotZero()
CollateralExceedsThreshold(uint256 expectedLessThanOrEqualTo, uint256 actual)
CollateralFactorIsNotZero()
ComptrollerMismatch()
DelegationStatusUnchanged()
EnterMarketActionNotPaused()
ExitMarketActionNotPaused()
InsufficientCollateral(uint256 collateralToSeize, uint256 availableCollateral)
InsufficientLiquidity()
InsufficientShortfall()
InvalidCollateralFactor()
InvalidLiquidationThreshold()
LiquidateActionNotPaused()
MarketAlreadyListed(address market)
MarketNotCollateral(address vToken, address user)
MarketNotListed(address market)
MaxLoopsLimitExceeded(uint256 loopsLimit, uint256 requiredLoops)
MinimalCollateralViolated(uint256 expectedGreaterThan, uint256 actual)
MintActionNotPaused()
NonzeroBorrowBalance()
PriceError(address vToken)
RedeemActionNotPaused()
RepayActionNotPaused()
SeizeActionNotPaused()
SnapshotError(address vToken, address user)
SupplyCapExceeded(address market, uint256 cap)
SupplyCapIsNotZero()
TooMuchRepay()
TransferActionNotPaused()
Unauthorized(address sender, address calledContract, string methodSignature)
UnexpectedSender(address expectedSender, address actualSender)
ZeroAddressNotAllowed()