restore_price_timestamp_permissions

Documentation for eth_defi.hyperliquid.permission_recovery.restore_price_timestamp_permissions function.

restore_price_timestamp_permissions(connection, table)

Apply inferred legacy snapshots without rewriting prices or genuine receipts.

The endpoint’s inferred annotations are rebuilt transactionally from the explicitly selected backup preference. Stable IDs retain their original annotation write clock, making reapplication idempotent. Raw source payloads and references remain auditable; permission_observed_at carries the inferred price clock only for records explicitly labelled legacy_price_timestamp.

Parameters
  • connection (_duckdb.DuckDBPyConnection) – Caller-owned connection inside the recovery transaction.

  • table (str) – Allowlisted price table defining this annotation scope.

Returns

None after applying prepared candidates.

Return type

None