write_enzyme_vault_metadata_cache

Documentation for eth_defi.enzyme.offchain_metadata.write_enzyme_vault_metadata_cache function.

write_enzyme_vault_metadata_cache(metadata, cache_path=PosixPath('/home/runner/.tradingstrategy/cache/enzyme/vault-metadata.json'))

Atomically replace the durable Enzyme metadata cache.

Cache entries with no text are retained. They document a successful app read whose vault has not supplied descriptions, so the Blue adapter can expose no text rather than infer a strategy.

Parameters
Returns

None after the cache is safely replaced.

Return type

None