requiresDrepSignature method
Implementation
bool requiresDrepSignature(Uint8List walletDRepCredentials) =>
this?.any(
(cert) => switch (cert) {
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_AuthorizeCommitteeHot() => false,
Certificate_ResignCommitteeCold() => false,
Certificate_RegisterDRep() => const ListEquality().equals(
cert.dRepCredential.vKeyHash,
walletDRepCredentials,
),
Certificate_UnregisterDRep() => const ListEquality().equals(
cert.dRepCredential.vKeyHash,
walletDRepCredentials,
),
Certificate_UpdateDRep() => const ListEquality().equals(
cert.dRepCredential.vKeyHash,
walletDRepCredentials,
),
},
) ??
false;