YieldBasisScanPreparation

Documentation for eth_defi.yield_basis.vault_catalog.YieldBasisScanPreparation Python class.

class YieldBasisScanPreparation

Bases: object

Validated product set returned by the pre-scan.

Attributes summary

chain_id

EVM chain ID inspected by the pre-scan.

block_number

Fixed block shared by all validation calls.

factory_valid

Whether the Factory identity and stablecoin were accepted.

stablecoin

Stablecoin returned by the Factory, when available.

products

Individually validated reviewed products safe to publish.

review_required

Operator-visible reasons why other products were withheld.

Methods summary

__init__(chain_id, block_number, ...)

chain_id: int

EVM chain ID inspected by the pre-scan.

block_number: int

Fixed block shared by all validation calls.

factory_valid: bool

Whether the Factory identity and stablecoin were accepted.

stablecoin: Optional[eth_typing.evm.HexAddress]

Stablecoin returned by the Factory, when available.

products: tuple[eth_defi.yield_basis.vault_catalog.YieldBasisMarket, ...]

Individually validated reviewed products safe to publish.

review_required: tuple[str, ...]

Operator-visible reasons why other products were withheld.

__init__(chain_id, block_number, factory_valid, stablecoin, products, review_required)
Parameters
Return type

None