resolve_sparkline_tvl_threshold

Documentation for eth_defi.vault.denomination.resolve_sparkline_tvl_threshold function.

resolve_sparkline_tvl_threshold(denomination_symbol)

Resolve the below-threshold cadence boundary for one denomination.

The sparkline publication policy uses fixed, reviewed thresholds in the vault’s native unit. Stablecoins and ETH use the existing USD 5,000 conversion helper. BTC uses the USD-equivalent of the explicit 0.1 BTC policy so that the converter does not reduce it to 0.083333 BTC.

Parameters

denomination_symbol (Optional[str]) – Persisted vault denomination symbol, including wrapped variants.

Returns

Native-unit boundary; values strictly below it use the low-TVL cadence.

Raises

ValueError – If the denomination is outside the supported stablecoin/ETH/BTC families.

Return type

decimal.Decimal