revm_handler_interface::pre_execution

Trait PreExecutionHandler

Source
pub trait PreExecutionHandler {
    type Context;
    type Error;

    // Required methods
    fn load_accounts(
        &self,
        context: &mut Self::Context,
    ) -> Result<(), Self::Error>;
    fn apply_eip7702_auth_list(
        &self,
        context: &mut Self::Context,
    ) -> Result<u64, Self::Error>;
    fn deduct_caller(
        &self,
        context: &mut Self::Context,
    ) -> Result<(), Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn load_accounts(&self, context: &mut Self::Context) -> Result<(), Self::Error>

Source

fn apply_eip7702_auth_list( &self, context: &mut Self::Context, ) -> Result<u64, Self::Error>

Source

fn deduct_caller(&self, context: &mut Self::Context) -> Result<(), Self::Error>

Implementors§