Class: MultisigVerifier
Extends
UniffiAbstractObject
Implements
Constructors
Constructor
new MultisigVerifier(): MultisigVerifier;
Returns
MultisigVerifier
Overrides
UniffiAbstractObject.constructor
Properties
[destructorGuardSymbol]
readonly [destructorGuardSymbol]: UniffiGcObject;
[pointerLiteralSymbol]
readonly [pointerLiteralSymbol]: bigint;
[uniffiTypeNameSymbol]
readonly [uniffiTypeNameSymbol]: "MultisigVerifier" = "MultisigVerifier";
Methods
toDebugString()
toDebugString(): string;
Returns
string
toString()
toString(): string;
Returns a string representation of an object.
Returns
string
uniffiDestroy()
uniffiDestroy(): void;
Explicitly tell Rust to destroy the native peer that backs this object.
Once this method has been called, any following method calls will throw an error.
Can be called more than once.
Returns
void
Overrides
UniffiAbstractObject.uniffiDestroy
uniffiUse()
uniffiUse<T>(block): T;
A convenience method to use this object, then destroy it after its use.
Type Parameters
T
T
Parameters
block
(obj) => T
Returns
T
Inherited from
UniffiAbstractObject.uniffiUse
verify()
verify(message, signature): void;
Parameters
message
ArrayBuffer
signature
MultisigAggregatedSignatureLike
Returns
void
Implementation of
withAcceptPasskeyInMultisig()
withAcceptPasskeyInMultisig(accept): MultisigVerifierLike;
Accept passkey members inside a multisig. Disabled by default.
Parameters
accept
boolean
Returns
Implementation of
MultisigVerifierLike.withAcceptPasskeyInMultisig
withRejectPartiallySignedMixedEd25519()
withRejectPartiallySignedMixedEd25519(reject): MultisigVerifierLike;
Reject partially signed multisigs whose committee mixes Ed25519 with other key schemes. Such
a multisig is still accepted when every member has signed. MultisigAggregator::finish
applies the same rule through its verifier.
Enabled by default. The network accepted such multisigs before protocol version 39 (node release 1.35), so disabling it accepts them again, but a partially signed one can then not be told apart from one forged through a committee whose address collides with the signer's.
Parameters
reject
boolean
Returns
Implementation of
MultisigVerifierLike.withRejectPartiallySignedMixedEd25519
instanceOf()
static instanceOf(obj_): obj_ is MultisigVerifier;
Parameters
obj_
any
Returns
obj_ is MultisigVerifier