YearnRegistryExclusionCache

Documentation for eth_defi.erc_4626.vault_protocol.yearn.endorsement.YearnRegistryExclusionCache Python class.

class YearnRegistryExclusionCache

Bases: object

Hold mutable per-process state for primary-list exclusions.

Attributes summary

index

Most recently successful registry index.

retry_after

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.endorsement.CachedYearnRegistryExclusions]

Most recently successful registry index.

retry_after: Optional[datetime.datetime]

Naive UTC time before a failed request may be retried.

__init__(index=None, retry_after=None)
Parameters
Return type

None