MevShield::Event

Variant 100 v393

pallet_shield::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 (1)

IndexNameFieldsDocs
0EncryptedSubmitted
id: H256
Encrypted wrapper accepted.

SCALE Encoding

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

Examples

EncryptedSubmitted = EncryptedSubmitted(id, who)
0x00<field0><field1>
00 Variant index 0 = EncryptedSubmitted
field 0 id: H256
field 1 who: AccountId

Code Examples

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

const registry = new TypeRegistry();

// Encode MevShield::Event — variant "EncryptedSubmitted"
const value = registry.createType("MevShield::Event", { EncryptedSubmitted: { id: 0, who: "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" } });
console.log("Hex:", value.toHex());

Type Parameters

T

Referenced By (23)

and 3 more...

Also See

Type Information

Type ID
100
Kind
Variant
Path
pallet_shield::pallet::Event
Runtime
v393