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.Enzyme Onyx
SharesFactory.ProxyDeployedmetadata when a lead was created by the protocol factory rather than a vault-local flow event.Active Onyx deposit handlers reconstructed from Shares events.
Enzyme Blue
Dispatcher.VaultProxyDeployedmetadata.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.
- enzyme_factory_candidate: EnzymeVaultFactoryCandidate | None
Enzyme Onyx
SharesFactory.ProxyDeployedmetadata when a lead was created by the protocol factory rather than a vault-local flow event.
- enzyme_active_deposit_handlers: Optional[tuple[eth_typing.evm.HexAddress, ...]]
Active Onyx deposit handlers reconstructed from Shares events.
Nonemeans an older incremental lead has no complete event history; an empty tuple conclusively means that deposits currently have no authorised handler.
- enzyme_blue_factory_candidate: EnzymeBlueVaultFactoryCandidate | None
Enzyme Blue
Dispatcher.VaultProxyDeployedmetadata. Blue’s VaultProxy is not ERC-4626, so this direct protocol lead bypasses the generic feature probe just like an Onyx Shares lead.
- __init__(chain, address, first_seen_at_block, first_seen_at, deposit_count=0, withdrawal_count=0, configuration_count=0, mellow_factory_candidate=None, enzyme_factory_candidate=None, enzyme_active_deposit_handlers=None, enzyme_blue_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) –
enzyme_factory_candidate (EnzymeVaultFactoryCandidate | None) –
enzyme_active_deposit_handlers (Optional[tuple[eth_typing.evm.HexAddress, ...]]) –
enzyme_blue_factory_candidate (EnzymeBlueVaultFactoryCandidate | None) –
- Return type
None