Skip to main content

route

Function route 

Source
pub fn route<P>(
    provider: P,
    fee_router_addr: Address,
    shares: OperatorShares,
    poll_interval: Duration,
    metrics: &Arc<Metrics>,
) -> Route
where P: Provider + Clone + 'static,
Expand description

Build the fee-shares Route for the shared multiplexed poller. poll_interval is the slower authoritative-re-read safety net (fee_shares_poll_interval) that rides the sink’s on_tick_complete; the merged getLogs cadence is the poller’s.