Compound Basic Attention Token

Verified contract

Active on Ethereum with 49,991 txns
Deployed by via 0xb92e5097 at 7710735
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $26,418,559.3
ERC-20
Value $1.85
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xe05076ee5a3be15553132e763aee70750b6de38cc3bc62a60e23fc23d882a2c4
0xef6ce5af39ec560451b785b2efc1620eeda193b86d7e1a78017bd4d575283c4e
0xc8107891f43b2ad84473269df38ee5fd3f4012303982d77594c5db0a90a548a8
0x820489dcc9d2b46f8e412481afeec0d4e6452f71b6b953e5849c13f56851082c
0x1da9570142055ae0a06367ca03e06b217058dd8c59435a9516c5b9b2953981a4
0xb1c8af4fb0f52a184c2d8d49efffca80c0cfab8709d62f463c0319e93e28d8ea
0xba654b19362789ab7050196deb79c976afb6dba4c94fb2983cddbb78bf23cfff
0x80686fb9572937c4d900b13c912630b6ecc085194ca4a28e0daa69b69b653eb9
0xfe2142f25081ea451fb3d6369f55c5a579996eb6d949b187b9e1f0e1f1094e7c
0x49409d2183ae96c09152d0823312efd31b8e9c4e66019dd25a1081a36eec55e8

Functions
Getter at block 21157822
accrualBlockNumber(view returns (uint256)
21155699
admin(view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex(view returns (uint256)
1266491465292973432
borrowRatePerBlock(view returns (uint256)
9774134151
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals(view returns (uint256)
8
exchangeRateStored(view returns (uint256)
206772905137373040135563181
getCash(view returns (uint256)
142701204023315066860859969
initialExchangeRateMantissa(view returns (uint256)
200000000000000000000000000
interestRateModel(view returns (address)
0xbae04cbf96391086dc643e842b517734e214d698
isCToken(view returns (bool)
true
name(view returns (string)
Compound Basic Attention Token
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
reserveFactorMantissa(view returns (uint256)
500000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
cBAT
totalBorrows(view returns (uint256)
261688638511810116872029
totalReserves(view returns (uint256)
2990034376616978007429542
totalSupply(view returns (uint256)
676940038116776412
underlying(view returns (address)
0x0d8775f648430679a709e98d2b0cb6250d2887ef
Read-only
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)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_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)
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)
Events
AccrueInterest(uint256 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
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrows
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_uint256 decimals_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.