classify_hyperliquid_vault_deposit_access
Documentation for eth_defi.hyperliquid.vault_data_export.classify_hyperliquid_vault_deposit_access function.
- classify_hyperliquid_vault_deposit_access(deposit_closed_reason)
Convert a legacy Hyperliquid reason into the shared deposit-access format.
The metadata normaliser and migration script use this when a retained row lacks
_hyperliquid_deposits_open. New rows should be classified from their API flags withclassify_hyperliquid_vault_deposit(). A missing or unrecognised legacy reason returns unknown permission.