Aave Schema Description and Methodology
Table Name | Column Name | Description |
---|---|---|
ez_metrics | lending_deposits | The total amount of tokens deposited (in USD) on Aave |
ez_metrics | lending_loans | The total outstanding loans (in USD) on Aave |
ez_metrics | net_deposits | Legacy naming for lending_deposits |
ez_metrics | outstanding_supply | Legacy naming for lending_loans |
ez_metrics | tvl | The total value locked in Aave (deposits - loans) |
Table Name | Column Name | Description |
---|---|---|
ez_metrics | fees | The total USD value generated from all user-paid fees |
ez_metrics | interest_rate_fees | Interest fees paid by borrowers on loans |
ez_metrics | flashloan_fees | Fees generated from flash loans |
ez_metrics | gho_fees | Fees generated from GHO stablecoin operations |
ez_metrics | fees | Legacy naming for total fees (interest + flashloan + gho) |
Table Name | Column Name | Description |
---|---|---|
ez_metrics | service_fee_allocation | Revenue accrued to liquidity providers (deposit revenue + flashloan) |
ez_metrics | liquidator_fee_allocation | Revenue allocated to liquidators |
ez_metrics | treasury_fee_allocation | Revenue allocated to Aave treasury (reserve factor + dao + gho) |
ez_metrics | reserve_factor_treasury_fee_allocation | Portion of interest fees sent to treasury via reserve factor |
ez_metrics | dao_treasury_fee_allocation | Revenue from DAO trading activities |
ez_metrics | gho_treasury_fee_allocation | Revenue from GHO operations sent to treasury |
Table Name | Column Name | Description |
---|---|---|
ez_metrics | ecosystem_incentives | Incentives distributed to ecosystem participants |
ez_metrics | safety_incentives | Incentives distributed for the safety module |
ez_metrics | token_incentives | Total token incentives (ecosystem + safety) |
ez_metrics | total_expenses | Total protocol expenses (currently just token incentives) |
ez_metrics | protocol_earnings | Protocol revenue minus total expenses |
Table Name | Column Name | Description |
---|---|---|
ez_metrics | treasury | The total USD value in Aave’s treasury |
ez_metrics | treasury_native | The USD value of AAVE tokens in the treasury |
ez_metrics | net_treasury | The USD value in treasury excluding protocol’s own tokens |
ez_metrics | treasury_value | Legacy naming for treasury |
ez_metrics | treasury_value_native | Legacy naming for treasury_native |
ez_metrics | net_treasury_value | Legacy naming for net_treasury |
Table Name | Column Name | Description |
---|---|---|
ez_metrics | price | The price of AAVE token in USD |
ez_metrics | market_cap | The market cap of AAVE token in USD |
ez_metrics | fdmc | The fully diluted market cap of AAVE token in USD |
ez_metrics | token_volume | The trading volume of AAVE token in USD |
ez_metrics | token_turnover_circulating | The turnover of AAVE based on circulating supply |
ez_metrics | token_turnover_fdv | The turnover of AAVE based on fully diluted valuation |
ez_metrics | token_holder_count | The number of unique AAVE token holders |
ez_metrics | h24_volume | The 24-hour trading volume of AAVE (legacy naming) |
ez_metrics_by_chain
table provides the same metrics as the main table but broken down by blockchain network:
Column Name | Description |
---|---|
date | The date of the recorded metrics |
chain | The blockchain (Ethereum, Arbitrum, Optimism, etc.) |
lending_deposits | Total deposits on this chain |
lending_loans | Outstanding loans on this chain |
tvl | Total value locked on this chain |
fees | Total protocol revenue on this chain |
service_fee_allocation | Revenue to liquidity providers on this chain |
liquidator_fee_allocation | Revenue to liquidators on this chain |
treasury_fee_allocation | Revenue to treasury on this chain |
treasury | Treasury value associated with this chain |
treasury_native | AAVE token value in treasury for this chain |
ez_metrics_by_token
table breaks down metrics by individual tokens:
Column Name | Description |
---|---|
date | The date of the recorded metrics |
chain | The blockchain where the token is used |
token_address | The contract address of the token |
lending_deposits | Deposits of this specific token (USD) |
lending_deposits_native | Deposits of this token in native units |
lending_loans | Loans of this specific token (USD) |
lending_loans_native | Loans of this token in native units |
tvl | TVL for this token (USD) |
tvl_native | TVL for this token in native units |
fees | Revenue generated by this token (USD) |
fees_native | Revenue generated by this token in native units |
service_fee_allocation | Revenue to liquidity providers from this token |
service_fee_allocation_native | Revenue to LPs in native token units |
liquidator_fee_allocation | Revenue to liquidators from this token |
liquidator_fee_allocation_native | Revenue to liquidators in native token units |
treasury_fee_allocation | Revenue to treasury from this token |
treasury_fee_allocation_native | Revenue to treasury in native token units |
treasury | Treasury holdings of this token (USD) |
treasury_native | Treasury holdings in native token units |