Unitroller

Verified contract

Proxy

Active on Ethereum with 192 txns
Deployed by via 0xc1f88343 at 11419439
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
ERC-20
Value $317.53
0x782736c74eacb4d3c82ba7801ad9cdb10776452f54119527be07ea5f8dc73edd
0xe95ebc4117de34126c398affbc2be9958334a44f8b851e4d888d6eda15891152
0x4e81ea0f41afee71721e09d21e043586a1fc758bda313960f6c2b7ec952d3abb
0x770503501049b917519f5d96e92a6eab9a3807cf9c4169111d37b650477f3532
0xda38670c6bb412dd46de734b73ada190f68e6d802cff1d5cd55c2fb5b17342c9
0x52a9ebf8662f37ee8838ab60c3e0a79cc1b7ff8a8bc1821eb17206b7c9c8f73c
0x4c8a299826246247a805520b91595494ae1f859306d987f24476b6516bfc85f3
0x000ec7061ed8684771c305d70b36c8f7c77fac86d7d7ea214ad4dd1fb45bfdc4
0xfdb813fa823c8c20baba1ca07ed54c42190299c5d4b28adaf4f4d13ae6838fa2
0x5930769d9333205b84f7427299e542f159423f99ed9bfae2092a9c11db066140

Functions
Getter at block 21260090
admin(view returns (address)
0x0faef44d1373f6fde75926e4564bab5b2d645944
comptrollerImplementation(view returns (address)
0x8d7e38bce4363577bec63fd268557d3b08f4aa2b
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
_borrowGuardianPaused(view returns (bool)
false
_mintGuardianPaused(view returns (bool)
false
admin(view returns (address)
0x0faef44d1373f6fde75926e4564bab5b2d645944
borrowCapGuardian(view returns (address)
0x0000000000000000000000000000000000000000
closeFactorMantissa(view returns (uint256)
500000000000000000
comptrollerImplementation(view returns (address)
0x8d7e38bce4363577bec63fd268557d3b08f4aa2b
getAllMarkets(view returns (address[])
[0xC597F86424EEb6599Ea40f999DBB739e3Aca5d82, 0x2918231F262f764DbB5753A95BD7684fDB313ea4, 0xBbCc16ab7937469bB1E72337427678e7E701b9Ea, 0x2394DE3827e233298fff0FdF6Aa261070BFE013d, 0x09a7fB5E4499e61C7cF53aCB8Df7B2a8e4Fb36F9, 0x6DDBcBAa13bDE44a406780E298721483D684F1B0, 0xDDDAf1a95e57F7a74D85F366936F8a2ABBc86b45, 0x8ce5AA7812FDD6799D4C2B284A6e9f9b186e3Af3]
getBlockNumber(view returns (uint256)
21260090
getSashimiAddress(view returns (address)
0xc28e27870558cf22add83540d2126da2e4b464c2
isComptroller(view returns (bool)
true
liquidationIncentiveMantissa(view returns (uint256)
1080000000000000000
maxAssets(view returns (uint256)
20
oracle(view returns (address)
0xdaaea7791e3eef5b71a68664e6743a5cfbd1c91b
pauseGuardian(view returns (address)
0x0000000000000000000000000000000000000000
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pendingComptrollerImplementation(view returns (address)
0x0000000000000000000000000000000000000000
sashimiClaimThreshold(view returns (uint256)
1000000000000000
sashimiInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
sashimiRate(view returns (uint256)
0
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 slTokenview returns (bool)
getAccountLiquidity(address accountview returns (uint256uint256uint256)
getAssetsIn(address accountview returns (address[])
getHypotheticalAccountLiquidity(address accountaddress slTokenModifyuint256 redeemTokensuint256 borrowAmountview returns (uint256uint256uint256)
liquidateCalculateSeizeTokens(address slTokenBorrowedaddress slTokenCollateraluint256 actualRepayAmountview returns (uint256uint256)
markets(addressview returns (bool isListeduint256 collateralFactorMantissabool isSashimied)
mintGuardianPaused(addressview returns (bool)
sashimiAccrued(addressview returns (uint256)
sashimiBorrowState(addressview returns (uint224 indexuint32 block)
sashimiBorrowerIndex(addressaddressview returns (uint256)
sashimiSpeeds(addressview returns (uint256)
sashimiSupplierIndex(addressaddressview returns (uint256)
sashimiSupplyState(addressview returns (uint224 indexuint32 block)
State-modifying
_acceptAdmin(returns (uint256)
_acceptImplementation(returns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setPendingImplementation(address newPendingImplementationreturns (uint256)
_addSashimiMarkets(address[] slTokens
_become(address unitroller
_dropSashimiMarket(address slToken
_setBorrowCapGuardian(address newBorrowCapGuardian
_setBorrowPaused(address slTokenbool statereturns (bool)
_setCloseFactor(uint256 newCloseFactorMantissareturns (uint256)
_setCollateralFactor(address slTokenuint256 newCollateralFactorMantissareturns (uint256)
_setLiquidationIncentive(uint256 newLiquidationIncentiveMantissareturns (uint256)
_setMarketBorrowCaps(address[] slTokensuint256[] newBorrowCaps
_setMaxAssets(uint256 newMaxAssetsreturns (uint256)
_setMintPaused(address slTokenbool statereturns (bool)
_setPauseGuardian(address newPauseGuardianreturns (uint256)
_setPriceOracle(address newOraclereturns (uint256)
_setSashimiRate(uint256 sashimiRate_
_setSeizePaused(bool statereturns (bool)
_setTransferPaused(bool statereturns (bool)
_supportMarket(address slTokenreturns (uint256)
borrowAllowed(address slTokenaddress borroweruint256 borrowAmountreturns (uint256)
borrowVerify(address slTokenaddress borroweruint256 borrowAmount
claimSashimi(address holder
claimSashimi(address holderaddress[] slTokens
claimSashimi(address[] holdersaddress[] slTokensbool borrowersbool suppliers
enterMarkets(address[] slTokensreturns (uint256[])
exitMarket(address slTokenAddressreturns (uint256)
liquidateBorrowAllowed(address slTokenBorrowedaddress slTokenCollateraladdress liquidatoraddress borroweruint256 repayAmountreturns (uint256)
liquidateBorrowVerify(address slTokenBorrowedaddress slTokenCollateraladdress liquidatoraddress borroweruint256 actualRepayAmountuint256 seizeTokens
mintAllowed(address slTokenaddress minteruint256 mintAmountreturns (uint256)
mintVerify(address slTokenaddress minteruint256 actualMintAmountuint256 mintTokens
redeemAllowed(address slTokenaddress redeemeruint256 redeemTokensreturns (uint256)
redeemVerify(address slTokenaddress redeemeruint256 redeemAmountuint256 redeemTokens
refreshSashimiSpeeds(
repayBorrowAllowed(address slTokenaddress payeraddress borroweruint256 repayAmountreturns (uint256)
repayBorrowVerify(address slTokenaddress payeraddress borroweruint256 actualRepayAmountuint256 borrowerIndex
seizeAllowed(address slTokenCollateraladdress slTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
seizeVerify(address slTokenCollateraladdress slTokenBorrowedaddress liquidatoraddress borroweruint256 seizeTokens
transferAllowed(address slTokenaddress srcaddress dstuint256 transferTokensreturns (uint256)
transferVerify(address slTokenaddress 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 slTokenstring actionbool pauseState
ActionPaused(string actionbool pauseState
DistributedBorrowerSashimi(address indexed slTokenaddress indexed borroweruint256 sashimiDeltauint256 sashimiBorrowIndex
DistributedSupplierSashimi(address indexed slTokenaddress indexed supplieruint256 sashimiDeltauint256 sashimiSupplyIndex
Failure(uint256 erroruint256 infouint256 detail
MarketEntered(address slTokenaddress account
MarketExited(address slTokenaddress account
MarketListed(address slToken
MarketSashimied(address slTokenbool isSashimied
NewBorrowCap(address indexed slTokenuint256 newBorrowCap
NewBorrowCapGuardian(address oldBorrowCapGuardianaddress newBorrowCapGuardian
NewCloseFactor(uint256 oldCloseFactorMantissauint256 newCloseFactorMantissa
NewCollateralFactor(address slTokenuint256 oldCollateralFactorMantissauint256 newCollateralFactorMantissa
NewLiquidationIncentive(uint256 oldLiquidationIncentiveMantissauint256 newLiquidationIncentiveMantissa
NewMaxAssets(uint256 oldMaxAssetsuint256 newMaxAssets
NewPauseGuardian(address oldPauseGuardianaddress newPauseGuardian
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
NewSashimiRate(uint256 oldSashimiRateuint256 newSashimiRate
SashimiSpeedUpdated(address indexed slTokenuint256 newSpeed
Constructor
constructor(
Fallback and receive
fallback(
Errors

This contract contains no error objects.