MevNodeComponentsBuilder

Trait MevNodeComponentsBuilder 

Source
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§

Source

type Pool: PoolBuilder<State>

Pool component builder

Source

type Network: NetworkBuilder<State>

Network component builder

Source

type Executor: ExecutorBuilder<State>

Executor component builder

Source

type Strategy: StrategyBuilder<State>

Strategy component builder

Source

type Signer: SignerBuilder<State>

Signer component builder

Source

type Market: MarketBuilder<State>

Market component builder

Source

type Broadcaster: BroadcasterBuilder<State>

Broadcaster component builder

Source

type Estimator: EstimatorBuilder<State>

Estimator component builder

Source

type HealthMonitor: HealthMonitorBuilder<State>

Health monitor component builder

Required Methods§

Source

fn pool_builder(&self) -> Self::Pool

Get the pool builder

Source

fn network_builder(&self) -> Self::Network

Get the network builder

Source

fn executor_builder(&self) -> Self::Executor

Get the executor builder

Source

fn strategy_builder(&self) -> Self::Strategy

Get the strategy builder

Source

fn signer_builder(&self) -> Self::Signer

Get the signer builder

Source

fn market_builder(&self) -> Self::Market

Get the market builder

Source

fn broadcaster_builder(&self) -> Self::Broadcaster

Get the broadcaster builder

Source

fn estimator_builder(&self) -> Self::Estimator

Get the estimator builder

Source

fn health_monitor_builder(&self) -> Self::HealthMonitor

Get the health monitor builder

Implementors§