ConsensusCommitPrologueV1Interface
type ConsensusCommitPrologueV1Interface
V1 of the consensus commit prologue system transaction
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type ConsensusCommitPrologueV1Interface interface {
// Unix timestamp from consensus
CommitTimestampMs() uint64
// Digest of consensus output
ConsensusCommitDigest() *ConsensusCommitDigest
// Stores consensus handler determined shared object version assignments.
ConsensusDeterminedVersionAssignments() *ConsensusDeterminedVersionAssignments
// Epoch of the commit prologue transaction
Epoch() uint64
// Consensus round of the commit
Round() uint64
// The sub DAG index of the consensus commit. This field will be populated if there are
// multiple consensus commits per round.
SubDagIndex() *uint64
// Convert this type to BCS encoded bytes.
ToBcs() ([]byte, error)
// Render this type as human-readable text.
//
// Some types also print this through the binding's native string conversion; this
// method is the spelling every object type has.
//
// The layout is meant for reading and can change between releases. Use the JSON or
// BCS conversions for output that gets parsed.
ToDisplayString() string
// Convert this type to a JSON encoded string.
ToJson() (string, error)
}