PotentialVaultMatch
Documentation for eth_defi.erc_4626.discovery_base.PotentialVaultMatch Python class.
- class PotentialVaultMatch
Bases:
objectCategorise contracts that emit vault discovery events.
Attributes summary
chainaddressfirst_seen_at_blockfirst_seen_atdeposit_countwithdrawal_countProtocol-specific vault configuration events.
Mellow
Factory.Createdmetadata 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.Createdmetadata 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
chain (int) –
address (eth_typing.evm.HexAddress) –
first_seen_at_block (int) –
first_seen_at (datetime.datetime) –
deposit_count (int) –
withdrawal_count (int) –
configuration_count (int) –
mellow_factory_candidate (MellowFactoryCandidate | None) –
- Return type
None