is_direct_registry_lead

Documentation for eth_defi.erc_4626.discovery_base.is_direct_registry_lead function.

is_direct_registry_lead(lead)

Check whether a lead came from a registry event that skips probing.

Enzyme Blue VaultProxyDeployed and Wildcat MarketAdded events identify a non-ERC-4626 vault without the generic feature probe.

Parameters

lead (eth_defi.erc_4626.discovery_base.PotentialVaultMatch) – Lead, possibly unpickled from an older version without these slots.

Returns

True for Enzyme Blue and Wildcat registry leads.

Return type

bool