Module pallet_inv4::origin
source · Expand description
Custom Multisig Origin (INV4Origin
).
§Overview
This module introduces a custom origin INV4Origin
, enabling self-management for cores and
includes the ensure_multisig
function to guarantee calls genuinely come from the multisig account.
This is an efficient approach considering that converting from CoreId to AccountId is a one-way operation,
so the origin brings the CoreId to dispatchable calls.
Converting to a RawOrigin::Signed
origin for other calls is handled in the runtime.
Structs§
- Internal origin for identifying the multisig CoreId.
Enums§
- Origin representing a core by its id.
Functions§
- Ensures the passed origin is a multisig, returning
MultisigInternalOrigin
.