Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IsEmitted

[source code]

Fully qualified path: snforge_std::cheatcodes::events::IsEmitted

pub trait IsEmitted<T, impl Event<T>: Event<T>+Drop<T>>

Trait functions

is_emitted

Fully qualified path: snforge_std::cheatcodes::events::IsEmitted::is_emitted

fn is_emitted(self: Events, expected_emitted_by: ContractAddress, expected_event: @T) -> bool