Trait ghost_crab::block_handler::BlockHandler
source · pub trait BlockHandler {
// Required methods
fn handle<'life0, 'async_trait>(
&'life0 self,
params: BlockContext,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn step(&self) -> u64;
fn network(&self) -> String;
fn rpc_url(&self) -> String;
fn start_block(&self) -> u64;
fn execution_mode(&self) -> ExecutionMode;
}