50 releases (major breaking)

new 40.1.0 Apr 3, 2025
39.1.0 Mar 27, 2025
39.0.0 Jan 14, 2025
38.0.0 Sep 26, 2024
2.0.0-rc5 Jul 24, 2020

#676 in Magic Beans

Download history 22388/week @ 2024-12-17 7315/week @ 2024-12-24 14238/week @ 2024-12-31 23679/week @ 2025-01-07 36327/week @ 2025-01-14 30376/week @ 2025-01-21 26935/week @ 2025-01-28 30444/week @ 2025-02-04 37157/week @ 2025-02-11 32566/week @ 2025-02-18 7153/week @ 2025-02-25 4514/week @ 2025-03-04 6166/week @ 2025-03-11 4082/week @ 2025-03-18 4644/week @ 2025-03-25 3644/week @ 2025-04-01

19,425 downloads per month
Used in 48 crates (21 directly)

Apache-2.0

125KB
2K 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

~23–39MB
~652K SLoC