derive.v3_constants
Documentation for eth_defi.derive.v3_constants Python module.
Constants for the native Derive v3 vault dataset.
Module Attributes
Synthetic dataset partition for Derive v3 native vaults. |
Functions
|
Return the stable synthetic address for a native vault. |
- DERIVE_V3_CHAIN_ID = 9993
Synthetic dataset partition for Derive v3 native vaults. Not an EVM chain.
- DERIVE_V3_MAINNET_DATABASE = PosixPath('/home/runner/.tradingstrategy/vaults/derive-v3-mainnet-vaults.duckdb')
Default mainnet DuckDB path. The all-chain scanner honours
PIPELINE_DATA_DIR.
- DERIVE_V3_TESTNET_DATABASE = PosixPath('/home/runner/.tradingstrategy/vaults/derive-v3-testnet-vaults.duckdb')
Isolated testnet observations; never merged into the production catalogue.
- make_derive_v3_vault_address(subaccount_id)
Return the stable synthetic address for a native vault.
The native subaccount ID is the common key in DuckDB, shared metadata, raw prices and JSON. It is scoped to the chosen Derive deployment; only mainnet addresses enter the shared dataset.