Expand description
Common types and utilities for FX Forward Protocol services.
This crate provides shared functionality used by the publisher, keeper, and e2e tests.
Re-exports§
pub use types::*;
Modules§
- addresses
- Shared contract address loading for all Rust services (CLI, keeper, publisher).
- constants
- Per-chain constants auto-detected from chain ID.
- forex_
market - Forex market hours detection.
- gas_
gate - Client-side gas-price gate. Skips on-chain writes when the latest block’s
base_fee_per_gasexceeds a configurable gwei threshold. - health
- Shared health check server for Rust services.
- network
- Network resolution utilities for multi-network environment variable support.
- pair_
discovery - Runtime pair discovery for off-chain services.
- provider
- Shared provider setup for Rust service transactions.
- shutdown
- Shared shutdown signal handling for Rust services.
- types
- Core types used across FX Forward Protocol services.