mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
a30092ab42
* Add markdown linting - add linter default rules - adapt rules to current code - fix the code for linting to pass - add CI check fix #1243 * Fix markdown for Substrate * Fix tooling install * Fix workflow * Add documentation * Remove trailing spaces * Update .github/.markdownlint.yaml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix mangled markdown/lists * Fix captalization issues on known words
30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
# Multisig Module
|
|
A module for doing multisig dispatch.
|
|
|
|
- [`Config`](https://docs.rs/pallet-multisig/latest/pallet_multisig/pallet/trait.Config.html)
|
|
- [`Call`](https://docs.rs/pallet-multisig/latest/pallet_multisig/pallet/enum.Call.html)
|
|
|
|
## 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.
|
|
|
|
[`Call`]: ./enum.Call.html
|
|
[`Config`]: ./trait.Config.html
|
|
|
|
License: Apache-2.0
|