Proxy::Event
Variant 65 v393pallet_subtensor_proxy::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 (8)
| Index | Name | Fields | Docs |
|---|---|---|---|
| 0 | ProxyExecuted | result: Result | A proxy was executed correctly, with the given. |
| 1 | PureCreated | A pure account has been created by new proxy with given disambiguation index and proxy type. | |
| 2 | PureKilled | A pure proxy was killed by its spawner. | |
| 3 | Announced | An announcement was placed to make a call in the future. | |
| 4 | ProxyAdded | A proxy was added. | |
| 5 | ProxyRemoved | A proxy was removed. | |
| 6 | DepositPoked | A deposit stored for proxies or announcements was poked / updated. | |
| 7 | RealPaysFeeSet | The real-pays-fee setting was updated for a proxy relationship. |
SCALE Encoding
- Rule
- 1-byte variant index followed by variant-specific field data. 8 possible variants.
- Size
- variable (1+ bytes)
Examples
ProxyExecuted = ProxyExecuted(result)
0x00<field0>00 Variant index 0 = ProxyExecutedfield 0 result: ResultPureCreated = PureCreated(pure, who, proxy_type, disambiguation_index)
0x01<field0><field1><field2><field3>01 Variant index 1 = PureCreatedfield 0 pure: AccountIdfield 1 who: AccountIdfield 2 proxy_type: ProxyTypefield 3 disambiguation_index: u16PureKilled = PureKilled(pure, spawner, proxy_type, disambiguation_index)
0x02<field0><field1><field2><field3>02 Variant index 2 = PureKilledfield 0 pure: AccountIdfield 1 spawner: AccountIdfield 2 proxy_type: ProxyTypefield 3 disambiguation_index: u16Code Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode Proxy::Event — variant "ProxyExecuted"
const value = registry.createType("Proxy::Event", { ProxyExecuted: { result: 0 } });
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
- 65
- Kind
- Variant
- Path
- pallet_subtensor_proxy::pallet::Event
- Runtime
- v393