CachedYearnDetectedVaultIndex

Documentation for eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.CachedYearnDetectedVaultIndex Python class.

class CachedYearnDetectedVaultIndex

Bases: object

One worker’s cached public Yearn vault-page index.

Parameters
  • catalogue – Public vault-page records and their completeness state.

  • fetched_at – Naive UTC time when this worker last fetched the endpoint.

Attributes summary

catalogue

Public vault-page records and their completeness state.

fetched_at

Naive UTC time when this worker last fetched the endpoint.

Methods summary

__init__(catalogue, fetched_at)

catalogue: eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.YearnDetectedVaultCatalogue

Public vault-page records and their completeness state.

fetched_at: datetime.datetime

Naive UTC time when this worker last fetched the endpoint.

__init__(catalogue, fetched_at)
Parameters
Return type

None