Comptroller

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xa9593b29 at 20664431
Slot
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

No balances found for "Comptroller"

No transactions found for "Comptroller"


Functions
Getter at block 20871235
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(addressuint256view returns (address)
actionPaused(address marketuint8 actionview returns (bool)
allMarkets(uint256view returns (address)
approvedDelegates(addressaddressview returns (bool)
borrowCaps(addressview returns (uint256)
checkMembership(address accountaddress vTokenview returns (bool)
getAccountLiquidity(address accountview returns (uint256 erroruint256 liquidityuint256 shortfall)
getAssetsIn(address accountview returns (address[])
getBorrowingPower(address accountview returns (uint256 erroruint256 liquidityuint256 shortfall)
getHypotheticalAccountLiquidity(address accountaddress vTokenModifyuint256 redeemTokensuint256 borrowAmountview returns (uint256 erroruint256 liquidityuint256 shortfall)
getRewardsByMarket(address vTokenview returns (struct ComptrollerStorageRewardSpeeds[] rewardSpeeds)
isForcedLiquidationEnabled(addressview returns (bool)
isMarketListed(address vTokenview returns (bool)
liquidateCalculateSeizeTokens(address vTokenBorrowedaddress vTokenCollateraluint256 actualRepayAmountview returns (uint256 erroruint256 tokensToSeize)
markets(addressview returns (bool isListeduint256 collateralFactorMantissauint256 liquidationThresholdMantissa)
supplyCaps(addressview returns (uint256)
State-modifying
acceptOwnership(
addRewardsDistributor(address _rewardsDistributor
borrowVerify(address vTokenaddress borroweruint256 borrowAmount
enterMarkets(address[] vTokensreturns (uint256[])
exitMarket(address vTokenAddressreturns (uint256)
healAccount(address user
initialize(uint256 loopLimitaddress accessControlManager
liquidateAccount(address borrowerstruct ComptrollerStorageLiquidationOrder[] orders
liquidateBorrowVerify(address vTokenBorrowedaddress vTokenCollateraladdress liquidatoraddress borroweruint256 actualRepayAmountuint256 seizeTokens
mintVerify(address vTokenaddress minteruint256 actualMintAmountuint256 mintTokens
preBorrowHook(address vTokenaddress borroweruint256 borrowAmount
preLiquidateHook(address vTokenBorrowedaddress vTokenCollateraladdress borroweruint256 repayAmountbool skipLiquidityCheck
preMintHook(address vTokenaddress minteruint256 mintAmount
preRedeemHook(address vTokenaddress redeemeruint256 redeemTokens
preRepayHook(address vTokenaddress borrower
preSeizeHook(address vTokenCollateraladdress seizerContractaddress liquidatoraddress borrower
preTransferHook(address vTokenaddress srcaddress dstuint256 transferTokens
redeemVerify(address vTokenaddress redeemeruint256 redeemAmountuint256 redeemTokens
renounceOwnership(
repayBorrowVerify(address vTokenaddress payeraddress borroweruint256 actualRepayAmountuint256 borrowerIndex
seizeVerify(address vTokenCollateraladdress vTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokens
setAccessControlManager(address accessControlManager_
setActionsPaused(address[] marketsListuint8[] actionsListbool paused
setCloseFactor(uint256 newCloseFactorMantissa
setCollateralFactor(address vTokenuint256 newCollateralFactorMantissauint256 newLiquidationThresholdMantissa
setForcedLiquidation(address vTokenBorrowedbool enable
setLiquidationIncentive(uint256 newLiquidationIncentiveMantissa
setMarketBorrowCaps(address[] vTokensuint256[] newBorrowCaps
setMarketSupplyCaps(address[] vTokensuint256[] newSupplyCaps
setMaxLoopsLimit(uint256 limit
setMinLiquidatableCollateral(uint256 newMinLiquidatableCollateral
setPriceOracle(address newOracle
setPrimeToken(address _prime
supportMarket(address vToken
transferOwnership(address newOwner
transferVerify(address vTokenaddress srcaddress dstuint256 transferTokens
unlistMarket(address marketreturns (uint256)
updateDelegate(address delegatebool approved
updatePrices(address account
Events
ActionPausedMarket(address vTokenuint8 actionbool pauseState
DelegateUpdated(address indexed approveraddress indexed delegatebool approved
Initialized(uint8 version
IsForcedLiquidationEnabledUpdated(address indexed vTokenbool enable
MarketEntered(address indexed vTokenaddress indexed account
MarketExited(address indexed vTokenaddress indexed account
MarketSupported(address vToken
MarketUnlisted(address indexed vToken
MaxLoopsLimitUpdated(uint256 oldMaxLoopsLimituint256 newmaxLoopsLimit
NewAccessControlManager(address oldAccessControlManageraddress newAccessControlManager
NewBorrowCap(address indexed vTokenuint256 newBorrowCap
NewCloseFactor(uint256 oldCloseFactorMantissauint256 newCloseFactorMantissa
NewCollateralFactor(address vTokenuint256 oldCollateralFactorMantissauint256 newCollateralFactorMantissa
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissauint256 newLiquidationIncentiveMantissa
NewLiquidationThreshold(address vTokenuint256 oldLiquidationThresholdMantissauint256 newLiquidationThresholdMantissa
NewMinLiquidatableCollateral(uint256 oldMinLiquidatableCollateraluint256 newMinLiquidatableCollateral
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
NewPrimeToken(address oldPrimeTokenaddress newPrimeToken
NewRewardsDistributor(address indexed rewardsDistributoraddress indexed rewardToken
NewSupplyCap(address indexed vTokenuint256 newSupplyCap
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address poolRegistry_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ActionPaused(address marketuint8 action
BorrowActionNotPaused(
BorrowCapExceeded(address marketuint256 cap
BorrowCapIsNotZero(
CollateralExceedsThreshold(uint256 expectedLessThanOrEqualTouint256 actual
CollateralFactorIsNotZero(
ComptrollerMismatch(
DelegationStatusUnchanged(
EnterMarketActionNotPaused(
ExitMarketActionNotPaused(
InsufficientCollateral(uint256 collateralToSeizeuint256 availableCollateral
InsufficientLiquidity(
InsufficientShortfall(
InvalidCollateralFactor(
InvalidLiquidationThreshold(
LiquidateActionNotPaused(
MarketAlreadyListed(address market
MarketNotCollateral(address vTokenaddress user
MarketNotListed(address market
MaxLoopsLimitExceeded(uint256 loopsLimituint256 requiredLoops
MinimalCollateralViolated(uint256 expectedGreaterThanuint256 actual
MintActionNotPaused(
NonzeroBorrowBalance(
PriceError(address vToken
RedeemActionNotPaused(
RepayActionNotPaused(
SeizeActionNotPaused(
SnapshotError(address vTokenaddress user
SupplyCapExceeded(address marketuint256 cap
SupplyCapIsNotZero(
TooMuchRepay(
TransferActionNotPaused(
Unauthorized(address senderaddress calledContractstring methodSignature
UnexpectedSender(address expectedSenderaddress actualSender
ZeroAddressNotAllowed(