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

EventsFilterTrait

Fully qualified path: snforge_std::cheatcodes::events::EventsFilterTrait

pub trait EventsFilterTrait

Trait functions

emitted_by

Filter events emitted by a given ContractAddress.

Fully qualified path: snforge_std::cheatcodes::events::EventsFilterTrait::emitted_by

fn emitted_by(self: Events, contract_address: ContractAddress) -> Events