fetch_ipor_frontend_atomists
Documentation for eth_defi.erc_4626.vault_protocol.ipor.offchain_metadata.fetch_ipor_frontend_atomists function.
- fetch_ipor_frontend_atomists(cache_path=PosixPath('/home/runner/.tradingstrategy/cache/ipor'), app_base_url='https://app.ipor.io', now_=None, max_cache_duration=datetime.timedelta(days=2))
Fetch and cache IPOR frontend atomist metadata.
The cache stores only the parsed
vault_address -> atomistmapping, not the full JavaScript bundle. If refresh fails but an older cache exists, the stale cache is returned so manager attribution does not disappear because of a transient app or CDN failure.- Parameters
cache_path (pathlib.Path) – Directory for cache files.
app_base_url (str) – IPOR Fusion app base URL.
now – Override current time for tests.
max_cache_duration (datetime.timedelta) – Cache time-to-live.
now_ (Optional[datetime.datetime]) –
- Returns
Dict keyed by lower-case vault address.
- Return type