"use strict";
// Copyright 2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.SlotCommitment = void 0;
/**
 * Contains a summary of a slot.
 * It is linked to the commitment of the previous slot, which forms a commitment chain.
 */
class SlotCommitment {
    constructor(protocolVersion, slot, previousCommitmentId, rootsId, cumulativeWeight, referenceManaCost) {
        this.protocolVersion = protocolVersion;
        this.slot = slot;
        this.previousCommitmentId = previousCommitmentId;
        this.rootsId = rootsId;
        this.cumulativeWeight = cumulativeWeight;
        this.referenceManaCost = referenceManaCost;
    }
}
exports.SlotCommitment = SlotCommitment;
//# sourceMappingURL=commitment.js.map