pub struct Event {
pub token: Token,
pub stage: Stage,
pub actor: ActorClass,
pub at: Timestamp,
pub seq: Seq,
pub variant: Option<u8>,
pub regions: Option<u8>,
pub entry: Option<u32>,
}Expand description
One thing that happened to a token. No payload field exists — the type system, not policy, keeps recipient data out of analytics (I-1).
Fields§
§token: TokenThe token the event applies to.
stage: StageThe funnel stage.
actor: ActorClassCoarse actor dimensions.
at: TimestampWhen it happened.
seq: SeqPer-token monotonic sequence (store-assigned).
variant: Option<u8>Which manifest variant served a resolve, if this event is one —
manifest-referencing, so I-1-compatible (doc 02).
regions: Option<u8>Which declared contract regions this access touched, as a bitmask
indexing the manifest’s crate::Contract (doc 19 §4.2) —
manifest-referencing exactly like variant, so I-1-compatible:
positions into a signed declaration, never bytes. Absent on
contract-free tokens and on pre-contract logs.
entry: Option<u32>For a read of one file inside an indexed tree node: the ordinal of
that file in the node’s signed crate::TreeNode directory index
(DirIndex.files() order). Manifest-referencing exactly like
Self::regions — a position into a signed, immutable declaration,
never bytes — so it stays I-1-compatible while giving per-file coverage.
Absent on non-tree traffic and on pre-tree logs.