probe_vaults
Documentation for eth_defi.erc_4626.classification.probe_vaults function.
- probe_vaults(chain_id, web3factory, addresses, block_identifier, max_workers=8, progress_bar_desc=None)
Perform multicalls against each vault address to extract the features of the vault smart contract.
- Returns
Iterator of what vault smart contract features we detected for each potential vault address
- Parameters
chain_id (int) –
web3factory (eth_defi.event_reader.web3factory.Web3Factory) –
addresses (list[eth_typing.evm.HexAddress]) –
block_identifier (Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, hexbytes.main.HexBytes, int]) –
progress_bar_desc (str | None) –
- Return type
collections.abc.Iterable[eth_defi.erc_4626.classification.VaultFeatureProbe]