check_lagoon_compatibility_with_database
Documentation for eth_defi.lagoon.lagoon_compatibility.check_lagoon_compatibility_with_database function.
- check_lagoon_compatibility_with_database(web3, paths, vault_address, trading_strategy_module_address, asset_manager_address, database_file=PosixPath('/home/runner/.tradingstrategy/token-checks/lagoon_token_check.pickle'), fork_block_number=None, retries=3)
Check multiple tokens for compatibility with Lagoon Vault.
Uses a local pickle-file database to remember previous checks
- Parameters
web3 (web3.main.Web3) –
paths (list[list[eth_typing.evm.HexAddress]]) –
vault_address (eth_typing.evm.HexAddress) –
trading_strategy_module_address (eth_typing.evm.HexAddress) –
asset_manager_address (eth_typing.evm.HexAddress) –
database_file (pathlib.Path) –
- Return type
eth_defi.erc_4626.vault_protocol.lagoon.lagoon_compatibility.LagoonTokenCheckDatabase