Multisig class

Constructors

Multisig()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

approveAsMulti({required MultisigResponse multisigResponse, required Provider provider, required KeyPair signer, Duration storageKeyDelay = const Duration(seconds: 20), int tip = 0, int eraPeriod = 64}) Future<bool>
ApproveAsMulti
approveAsMultiMethod({required ChainInfo chainInfo, required List<Uint8List> otherSignatories, required int threshold, required Uint8List callHash, required Weight maxWeight, required MultisigStorage? multiSigStorage}) Uint8List
Creates the approval method call for the multisig transaction.
asMulti({required MultisigResponse multisigResponse, required Provider provider, required KeyPair signer, Duration storageKeyDelay = const Duration(seconds: 25), int tip = 0, int eraPeriod = 64}) Future<bool>
AsMulti
asMultiMethod({required ChainInfo chainInfo, required List<Uint8List> otherSignatories, required int threshold, required Uint8List callData, required Weight maxWeight, required MultisigStorage multiSigStorage}) Uint8List
Creates the asMulti approval method call for the multisig transaction.
cancelAsMulti({required MultisigResponse multisigResponse, required Provider provider, required KeyPair signer, Duration storageKeyDelay = const Duration(seconds: 20), int tip = 0, int eraPeriod = 64}) Future<bool>
CancelAsMulti (Only the owner can cancel the multisig call.)
cancelAsMultiMethod({required ChainInfo chainInfo, required List<Uint8List> otherSignatories, required int threshold, required Uint8List callHash, required MultisigStorage? multiSigStorage}) Uint8List
Creates the approval method call for the multisig transaction.
createAndFundMultisig({required KeyPair depositorKeyPair, required int threshold, required String recipientAddress, required BigInt amount, required Provider provider, required List<String> otherSignatoriesAddressList, int tip = 0, int eraPeriod = 64}) Future<MultisigResponse>
This creates the multisig account on the chain and funds it.
fetchMultisigStorage(Provider provider, Duration storageKeyDelay, Uint8List callHash, Uint8List multisigBytes) Future<MultisigStorage?>
Fetches the multisig storage from the chain.
fetchStorage(Provider provider, Uint8List storageKey) Future<Uint8List?>
Returns the multisig storage from the chain.
sign(KeyPair keyPair, Uint8List payload) Uint8List
Signs the payload with the keypair.
submitExtrinsic(Provider provider, Uint8List extrinsic) Future<Uint8List>
Submits the extrinsic to the chain and returns the hash of the transaction.