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

EventSpy

An event spy structure allowing to get events emitted only after its creation.

Fully qualified path: snforge_std::cheatcodes::events::EventSpy

[derive(Drop, Serde)]
pub struct EventSpy {
    event_offset: u32,
}