YearnVaultMetadata

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

class YearnVaultMetadata

Bases: object

The normalised yDaemon fields used to decide Yearn frontend membership.

yDaemon’s source document contains many free-form metadata fields. The scanner keeps only the two explicit boolean decisions required to distinguish official Yearn frontend vaults from third-party V3-compatible contracts.

Parameters
  • endorsed – Whether Yearn explicitly endorses the vault.

  • is_yearn – Whether Yearn explicitly includes the vault in its frontend.

Attributes summary

endorsed

True only when Yearn explicitly endorses the vault.

is_yearn

True only when Yearn explicitly includes the vault in its frontend.

Methods summary

__init__(endorsed, is_yearn)

endorsed: bool

True only when Yearn explicitly endorses the vault.

is_yearn: bool

True only when Yearn explicitly includes the vault in its frontend.

__init__(endorsed, is_yearn)
Parameters
  • endorsed (bool) –

  • is_yearn (bool) –

Return type

None