Lending

Our tables track user positions, pool data, and specific lending-related events.

Key Tables:

  • Pools: Contains information about different lending pools, including the token types, interest rates, and liquidity.

  • Position Snapshot: Snapshot of user positions in lending pools, including the amounts borrowed and supplied.

  • Pool Snapshot: Tracks the state of the pool over time, including Total Value Locked, fees earned, and interest rates.

  • Events: Tracks lending events like deposits, withdrawals, borrowing, and repayments.

  • Liquidations: Tracks liquidation events.

Property
Description
Type

chain_id

The standard id of the chain.

number

creation_block_number

The block this pool was created in.

number

timestamp

The timestamp of the block that this pool was created in.

number

underlying_token_address

The contract address of the underlying token.

string

underlying_token_symbol

The symbol of the underlying token.

string

receipt_token_address

The contract address of the receipt token.

string

receipt_token_symbol

The symbol of the receipt token.

string

pool_address

The contract address of the pool.

string

pool_type

The type of the pool (collateral_only, isolated, supply_pool, cdp).

string

Last updated