pub trait MevNodeComponentsBuilder<State>: Send {
type Pool: PoolBuilder<State>;
type Network: NetworkBuilder<State>;
type Executor: ExecutorBuilder<State>;
type Strategy: StrategyBuilder<State>;
type Signer: SignerBuilder<State>;
type Market: MarketBuilder<State>;
type Broadcaster: BroadcasterBuilder<State>;
type Estimator: EstimatorBuilder<State>;
type HealthMonitor: HealthMonitorBuilder<State>;
// Required methods
fn pool_builder(&self) -> Self::Pool;
fn network_builder(&self) -> Self::Network;
fn executor_builder(&self) -> Self::Executor;
fn strategy_builder(&self) -> Self::Strategy;
fn signer_builder(&self) -> Self::Signer;
fn market_builder(&self) -> Self::Market;
fn broadcaster_builder(&self) -> Self::Broadcaster;
fn estimator_builder(&self) -> Self::Estimator;
fn health_monitor_builder(&self) -> Self::HealthMonitor;
}Expand description
Combined builder trait for all MEV node components
Required Associated Types§
Sourcetype Pool: PoolBuilder<State>
type Pool: PoolBuilder<State>
Pool component builder
Sourcetype Network: NetworkBuilder<State>
type Network: NetworkBuilder<State>
Network component builder
Sourcetype Executor: ExecutorBuilder<State>
type Executor: ExecutorBuilder<State>
Executor component builder
Sourcetype Strategy: StrategyBuilder<State>
type Strategy: StrategyBuilder<State>
Strategy component builder
Sourcetype Signer: SignerBuilder<State>
type Signer: SignerBuilder<State>
Signer component builder
Sourcetype Market: MarketBuilder<State>
type Market: MarketBuilder<State>
Market component builder
Sourcetype Broadcaster: BroadcasterBuilder<State>
type Broadcaster: BroadcasterBuilder<State>
Broadcaster component builder
Sourcetype Estimator: EstimatorBuilder<State>
type Estimator: EstimatorBuilder<State>
Estimator component builder
Sourcetype HealthMonitor: HealthMonitorBuilder<State>
type HealthMonitor: HealthMonitorBuilder<State>
Health monitor component builder
Required Methods§
Sourcefn pool_builder(&self) -> Self::Pool
fn pool_builder(&self) -> Self::Pool
Get the pool builder
Sourcefn network_builder(&self) -> Self::Network
fn network_builder(&self) -> Self::Network
Get the network builder
Sourcefn executor_builder(&self) -> Self::Executor
fn executor_builder(&self) -> Self::Executor
Get the executor builder
Sourcefn strategy_builder(&self) -> Self::Strategy
fn strategy_builder(&self) -> Self::Strategy
Get the strategy builder
Sourcefn signer_builder(&self) -> Self::Signer
fn signer_builder(&self) -> Self::Signer
Get the signer builder
Sourcefn market_builder(&self) -> Self::Market
fn market_builder(&self) -> Self::Market
Get the market builder
Sourcefn broadcaster_builder(&self) -> Self::Broadcaster
fn broadcaster_builder(&self) -> Self::Broadcaster
Get the broadcaster builder
Sourcefn estimator_builder(&self) -> Self::Estimator
fn estimator_builder(&self) -> Self::Estimator
Get the estimator builder
Sourcefn health_monitor_builder(&self) -> Self::HealthMonitor
fn health_monitor_builder(&self) -> Self::HealthMonitor
Get the health monitor builder