pub struct IcpEventInit {
pub v: VersionString,
pub d: Said,
pub i: Prefix,
pub s: KeriSequence,
pub kt: Threshold,
pub k: Vec<CesrKey>,
pub nt: Threshold,
pub n: Vec<Said>,
pub bt: Threshold,
pub b: Vec<Prefix>,
pub c: Vec<ConfigTrait>,
pub a: Vec<Seal>,
}Expand description
Parameter struct for IcpEvent::new. Mirrors the existing
field set 1-for-1 so call-site migration is a mechanical prefix/
suffix wrap. Future wire-format additions land on IcpEvent via
a with_* method, not by widening this Init struct — that’s
what makes the pattern future-proof.
Fields§
§v: VersionStringVersion string (KERI10JSON…); a placeholder until finalized.
d: SaidSelf-addressing identifier (the event SAID); blank until finalized.
i: PrefixIdentifier prefix; for inception this equals the SAID (self-addressing).
s: KeriSequenceSequence number (0 for inception).
kt: ThresholdSigning threshold over the current keys k.
k: Vec<CesrKey>Current signing keys (CESR-encoded verkeys).
nt: ThresholdNext-key threshold over the pre-rotation commitments n.
n: Vec<Said>Pre-rotation commitments (digests of the next keys).
bt: ThresholdBacker (witness) threshold.
b: Vec<Prefix>Backer (witness) prefixes.
c: Vec<ConfigTrait>Configuration traits (e.g. establishment-only, do-not-delegate).
a: Vec<Seal>Anchored seals.