24 releases (major breaking)

new 20.0.0 Mar 26, 2023
19.0.0 Mar 5, 2023
18.0.0 Feb 26, 2023
17.0.0 Feb 19, 2023
2.0.0-rc5 Jul 24, 2020

#843 in Magic Beans

Download history 320/week @ 2022-12-09 236/week @ 2022-12-16 108/week @ 2022-12-23 39/week @ 2022-12-30 150/week @ 2023-01-06 169/week @ 2023-01-13 360/week @ 2023-01-20 167/week @ 2023-01-27 183/week @ 2023-02-03 71/week @ 2023-02-10 237/week @ 2023-02-17 93/week @ 2023-02-24 149/week @ 2023-03-03 119/week @ 2023-03-10 135/week @ 2023-03-17 123/week @ 2023-03-24

551 downloads per month
Used in pallet-logion-vault

Apache-2.0

2MB
37K SLoC

Multisig Module

A module for doing multisig dispatch.

Overview

This module contains functionality for multi-signature dispatch, a (potentially) stateful operation, allowing multiple signed origins (accounts) to coordinate and dispatch a call from a well-known origin, derivable deterministically from the set of account IDs and the threshold number of accounts from the set that must approve it. In the case that the threshold is just one then this is a stateless operation. This is useful for multisig wallets where cryptographic threshold signatures are not available or desired.

Interface

Dispatchable Functions

  • as_multi - Approve and if possible dispatch a call from a composite origin formed from a number of signed origins.
  • approve_as_multi - Approve a call from a composite origin.
  • cancel_as_multi - Cancel a call from a composite origin.

License: Apache-2.0

Dependencies

~8–44MB
~754K SLoC