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

events

Fully qualified path: snforge_std::cheatcodes::events

Free functions

spy_eventsCreates EventSpy instance that spies on all events emitted after its creation.

Structs

EventRaw event format (as seen via the RPC-API), can be used for asserting the emitted events.
EventSpyAn event spy structure allowing to get events emitted only after its creation.
EventsA wrapper structure on an array of events to handle filtering smoothly.

Traits

EventSpyTrait
EventsFilterTrait
EventSpyAssertionsTraitAllows to assert the expected events emission (or lack thereof), in the scope of EventSpy structure.
IsEmitted