load_sticky_export_state
Documentation for eth_defi.vault.top_vaults_json.load_sticky_export_state function.
- load_sticky_export_state(path, now)
Load sticky export state or create a new empty state.
Corrupt existing state raises instead of being reset, because the sticky qualification history is production state.
- Parameters
path (pathlib.Path) – State file path.
now (datetime.datetime) – Current naive UTC datetime.
- Returns
Loaded state mapping.
- Return type