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
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]]