Multisig::Event

Variant 59 v393

pallet_multisig::pallet::Event

The `Event` enum of this pallet

About This Type

Event enum for the Event pallet.

Contains all possible events emitted by the Event pallet. Each variant represents a different event type with its own data fields.

Variants (5)

IndexNameFieldsDocs
0NewMultisig
approving: AccountId
multisig: AccountId
call_hash: [u8; 32]
A new multisig operation has begun.
1MultisigApproval
approving: AccountId
timepoint: Timepoint
multisig: AccountId
call_hash: [u8; 32]
A multisig operation has been approved by someone.
2MultisigExecuted
approving: AccountId
timepoint: Timepoint
multisig: AccountId
call_hash: [u8; 32]
result: Result
A multisig operation has been executed.
3MultisigCancelled
cancelling: AccountId
timepoint: Timepoint
multisig: AccountId
call_hash: [u8; 32]
A multisig operation has been cancelled.
4DepositPoked
call_hash: [u8; 32]
old_deposit: u64
new_deposit: u64
The deposit for a multisig operation has been updated/poked.

SCALE Encoding

Rule
1-byte variant index followed by variant-specific field data. 5 possible variants.
Size
variable (1+ bytes)

Examples

NewMultisig = NewMultisig(approving, multisig, call_hash)
0x00<field0><field1><field2>
00 Variant index 0 = NewMultisig
field 0 approving: AccountId
field 1 multisig: AccountId
field 2 call_hash: [u8; 32]
MultisigApproval = MultisigApproval(approving, timepoint, multisig, call_hash)
0x01<field0><field1><field2><field3>
01 Variant index 1 = MultisigApproval
field 0 approving: AccountId
field 1 timepoint: Timepoint
field 2 multisig: AccountId
field 3 call_hash: [u8; 32]
MultisigExecuted = MultisigExecuted(approving, timepoint, multisig, call_hash, result)
0x02<field0><field1><field2><field3><field4>
02 Variant index 2 = MultisigExecuted
field 0 approving: AccountId
field 1 timepoint: Timepoint
field 2 multisig: AccountId
field 3 call_hash: [u8; 32]
field 4 result: Result

Code Examples

import { TypeRegistry } from "@polkadot/types";

const registry = new TypeRegistry();

// Encode Multisig::Event — variant "NewMultisig"
const value = registry.createType("Multisig::Event", { NewMultisig: { approving: "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", multisig: "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY", call_hash: 0 } });
console.log("Hex:", value.toHex());

Type Parameters

T

Referenced By (23)

and 3 more...

Also See

Type Information

Type ID
59
Kind
Variant
Path
pallet_multisig::pallet::Event
Runtime
v393