MultisigStorageStatus constructor

const MultisigStorageStatus({
  1. required int threshold,
  2. required bool isComplete,
  3. required bool isWaitingForFinalApproval,
  4. required BigInt deposit,
  5. required TimePoint when,
  6. required Uint8List depositor,
  7. required List<Uint8List> approvals,
  8. bool? hasApproved,
  9. bool? canApprove,
  10. bool? canCancel,
})

Creates a MultisigStorageStatus instance.

Parameters:

  • threshold: The approval threshold
  • isComplete: Whether the transaction is complete
  • isWaitingForFinalApproval: Whether waiting for final approval
  • deposit: The storage deposit amount
  • when: The transaction initiation timepoint
  • depositor: The depositor's public key
  • approvals: List of approver public keys
  • hasApproved: Optional flag for signer's approval status
  • canApprove: Optional flag for signer's approval permission
  • canCancel: Optional flag for signer's cancellation permission

Implementation

const MultisigStorageStatus({
  required this.threshold,
  required this.isComplete,
  required this.isWaitingForFinalApproval,
  required this.deposit,
  required this.when,
  required this.depositor,
  required this.approvals,
  this.hasApproved,
  this.canApprove,
  this.canCancel,
});