classify_denomination

Documentation for eth_defi.vault.denomination.classify_denomination function.

classify_denomination(symbol)

Classify one vault denomination using stablecoin precedence and a dictionary.

Stablecoin classification intentionally delegates to the existing shared stablecoin helper to retain the public export’s membership behaviour.

Parameters

symbol (Optional[str]) – Raw denomination token symbol from vault metadata.

Returns

Stablecoin, ETH-like, BTC-like, or unsupported family.

Return type

eth_defi.vault.denomination.DenominationFamily