indexer repo. It is not inside the contracts tree.
Testnet chain ID 46630 is indexed over RPC. Mainnet 4663 is stubbed until deploy.
Entities
Position.debt is the sum of borrow, repay, liquidate, and deleverage event amounts. It is not live index-accrued debt. AccrueInterest updates the book index only. Query RiskLens for the live owed amount.
Example queries
Account positions:Notes
- Replay
BookCreatedandBookBorrowingEnabledfrom the start block. Testnet books already exist. The indexer currently sees borrowing on;ARCHITECTURE.mdsays the launch flag is off. Trust the chain. Book.symbolfills only whencollateralmatches a known testnet token.- ABIs in the indexer come from
./scripts/export-abis.shagainst../contracts.