erc_4626.vault_protocol.antarctic.charts

Documentation for eth_defi.erc_4626.vault_protocol.antarctic.charts Python module.

Plot observed Antarctic subscription equity and reported pre-batch TVL.

Charts use the same canonical subscription reader as the vault-price pipeline. They exclude redemption ratios and staking rewards. See https://docs.antarctic.exchange/technical-framework/hybird-lp-model

Functions

create_antarctic_figure(frame, product)

Build an equity and TVL chart with measured observations visibly marked.

fetch_antarctic_chart_series(web3, ...)

Read both equity curves through the production contextual price reader.

fetch_antarctic_chart_series(web3, context_path, token_cache, end_block)

Read both equity curves through the production contextual price reader.

Only actual subscription blocks become samples. Positive event TVL supplies the reported pool value; bootstrap zero TVL stays unknown. The equity index starts at 100 at the first observed share price and excludes staking income.

Parameters
  • web3 (web3.main.Web3) – Configured Arbitrum metadata connection.

  • context_path (pathlib.Path) – Prefetched complete settlement context.

  • token_cache (eth_defi.token.TokenDiskCache) – Private chart-run token cache.

  • end_block (int) – Exclusive source cutoff shared by both products.

Returns

Reviewed deployment and sparse DataFrame with naive UTC timestamp, integer block_number, and float share_price, total_assets (nullable) and equity_index columns.

Return type

collections.abc.Iterator[tuple[eth_defi.erc_4626.vault_protocol.antarctic.constants.AntarcticDeployment, pandas.DataFrame]]

create_antarctic_figure(frame, product)

Build an equity and TVL chart with measured observations visibly marked.

Straight lines connect observations for readability; no daily or hourly points are added and the curve stops at the final subscription event. Denomination is USDT rather than an assumed US dollar valuation.

Parameters
Returns

Plotly figure with equity index and reported TVL panels.

Return type

plotly.graph_objs._figure.Figure