nostr_types/types/event.rs
1use crate::versioned::event3::{EventV3, PreEventV3, RumorV3};
2use crate::versioned::zap_data::ZapDataV2;
3
4/// The main event type
5pub type Event = EventV3;
6
7/// Data used to construct an event
8pub type PreEvent = PreEventV3;
9
10/// A Rumor is an Event without a signature
11pub type Rumor = RumorV3;
12
13/// Data about a Zap
14pub type ZapData = ZapDataV2;