PotentialVaultMatch

Documentation for eth_defi.erc_4626.discovery_base.PotentialVaultMatch Python class.

class PotentialVaultMatch

Bases: object

Categorise contracts that emit vault discovery events.

Attributes summary

chain

address

first_seen_at_block

first_seen_at

deposit_count

withdrawal_count

configuration_count

Protocol-specific vault configuration events.

mellow_factory_candidate

Mellow Factory.Created metadata when this lead came from a Mellow factory event instead of vault-local deposit/withdraw events.

Methods summary

__init__(chain, address, ...[, ...])

is_candidate()

configuration_count: int

Protocol-specific vault configuration events.

mellow_factory_candidate: MellowFactoryCandidate | None

Mellow Factory.Created metadata when this lead came from a Mellow factory event instead of vault-local deposit/withdraw events.

Mellow Core Vault user flow events are emitted by queue contracts, not by the canonical Vault. Keep this metadata on the normal lead object so the discovery path can still use one lead map and one feature-probe loop.

__init__(chain, address, first_seen_at_block, first_seen_at, deposit_count=0, withdrawal_count=0, configuration_count=0, mellow_factory_candidate=None)
Parameters
Return type

None