fetch_antarctic_metadata_replacements
Documentation for eth_defi.erc_4626.vault_protocol.antarctic.migration.fetch_antarctic_metadata_replacements function.
- fetch_antarctic_metadata_replacements(web3, database, token_cache)
Prepare both target rows before mutating any metadata database.
Creation dates come from the explorer/Hypersync-verified registry. Existing target rows are merge bases so adapter-unowned annotations are preserved.
- Parameters
web3 (web3.main.Web3) – Configured Arbitrum connection.
database (eth_defi.vault.vaultdb.VaultDatabase) – Existing shared metadata and leads.
token_cache (eth_defi.token.TokenDiskCache) – Token metadata cache.
- Returns
Validated target row and lead replacements.
- Return type
collections.abc.Mapping[eth_defi.vault.base.VaultSpec, tuple[eth_defi.vault.vaultdb.VaultRow, eth_defi.erc_4626.discovery_base.PotentialVaultMatch]]