YearnDetectedVaultCache
Documentation for eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.YearnDetectedVaultCache Python class.
- class YearnDetectedVaultCache
Bases:
objectHold the mutable per-process state for the public vault catalogue.
- Parameters
index – Most recently successful catalogue index.
retry_after – Naive UTC time before a failed request may be retried.
Attributes summary
Most recently successful catalogue index.
Naive UTC time before a failed request may be retried.
Methods summary
__init__([index, retry_after])- index: Optional[eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.CachedYearnDetectedVaultIndex]
Most recently successful catalogue index.
- retry_after: Optional[datetime.datetime]
Naive UTC time before a failed request may be retried.
- __init__(index=None, retry_after=None)
- Parameters
index (Optional[eth_defi.erc_4626.vault_protocol.yearn.offchain_metadata.CachedYearnDetectedVaultIndex]) –
retry_after (Optional[datetime.datetime]) –
- Return type
None