hibachi.constants

Documentation for eth_defi.hibachi.constants Python module.

Constants for the Hibachi integration.

Shared constants used across the Hibachi modules (daily_metrics, vault_data_export, etc.).

Module Attributes

HIBACHI_CHAIN_ID

Hibachi synthetic chain ID.

HIBACHI_DATA_API_URL

Hibachi public data API base URL.

HIBACHI_VAULT_LOCKUP

Lockup period for Hibachi vaults.

HIBACHI_CHAIN_ID: int = 9997

Hibachi synthetic chain ID.

In-house synthetic ID — NOT an EVM JSON-RPC chain ID. 9997 collides with AltLayer Testnet on chainid.network, consistent with how 9998 (Lighter) and 9999 (Hypercore) collide too.

Added to eth_defi.chain.CHAIN_NAMES as 9997: "Hibachi".

HIBACHI_DAILY_METRICS_DATABASE = PosixPath('/home/runner/.tradingstrategy/vaults/hibachi-vaults.duckdb')

Default path for Hibachi daily metrics DuckDB database.

HIBACHI_DATA_API_URL: str = 'https://data-api.hibachi.xyz'

Hibachi public data API base URL.

Used for all vault and market data endpoints. No authentication required.

HIBACHI_VAULT_FEE_MODE: eth_defi.vault.fee.VaultFeeMode = VaultFeeMode.feeless

Fee mode for Hibachi native vaults.

All vault-level fees are zero (management, performance, deposit, withdrawal are all "0.00000000" in the API response). The platform charges trading taker fees (0.045%) and deposit/withdrawal fees separately at the exchange level, but these are not vault-specific.

HIBACHI_VAULT_LOCKUP: datetime.timedelta = datetime.timedelta(0)

Lockup period for Hibachi vaults.

Both vaults report minUnlockHours: 0 — no lockup.