Compound Basic Attention Token

Verified contract

Active on Ethereum with 50,004 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 $40,381,483.22
ERC-20
Value $2.82
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x285fb47a0fb195fc105dc3cd5a2affbbf6ece0ab093b452d5f72ae033f273ba6
0x2b83c75eca13537845fa354b7ea4aa249921779e3ac0413e261c529ab7673219
0xd0b04ed94bb22cabeaef6d1ac9ffed55a4efc160b291db88825c4e78accf036d
0xc6348c519878d37bf11a0190b571b7b0b8d3122b951a317a95a623e30bd1f884
0x4af8d2855f0e89f5301983877f0995fe01ef4400a5e93190bafc50e9ea9a258c
0x8f00c8001fdcfc908ae2ac1c97a56b7c2591fd0978be5d4ab4257f1352468f9b
0xc7c19501fc564627e422b01767c6bf5395cc97bd398bab147f8f30c432718d22
0xdfde06abfc08893a250ba4beaceaa9e60aa9670f899dc8e5176160c1d13eb7b3
0xaa34c59494bd5cba5a0229819f7f3bf76ec7fea68939625ea90a704443ef3db1
0x725c7aa2064a6d5be4bcf51add22bf19df3cc7af8a8bee0f4f1658609a62a084

Functions
Getter at block 21269103
accrualBlockNumber(view returns (uint256)
21262468
admin(view returns (address)
0x6d903f6003cca6255d85cca4d3b5e5146dc33925
borrowIndex(view returns (uint256)
1267813269555973118
borrowRatePerBlock(view returns (uint256)
9767155738
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
decimals(view returns (uint256)
8
exchangeRateStored(view returns (uint256)
206773104489559464736364043
getCash(view returns (uint256)
142698316946823891820639535
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)
254679447432301758153535
totalReserves(view returns (uint256)
2990169323953722287109874
totalSupply(view returns (uint256)
676890872320242086
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.