loom_execution_multicaller::multicaller_encoder

Trait MulticallerEncoder

Source
pub trait MulticallerEncoder {
    // Required methods
    fn encode_calls(&self, calls: MulticallerCalls) -> Result<(Address, Bytes)>;
    fn add_internal_calls(
        &self,
        opcodes: MulticallerCalls,
        inside_opcodes: MulticallerCalls,
    ) -> Result<MulticallerCalls>;
    fn make_calls(&self, swap: &Swap) -> Result<MulticallerCalls>;
}

Required Methods§

Source

fn encode_calls(&self, calls: MulticallerCalls) -> Result<(Address, Bytes)>

Source

fn add_internal_calls( &self, opcodes: MulticallerCalls, inside_opcodes: MulticallerCalls, ) -> Result<MulticallerCalls>

Source

fn make_calls(&self, swap: &Swap) -> Result<MulticallerCalls>

Implementors§