Unitroller

Verified contract

Proxy

Active on Ethereum with 16 txns
Deployed by via 0xe998588f at 17536659
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
13 additional variables
ERC-20
--
0xb9c93bee51e3fc3273202269a7b4e282ea51be5ce89fb237219ff2a954495db9
0xdee69b86a631b1fb7657c397692c7b93e85313a05ed42c90e15652b327e064c4
0xcd2366ffe0d744260ebbc39fa975a65426e52395ee850ec6df9a07fa3cb325ed
0x06808ea01b717155daea80aeed54cea2744747897795867223f943b386012584
0xb7ab98f0dafb47a889fa77193e7d0873b4e1e7c9a87037ba3e2d3fd57ff63401
0x93393c7e52d6d535216144f4c2e582a4935f1b3ea19f895847fc970c8dc2c31d
0x3d9e30586be33ac81e98210b9741241a3e4a90f5282e7a190be767f1aaa85a1f
0x69df21b5ead7591ab0cc40a29e5980ca13a0e4e87b20a3722aa35669286bd6c0
0xd9327f88ede837870b6290a37d87d23588f02539f6dde1a1765b94c1f34ae955
0xd64acea1c0bf8c1ccceda81a7fc0a803e7097f1e73fb8c5bf08a2d7f48816df9

Functions
Getter at block 20918789
admin(view returns (address)
0xcf67f232ab46ea065052bbb3e34eee37bcd79e2d
comptrollerImplementation(view returns (address)
0x2fae4c68df69516b703a0f4938cecdcde91c5359
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
_borrowGuardianPaused(view returns (bool)
false
_mintGuardianPaused(view returns (bool)
false
admin(view returns (address)
0xcf67f232ab46ea065052bbb3e34eee37bcd79e2d
borrowCapGuardian(view returns (address)
0x0000000000000000000000000000000000000000
closeFactorMantissa(view returns (uint256)
500000000000000000
comp(view returns (address)
0x68b2963f917b7d2700bfc0cf97562587d8cbaafb
compInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
compRate(view returns (uint256)
0
comptrollerImplementation(view returns (address)
0x2fae4c68df69516b703a0f4938cecdcde91c5359
getAllMarkets(view returns (address[])
[0x1a84831Ac2c42613c6eBb079aE8Bd01335b6207e, 0xA3a1A7598060Ac3ca11d7604019F3fFc32bCE7Ec, 0xb97A79FcbC3867Bb68247F5f76359448ed3eBCa3, 0x367144a75577f7FBE80E69854046F6169eF080aC, 0x72ab6843D4c988D74Dd8D5cdF16eF49301d87952, 0xF63f89F6463550Ce4ce5B6Ca6b1323B39C90E9cB, 0xa2EDFd267e9e2f76cd54bD720927a176FAdC19A8, 0x04a083C48EAAC049964129e5a3eF7d48e0f7a7e7]
getBlockNumber(view returns (uint256)
20918789
getCompAddress(view returns (address)
0x68b2963f917b7d2700bfc0cf97562587d8cbaafb
isComptroller(view returns (bool)
true
liquidationIncentiveMantissa(view returns (uint256)
1100000000000000000
maxAssets(view returns (uint256)
0
oracle(view returns (address)
0x24a57ddd412d35c0a9b7c220c3a5af35c1ebf7a7
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)
borrowCaps(addressview returns (uint256)
borrowGuardianPaused(addressview returns (bool)
checkMembership(address accountaddress cTokenview returns (bool)
compAccrued(addressview returns (uint256)
compBorrowSpeeds(addressview returns (uint256)
compBorrowState(addressview returns (uint224 indexuint32 block)
compBorrowerIndex(addressaddressview returns (uint256)
compContributorSpeeds(addressview returns (uint256)
compSpeeds(addressview returns (uint256)
compSupplierIndex(addressaddressview returns (uint256)
compSupplySpeeds(addressview 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)
isMigrator(addressview returns (bool)
lastContributorBlock(addressview returns (uint256)
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)
_become(address unitroller
_grantComp(address recipientuint256 amount
_setBorrowCapGuardian(address newBorrowCapGuardian
_setBorrowPaused(address cTokenbool statereturns (bool)
_setCloseFactor(uint256 newCloseFactorMantissareturns (uint256)
_setCollateralFactor(address cTokenuint256 newCollateralFactorMantissareturns (uint256)
_setCompAddress(address _comp
_setCompSpeeds(address[] cTokenuint256[] supplySpeedsuint256[] borrowSpeeds
_setContributorCompSpeed(address contributoruint256 compSpeed
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissareturns (uint256)
_setMarketBorrowCaps(address[] cTokensuint256[] newBorrowCaps
_setMigrator(address _migratorbool _status
_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[])
enterMarketsFrom(address[] cTokensaddress userreturns (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
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
updateContributorRewards(address contributor
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
CompBorrowSpeedUpdated(address indexed cTokenuint256 newSpeed
CompGranted(address recipientuint256 amount
CompSpeedUpdated(address indexed cTokenuint256 newSpeed
CompSupplySpeedUpdated(address indexed cTokenuint256 newSpeed
ContributorCompSpeedUpdated(address indexed contributoruint256 newSpeed
DistributedBorrowerComp(address indexed cTokenaddress indexed borroweruint256 compDeltauint256 compBorrowIndex
DistributedSupplierComp(address indexed cTokenaddress indexed supplieruint256 compDeltauint256 compSupplyIndex
Failure(uint256 erroruint256 infouint256 detail
MarketEntered(address cTokenaddress account
MarketExited(address cTokenaddress account
MarketListed(address cToken
NewBorrowCap(address indexed cTokenuint256 newBorrowCap
NewBorrowCapGuardian(address oldBorrowCapGuardianaddress newBorrowCapGuardian
NewCloseFactor(uint256 oldCloseFactorMantissauint256 newCloseFactorMantissa
NewCollateralFactor(address cTokenuint256 oldCollateralFactorMantissauint256 newCollateralFactorMantissa
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissauint256 newLiquidationIncentiveMantissa
NewPauseGuardian(address oldPauseGuardianaddress newPauseGuardian
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.