revm_handler_interface/
pre_execution.rs

1
2
3
4
5
6
7
8
9
10
pub trait PreExecutionHandler {
    type Context;
    type Error;

    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>;
}