AdminUtils::Event
Variant 70 v393pallet_admin_utils::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 (3)
| Index | Name | Fields | Docs |
|---|---|---|---|
| 0 | PrecompileUpdated | precompile_id: PrecompileEnum enabled: bool | Event emitted when a precompile operation is updated. |
| 1 | Yuma3EnableToggled | Event emitted when the Yuma3 enable is toggled. | |
| 2 | BondsResetToggled | Event emitted when Bonds Reset is toggled. |
SCALE Encoding
- Rule
- 1-byte variant index followed by variant-specific field data. 3 possible variants.
- Size
- variable (1+ bytes)
Examples
PrecompileUpdated = PrecompileUpdated(precompile_id, enabled)
0x00<field0><field1>00 Variant index 0 = PrecompileUpdatedfield 0 precompile_id: PrecompileEnumfield 1 enabled: boolYuma3EnableToggled = Yuma3EnableToggled(netuid, enabled)
0x01<field0><field1>01 Variant index 1 = Yuma3EnableToggledfield 0 netuid: u16field 1 enabled: boolBondsResetToggled = BondsResetToggled(netuid, enabled)
0x02<field0><field1>02 Variant index 2 = BondsResetToggledfield 0 netuid: u16field 1 enabled: boolCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode AdminUtils::Event — variant "PrecompileUpdated"
const value = registry.createType("AdminUtils::Event", { PrecompileUpdated: { precompile_id: 0, enabled: true } });
console.log("Hex:", value.toHex());Type Parameters
T
Referenced By (23)
#21 RuntimeEvent via System#21 RuntimeEvent via Grandpa#21 RuntimeEvent via Balances#21 RuntimeEvent via TransactionPayment#21 RuntimeEvent via SubtensorModule#21 RuntimeEvent via Utility#21 RuntimeEvent via Sudo#21 RuntimeEvent via Multisig#21 RuntimeEvent via Preimage#21 RuntimeEvent via Scheduler#21 RuntimeEvent via Proxy#21 RuntimeEvent via Registry#21 RuntimeEvent via Commitments#21 RuntimeEvent via AdminUtils#21 RuntimeEvent via SafeMode#21 RuntimeEvent via Ethereum#21 RuntimeEvent via EVM#21 RuntimeEvent via BaseFee#21 RuntimeEvent via Drand#21 RuntimeEvent via Crowdloan
and 3 more...
Also See
Type Information
- Type ID
- 70
- Kind
- Variant
- Path
- pallet_admin_utils::pallet::Event
- Runtime
- v393