Skip to main content

Type Alias: EndOfEpochData

type EndOfEpochData = {
epochCommitments: CheckpointCommitmentLike[];
epochSupplyChange: bigint;
nextEpochCommittee: ValidatorCommitteeMember[];
nextEpochProtocolVersion: bigint;
};

Data which, when included in a [CheckpointSummary], signals the end of an Epoch.

BCS

The BCS serialized form for this type is defined by the following ABNF:

end-of-epoch-data = (vector validator-committee-member) ; next_epoch_committee
u64 ; next_epoch_protocol_version
(vector checkpoint-commitment) ; epoch_commitments
i64 ; epoch_supply_change

Properties

epochCommitments

epochCommitments: CheckpointCommitmentLike[];

epochSupplyChange

epochSupplyChange: bigint;

nextEpochCommittee

nextEpochCommittee: ValidatorCommitteeMember[];

nextEpochProtocolVersion

nextEpochProtocolVersion: bigint;