pub trait EventMetadata {
    fn standard(&self) -> &'static str;
    fn version(&self) -> &'static str;
    fn event(&self) -> &'static str;
}
Expand description

Metadata for NEP-297-compliant events & variants

Required Methods

The name of the event standard, e.g. “nep171”

Version of the standard, e.g. “1.0.0”

What type of event within the event standard, e.g. “nft_mint”

Implementors