46 releases (major breaking)

new 37.0.0 Jul 18, 2024
36.0.0 Jul 12, 2024
35.0.0 Jun 24, 2024
34.0.0 May 23, 2024
2.0.0-rc5 Jul 24, 2020

#1276 in Magic Beans

Download history 1370/week @ 2024-03-27 1154/week @ 2024-04-03 1154/week @ 2024-04-10 914/week @ 2024-04-17 839/week @ 2024-04-24 1034/week @ 2024-05-01 679/week @ 2024-05-08 1112/week @ 2024-05-15 1159/week @ 2024-05-22 1449/week @ 2024-05-29 1346/week @ 2024-06-05 1179/week @ 2024-06-12 1456/week @ 2024-06-19 1494/week @ 2024-06-26 810/week @ 2024-07-03 1250/week @ 2024-07-10

5,195 downloads per month
Used in 30 crates (21 directly)

Apache-2.0

2MB
38K 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

~18–33MB
~553K SLoC