fetch_and_store_pool

Documentation for eth_defi.lighter.daily_metrics.fetch_and_store_pool function.

fetch_and_store_pool(session, db, summary, cutoff_date=None, timeout=30.0)

Fetch a single pool’s details and store metrics in the database.

Parameters
Returns

True if the pool was successfully processed.

Return type

bool