create_hibachi_vault_row

Documentation for eth_defi.hibachi.vault_data_export.create_hibachi_vault_row function.

create_hibachi_vault_row(vault_id, symbol, name, description, tvl)

Create a synthetic VaultRow for a Hibachi native vault.

Builds a VaultRow that matches what calculate_vault_record() expects, using the Hibachi synthetic chain ID.

All Hibachi vault-level fees are zero. vault_pub_key and vault_asset_id are stored only in the DuckDB metadata table for traceability; they are not surfaced in VaultRow.

Parameters
  • vault_id (int) – Vault ID on the Hibachi platform (e.g. 2, 3).

  • symbol (str) – Short ticker symbol (e.g. GAV).

  • name (str) – Vault display name.

  • description (Optional[str]) – Vault description text.

  • tvl (float) – Current TVL in USDT.

Returns

Tuple of (VaultSpec, VaultRow).

Return type

tuple[eth_defi.vault.base.VaultSpec, eth_defi.vault.vaultdb.VaultRow]