Unitroller

Verified contract

Proxy

Active on Ethereum with 192 txns
Deployed by via 0x357ecd27 at 9823884
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
5 additional variables
ERC-20
--
0xadda3933125687da41574d9998ae6df787d9cc0fcadc88a138fa4710731ac7be
0x9bb99bd24052ce743d7a6b6892136dff1026669b56de3a3ac7ba107432566cdb
0x3712b152ec8ac7703e9af0ff244ff209bbd7c2e6e4003d9f02c17aaf49d4f40b
0x1b6655e8125880ad34cee5dafda5464990a416a26b15aa208cd8f1138290bfac
0x4bf9ce4cb534bfeb99740e11f546d5551df6f97b554e8d1e27b151c247074ab1
0x19c5e685aa26b5b0103e806c88a052011746e1a4a0fbe838194390e57f5a2300
0x689f393d840625a23ae45028027b8a80106aa48d33d33030dd1c350df15839aa
0xc2b31da1b5a76a3170cdfd2a8bec19715237dd14d83130767ec6098b3c066fa7
0xdaf6588af8f7cdcc906e9d8fa97fc03912668a4285f0a4f74bd30f88c8fa304e
0xab4b5be3dda66c46934d39d3bf96c2002c3793dfe6d64510bfe4895becbc1780

