aave_v3.reserve

Documentation for eth_defi.aave_v3.reserve Python module.

Reserve, TVL and interest data reading of pools.

Functions

fetch_aave_reserves_snapshot(web3[, ...])

Get a snapshot of all data of Aave reserves at a certain point of time.

fetch_reserve_data(contracts[, block_identifier])

Fetch data for all reserves.

fetch_reserves(contracts[, block_identifier])

Enumerate available reserves.

get_helper_contracts(web3)

Get helper contracts need to read Aave reserve data.

Classes

AggregatedReserveData

Rough mapping of AggreatedReserveData in Aave v3 Solidity source code.

BaseCurrencyInfo

Rough mapping of BaseCurrencyInfo in Aave v3 Solidity source code.

HelperContracts

Contracts needed to resolve reserve info on Aave v3.

JSONSerialisableReserveData

JSON friendly way to store Aave v3 protocol reserve status.

Exceptions

AaveContractsNotConfigured

We lack hardcoded data of Aave contract addresses for a particular chain.