41 releases (major breaking)

32.0.0 Apr 8, 2024
31.0.0 Mar 18, 2024
30.0.0 Feb 26, 2024
29.0.0 Feb 13, 2024
2.0.0-rc5 Jul 24, 2020

#1166 in Magic Beans

Download history 116/week @ 2023-12-22 560/week @ 2023-12-29 913/week @ 2024-01-05 540/week @ 2024-01-12 558/week @ 2024-01-19 485/week @ 2024-01-26 582/week @ 2024-02-02 1035/week @ 2024-02-09 1385/week @ 2024-02-16 1432/week @ 2024-02-23 949/week @ 2024-03-01 582/week @ 2024-03-08 1097/week @ 2024-03-15 1337/week @ 2024-03-22 1331/week @ 2024-03-29 1112/week @ 2024-04-05

4,959 downloads per month
Used in 30 crates (21 directly)

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

~18–32MB
~523K SLoC