1c0e57d984
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
39 lines
1.7 KiB
Markdown
39 lines
1.7 KiB
Markdown
# Utility Module
|
|
A stateless module with helpers for dispatch management which does no re-authentication.
|
|
|
|
- [`utility::Config`](https://docs.rs/pezpallet-utility/latest/pallet_utility/pallet/trait.Config.html)
|
|
- [`Call`](https://docs.rs/pezpallet-utility/latest/pallet_utility/pallet/enum.Call.html)
|
|
|
|
## Overview
|
|
|
|
This module contains two basic pieces of functionality:
|
|
- Batch dispatch: A stateless operation, allowing any origin to execute multiple calls in a
|
|
single dispatch. This can be useful to amalgamate proposals, combining `set_code` with
|
|
corresponding `set_storage`s, for efficient multiple payouts with just a single signature
|
|
verify, or in combination with one of the other two dispatch functionality.
|
|
- Pseudonymal dispatch: A stateless operation, allowing a signed origin to execute a call from
|
|
an alternative signed origin. Each account has 2 * 2**16 possible "pseudonyms" (alternative
|
|
account IDs) and these can be stacked. This can be useful as a key management tool, where you
|
|
need multiple distinct accounts (e.g. as controllers for many staking accounts), but where
|
|
it's perfectly fine to have each of them controlled by the same underlying keypair.
|
|
Derivative accounts are, for the purposes of proxy filtering considered exactly the same as
|
|
the origin and are thus hampered with the origin's filters.
|
|
|
|
Since proxy filters are respected in all dispatches of this module, it should never need to be
|
|
filtered by any proxy.
|
|
|
|
## Interface
|
|
|
|
### Dispatchable Functions
|
|
|
|
#### For batch dispatch
|
|
- `batch` - Dispatch multiple calls from the sender's origin.
|
|
|
|
#### For pseudonymal dispatch
|
|
- `as_derivative` - Dispatch a call from a derivative signed origin.
|
|
|
|
[`Call`]: ./enum.Call.html
|
|
[`Config`]: ./trait.Config.html
|
|
|
|
License: Apache-2.0
|