Module events

Source

Enums§

EventData
Generated auxiliary data for the #[derive(starknet::Event)] attribute.

Constants§

EMPTY_EVENT_CODE
The code for an empty event.

Functions§

get_starknet_event_variants
Checks whether the given item is a starknet event, and if so - makes sure it’s valid and returns its variants. Returns None if it’s not a starknet event.