Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

L1HandlerTrait

Fully qualified path: snforge_std::cheatcodes::l1_handler::L1HandlerTrait

pub trait L1HandlerTrait

Trait functions

new

Fully qualified path: snforge_std::cheatcodes::l1_handler::L1HandlerTrait::new

fn new(target: ContractAddress, selector: felt252) -> L1Handler

execute

Fully qualified path: snforge_std::cheatcodes::l1_handler::L1HandlerTrait::execute

fn execute(
    self: L1Handler, from_address: felt252, payload: Span<felt252>,
) -> Result<(), Array<felt252>>