Beta
Compound V3

About this explorer

The Rails Compound V3 explorer shows the accounts on Arbitrum that Rails has read, with the full history of each one, and a wallet appears once someone opens it. It also shows the four markets, with their interest rates and reserves.

How it works

  • Compound V3, which Compound's docs call Compound III, is a lending protocol. People supply crypto to earn interest, or supply collateral and borrow against it. On this page an account is the balances one wallet (an address that holds crypto) has in one market.
  • Arbitrum has four markets, with USDC, USDC.e, USD₮0 and WETH as their base assets. Each market is a smart contract called a Comet, with one base asset. Suppliers of the base asset earn interest, and borrowers draw the base asset alone. The Arbitrum markets are separate from the Ethereum and Base markets of the same names.
  • The interest rate on supplying and on borrowing rises as more of the base asset is lent out. Each market sets its own rates.
  • When an account's debt passes what its collateral covers, anyone can trigger its liquidation, and the market takes over its debt and collateral. The step is the Comet's absorb function. The market pays the borrower the collateral's value minus a penalty, from its reserves.
  • The WETH market prices in ETH, so its dollar figures convert at the WETH price from the USDC market.

Accounts

Listing

  • Each card shows one wallet's account in one market, with its supply, borrowing and collateral.
  • The listing draws on each day's most active wallets and any wallet a reader has opened. The accounts listing holds the open accounts.

You can search by wallet address, which finds the wallets already read. To read any other wallet, enter it on the protocol page. The listing filters by Debt, Collateral and Transactions, and sorts by last activity, last opened, collateral or debt.

Account page

  • The wallet's page holds one card for each market the wallet has used, with its figures read at one block.
  • Opening a card shows that market's account and its timeline of events.

Press a figure's label to read what it means. The (i) under a card says what its figures mean for that position, and the ? beside it explains how that kind of position works. A card's ⋮ menu traces each figure to the chain.

Markets

The market page shows each Arbitrum market with its base asset, collateral assets, interest rates and reserves.

How Rails reads it

  • cUSDCv3 (Comet) 0x9c4e…58bf: its supply and borrowing, utilization, both rates and their kinks, reserves and their target, minimum borrow, and each collateral asset's factors, supply cap and total; for a wallet, its balance in the base asset and each collateral.
  • cUSDCev3 (Comet) 0xa5ed…5dca: the same as cUSDCv3.
  • cUSDTv3 (Comet) 0xd98b…7d07: the same as cUSDCv3.
  • cWETHv3 (Comet) 0x6f7d…e486: the same as cUSDCv3.
  • Configurator 0xb21b…3775: the contract through which governance sets each market's terms. Rails reads those terms from each Comet.
  • Each asset's price feed: the Comet names one feed for its base asset and one for each collateral asset. Rails asks the Comet for each feed's price, the price its liquidations use. The WETH market prices in ETH.

The markets pages read every Comet from the chain at most every ten minutes, and an account page reads the wallet's market at each load.

No contract lists a chain's Comets, so the roster is stated: the four in Compound's own deployment records for Arbitrum, each answering to the same governor on chain.