Compound Uniswap

Verified contract

Proxy

Active on Ethereum with 24,234 txns
Deployed by via 0xc61df0af at 10921410
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
16 additional variables
ERC-20
Value $16,503,989.56
ERC-20
Value $187.1
ERC-20
Value $1.47
ERC-20
Value $0.7
ERC-20
Value $0.15
ERC-20
Value $0.12
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x197713392a6f12c2235ba1dd263cd202f7f9d457daecf4e07ce9ea2ea1ac5681
0x0a2e8619136391181eafff4a26772ace88b75bdc62d28c677c2d0ddcba10f3fd
0x19430d64dd17646ab5ca21dd1c54654e9d133363ce58aae46dc21ac0af293eec
0x528dd3d393c84b73351c6bed01c8dbe025229c3d3d7292f9bcdd45ade54c232d
0x797ab3bd69a1e73458f4dfe9b8f5724471fb9bc01c8b0cc805dad89c09541b87
0x1067de9374bf05bb2fa85e6f5f02b09025454cc4043955d1e24bb81abf7bece0
0x5a316af75eab99cf01d8e15b9fce5b0c6ad68c4bb03485108b41117efa1ed39e
0xdda5887ef9a48b369b89504b9a44f538ae201bee3def78674a1b583646bf08c8
0xbac540a709322d1f8ae143683a34ae6d7feb92327154997347069e3e3ab1e81b
0x7b4b4cedeb67f127e2a251425c09857a3bba3e7be90030c9858f6d4440268caa

Functions
Getter at block 21160251
accrualBlockNumber(view returns (uint256)
21160113
admin(view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex(view returns (uint256)
1268480577898836189
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
204535509543408003062425703
getCash(view returns (uint256)
1770814330506667284980331
implementation(view returns (address)
0x3363bae2fc44da742df13cd3ee94b6bb868ea376
interestRateModel(view returns (address)
0xd956188795ca6f4a74092ddca33e0ea4ca3a1395
isCToken(view returns (bool)
true
name(view returns (string)
Compound Uniswap
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
500000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
cUNI
totalBorrows(view returns (uint256)
177535434019470578152502
totalReserves(view returns (uint256)
74946154776085481868065
totalSupply(view returns (uint256)
9159307417729659
underlying(view returns (address)
0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
NO_ERROR(view returns (uint256)
0
accrualBlockNumber(view returns (uint256)
21160113
admin(view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex(view returns (uint256)
1268480577898836189
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
204535509543408003062425703
getCash(view returns (uint256)
1770814330506667284980331
implementation(view returns (address)
0x3363bae2fc44da742df13cd3ee94b6bb868ea376
interestRateModel(view returns (address)
0xd956188795ca6f4a74092ddca33e0ea4ca3a1395
isCToken(view returns (bool)
true
name(view returns (string)
Compound Uniswap
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
protocolSeizeShareMantissa(view returns (uint256)
28000000000000000
reserveFactorMantissa(view returns (uint256)
500000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
cUNI
totalBorrows(view returns (uint256)
177535434019470578152502
totalReserves(view returns (uint256)
74946154776085481868065
totalSupply(view returns (uint256)
9159307417729659
underlying(view returns (address)
0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
delegateToViewImplementation(bytes dataview returns (bytes)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
State-modifying
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setImplementation(address implementation_bool allowResignbytes becomeImplementationData
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
delegateToImplementation(bytes datareturns (bytes)
exchangeRateCurrent(returns (uint256)
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
_acceptAdmin(returns (uint256)
_addReserves(uint256 addAmountreturns (uint256)
_becomeImplementation(bytes data
_delegateCompLikeTo(address compLikeDelegatee
_reduceReserves(uint256 reduceAmountreturns (uint256)
_resignImplementation(
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setPendingAdmin(address newPendingAdminreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (uint256)
exchangeRateCurrent(returns (uint256)
initialize(address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
initialize(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_
liquidateBorrow(address borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
sweepToken(address token
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
Events
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
Failure(uint256 erroruint256 infouint256 detail
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewImplementation(address oldImplementationaddress newImplementation
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrows
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrows
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress cTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokens
NewAdmin(address oldAdminaddress newAdmin
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(address underlying_address comptroller_address interestRateModel_uint256 initialExchangeRateMantissa_string name_string symbol_uint8 decimals_address admin_address implementation_bytes becomeImplementationData
Fallback and receive
fallback(
Errors
AcceptAdminPendingAdminCheck(
AddReservesFactorFreshCheck(uint256 actualAddAmount
BorrowCashNotAvailable(
BorrowComptrollerRejection(uint256 errorCode
BorrowFreshnessCheck(
LiquidateAccrueBorrowInterestFailed(uint256 errorCode
LiquidateAccrueCollateralInterestFailed(uint256 errorCode
LiquidateCloseAmountIsUintMax(
LiquidateCloseAmountIsZero(
LiquidateCollateralFreshnessCheck(
LiquidateComptrollerRejection(uint256 errorCode
LiquidateFreshnessCheck(
LiquidateLiquidatorIsBorrower(
LiquidateRepayBorrowFreshFailed(uint256 errorCode
LiquidateSeizeComptrollerRejection(uint256 errorCode
LiquidateSeizeLiquidatorIsBorrower(
MintComptrollerRejection(uint256 errorCode
MintFreshnessCheck(
RedeemComptrollerRejection(uint256 errorCode
RedeemFreshnessCheck(
RedeemTransferOutNotPossible(
ReduceReservesAdminCheck(
ReduceReservesCashNotAvailable(
ReduceReservesCashValidation(
ReduceReservesFreshCheck(
RepayBorrowComptrollerRejection(uint256 errorCode
RepayBorrowFreshnessCheck(
SetComptrollerOwnerCheck(
SetInterestRateModelFreshCheck(
SetInterestRateModelOwnerCheck(
SetPendingAdminOwnerCheck(
SetReserveFactorAdminCheck(
SetReserveFactorBoundsCheck(
SetReserveFactorFreshCheck(
TransferComptrollerRejection(uint256 errorCode
TransferNotAllowed(
TransferNotEnough(
TransferTooMuch(