Functions
Getter at block 21050331
admin(view returns (address)
0xa13b3e79f2ed49bc05af2274dc509d73a75cafe2
comptrollerImplementation(view returns (address)
0x2b26c6defdc47c5ce5622cb4037419c0a0b9d95b
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
_borrowGuardianPaused(view returns (bool)
false
_mintGuardianPaused(view returns (bool)
false
admin(view returns (address)
0xa13b3e79f2ed49bc05af2274dc509d73a75cafe2
closeFactorMantissa(view returns (uint256)
100000000000000000
compClaimThreshold(view returns (uint256)
1000000000000000
compInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
compRate(view returns (uint256)
500000000000000000
comptrollerImplementation(view returns (address)
0x2b26c6defdc47c5ce5622cb4037419c0a0b9d95b
 
getAllMarkets(view returns (address[])
getBlockNumber(view returns (uint256)
21050331
getCompAddress(view returns (address)
0x69e8b9528cabda89fe846c67675b5d73d463a916
isComptroller(view returns (bool)
true
liquidationIncentiveMantissa(view returns (uint256)
1000000000000000000
maxAssets(view returns (uint256)
20
oracle(view returns (address)
0x67718a8ccc6b75ffb81d1a06ff1cd8d97c075c67
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
Read-only
accountAssets(addressuint256view returns (address)
allMarkets(uint256view returns (address)
borrowGuardianPaused(addressview returns (bool)
checkMembership(address accountaddress cTokenview returns (bool)
compAccrued(addressview returns (uint256)
compBorrowState(addressview returns (uint224 indexuint32 block)
compBorrowerIndex(addressaddressview returns (uint256)
compSpeeds(addressview returns (uint256)
compSupplierIndex(addressaddressview returns (uint256)
compSupplyState(addressview returns (uint224 indexuint32 block)
getAccountLiquidity(address accountview returns (uint256uint256uint256)
getAssetsIn(address accountview returns (address[])
getHypotheticalAccountLiquidity(address accountaddress cTokenModifyuint256 redeemTokensuint256 borrowAmountview returns (uint256uint256uint256)
liquidateCalculateSeizeTokens(address cTokenBorrowedaddress cTokenCollateraluint256 actualRepayAmountview returns (uint256uint256)
markets(addressview returns (bool isListeduint256 collateralFactorMantissabool isComped)
mintGuardianPaused(addressview returns (bool)
State-modifying
_acceptAdmin(returns (uint256)
_acceptImplementation(returns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setPendingImplementation(address newPendingImplementationreturns (uint256)
_addCompMarkets(address[] cTokens
_become(address unitroller
_dropCompMarket(address cToken
_setBorrowPaused(address cTokenbool statereturns (bool)
_setCloseFactor(uint256 newCloseFactorMantissareturns (uint256)
_setCollateralFactor(address cTokenuint256 newCollateralFactorMantissareturns (uint256)
_setCompRate(uint256 compRate_
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissareturns (uint256)
_setMaxAssets(uint256 newMaxAssetsreturns (uint256)
_setMintPaused(address cTokenbool statereturns (bool)
_setPauseGuardian(address newPauseGuardianreturns (uint256)
_setPriceOracle(address newOraclereturns (uint256)
_setSeizePaused(bool statereturns (bool)
_setTransferPaused(bool statereturns (bool)
_supportMarket(address cTokenreturns (uint256)
borrowAllowed(address cTokenaddress borroweruint256 borrowAmountreturns (uint256)
borrowVerify(address cTokenaddress borroweruint256 borrowAmount
claimComp(address holder
claimComp(address holderaddress[] cTokens
claimComp(address[] holdersaddress[] cTokensbool borrowersbool suppliers
enterMarkets(address[] cTokensreturns (uint256[])
exitMarket(address cTokenAddressreturns (uint256)
liquidateBorrowAllowed(address cTokenBorrowedaddress cTokenCollateraladdress liquidatoraddress borroweruint256 repayAmountreturns (uint256)
liquidateBorrowVerify(address cTokenBorrowedaddress cTokenCollateraladdress liquidatoraddress borroweruint256 actualRepayAmountuint256 seizeTokens
mintAllowed(address cTokenaddress minteruint256 mintAmountreturns (uint256)
mintVerify(address cTokenaddress minteruint256 actualMintAmountuint256 mintTokens
redeemAllowed(address cTokenaddress redeemeruint256 redeemTokensreturns (uint256)
redeemVerify(address cTokenaddress redeemeruint256 redeemAmountuint256 redeemTokens
refreshCompSpeeds(
repayBorrowAllowed(address cTokenaddress payeraddress borroweruint256 repayAmountreturns (uint256)
repayBorrowVerify(address cTokenaddress payeraddress borroweruint256 actualRepayAmountuint256 borrowerIndex
seizeAllowed(address cTokenCollateraladdress cTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
seizeVerify(address cTokenCollateraladdress cTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokens
transferAllowed(address cTokenaddress srcaddress dstuint256 transferTokensreturns (uint256)
transferVerify(address cTokenaddress srcaddress dstuint256 transferTokens
Events
Failure(uint256 erroruint256 infouint256 detail
NewAdmin(address oldAdminaddress newAdmin
NewImplementation(address oldImplementationaddress newImplementation
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewPendingImplementation(address oldPendingImplementationaddress newPendingImplementation
ActionPaused(address cTokenstring actionbool pauseState
ActionPaused(string actionbool pauseState
CompSpeedUpdated(address indexed cTokenuint256 newSpeed
DistributedBorrowerComp(address indexed cTokenaddress indexed borroweruint256 compDeltauint256 compBorrowIndex
DistributedSupplierComp(address indexed cTokenaddress indexed supplieruint256 compDeltauint256 compSupplyIndex
Failure(uint256 erroruint256 infouint256 detail
MarketComped(address cTokenbool isComped
MarketEntered(address cTokenaddress account
MarketExited(address cTokenaddress account
MarketListed(address cToken
NewCloseFactor(uint256 oldCloseFactorMantissauint256 newCloseFactorMantissa
NewCollateralFactor(address cTokenuint256 oldCollateralFactorMantissauint256 newCollateralFactorMantissa
NewCompRate(uint256 oldCompRateuint256 newCompRate
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissauint256 newLiquidationIncentiveMantissa
NewMaxAssets(uint256 oldMaxAssetsuint256 newMaxAssets
NewPauseGuardian(address oldPauseGuardianaddress newPauseGuardian
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.