Unitroller

Verified contract

Proxy

Active on Ethereum with 265 txns
Deployed by via 0x2258ed72 at 16941730
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
15 additional variables
ERC-20
--
0x105cb98162f56362b6ec14d4abb42c12d65371451021d381ab6f6ed0f8565f20
0xca948d04c8951ba3454de515eeb1102cbba7368edd0cf33073ae2c5e26020974
0xe0853f2c704d2a62d94a611377ef70a2ae7687f33aa93b8cfcc0dd33a5495b42
0x95bd297ef103c0fcc1d699bac0e8763a8f22f0085f19615de7f2350146af2ca7
0x8cfb783bb654e8cd2583b7375beae45b4fe262bf44c3869f65fe4d45a2d669a7
0xc2fda834c3d67ce124d91308a26767fd9a75afe862d0bb84556d0ab672e19061
0x702fb2a6ba826522e702afe35e06447a6140dccba1c347462ee4858a369a2ab4
0x3b21c4d8886ffe5c62036d3fb5fdca22745f22ec39e20487e95dbf8a6ad993ea
0xb82ca435372881ee451cc28dff92662d01a717a342e1f11f8b482f94a684b0a1
0x956398733c320afca222688928ef44cac4a8c180381d947652734809a15df7db

Functions
Getter at block 20890696
admin(view returns (address)
0x8298c41dbd3b518c00f66ebdc8a4cafe6253f2ad
comptrollerImplementation(view returns (address)
0x91ba45e4889127d5e28df074348c6c04974c6ba2
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
_borrowGuardianPaused(view returns (bool)
false
_mintGuardianPaused(view returns (bool)
false
admin(view returns (address)
0x8298c41dbd3b518c00f66ebdc8a4cafe6253f2ad
borrowCapGuardian(view returns (address)
0x278342bc33fe98977738e6e25a743e0f4b892a03
closeFactorMantissa(view returns (uint256)
500000000000000000
compAddress(view returns (address)
0x5cb17273bfe227bd791ceee31c9d5db6289f2797
compInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
compRate(view returns (uint256)
0
comptrollerImplementation(view returns (address)
0x91ba45e4889127d5e28df074348c6c04974c6ba2
gNFT(view returns (address)
0x2e86fa4440d93b1bffea5ca673314ef54216d0a8
getAllMarkets(view returns (address[])
[0x276d2b35b4204E8c3A5c2B9031cA63e72acb00DE, 0x6365B24999105aFd1Bc44Ddd43718B2407E43298, 0x8aD4475d330926Cc4387D3D1b0c80688e71BF310, 0x06078583447f9c0b4b688acE305de8a342c7aF2B, 0xc5FA52AA356203Ae375d0A98D7423c350b5b31C6, 0xd307d71B53964Bd3E2E2E9429c04b7C7f8A55002, 0x3444dba50284765FF1579085C01f296aaD588b1C, 0x1DDC1A193dC1E7625120f43986194ca86E95D24E, 0xC243E958C3fA4bC7E54C7496eCCd05A1dFC52E79]
getBlockNumber(view returns (uint256)
20890696
getCompAddress(view returns (address)
0x5cb17273bfe227bd791ceee31c9d5db6289f2797
isComptroller(view returns (bool)
true
liquidationIncentiveMantissa(view returns (uint256)
1200000000000000000
maxAssets(view returns (uint256)
0
oracle(view returns (address)
0x2c9f0a53ad8aa2ef392eea1e02137b648df66195
pauseGuardian(view returns (address)
0x624539b4171c4a4fa652165352952f7b4b2ca166
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
seizeGuardianPaused(view returns (bool)
false
transferGuardianPaused(view returns (bool)
false
treasury(view returns (address)
0x0529cea607586b33148b77c165f88362c9b00b11
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)
compReceivable(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)
isDeprecated(address cTokenview 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 _compAddress
_setCompSpeeds(address[] cTokensuint256[] supplySpeedsuint256[] borrowSpeeds
_setContributorCompSpeed(address contributoruint256 compSpeed
_setGNft(address newGNFT
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissareturns (uint256)
_setMarketBorrowCaps(address[] cTokensuint256[] newBorrowCaps
_setMintPaused(address cTokenbool statereturns (bool)
_setPauseGuardian(address newPauseGuardianreturns (uint256)
_setPriceOracle(address newOraclereturns (uint256)
_setSeizePaused(bool statereturns (bool)
_setTransferPaused(bool statereturns (bool)
_setTreasury(address newTreasury
_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)
fixCompSpeeds(address[] affectedCTokensuint256[] tokenSupplyIndexaddress[] affectedUsers
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
CompAccruedAdjusted(address indexed useruint256 oldCompAccrueduint256 newCompAccrued
CompBorrowSpeedUpdated(address indexed cTokenuint256 newSpeed
CompGranted(address recipientuint256 amount
CompReceivableUpdated(address indexed useruint256 oldCompReceivableuint256 newCompReceivable
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
GNFT(address gNFT
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
NewTreasury(address oldTreasuryaddress newTreasury
TPI(address tpi
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.