requiresCommitteeColdSignature method

bool requiresCommitteeColdSignature(
  1. Uint8List walletCommitteeColdCredentials
)

Implementation

bool requiresCommitteeColdSignature(Uint8List walletCommitteeColdCredentials) =>
    this?.any(
      (cert) => switch (cert) {
        Certificate_AuthorizeCommitteeHot() =>
          cert.committeeColdCredential.vKeyHash.equalsDeep(walletCommitteeColdCredentials),
        Certificate_ResignCommitteeCold() =>
          cert.committeeColdCredential.vKeyHash.equalsDeep(walletCommitteeColdCredentials),
        Certificate_StakeRegistrationLegacy() => false,
        Certificate_StakeDeRegistrationLegacy() => false,
        Certificate_StakeDelegation() => false,
        Certificate_PoolRegistration() => false,
        Certificate_PoolRetirement() => false,
        Certificate_StakeRegistration() => false,
        Certificate_StakeDeRegistration() => false,
        Certificate_VoteDelegation() => false,
        Certificate_StakeVoteDelegation() => false,
        Certificate_StakeRegistrationDelegation() => false,
        Certificate_VoteRegistrationDelegation() => false,
        Certificate_StakeVoteRegistrationDelegation() => false,
        Certificate_RegisterDRep() => false,
        Certificate_UnregisterDRep() => false,
        Certificate_UpdateDRep() => false,
      },
    ) ??
    false;