@dedot/chaintypes 0.0.1-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/aleph/consts.d.ts +533 -0
- package/aleph/consts.js +2 -0
- package/aleph/errors.d.ts +822 -0
- package/aleph/errors.js +2 -0
- package/aleph/events.d.ts +997 -0
- package/aleph/events.js +2 -0
- package/aleph/index.d.ts +19 -0
- package/aleph/index.js +3 -0
- package/aleph/query.d.ts +1271 -0
- package/aleph/query.js +2 -0
- package/aleph/rpc.d.ts +575 -0
- package/aleph/rpc.js +2 -0
- package/aleph/runtime.d.ts +410 -0
- package/aleph/runtime.js +2 -0
- package/aleph/tx.d.ts +2206 -0
- package/aleph/tx.js +2 -0
- package/aleph/types.d.ts +5560 -0
- package/aleph/types.js +2 -0
- package/astar/consts.d.ts +679 -0
- package/astar/consts.js +2 -0
- package/astar/errors.d.ts +1317 -0
- package/astar/errors.js +2 -0
- package/astar/events.d.ts +1707 -0
- package/astar/events.js +2 -0
- package/astar/index.d.ts +19 -0
- package/astar/index.js +3 -0
- package/astar/query.d.ts +1474 -0
- package/astar/query.js +2 -0
- package/astar/rpc.d.ts +775 -0
- package/astar/rpc.js +2 -0
- package/astar/runtime.d.ts +262 -0
- package/astar/runtime.js +2 -0
- package/astar/tx.d.ts +4810 -0
- package/astar/tx.js +2 -0
- package/astar/types.d.ts +12338 -0
- package/astar/types.js +2 -0
- package/cjs/aleph/consts.js +3 -0
- package/cjs/aleph/errors.js +3 -0
- package/cjs/aleph/events.js +3 -0
- package/cjs/aleph/index.js +19 -0
- package/cjs/aleph/query.js +3 -0
- package/cjs/aleph/rpc.js +3 -0
- package/cjs/aleph/runtime.js +3 -0
- package/cjs/aleph/tx.js +3 -0
- package/cjs/aleph/types.js +3 -0
- package/cjs/astar/consts.js +3 -0
- package/cjs/astar/errors.js +3 -0
- package/cjs/astar/events.js +3 -0
- package/cjs/astar/index.js +19 -0
- package/cjs/astar/query.js +3 -0
- package/cjs/astar/rpc.js +3 -0
- package/cjs/astar/runtime.js +3 -0
- package/cjs/astar/tx.js +3 -0
- package/cjs/astar/types.js +3 -0
- package/cjs/index.js +2 -0
- package/cjs/kusama/consts.js +3 -0
- package/cjs/kusama/errors.js +3 -0
- package/cjs/kusama/events.js +3 -0
- package/cjs/kusama/index.js +19 -0
- package/cjs/kusama/query.js +3 -0
- package/cjs/kusama/rpc.js +3 -0
- package/cjs/kusama/runtime.js +3 -0
- package/cjs/kusama/tx.js +3 -0
- package/cjs/kusama/types.js +3 -0
- package/cjs/kusamaAssetHub/consts.js +3 -0
- package/cjs/kusamaAssetHub/errors.js +3 -0
- package/cjs/kusamaAssetHub/events.js +3 -0
- package/cjs/kusamaAssetHub/index.js +19 -0
- package/cjs/kusamaAssetHub/query.js +3 -0
- package/cjs/kusamaAssetHub/rpc.js +3 -0
- package/cjs/kusamaAssetHub/runtime.js +3 -0
- package/cjs/kusamaAssetHub/tx.js +3 -0
- package/cjs/kusamaAssetHub/types.js +3 -0
- package/cjs/moonbeam/consts.js +3 -0
- package/cjs/moonbeam/errors.js +3 -0
- package/cjs/moonbeam/events.js +3 -0
- package/cjs/moonbeam/index.js +19 -0
- package/cjs/moonbeam/query.js +3 -0
- package/cjs/moonbeam/rpc.js +3 -0
- package/cjs/moonbeam/runtime.js +3 -0
- package/cjs/moonbeam/tx.js +3 -0
- package/cjs/moonbeam/types.js +3 -0
- package/cjs/package.json +1 -0
- package/cjs/packageInfo.js +5 -0
- package/cjs/polkadot/consts.js +3 -0
- package/cjs/polkadot/errors.js +3 -0
- package/cjs/polkadot/events.js +3 -0
- package/cjs/polkadot/index.js +19 -0
- package/cjs/polkadot/query.js +3 -0
- package/cjs/polkadot/rpc.js +3 -0
- package/cjs/polkadot/runtime.js +3 -0
- package/cjs/polkadot/tx.js +3 -0
- package/cjs/polkadot/types.js +3 -0
- package/cjs/polkadotAssetHub/consts.js +3 -0
- package/cjs/polkadotAssetHub/errors.js +3 -0
- package/cjs/polkadotAssetHub/events.js +3 -0
- package/cjs/polkadotAssetHub/index.js +19 -0
- package/cjs/polkadotAssetHub/query.js +3 -0
- package/cjs/polkadotAssetHub/rpc.js +3 -0
- package/cjs/polkadotAssetHub/runtime.js +3 -0
- package/cjs/polkadotAssetHub/tx.js +3 -0
- package/cjs/polkadotAssetHub/types.js +3 -0
- package/cjs/rococoAssetHub/consts.js +3 -0
- package/cjs/rococoAssetHub/errors.js +3 -0
- package/cjs/rococoAssetHub/events.js +3 -0
- package/cjs/rococoAssetHub/index.js +19 -0
- package/cjs/rococoAssetHub/query.js +3 -0
- package/cjs/rococoAssetHub/rpc.js +3 -0
- package/cjs/rococoAssetHub/runtime.js +3 -0
- package/cjs/rococoAssetHub/tx.js +3 -0
- package/cjs/rococoAssetHub/types.js +3 -0
- package/cjs/substrate/consts.js +3 -0
- package/cjs/substrate/errors.js +3 -0
- package/cjs/substrate/events.js +3 -0
- package/cjs/substrate/index.js +19 -0
- package/cjs/substrate/query.js +3 -0
- package/cjs/substrate/rpc.js +3 -0
- package/cjs/substrate/runtime.js +3 -0
- package/cjs/substrate/tx.js +3 -0
- package/cjs/substrate/types.js +3 -0
- package/cjs/westendAssetHub/consts.js +3 -0
- package/cjs/westendAssetHub/errors.js +3 -0
- package/cjs/westendAssetHub/events.js +3 -0
- package/cjs/westendAssetHub/index.js +19 -0
- package/cjs/westendAssetHub/query.js +3 -0
- package/cjs/westendAssetHub/rpc.js +3 -0
- package/cjs/westendAssetHub/runtime.js +3 -0
- package/cjs/westendAssetHub/tx.js +3 -0
- package/cjs/westendAssetHub/types.js +3 -0
- package/index.d.ts +5 -0
- package/index.js +1 -0
- package/kusama/consts.d.ts +1427 -0
- package/kusama/consts.js +2 -0
- package/kusama/errors.d.ts +2494 -0
- package/kusama/errors.js +2 -0
- package/kusama/events.d.ts +2960 -0
- package/kusama/events.js +2 -0
- package/kusama/index.d.ts +19 -0
- package/kusama/index.js +3 -0
- package/kusama/query.d.ts +3251 -0
- package/kusama/query.js +2 -0
- package/kusama/rpc.d.ts +726 -0
- package/kusama/rpc.js +2 -0
- package/kusama/runtime.d.ts +844 -0
- package/kusama/runtime.js +2 -0
- package/kusama/tx.d.ts +6014 -0
- package/kusama/tx.js +2 -0
- package/kusama/types.d.ts +15903 -0
- package/kusama/types.js +2 -0
- package/kusamaAssetHub/consts.d.ts +632 -0
- package/kusamaAssetHub/consts.js +2 -0
- package/kusamaAssetHub/errors.d.ts +1164 -0
- package/kusamaAssetHub/errors.js +2 -0
- package/kusamaAssetHub/events.d.ts +2162 -0
- package/kusamaAssetHub/events.js +2 -0
- package/kusamaAssetHub/index.d.ts +19 -0
- package/kusamaAssetHub/index.js +3 -0
- package/kusamaAssetHub/query.d.ts +1301 -0
- package/kusamaAssetHub/query.js +2 -0
- package/kusamaAssetHub/rpc.d.ts +590 -0
- package/kusamaAssetHub/rpc.js +2 -0
- package/kusamaAssetHub/runtime.d.ts +402 -0
- package/kusamaAssetHub/runtime.js +2 -0
- package/kusamaAssetHub/tx.d.ts +4217 -0
- package/kusamaAssetHub/tx.js +2 -0
- package/kusamaAssetHub/types.d.ts +10418 -0
- package/kusamaAssetHub/types.js +2 -0
- package/moonbeam/consts.d.ts +961 -0
- package/moonbeam/consts.js +2 -0
- package/moonbeam/errors.d.ts +1797 -0
- package/moonbeam/errors.js +2 -0
- package/moonbeam/events.d.ts +2840 -0
- package/moonbeam/events.js +2 -0
- package/moonbeam/index.d.ts +19 -0
- package/moonbeam/index.js +3 -0
- package/moonbeam/query.d.ts +2027 -0
- package/moonbeam/query.js +2 -0
- package/moonbeam/rpc.d.ts +809 -0
- package/moonbeam/rpc.js +2 -0
- package/moonbeam/runtime.d.ts +506 -0
- package/moonbeam/runtime.js +2 -0
- package/moonbeam/tx.d.ts +5205 -0
- package/moonbeam/tx.js +2 -0
- package/moonbeam/types.d.ts +12349 -0
- package/moonbeam/types.js +2 -0
- package/package.json +33 -0
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +3 -0
- package/polkadot/consts.d.ts +1160 -0
- package/polkadot/consts.js +2 -0
- package/polkadot/errors.d.ts +2020 -0
- package/polkadot/errors.js +2 -0
- package/polkadot/events.d.ts +2235 -0
- package/polkadot/events.js +2 -0
- package/polkadot/index.d.ts +19 -0
- package/polkadot/index.js +3 -0
- package/polkadot/query.d.ts +2811 -0
- package/polkadot/query.js +2 -0
- package/polkadot/rpc.d.ts +726 -0
- package/polkadot/rpc.js +2 -0
- package/polkadot/runtime.d.ts +844 -0
- package/polkadot/runtime.js +2 -0
- package/polkadot/tx.d.ts +5009 -0
- package/polkadot/tx.js +2 -0
- package/polkadot/types.d.ts +13729 -0
- package/polkadot/types.js +2 -0
- package/polkadotAssetHub/consts.d.ts +524 -0
- package/polkadotAssetHub/consts.js +2 -0
- package/polkadotAssetHub/errors.d.ts +925 -0
- package/polkadotAssetHub/errors.js +2 -0
- package/polkadotAssetHub/events.d.ts +1787 -0
- package/polkadotAssetHub/events.js +2 -0
- package/polkadotAssetHub/index.d.ts +19 -0
- package/polkadotAssetHub/index.js +3 -0
- package/polkadotAssetHub/query.d.ts +1222 -0
- package/polkadotAssetHub/query.js +2 -0
- package/polkadotAssetHub/rpc.d.ts +590 -0
- package/polkadotAssetHub/rpc.js +2 -0
- package/polkadotAssetHub/runtime.d.ts +359 -0
- package/polkadotAssetHub/runtime.js +2 -0
- package/polkadotAssetHub/tx.d.ts +3492 -0
- package/polkadotAssetHub/tx.js +2 -0
- package/polkadotAssetHub/types.d.ts +9164 -0
- package/polkadotAssetHub/types.js +2 -0
- package/rococoAssetHub/consts.d.ts +658 -0
- package/rococoAssetHub/consts.js +2 -0
- package/rococoAssetHub/errors.d.ts +1231 -0
- package/rococoAssetHub/errors.js +2 -0
- package/rococoAssetHub/events.d.ts +2172 -0
- package/rococoAssetHub/events.js +2 -0
- package/rococoAssetHub/index.d.ts +19 -0
- package/rococoAssetHub/index.js +3 -0
- package/rococoAssetHub/query.d.ts +1269 -0
- package/rococoAssetHub/query.js +2 -0
- package/rococoAssetHub/rpc.d.ts +590 -0
- package/rococoAssetHub/rpc.js +2 -0
- package/rococoAssetHub/runtime.d.ts +428 -0
- package/rococoAssetHub/runtime.js +2 -0
- package/rococoAssetHub/tx.d.ts +4307 -0
- package/rococoAssetHub/tx.js +2 -0
- package/rococoAssetHub/types.d.ts +11066 -0
- package/rococoAssetHub/types.js +2 -0
- package/substrate/consts.d.ts +1971 -0
- package/substrate/consts.js +2 -0
- package/substrate/errors.d.ts +3337 -0
- package/substrate/errors.js +2 -0
- package/substrate/events.d.ts +4777 -0
- package/substrate/events.js +2 -0
- package/substrate/index.d.ts +19 -0
- package/substrate/index.js +3 -0
- package/substrate/query.d.ts +3350 -0
- package/substrate/query.js +2 -0
- package/substrate/rpc.d.ts +718 -0
- package/substrate/rpc.js +2 -0
- package/substrate/runtime.d.ts +708 -0
- package/substrate/runtime.js +2 -0
- package/substrate/tx.d.ts +8800 -0
- package/substrate/tx.js +2 -0
- package/substrate/types.d.ts +20332 -0
- package/substrate/types.js +2 -0
- package/westendAssetHub/consts.d.ts +658 -0
- package/westendAssetHub/consts.js +2 -0
- package/westendAssetHub/errors.d.ts +1231 -0
- package/westendAssetHub/errors.js +2 -0
- package/westendAssetHub/events.d.ts +2172 -0
- package/westendAssetHub/events.js +2 -0
- package/westendAssetHub/index.d.ts +19 -0
- package/westendAssetHub/index.js +3 -0
- package/westendAssetHub/query.d.ts +1269 -0
- package/westendAssetHub/query.js +2 -0
- package/westendAssetHub/rpc.d.ts +590 -0
- package/westendAssetHub/rpc.js +2 -0
- package/westendAssetHub/runtime.d.ts +456 -0
- package/westendAssetHub/runtime.js +2 -0
- package/westendAssetHub/tx.d.ts +4307 -0
- package/westendAssetHub/tx.js +2 -0
- package/westendAssetHub/types.d.ts +11062 -0
- package/westendAssetHub/types.js +2 -0
|
@@ -0,0 +1,2840 @@
|
|
|
1
|
+
import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
|
|
2
|
+
import type { DispatchInfo, DispatchError, AccountId20, H256, FixedBytes, Percent, Perbill, Result, Bytes, H160 } from '@dedot/codecs';
|
|
3
|
+
import type { SpWeightsWeightV2Weight, FrameSupportTokensMiscBalanceStatus, PalletParachainStakingDelegationRequestsCancelledScheduledRequest, PalletParachainStakingDelegatorAdded, PalletAuthorSlotFilterNumNonZeroU32, NimbusPrimitivesNimbusCryptoPublic, SessionKeysPrimitivesVrfVrfCryptoPublic, MoonbeamRuntimeProxyType, PalletMultisigTimepoint, EthereumLog, EvmCoreErrorExitReason, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDemocracyMetadataOwner, FrameSupportPreimagesBounded, PalletConvictionVotingTally, FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo, XcmV3TraitsError, PolkadotParachainPrimitivesPrimitivesId, XcmV3TraitsOutcome, StagingXcmV3MultilocationMultiLocation, XcmV3Xcm, XcmV3Response, XcmVersionedMultiAssets, XcmV3MultiassetMultiAssets, XcmVersionedMultiLocation, MoonbeamRuntimeXcmConfigAssetType, MoonbeamRuntimeAssetConfigAssetRegistrarMetadata, XcmV3MultiassetMultiAsset, PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmTransactorHrmpOperation } from './types';
|
|
4
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
5
|
+
/**
|
|
6
|
+
* Pallet `System`'s events
|
|
7
|
+
**/
|
|
8
|
+
system: {
|
|
9
|
+
/**
|
|
10
|
+
* An extrinsic completed successfully.
|
|
11
|
+
**/
|
|
12
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', {
|
|
13
|
+
dispatchInfo: DispatchInfo;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* An extrinsic failed.
|
|
17
|
+
**/
|
|
18
|
+
ExtrinsicFailed: GenericPalletEvent<'System', 'ExtrinsicFailed', {
|
|
19
|
+
dispatchError: DispatchError;
|
|
20
|
+
dispatchInfo: DispatchInfo;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* `:code` was updated.
|
|
24
|
+
**/
|
|
25
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
26
|
+
/**
|
|
27
|
+
* A new account was created.
|
|
28
|
+
**/
|
|
29
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', {
|
|
30
|
+
account: AccountId20;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* An account was reaped.
|
|
34
|
+
**/
|
|
35
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', {
|
|
36
|
+
account: AccountId20;
|
|
37
|
+
}>;
|
|
38
|
+
/**
|
|
39
|
+
* On on-chain remark happened.
|
|
40
|
+
**/
|
|
41
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', {
|
|
42
|
+
sender: AccountId20;
|
|
43
|
+
hash: H256;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Generic pallet event
|
|
47
|
+
**/
|
|
48
|
+
[prop: string]: GenericPalletEvent;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Pallet `ParachainSystem`'s events
|
|
52
|
+
**/
|
|
53
|
+
parachainSystem: {
|
|
54
|
+
/**
|
|
55
|
+
* The validation function has been scheduled to apply.
|
|
56
|
+
**/
|
|
57
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
58
|
+
/**
|
|
59
|
+
* The validation function was applied as of the contained relay chain block number.
|
|
60
|
+
**/
|
|
61
|
+
ValidationFunctionApplied: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionApplied', {
|
|
62
|
+
relayChainBlockNum: number;
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* The relay-chain aborted the upgrade process.
|
|
66
|
+
**/
|
|
67
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
68
|
+
/**
|
|
69
|
+
* An upgrade has been authorized.
|
|
70
|
+
**/
|
|
71
|
+
UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', {
|
|
72
|
+
codeHash: H256;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Some downward messages have been received and will be processed.
|
|
76
|
+
**/
|
|
77
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', {
|
|
78
|
+
count: number;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* Downward messages were processed using the given weight.
|
|
82
|
+
**/
|
|
83
|
+
DownwardMessagesProcessed: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesProcessed', {
|
|
84
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
85
|
+
dmqHead: H256;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* An upward message was sent to the relay chain.
|
|
89
|
+
**/
|
|
90
|
+
UpwardMessageSent: GenericPalletEvent<'ParachainSystem', 'UpwardMessageSent', {
|
|
91
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* Generic pallet event
|
|
95
|
+
**/
|
|
96
|
+
[prop: string]: GenericPalletEvent;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Pallet `Balances`'s events
|
|
100
|
+
**/
|
|
101
|
+
balances: {
|
|
102
|
+
/**
|
|
103
|
+
* An account was created with some free balance.
|
|
104
|
+
**/
|
|
105
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', {
|
|
106
|
+
account: AccountId20;
|
|
107
|
+
freeBalance: bigint;
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
111
|
+
* resulting in an outright loss.
|
|
112
|
+
**/
|
|
113
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', {
|
|
114
|
+
account: AccountId20;
|
|
115
|
+
amount: bigint;
|
|
116
|
+
}>;
|
|
117
|
+
/**
|
|
118
|
+
* Transfer succeeded.
|
|
119
|
+
**/
|
|
120
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', {
|
|
121
|
+
from: AccountId20;
|
|
122
|
+
to: AccountId20;
|
|
123
|
+
amount: bigint;
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* A balance was set by root.
|
|
127
|
+
**/
|
|
128
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
|
|
129
|
+
who: AccountId20;
|
|
130
|
+
free: bigint;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* Some balance was reserved (moved from free to reserved).
|
|
134
|
+
**/
|
|
135
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', {
|
|
136
|
+
who: AccountId20;
|
|
137
|
+
amount: bigint;
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
141
|
+
**/
|
|
142
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
|
|
143
|
+
who: AccountId20;
|
|
144
|
+
amount: bigint;
|
|
145
|
+
}>;
|
|
146
|
+
/**
|
|
147
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
148
|
+
* Final argument indicates the destination balance type.
|
|
149
|
+
**/
|
|
150
|
+
ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
|
|
151
|
+
from: AccountId20;
|
|
152
|
+
to: AccountId20;
|
|
153
|
+
amount: bigint;
|
|
154
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
158
|
+
**/
|
|
159
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', {
|
|
160
|
+
who: AccountId20;
|
|
161
|
+
amount: bigint;
|
|
162
|
+
}>;
|
|
163
|
+
/**
|
|
164
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
165
|
+
**/
|
|
166
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
|
|
167
|
+
who: AccountId20;
|
|
168
|
+
amount: bigint;
|
|
169
|
+
}>;
|
|
170
|
+
/**
|
|
171
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
172
|
+
**/
|
|
173
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', {
|
|
174
|
+
who: AccountId20;
|
|
175
|
+
amount: bigint;
|
|
176
|
+
}>;
|
|
177
|
+
/**
|
|
178
|
+
* Some amount was minted into an account.
|
|
179
|
+
**/
|
|
180
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', {
|
|
181
|
+
who: AccountId20;
|
|
182
|
+
amount: bigint;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* Some amount was burned from an account.
|
|
186
|
+
**/
|
|
187
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', {
|
|
188
|
+
who: AccountId20;
|
|
189
|
+
amount: bigint;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
193
|
+
**/
|
|
194
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', {
|
|
195
|
+
who: AccountId20;
|
|
196
|
+
amount: bigint;
|
|
197
|
+
}>;
|
|
198
|
+
/**
|
|
199
|
+
* Some amount was restored into an account.
|
|
200
|
+
**/
|
|
201
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', {
|
|
202
|
+
who: AccountId20;
|
|
203
|
+
amount: bigint;
|
|
204
|
+
}>;
|
|
205
|
+
/**
|
|
206
|
+
* An account was upgraded.
|
|
207
|
+
**/
|
|
208
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
|
|
209
|
+
who: AccountId20;
|
|
210
|
+
}>;
|
|
211
|
+
/**
|
|
212
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
213
|
+
**/
|
|
214
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', {
|
|
215
|
+
amount: bigint;
|
|
216
|
+
}>;
|
|
217
|
+
/**
|
|
218
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
219
|
+
**/
|
|
220
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
|
|
221
|
+
amount: bigint;
|
|
222
|
+
}>;
|
|
223
|
+
/**
|
|
224
|
+
* Some balance was locked.
|
|
225
|
+
**/
|
|
226
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', {
|
|
227
|
+
who: AccountId20;
|
|
228
|
+
amount: bigint;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* Some balance was unlocked.
|
|
232
|
+
**/
|
|
233
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
|
|
234
|
+
who: AccountId20;
|
|
235
|
+
amount: bigint;
|
|
236
|
+
}>;
|
|
237
|
+
/**
|
|
238
|
+
* Some balance was frozen.
|
|
239
|
+
**/
|
|
240
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', {
|
|
241
|
+
who: AccountId20;
|
|
242
|
+
amount: bigint;
|
|
243
|
+
}>;
|
|
244
|
+
/**
|
|
245
|
+
* Some balance was thawed.
|
|
246
|
+
**/
|
|
247
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', {
|
|
248
|
+
who: AccountId20;
|
|
249
|
+
amount: bigint;
|
|
250
|
+
}>;
|
|
251
|
+
/**
|
|
252
|
+
* Generic pallet event
|
|
253
|
+
**/
|
|
254
|
+
[prop: string]: GenericPalletEvent;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Pallet `TransactionPayment`'s events
|
|
258
|
+
**/
|
|
259
|
+
transactionPayment: {
|
|
260
|
+
/**
|
|
261
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
262
|
+
* has been paid by `who`.
|
|
263
|
+
**/
|
|
264
|
+
TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
|
|
265
|
+
who: AccountId20;
|
|
266
|
+
actualFee: bigint;
|
|
267
|
+
tip: bigint;
|
|
268
|
+
}>;
|
|
269
|
+
/**
|
|
270
|
+
* Generic pallet event
|
|
271
|
+
**/
|
|
272
|
+
[prop: string]: GenericPalletEvent;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Pallet `ParachainStaking`'s events
|
|
276
|
+
**/
|
|
277
|
+
parachainStaking: {
|
|
278
|
+
/**
|
|
279
|
+
* Started new round.
|
|
280
|
+
**/
|
|
281
|
+
NewRound: GenericPalletEvent<'ParachainStaking', 'NewRound', {
|
|
282
|
+
startingBlock: number;
|
|
283
|
+
round: number;
|
|
284
|
+
selectedCollatorsNumber: number;
|
|
285
|
+
totalBalance: bigint;
|
|
286
|
+
}>;
|
|
287
|
+
/**
|
|
288
|
+
* Account joined the set of collator candidates.
|
|
289
|
+
**/
|
|
290
|
+
JoinedCollatorCandidates: GenericPalletEvent<'ParachainStaking', 'JoinedCollatorCandidates', {
|
|
291
|
+
account: AccountId20;
|
|
292
|
+
amountLocked: bigint;
|
|
293
|
+
newTotalAmtLocked: bigint;
|
|
294
|
+
}>;
|
|
295
|
+
/**
|
|
296
|
+
* Candidate selected for collators. Total Exposed Amount includes all delegations.
|
|
297
|
+
**/
|
|
298
|
+
CollatorChosen: GenericPalletEvent<'ParachainStaking', 'CollatorChosen', {
|
|
299
|
+
round: number;
|
|
300
|
+
collatorAccount: AccountId20;
|
|
301
|
+
totalExposedAmount: bigint;
|
|
302
|
+
}>;
|
|
303
|
+
/**
|
|
304
|
+
* Candidate requested to decrease a self bond.
|
|
305
|
+
**/
|
|
306
|
+
CandidateBondLessRequested: GenericPalletEvent<'ParachainStaking', 'CandidateBondLessRequested', {
|
|
307
|
+
candidate: AccountId20;
|
|
308
|
+
amountToDecrease: bigint;
|
|
309
|
+
executeRound: number;
|
|
310
|
+
}>;
|
|
311
|
+
/**
|
|
312
|
+
* Candidate has increased a self bond.
|
|
313
|
+
**/
|
|
314
|
+
CandidateBondedMore: GenericPalletEvent<'ParachainStaking', 'CandidateBondedMore', {
|
|
315
|
+
candidate: AccountId20;
|
|
316
|
+
amount: bigint;
|
|
317
|
+
newTotalBond: bigint;
|
|
318
|
+
}>;
|
|
319
|
+
/**
|
|
320
|
+
* Candidate has decreased a self bond.
|
|
321
|
+
**/
|
|
322
|
+
CandidateBondedLess: GenericPalletEvent<'ParachainStaking', 'CandidateBondedLess', {
|
|
323
|
+
candidate: AccountId20;
|
|
324
|
+
amount: bigint;
|
|
325
|
+
newBond: bigint;
|
|
326
|
+
}>;
|
|
327
|
+
/**
|
|
328
|
+
* Candidate temporarily leave the set of collator candidates without unbonding.
|
|
329
|
+
**/
|
|
330
|
+
CandidateWentOffline: GenericPalletEvent<'ParachainStaking', 'CandidateWentOffline', {
|
|
331
|
+
candidate: AccountId20;
|
|
332
|
+
}>;
|
|
333
|
+
/**
|
|
334
|
+
* Candidate rejoins the set of collator candidates.
|
|
335
|
+
**/
|
|
336
|
+
CandidateBackOnline: GenericPalletEvent<'ParachainStaking', 'CandidateBackOnline', {
|
|
337
|
+
candidate: AccountId20;
|
|
338
|
+
}>;
|
|
339
|
+
/**
|
|
340
|
+
* Candidate has requested to leave the set of candidates.
|
|
341
|
+
**/
|
|
342
|
+
CandidateScheduledExit: GenericPalletEvent<'ParachainStaking', 'CandidateScheduledExit', {
|
|
343
|
+
exitAllowedRound: number;
|
|
344
|
+
candidate: AccountId20;
|
|
345
|
+
scheduledExit: number;
|
|
346
|
+
}>;
|
|
347
|
+
/**
|
|
348
|
+
* Cancelled request to leave the set of candidates.
|
|
349
|
+
**/
|
|
350
|
+
CancelledCandidateExit: GenericPalletEvent<'ParachainStaking', 'CancelledCandidateExit', {
|
|
351
|
+
candidate: AccountId20;
|
|
352
|
+
}>;
|
|
353
|
+
/**
|
|
354
|
+
* Cancelled request to decrease candidate's bond.
|
|
355
|
+
**/
|
|
356
|
+
CancelledCandidateBondLess: GenericPalletEvent<'ParachainStaking', 'CancelledCandidateBondLess', {
|
|
357
|
+
candidate: AccountId20;
|
|
358
|
+
amount: bigint;
|
|
359
|
+
executeRound: number;
|
|
360
|
+
}>;
|
|
361
|
+
/**
|
|
362
|
+
* Candidate has left the set of candidates.
|
|
363
|
+
**/
|
|
364
|
+
CandidateLeft: GenericPalletEvent<'ParachainStaking', 'CandidateLeft', {
|
|
365
|
+
exCandidate: AccountId20;
|
|
366
|
+
unlockedAmount: bigint;
|
|
367
|
+
newTotalAmtLocked: bigint;
|
|
368
|
+
}>;
|
|
369
|
+
/**
|
|
370
|
+
* Delegator requested to decrease a bond for the collator candidate.
|
|
371
|
+
**/
|
|
372
|
+
DelegationDecreaseScheduled: GenericPalletEvent<'ParachainStaking', 'DelegationDecreaseScheduled', {
|
|
373
|
+
delegator: AccountId20;
|
|
374
|
+
candidate: AccountId20;
|
|
375
|
+
amountToDecrease: bigint;
|
|
376
|
+
executeRound: number;
|
|
377
|
+
}>;
|
|
378
|
+
DelegationIncreased: GenericPalletEvent<'ParachainStaking', 'DelegationIncreased', {
|
|
379
|
+
delegator: AccountId20;
|
|
380
|
+
candidate: AccountId20;
|
|
381
|
+
amount: bigint;
|
|
382
|
+
inTop: boolean;
|
|
383
|
+
}>;
|
|
384
|
+
DelegationDecreased: GenericPalletEvent<'ParachainStaking', 'DelegationDecreased', {
|
|
385
|
+
delegator: AccountId20;
|
|
386
|
+
candidate: AccountId20;
|
|
387
|
+
amount: bigint;
|
|
388
|
+
inTop: boolean;
|
|
389
|
+
}>;
|
|
390
|
+
/**
|
|
391
|
+
* Delegator requested to leave the set of delegators.
|
|
392
|
+
**/
|
|
393
|
+
DelegatorExitScheduled: GenericPalletEvent<'ParachainStaking', 'DelegatorExitScheduled', {
|
|
394
|
+
round: number;
|
|
395
|
+
delegator: AccountId20;
|
|
396
|
+
scheduledExit: number;
|
|
397
|
+
}>;
|
|
398
|
+
/**
|
|
399
|
+
* Delegator requested to revoke delegation.
|
|
400
|
+
**/
|
|
401
|
+
DelegationRevocationScheduled: GenericPalletEvent<'ParachainStaking', 'DelegationRevocationScheduled', {
|
|
402
|
+
round: number;
|
|
403
|
+
delegator: AccountId20;
|
|
404
|
+
candidate: AccountId20;
|
|
405
|
+
scheduledExit: number;
|
|
406
|
+
}>;
|
|
407
|
+
/**
|
|
408
|
+
* Delegator has left the set of delegators.
|
|
409
|
+
**/
|
|
410
|
+
DelegatorLeft: GenericPalletEvent<'ParachainStaking', 'DelegatorLeft', {
|
|
411
|
+
delegator: AccountId20;
|
|
412
|
+
unstakedAmount: bigint;
|
|
413
|
+
}>;
|
|
414
|
+
/**
|
|
415
|
+
* Delegation revoked.
|
|
416
|
+
**/
|
|
417
|
+
DelegationRevoked: GenericPalletEvent<'ParachainStaking', 'DelegationRevoked', {
|
|
418
|
+
delegator: AccountId20;
|
|
419
|
+
candidate: AccountId20;
|
|
420
|
+
unstakedAmount: bigint;
|
|
421
|
+
}>;
|
|
422
|
+
/**
|
|
423
|
+
* Delegation kicked.
|
|
424
|
+
**/
|
|
425
|
+
DelegationKicked: GenericPalletEvent<'ParachainStaking', 'DelegationKicked', {
|
|
426
|
+
delegator: AccountId20;
|
|
427
|
+
candidate: AccountId20;
|
|
428
|
+
unstakedAmount: bigint;
|
|
429
|
+
}>;
|
|
430
|
+
/**
|
|
431
|
+
* Cancelled a pending request to exit the set of delegators.
|
|
432
|
+
**/
|
|
433
|
+
DelegatorExitCancelled: GenericPalletEvent<'ParachainStaking', 'DelegatorExitCancelled', {
|
|
434
|
+
delegator: AccountId20;
|
|
435
|
+
}>;
|
|
436
|
+
/**
|
|
437
|
+
* Cancelled request to change an existing delegation.
|
|
438
|
+
**/
|
|
439
|
+
CancelledDelegationRequest: GenericPalletEvent<'ParachainStaking', 'CancelledDelegationRequest', {
|
|
440
|
+
delegator: AccountId20;
|
|
441
|
+
cancelledRequest: PalletParachainStakingDelegationRequestsCancelledScheduledRequest;
|
|
442
|
+
collator: AccountId20;
|
|
443
|
+
}>;
|
|
444
|
+
/**
|
|
445
|
+
* New delegation (increase of the existing one).
|
|
446
|
+
**/
|
|
447
|
+
Delegation: GenericPalletEvent<'ParachainStaking', 'Delegation', {
|
|
448
|
+
delegator: AccountId20;
|
|
449
|
+
lockedAmount: bigint;
|
|
450
|
+
candidate: AccountId20;
|
|
451
|
+
delegatorPosition: PalletParachainStakingDelegatorAdded;
|
|
452
|
+
autoCompound: Percent;
|
|
453
|
+
}>;
|
|
454
|
+
/**
|
|
455
|
+
* Delegation from candidate state has been remove.
|
|
456
|
+
**/
|
|
457
|
+
DelegatorLeftCandidate: GenericPalletEvent<'ParachainStaking', 'DelegatorLeftCandidate', {
|
|
458
|
+
delegator: AccountId20;
|
|
459
|
+
candidate: AccountId20;
|
|
460
|
+
unstakedAmount: bigint;
|
|
461
|
+
totalCandidateStaked: bigint;
|
|
462
|
+
}>;
|
|
463
|
+
/**
|
|
464
|
+
* Paid the account (delegator or collator) the balance as liquid rewards.
|
|
465
|
+
**/
|
|
466
|
+
Rewarded: GenericPalletEvent<'ParachainStaking', 'Rewarded', {
|
|
467
|
+
account: AccountId20;
|
|
468
|
+
rewards: bigint;
|
|
469
|
+
}>;
|
|
470
|
+
/**
|
|
471
|
+
* Transferred to account which holds funds reserved for parachain bond.
|
|
472
|
+
**/
|
|
473
|
+
ReservedForParachainBond: GenericPalletEvent<'ParachainStaking', 'ReservedForParachainBond', {
|
|
474
|
+
account: AccountId20;
|
|
475
|
+
value: bigint;
|
|
476
|
+
}>;
|
|
477
|
+
/**
|
|
478
|
+
* Account (re)set for parachain bond treasury.
|
|
479
|
+
**/
|
|
480
|
+
ParachainBondAccountSet: GenericPalletEvent<'ParachainStaking', 'ParachainBondAccountSet', {
|
|
481
|
+
old: AccountId20;
|
|
482
|
+
new: AccountId20;
|
|
483
|
+
}>;
|
|
484
|
+
/**
|
|
485
|
+
* Percent of inflation reserved for parachain bond (re)set.
|
|
486
|
+
**/
|
|
487
|
+
ParachainBondReservePercentSet: GenericPalletEvent<'ParachainStaking', 'ParachainBondReservePercentSet', {
|
|
488
|
+
old: Percent;
|
|
489
|
+
new: Percent;
|
|
490
|
+
}>;
|
|
491
|
+
/**
|
|
492
|
+
* Annual inflation input (first 3) was used to derive new per-round inflation (last 3)
|
|
493
|
+
**/
|
|
494
|
+
InflationSet: GenericPalletEvent<'ParachainStaking', 'InflationSet', {
|
|
495
|
+
annualMin: Perbill;
|
|
496
|
+
annualIdeal: Perbill;
|
|
497
|
+
annualMax: Perbill;
|
|
498
|
+
roundMin: Perbill;
|
|
499
|
+
roundIdeal: Perbill;
|
|
500
|
+
roundMax: Perbill;
|
|
501
|
+
}>;
|
|
502
|
+
/**
|
|
503
|
+
* Staking expectations set.
|
|
504
|
+
**/
|
|
505
|
+
StakeExpectationsSet: GenericPalletEvent<'ParachainStaking', 'StakeExpectationsSet', {
|
|
506
|
+
expectMin: bigint;
|
|
507
|
+
expectIdeal: bigint;
|
|
508
|
+
expectMax: bigint;
|
|
509
|
+
}>;
|
|
510
|
+
/**
|
|
511
|
+
* Set total selected candidates to this value.
|
|
512
|
+
**/
|
|
513
|
+
TotalSelectedSet: GenericPalletEvent<'ParachainStaking', 'TotalSelectedSet', {
|
|
514
|
+
old: number;
|
|
515
|
+
new: number;
|
|
516
|
+
}>;
|
|
517
|
+
/**
|
|
518
|
+
* Set collator commission to this value.
|
|
519
|
+
**/
|
|
520
|
+
CollatorCommissionSet: GenericPalletEvent<'ParachainStaking', 'CollatorCommissionSet', {
|
|
521
|
+
old: Perbill;
|
|
522
|
+
new: Perbill;
|
|
523
|
+
}>;
|
|
524
|
+
/**
|
|
525
|
+
* Set blocks per round
|
|
526
|
+
**/
|
|
527
|
+
BlocksPerRoundSet: GenericPalletEvent<'ParachainStaking', 'BlocksPerRoundSet', {
|
|
528
|
+
currentRound: number;
|
|
529
|
+
firstBlock: number;
|
|
530
|
+
old: number;
|
|
531
|
+
new: number;
|
|
532
|
+
newPerRoundInflationMin: Perbill;
|
|
533
|
+
newPerRoundInflationIdeal: Perbill;
|
|
534
|
+
newPerRoundInflationMax: Perbill;
|
|
535
|
+
}>;
|
|
536
|
+
/**
|
|
537
|
+
* Auto-compounding reward percent was set for a delegation.
|
|
538
|
+
**/
|
|
539
|
+
AutoCompoundSet: GenericPalletEvent<'ParachainStaking', 'AutoCompoundSet', {
|
|
540
|
+
candidate: AccountId20;
|
|
541
|
+
delegator: AccountId20;
|
|
542
|
+
value: Percent;
|
|
543
|
+
}>;
|
|
544
|
+
/**
|
|
545
|
+
* Compounded a portion of rewards towards the delegation.
|
|
546
|
+
**/
|
|
547
|
+
Compounded: GenericPalletEvent<'ParachainStaking', 'Compounded', {
|
|
548
|
+
candidate: AccountId20;
|
|
549
|
+
delegator: AccountId20;
|
|
550
|
+
amount: bigint;
|
|
551
|
+
}>;
|
|
552
|
+
/**
|
|
553
|
+
* Generic pallet event
|
|
554
|
+
**/
|
|
555
|
+
[prop: string]: GenericPalletEvent;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* Pallet `AuthorFilter`'s events
|
|
559
|
+
**/
|
|
560
|
+
authorFilter: {
|
|
561
|
+
/**
|
|
562
|
+
* The amount of eligible authors for the filter to select has been changed.
|
|
563
|
+
**/
|
|
564
|
+
EligibleUpdated: GenericPalletEvent<'AuthorFilter', 'EligibleUpdated', PalletAuthorSlotFilterNumNonZeroU32>;
|
|
565
|
+
/**
|
|
566
|
+
* Generic pallet event
|
|
567
|
+
**/
|
|
568
|
+
[prop: string]: GenericPalletEvent;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* Pallet `AuthorMapping`'s events
|
|
572
|
+
**/
|
|
573
|
+
authorMapping: {
|
|
574
|
+
/**
|
|
575
|
+
* A NimbusId has been registered and mapped to an AccountId.
|
|
576
|
+
**/
|
|
577
|
+
KeysRegistered: GenericPalletEvent<'AuthorMapping', 'KeysRegistered', {
|
|
578
|
+
nimbusId: NimbusPrimitivesNimbusCryptoPublic;
|
|
579
|
+
accountId: AccountId20;
|
|
580
|
+
keys: SessionKeysPrimitivesVrfVrfCryptoPublic;
|
|
581
|
+
}>;
|
|
582
|
+
/**
|
|
583
|
+
* An NimbusId has been de-registered, and its AccountId mapping removed.
|
|
584
|
+
**/
|
|
585
|
+
KeysRemoved: GenericPalletEvent<'AuthorMapping', 'KeysRemoved', {
|
|
586
|
+
nimbusId: NimbusPrimitivesNimbusCryptoPublic;
|
|
587
|
+
accountId: AccountId20;
|
|
588
|
+
keys: SessionKeysPrimitivesVrfVrfCryptoPublic;
|
|
589
|
+
}>;
|
|
590
|
+
/**
|
|
591
|
+
* An NimbusId has been registered, replacing a previous registration and its mapping.
|
|
592
|
+
**/
|
|
593
|
+
KeysRotated: GenericPalletEvent<'AuthorMapping', 'KeysRotated', {
|
|
594
|
+
newNimbusId: NimbusPrimitivesNimbusCryptoPublic;
|
|
595
|
+
accountId: AccountId20;
|
|
596
|
+
newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic;
|
|
597
|
+
}>;
|
|
598
|
+
/**
|
|
599
|
+
* Generic pallet event
|
|
600
|
+
**/
|
|
601
|
+
[prop: string]: GenericPalletEvent;
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* Pallet `MoonbeamOrbiters`'s events
|
|
605
|
+
**/
|
|
606
|
+
moonbeamOrbiters: {
|
|
607
|
+
/**
|
|
608
|
+
* An orbiter join a collator pool
|
|
609
|
+
**/
|
|
610
|
+
OrbiterJoinCollatorPool: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterJoinCollatorPool', {
|
|
611
|
+
collator: AccountId20;
|
|
612
|
+
orbiter: AccountId20;
|
|
613
|
+
}>;
|
|
614
|
+
/**
|
|
615
|
+
* An orbiter leave a collator pool
|
|
616
|
+
**/
|
|
617
|
+
OrbiterLeaveCollatorPool: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterLeaveCollatorPool', {
|
|
618
|
+
collator: AccountId20;
|
|
619
|
+
orbiter: AccountId20;
|
|
620
|
+
}>;
|
|
621
|
+
/**
|
|
622
|
+
* Paid the orbiter account the balance as liquid rewards.
|
|
623
|
+
**/
|
|
624
|
+
OrbiterRewarded: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterRewarded', {
|
|
625
|
+
account: AccountId20;
|
|
626
|
+
rewards: bigint;
|
|
627
|
+
}>;
|
|
628
|
+
OrbiterRotation: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterRotation', {
|
|
629
|
+
collator: AccountId20;
|
|
630
|
+
oldOrbiter?: AccountId20 | undefined;
|
|
631
|
+
newOrbiter?: AccountId20 | undefined;
|
|
632
|
+
}>;
|
|
633
|
+
/**
|
|
634
|
+
* An orbiter has registered
|
|
635
|
+
**/
|
|
636
|
+
OrbiterRegistered: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterRegistered', {
|
|
637
|
+
account: AccountId20;
|
|
638
|
+
deposit: bigint;
|
|
639
|
+
}>;
|
|
640
|
+
/**
|
|
641
|
+
* An orbiter has unregistered
|
|
642
|
+
**/
|
|
643
|
+
OrbiterUnregistered: GenericPalletEvent<'MoonbeamOrbiters', 'OrbiterUnregistered', {
|
|
644
|
+
account: AccountId20;
|
|
645
|
+
}>;
|
|
646
|
+
/**
|
|
647
|
+
* Generic pallet event
|
|
648
|
+
**/
|
|
649
|
+
[prop: string]: GenericPalletEvent;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* Pallet `Utility`'s events
|
|
653
|
+
**/
|
|
654
|
+
utility: {
|
|
655
|
+
/**
|
|
656
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
657
|
+
* well as the error.
|
|
658
|
+
**/
|
|
659
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
|
|
660
|
+
index: number;
|
|
661
|
+
error: DispatchError;
|
|
662
|
+
}>;
|
|
663
|
+
/**
|
|
664
|
+
* Batch of dispatches completed fully with no error.
|
|
665
|
+
**/
|
|
666
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
667
|
+
/**
|
|
668
|
+
* Batch of dispatches completed but has errors.
|
|
669
|
+
**/
|
|
670
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
671
|
+
/**
|
|
672
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
673
|
+
**/
|
|
674
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
675
|
+
/**
|
|
676
|
+
* A single item within a Batch of dispatches has completed with error.
|
|
677
|
+
**/
|
|
678
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
|
|
679
|
+
error: DispatchError;
|
|
680
|
+
}>;
|
|
681
|
+
/**
|
|
682
|
+
* A call was dispatched.
|
|
683
|
+
**/
|
|
684
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
|
|
685
|
+
result: Result<[], DispatchError>;
|
|
686
|
+
}>;
|
|
687
|
+
/**
|
|
688
|
+
* Generic pallet event
|
|
689
|
+
**/
|
|
690
|
+
[prop: string]: GenericPalletEvent;
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* Pallet `Proxy`'s events
|
|
694
|
+
**/
|
|
695
|
+
proxy: {
|
|
696
|
+
/**
|
|
697
|
+
* A proxy was executed correctly, with the given.
|
|
698
|
+
**/
|
|
699
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', {
|
|
700
|
+
result: Result<[], DispatchError>;
|
|
701
|
+
}>;
|
|
702
|
+
/**
|
|
703
|
+
* A pure account has been created by new proxy with given
|
|
704
|
+
* disambiguation index and proxy type.
|
|
705
|
+
**/
|
|
706
|
+
PureCreated: GenericPalletEvent<'Proxy', 'PureCreated', {
|
|
707
|
+
pure: AccountId20;
|
|
708
|
+
who: AccountId20;
|
|
709
|
+
proxyType: MoonbeamRuntimeProxyType;
|
|
710
|
+
disambiguationIndex: number;
|
|
711
|
+
}>;
|
|
712
|
+
/**
|
|
713
|
+
* An announcement was placed to make a call in the future.
|
|
714
|
+
**/
|
|
715
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', {
|
|
716
|
+
real: AccountId20;
|
|
717
|
+
proxy: AccountId20;
|
|
718
|
+
callHash: H256;
|
|
719
|
+
}>;
|
|
720
|
+
/**
|
|
721
|
+
* A proxy was added.
|
|
722
|
+
**/
|
|
723
|
+
ProxyAdded: GenericPalletEvent<'Proxy', 'ProxyAdded', {
|
|
724
|
+
delegator: AccountId20;
|
|
725
|
+
delegatee: AccountId20;
|
|
726
|
+
proxyType: MoonbeamRuntimeProxyType;
|
|
727
|
+
delay: number;
|
|
728
|
+
}>;
|
|
729
|
+
/**
|
|
730
|
+
* A proxy was removed.
|
|
731
|
+
**/
|
|
732
|
+
ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
|
|
733
|
+
delegator: AccountId20;
|
|
734
|
+
delegatee: AccountId20;
|
|
735
|
+
proxyType: MoonbeamRuntimeProxyType;
|
|
736
|
+
delay: number;
|
|
737
|
+
}>;
|
|
738
|
+
/**
|
|
739
|
+
* Generic pallet event
|
|
740
|
+
**/
|
|
741
|
+
[prop: string]: GenericPalletEvent;
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* Pallet `MaintenanceMode`'s events
|
|
745
|
+
**/
|
|
746
|
+
maintenanceMode: {
|
|
747
|
+
/**
|
|
748
|
+
* The chain was put into Maintenance Mode
|
|
749
|
+
**/
|
|
750
|
+
EnteredMaintenanceMode: GenericPalletEvent<'MaintenanceMode', 'EnteredMaintenanceMode', null>;
|
|
751
|
+
/**
|
|
752
|
+
* The chain returned to its normal operating state
|
|
753
|
+
**/
|
|
754
|
+
NormalOperationResumed: GenericPalletEvent<'MaintenanceMode', 'NormalOperationResumed', null>;
|
|
755
|
+
/**
|
|
756
|
+
* The call to suspend on_idle XCM execution failed with inner error
|
|
757
|
+
**/
|
|
758
|
+
FailedToSuspendIdleXcmExecution: GenericPalletEvent<'MaintenanceMode', 'FailedToSuspendIdleXcmExecution', {
|
|
759
|
+
error: DispatchError;
|
|
760
|
+
}>;
|
|
761
|
+
/**
|
|
762
|
+
* The call to resume on_idle XCM execution failed with inner error
|
|
763
|
+
**/
|
|
764
|
+
FailedToResumeIdleXcmExecution: GenericPalletEvent<'MaintenanceMode', 'FailedToResumeIdleXcmExecution', {
|
|
765
|
+
error: DispatchError;
|
|
766
|
+
}>;
|
|
767
|
+
/**
|
|
768
|
+
* Generic pallet event
|
|
769
|
+
**/
|
|
770
|
+
[prop: string]: GenericPalletEvent;
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* Pallet `Identity`'s events
|
|
774
|
+
**/
|
|
775
|
+
identity: {
|
|
776
|
+
/**
|
|
777
|
+
* A name was set or reset (which will remove all judgements).
|
|
778
|
+
**/
|
|
779
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', {
|
|
780
|
+
who: AccountId20;
|
|
781
|
+
}>;
|
|
782
|
+
/**
|
|
783
|
+
* A name was cleared, and the given balance returned.
|
|
784
|
+
**/
|
|
785
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', {
|
|
786
|
+
who: AccountId20;
|
|
787
|
+
deposit: bigint;
|
|
788
|
+
}>;
|
|
789
|
+
/**
|
|
790
|
+
* A name was removed and the given balance slashed.
|
|
791
|
+
**/
|
|
792
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', {
|
|
793
|
+
who: AccountId20;
|
|
794
|
+
deposit: bigint;
|
|
795
|
+
}>;
|
|
796
|
+
/**
|
|
797
|
+
* A judgement was asked from a registrar.
|
|
798
|
+
**/
|
|
799
|
+
JudgementRequested: GenericPalletEvent<'Identity', 'JudgementRequested', {
|
|
800
|
+
who: AccountId20;
|
|
801
|
+
registrarIndex: number;
|
|
802
|
+
}>;
|
|
803
|
+
/**
|
|
804
|
+
* A judgement request was retracted.
|
|
805
|
+
**/
|
|
806
|
+
JudgementUnrequested: GenericPalletEvent<'Identity', 'JudgementUnrequested', {
|
|
807
|
+
who: AccountId20;
|
|
808
|
+
registrarIndex: number;
|
|
809
|
+
}>;
|
|
810
|
+
/**
|
|
811
|
+
* A judgement was given by a registrar.
|
|
812
|
+
**/
|
|
813
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', {
|
|
814
|
+
target: AccountId20;
|
|
815
|
+
registrarIndex: number;
|
|
816
|
+
}>;
|
|
817
|
+
/**
|
|
818
|
+
* A registrar was added.
|
|
819
|
+
**/
|
|
820
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', {
|
|
821
|
+
registrarIndex: number;
|
|
822
|
+
}>;
|
|
823
|
+
/**
|
|
824
|
+
* A sub-identity was added to an identity and the deposit paid.
|
|
825
|
+
**/
|
|
826
|
+
SubIdentityAdded: GenericPalletEvent<'Identity', 'SubIdentityAdded', {
|
|
827
|
+
sub: AccountId20;
|
|
828
|
+
main: AccountId20;
|
|
829
|
+
deposit: bigint;
|
|
830
|
+
}>;
|
|
831
|
+
/**
|
|
832
|
+
* A sub-identity was removed from an identity and the deposit freed.
|
|
833
|
+
**/
|
|
834
|
+
SubIdentityRemoved: GenericPalletEvent<'Identity', 'SubIdentityRemoved', {
|
|
835
|
+
sub: AccountId20;
|
|
836
|
+
main: AccountId20;
|
|
837
|
+
deposit: bigint;
|
|
838
|
+
}>;
|
|
839
|
+
/**
|
|
840
|
+
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
841
|
+
* main identity account to the sub-identity account.
|
|
842
|
+
**/
|
|
843
|
+
SubIdentityRevoked: GenericPalletEvent<'Identity', 'SubIdentityRevoked', {
|
|
844
|
+
sub: AccountId20;
|
|
845
|
+
main: AccountId20;
|
|
846
|
+
deposit: bigint;
|
|
847
|
+
}>;
|
|
848
|
+
/**
|
|
849
|
+
* Generic pallet event
|
|
850
|
+
**/
|
|
851
|
+
[prop: string]: GenericPalletEvent;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* Pallet `Migrations`'s events
|
|
855
|
+
**/
|
|
856
|
+
migrations: {
|
|
857
|
+
/**
|
|
858
|
+
* Runtime upgrade started
|
|
859
|
+
**/
|
|
860
|
+
RuntimeUpgradeStarted: GenericPalletEvent<'Migrations', 'RuntimeUpgradeStarted', null>;
|
|
861
|
+
/**
|
|
862
|
+
* Runtime upgrade completed
|
|
863
|
+
**/
|
|
864
|
+
RuntimeUpgradeCompleted: GenericPalletEvent<'Migrations', 'RuntimeUpgradeCompleted', {
|
|
865
|
+
weight: SpWeightsWeightV2Weight;
|
|
866
|
+
}>;
|
|
867
|
+
/**
|
|
868
|
+
* Migration started
|
|
869
|
+
**/
|
|
870
|
+
MigrationStarted: GenericPalletEvent<'Migrations', 'MigrationStarted', {
|
|
871
|
+
migrationName: Bytes;
|
|
872
|
+
}>;
|
|
873
|
+
/**
|
|
874
|
+
* Migration completed
|
|
875
|
+
**/
|
|
876
|
+
MigrationCompleted: GenericPalletEvent<'Migrations', 'MigrationCompleted', {
|
|
877
|
+
migrationName: Bytes;
|
|
878
|
+
consumedWeight: SpWeightsWeightV2Weight;
|
|
879
|
+
}>;
|
|
880
|
+
/**
|
|
881
|
+
* XCM execution suspension failed with inner error
|
|
882
|
+
**/
|
|
883
|
+
FailedToSuspendIdleXcmExecution: GenericPalletEvent<'Migrations', 'FailedToSuspendIdleXcmExecution', {
|
|
884
|
+
error: DispatchError;
|
|
885
|
+
}>;
|
|
886
|
+
/**
|
|
887
|
+
* XCM execution resume failed with inner error
|
|
888
|
+
**/
|
|
889
|
+
FailedToResumeIdleXcmExecution: GenericPalletEvent<'Migrations', 'FailedToResumeIdleXcmExecution', {
|
|
890
|
+
error: DispatchError;
|
|
891
|
+
}>;
|
|
892
|
+
/**
|
|
893
|
+
* Generic pallet event
|
|
894
|
+
**/
|
|
895
|
+
[prop: string]: GenericPalletEvent;
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Pallet `Multisig`'s events
|
|
899
|
+
**/
|
|
900
|
+
multisig: {
|
|
901
|
+
/**
|
|
902
|
+
* A new multisig operation has begun.
|
|
903
|
+
**/
|
|
904
|
+
NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
|
|
905
|
+
approving: AccountId20;
|
|
906
|
+
multisig: AccountId20;
|
|
907
|
+
callHash: FixedBytes<32>;
|
|
908
|
+
}>;
|
|
909
|
+
/**
|
|
910
|
+
* A multisig operation has been approved by someone.
|
|
911
|
+
**/
|
|
912
|
+
MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
|
|
913
|
+
approving: AccountId20;
|
|
914
|
+
timepoint: PalletMultisigTimepoint;
|
|
915
|
+
multisig: AccountId20;
|
|
916
|
+
callHash: FixedBytes<32>;
|
|
917
|
+
}>;
|
|
918
|
+
/**
|
|
919
|
+
* A multisig operation has been executed.
|
|
920
|
+
**/
|
|
921
|
+
MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
|
|
922
|
+
approving: AccountId20;
|
|
923
|
+
timepoint: PalletMultisigTimepoint;
|
|
924
|
+
multisig: AccountId20;
|
|
925
|
+
callHash: FixedBytes<32>;
|
|
926
|
+
result: Result<[], DispatchError>;
|
|
927
|
+
}>;
|
|
928
|
+
/**
|
|
929
|
+
* A multisig operation has been cancelled.
|
|
930
|
+
**/
|
|
931
|
+
MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
|
|
932
|
+
cancelling: AccountId20;
|
|
933
|
+
timepoint: PalletMultisigTimepoint;
|
|
934
|
+
multisig: AccountId20;
|
|
935
|
+
callHash: FixedBytes<32>;
|
|
936
|
+
}>;
|
|
937
|
+
/**
|
|
938
|
+
* Generic pallet event
|
|
939
|
+
**/
|
|
940
|
+
[prop: string]: GenericPalletEvent;
|
|
941
|
+
};
|
|
942
|
+
/**
|
|
943
|
+
* Pallet `EVM`'s events
|
|
944
|
+
**/
|
|
945
|
+
evm: {
|
|
946
|
+
/**
|
|
947
|
+
* Ethereum events from contracts.
|
|
948
|
+
**/
|
|
949
|
+
Log: GenericPalletEvent<'EVM', 'Log', {
|
|
950
|
+
log: EthereumLog;
|
|
951
|
+
}>;
|
|
952
|
+
/**
|
|
953
|
+
* A contract has been created at given address.
|
|
954
|
+
**/
|
|
955
|
+
Created: GenericPalletEvent<'EVM', 'Created', {
|
|
956
|
+
address: H160;
|
|
957
|
+
}>;
|
|
958
|
+
/**
|
|
959
|
+
* A contract was attempted to be created, but the execution failed.
|
|
960
|
+
**/
|
|
961
|
+
CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', {
|
|
962
|
+
address: H160;
|
|
963
|
+
}>;
|
|
964
|
+
/**
|
|
965
|
+
* A contract has been executed successfully with states applied.
|
|
966
|
+
**/
|
|
967
|
+
Executed: GenericPalletEvent<'EVM', 'Executed', {
|
|
968
|
+
address: H160;
|
|
969
|
+
}>;
|
|
970
|
+
/**
|
|
971
|
+
* A contract has been executed with errors. States are reverted with only gas fees applied.
|
|
972
|
+
**/
|
|
973
|
+
ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', {
|
|
974
|
+
address: H160;
|
|
975
|
+
}>;
|
|
976
|
+
/**
|
|
977
|
+
* Generic pallet event
|
|
978
|
+
**/
|
|
979
|
+
[prop: string]: GenericPalletEvent;
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* Pallet `Ethereum`'s events
|
|
983
|
+
**/
|
|
984
|
+
ethereum: {
|
|
985
|
+
/**
|
|
986
|
+
* An ethereum transaction was successfully executed.
|
|
987
|
+
**/
|
|
988
|
+
Executed: GenericPalletEvent<'Ethereum', 'Executed', {
|
|
989
|
+
from: H160;
|
|
990
|
+
to: H160;
|
|
991
|
+
transactionHash: H256;
|
|
992
|
+
exitReason: EvmCoreErrorExitReason;
|
|
993
|
+
extraData: Bytes;
|
|
994
|
+
}>;
|
|
995
|
+
/**
|
|
996
|
+
* Generic pallet event
|
|
997
|
+
**/
|
|
998
|
+
[prop: string]: GenericPalletEvent;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* Pallet `Scheduler`'s events
|
|
1002
|
+
**/
|
|
1003
|
+
scheduler: {
|
|
1004
|
+
/**
|
|
1005
|
+
* Scheduled some task.
|
|
1006
|
+
**/
|
|
1007
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', {
|
|
1008
|
+
when: number;
|
|
1009
|
+
index: number;
|
|
1010
|
+
}>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Canceled some task.
|
|
1013
|
+
**/
|
|
1014
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', {
|
|
1015
|
+
when: number;
|
|
1016
|
+
index: number;
|
|
1017
|
+
}>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Dispatched some task.
|
|
1020
|
+
**/
|
|
1021
|
+
Dispatched: GenericPalletEvent<'Scheduler', 'Dispatched', {
|
|
1022
|
+
task: [number, number];
|
|
1023
|
+
id?: FixedBytes<32> | undefined;
|
|
1024
|
+
result: Result<[], DispatchError>;
|
|
1025
|
+
}>;
|
|
1026
|
+
/**
|
|
1027
|
+
* The call for the provided hash was not found so the task has been aborted.
|
|
1028
|
+
**/
|
|
1029
|
+
CallUnavailable: GenericPalletEvent<'Scheduler', 'CallUnavailable', {
|
|
1030
|
+
task: [number, number];
|
|
1031
|
+
id?: FixedBytes<32> | undefined;
|
|
1032
|
+
}>;
|
|
1033
|
+
/**
|
|
1034
|
+
* The given task was unable to be renewed since the agenda is full at that block.
|
|
1035
|
+
**/
|
|
1036
|
+
PeriodicFailed: GenericPalletEvent<'Scheduler', 'PeriodicFailed', {
|
|
1037
|
+
task: [number, number];
|
|
1038
|
+
id?: FixedBytes<32> | undefined;
|
|
1039
|
+
}>;
|
|
1040
|
+
/**
|
|
1041
|
+
* The given task can never be executed since it is overweight.
|
|
1042
|
+
**/
|
|
1043
|
+
PermanentlyOverweight: GenericPalletEvent<'Scheduler', 'PermanentlyOverweight', {
|
|
1044
|
+
task: [number, number];
|
|
1045
|
+
id?: FixedBytes<32> | undefined;
|
|
1046
|
+
}>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Generic pallet event
|
|
1049
|
+
**/
|
|
1050
|
+
[prop: string]: GenericPalletEvent;
|
|
1051
|
+
};
|
|
1052
|
+
/**
|
|
1053
|
+
* Pallet `Democracy`'s events
|
|
1054
|
+
**/
|
|
1055
|
+
democracy: {
|
|
1056
|
+
/**
|
|
1057
|
+
* A motion has been proposed by a public account.
|
|
1058
|
+
**/
|
|
1059
|
+
Proposed: GenericPalletEvent<'Democracy', 'Proposed', {
|
|
1060
|
+
proposalIndex: number;
|
|
1061
|
+
deposit: bigint;
|
|
1062
|
+
}>;
|
|
1063
|
+
/**
|
|
1064
|
+
* A public proposal has been tabled for referendum vote.
|
|
1065
|
+
**/
|
|
1066
|
+
Tabled: GenericPalletEvent<'Democracy', 'Tabled', {
|
|
1067
|
+
proposalIndex: number;
|
|
1068
|
+
deposit: bigint;
|
|
1069
|
+
}>;
|
|
1070
|
+
/**
|
|
1071
|
+
* An external proposal has been tabled.
|
|
1072
|
+
**/
|
|
1073
|
+
ExternalTabled: GenericPalletEvent<'Democracy', 'ExternalTabled', null>;
|
|
1074
|
+
/**
|
|
1075
|
+
* A referendum has begun.
|
|
1076
|
+
**/
|
|
1077
|
+
Started: GenericPalletEvent<'Democracy', 'Started', {
|
|
1078
|
+
refIndex: number;
|
|
1079
|
+
threshold: PalletDemocracyVoteThreshold;
|
|
1080
|
+
}>;
|
|
1081
|
+
/**
|
|
1082
|
+
* A proposal has been approved by referendum.
|
|
1083
|
+
**/
|
|
1084
|
+
Passed: GenericPalletEvent<'Democracy', 'Passed', {
|
|
1085
|
+
refIndex: number;
|
|
1086
|
+
}>;
|
|
1087
|
+
/**
|
|
1088
|
+
* A proposal has been rejected by referendum.
|
|
1089
|
+
**/
|
|
1090
|
+
NotPassed: GenericPalletEvent<'Democracy', 'NotPassed', {
|
|
1091
|
+
refIndex: number;
|
|
1092
|
+
}>;
|
|
1093
|
+
/**
|
|
1094
|
+
* A referendum has been cancelled.
|
|
1095
|
+
**/
|
|
1096
|
+
Cancelled: GenericPalletEvent<'Democracy', 'Cancelled', {
|
|
1097
|
+
refIndex: number;
|
|
1098
|
+
}>;
|
|
1099
|
+
/**
|
|
1100
|
+
* An account has delegated their vote to another account.
|
|
1101
|
+
**/
|
|
1102
|
+
Delegated: GenericPalletEvent<'Democracy', 'Delegated', {
|
|
1103
|
+
who: AccountId20;
|
|
1104
|
+
target: AccountId20;
|
|
1105
|
+
}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* An account has cancelled a previous delegation operation.
|
|
1108
|
+
**/
|
|
1109
|
+
Undelegated: GenericPalletEvent<'Democracy', 'Undelegated', {
|
|
1110
|
+
account: AccountId20;
|
|
1111
|
+
}>;
|
|
1112
|
+
/**
|
|
1113
|
+
* An external proposal has been vetoed.
|
|
1114
|
+
**/
|
|
1115
|
+
Vetoed: GenericPalletEvent<'Democracy', 'Vetoed', {
|
|
1116
|
+
who: AccountId20;
|
|
1117
|
+
proposalHash: H256;
|
|
1118
|
+
until: number;
|
|
1119
|
+
}>;
|
|
1120
|
+
/**
|
|
1121
|
+
* A proposal_hash has been blacklisted permanently.
|
|
1122
|
+
**/
|
|
1123
|
+
Blacklisted: GenericPalletEvent<'Democracy', 'Blacklisted', {
|
|
1124
|
+
proposalHash: H256;
|
|
1125
|
+
}>;
|
|
1126
|
+
/**
|
|
1127
|
+
* An account has voted in a referendum
|
|
1128
|
+
**/
|
|
1129
|
+
Voted: GenericPalletEvent<'Democracy', 'Voted', {
|
|
1130
|
+
voter: AccountId20;
|
|
1131
|
+
refIndex: number;
|
|
1132
|
+
vote: PalletDemocracyVoteAccountVote;
|
|
1133
|
+
}>;
|
|
1134
|
+
/**
|
|
1135
|
+
* An account has secconded a proposal
|
|
1136
|
+
**/
|
|
1137
|
+
Seconded: GenericPalletEvent<'Democracy', 'Seconded', {
|
|
1138
|
+
seconder: AccountId20;
|
|
1139
|
+
propIndex: number;
|
|
1140
|
+
}>;
|
|
1141
|
+
/**
|
|
1142
|
+
* A proposal got canceled.
|
|
1143
|
+
**/
|
|
1144
|
+
ProposalCanceled: GenericPalletEvent<'Democracy', 'ProposalCanceled', {
|
|
1145
|
+
propIndex: number;
|
|
1146
|
+
}>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Metadata for a proposal or a referendum has been set.
|
|
1149
|
+
**/
|
|
1150
|
+
MetadataSet: GenericPalletEvent<'Democracy', 'MetadataSet', {
|
|
1151
|
+
/**
|
|
1152
|
+
* Metadata owner.
|
|
1153
|
+
**/
|
|
1154
|
+
owner: PalletDemocracyMetadataOwner;
|
|
1155
|
+
/**
|
|
1156
|
+
* Preimage hash.
|
|
1157
|
+
**/
|
|
1158
|
+
hash: H256;
|
|
1159
|
+
}>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Metadata for a proposal or a referendum has been cleared.
|
|
1162
|
+
**/
|
|
1163
|
+
MetadataCleared: GenericPalletEvent<'Democracy', 'MetadataCleared', {
|
|
1164
|
+
/**
|
|
1165
|
+
* Metadata owner.
|
|
1166
|
+
**/
|
|
1167
|
+
owner: PalletDemocracyMetadataOwner;
|
|
1168
|
+
/**
|
|
1169
|
+
* Preimage hash.
|
|
1170
|
+
**/
|
|
1171
|
+
hash: H256;
|
|
1172
|
+
}>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Metadata has been transferred to new owner.
|
|
1175
|
+
**/
|
|
1176
|
+
MetadataTransferred: GenericPalletEvent<'Democracy', 'MetadataTransferred', {
|
|
1177
|
+
/**
|
|
1178
|
+
* Previous metadata owner.
|
|
1179
|
+
**/
|
|
1180
|
+
prevOwner: PalletDemocracyMetadataOwner;
|
|
1181
|
+
/**
|
|
1182
|
+
* New metadata owner.
|
|
1183
|
+
**/
|
|
1184
|
+
owner: PalletDemocracyMetadataOwner;
|
|
1185
|
+
/**
|
|
1186
|
+
* Preimage hash.
|
|
1187
|
+
**/
|
|
1188
|
+
hash: H256;
|
|
1189
|
+
}>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Generic pallet event
|
|
1192
|
+
**/
|
|
1193
|
+
[prop: string]: GenericPalletEvent;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* Pallet `Preimage`'s events
|
|
1197
|
+
**/
|
|
1198
|
+
preimage: {
|
|
1199
|
+
/**
|
|
1200
|
+
* A preimage has been noted.
|
|
1201
|
+
**/
|
|
1202
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', {
|
|
1203
|
+
hash: H256;
|
|
1204
|
+
}>;
|
|
1205
|
+
/**
|
|
1206
|
+
* A preimage has been requested.
|
|
1207
|
+
**/
|
|
1208
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', {
|
|
1209
|
+
hash: H256;
|
|
1210
|
+
}>;
|
|
1211
|
+
/**
|
|
1212
|
+
* A preimage has ben cleared.
|
|
1213
|
+
**/
|
|
1214
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', {
|
|
1215
|
+
hash: H256;
|
|
1216
|
+
}>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Generic pallet event
|
|
1219
|
+
**/
|
|
1220
|
+
[prop: string]: GenericPalletEvent;
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* Pallet `ConvictionVoting`'s events
|
|
1224
|
+
**/
|
|
1225
|
+
convictionVoting: {
|
|
1226
|
+
/**
|
|
1227
|
+
* An account has delegated their vote to another account. \[who, target\]
|
|
1228
|
+
**/
|
|
1229
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId20, AccountId20]>;
|
|
1230
|
+
/**
|
|
1231
|
+
* An \[account\] has cancelled a previous delegation operation.
|
|
1232
|
+
**/
|
|
1233
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId20>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Generic pallet event
|
|
1236
|
+
**/
|
|
1237
|
+
[prop: string]: GenericPalletEvent;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Pallet `Referenda`'s events
|
|
1241
|
+
**/
|
|
1242
|
+
referenda: {
|
|
1243
|
+
/**
|
|
1244
|
+
* A referendum has been submitted.
|
|
1245
|
+
**/
|
|
1246
|
+
Submitted: GenericPalletEvent<'Referenda', 'Submitted', {
|
|
1247
|
+
/**
|
|
1248
|
+
* Index of the referendum.
|
|
1249
|
+
**/
|
|
1250
|
+
index: number;
|
|
1251
|
+
/**
|
|
1252
|
+
* The track (and by extension proposal dispatch origin) of this referendum.
|
|
1253
|
+
**/
|
|
1254
|
+
track: number;
|
|
1255
|
+
/**
|
|
1256
|
+
* The proposal for the referendum.
|
|
1257
|
+
**/
|
|
1258
|
+
proposal: FrameSupportPreimagesBounded;
|
|
1259
|
+
}>;
|
|
1260
|
+
/**
|
|
1261
|
+
* The decision deposit has been placed.
|
|
1262
|
+
**/
|
|
1263
|
+
DecisionDepositPlaced: GenericPalletEvent<'Referenda', 'DecisionDepositPlaced', {
|
|
1264
|
+
/**
|
|
1265
|
+
* Index of the referendum.
|
|
1266
|
+
**/
|
|
1267
|
+
index: number;
|
|
1268
|
+
/**
|
|
1269
|
+
* The account who placed the deposit.
|
|
1270
|
+
**/
|
|
1271
|
+
who: AccountId20;
|
|
1272
|
+
/**
|
|
1273
|
+
* The amount placed by the account.
|
|
1274
|
+
**/
|
|
1275
|
+
amount: bigint;
|
|
1276
|
+
}>;
|
|
1277
|
+
/**
|
|
1278
|
+
* The decision deposit has been refunded.
|
|
1279
|
+
**/
|
|
1280
|
+
DecisionDepositRefunded: GenericPalletEvent<'Referenda', 'DecisionDepositRefunded', {
|
|
1281
|
+
/**
|
|
1282
|
+
* Index of the referendum.
|
|
1283
|
+
**/
|
|
1284
|
+
index: number;
|
|
1285
|
+
/**
|
|
1286
|
+
* The account who placed the deposit.
|
|
1287
|
+
**/
|
|
1288
|
+
who: AccountId20;
|
|
1289
|
+
/**
|
|
1290
|
+
* The amount placed by the account.
|
|
1291
|
+
**/
|
|
1292
|
+
amount: bigint;
|
|
1293
|
+
}>;
|
|
1294
|
+
/**
|
|
1295
|
+
* A deposit has been slashaed.
|
|
1296
|
+
**/
|
|
1297
|
+
DepositSlashed: GenericPalletEvent<'Referenda', 'DepositSlashed', {
|
|
1298
|
+
/**
|
|
1299
|
+
* The account who placed the deposit.
|
|
1300
|
+
**/
|
|
1301
|
+
who: AccountId20;
|
|
1302
|
+
/**
|
|
1303
|
+
* The amount placed by the account.
|
|
1304
|
+
**/
|
|
1305
|
+
amount: bigint;
|
|
1306
|
+
}>;
|
|
1307
|
+
/**
|
|
1308
|
+
* A referendum has moved into the deciding phase.
|
|
1309
|
+
**/
|
|
1310
|
+
DecisionStarted: GenericPalletEvent<'Referenda', 'DecisionStarted', {
|
|
1311
|
+
/**
|
|
1312
|
+
* Index of the referendum.
|
|
1313
|
+
**/
|
|
1314
|
+
index: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* The track (and by extension proposal dispatch origin) of this referendum.
|
|
1317
|
+
**/
|
|
1318
|
+
track: number;
|
|
1319
|
+
/**
|
|
1320
|
+
* The proposal for the referendum.
|
|
1321
|
+
**/
|
|
1322
|
+
proposal: FrameSupportPreimagesBounded;
|
|
1323
|
+
/**
|
|
1324
|
+
* The current tally of votes in this referendum.
|
|
1325
|
+
**/
|
|
1326
|
+
tally: PalletConvictionVotingTally;
|
|
1327
|
+
}>;
|
|
1328
|
+
ConfirmStarted: GenericPalletEvent<'Referenda', 'ConfirmStarted', {
|
|
1329
|
+
/**
|
|
1330
|
+
* Index of the referendum.
|
|
1331
|
+
**/
|
|
1332
|
+
index: number;
|
|
1333
|
+
}>;
|
|
1334
|
+
ConfirmAborted: GenericPalletEvent<'Referenda', 'ConfirmAborted', {
|
|
1335
|
+
/**
|
|
1336
|
+
* Index of the referendum.
|
|
1337
|
+
**/
|
|
1338
|
+
index: number;
|
|
1339
|
+
}>;
|
|
1340
|
+
/**
|
|
1341
|
+
* A referendum has ended its confirmation phase and is ready for approval.
|
|
1342
|
+
**/
|
|
1343
|
+
Confirmed: GenericPalletEvent<'Referenda', 'Confirmed', {
|
|
1344
|
+
/**
|
|
1345
|
+
* Index of the referendum.
|
|
1346
|
+
**/
|
|
1347
|
+
index: number;
|
|
1348
|
+
/**
|
|
1349
|
+
* The final tally of votes in this referendum.
|
|
1350
|
+
**/
|
|
1351
|
+
tally: PalletConvictionVotingTally;
|
|
1352
|
+
}>;
|
|
1353
|
+
/**
|
|
1354
|
+
* A referendum has been approved and its proposal has been scheduled.
|
|
1355
|
+
**/
|
|
1356
|
+
Approved: GenericPalletEvent<'Referenda', 'Approved', {
|
|
1357
|
+
/**
|
|
1358
|
+
* Index of the referendum.
|
|
1359
|
+
**/
|
|
1360
|
+
index: number;
|
|
1361
|
+
}>;
|
|
1362
|
+
/**
|
|
1363
|
+
* A proposal has been rejected by referendum.
|
|
1364
|
+
**/
|
|
1365
|
+
Rejected: GenericPalletEvent<'Referenda', 'Rejected', {
|
|
1366
|
+
/**
|
|
1367
|
+
* Index of the referendum.
|
|
1368
|
+
**/
|
|
1369
|
+
index: number;
|
|
1370
|
+
/**
|
|
1371
|
+
* The final tally of votes in this referendum.
|
|
1372
|
+
**/
|
|
1373
|
+
tally: PalletConvictionVotingTally;
|
|
1374
|
+
}>;
|
|
1375
|
+
/**
|
|
1376
|
+
* A referendum has been timed out without being decided.
|
|
1377
|
+
**/
|
|
1378
|
+
TimedOut: GenericPalletEvent<'Referenda', 'TimedOut', {
|
|
1379
|
+
/**
|
|
1380
|
+
* Index of the referendum.
|
|
1381
|
+
**/
|
|
1382
|
+
index: number;
|
|
1383
|
+
/**
|
|
1384
|
+
* The final tally of votes in this referendum.
|
|
1385
|
+
**/
|
|
1386
|
+
tally: PalletConvictionVotingTally;
|
|
1387
|
+
}>;
|
|
1388
|
+
/**
|
|
1389
|
+
* A referendum has been cancelled.
|
|
1390
|
+
**/
|
|
1391
|
+
Cancelled: GenericPalletEvent<'Referenda', 'Cancelled', {
|
|
1392
|
+
/**
|
|
1393
|
+
* Index of the referendum.
|
|
1394
|
+
**/
|
|
1395
|
+
index: number;
|
|
1396
|
+
/**
|
|
1397
|
+
* The final tally of votes in this referendum.
|
|
1398
|
+
**/
|
|
1399
|
+
tally: PalletConvictionVotingTally;
|
|
1400
|
+
}>;
|
|
1401
|
+
/**
|
|
1402
|
+
* A referendum has been killed.
|
|
1403
|
+
**/
|
|
1404
|
+
Killed: GenericPalletEvent<'Referenda', 'Killed', {
|
|
1405
|
+
/**
|
|
1406
|
+
* Index of the referendum.
|
|
1407
|
+
**/
|
|
1408
|
+
index: number;
|
|
1409
|
+
/**
|
|
1410
|
+
* The final tally of votes in this referendum.
|
|
1411
|
+
**/
|
|
1412
|
+
tally: PalletConvictionVotingTally;
|
|
1413
|
+
}>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The submission deposit has been refunded.
|
|
1416
|
+
**/
|
|
1417
|
+
SubmissionDepositRefunded: GenericPalletEvent<'Referenda', 'SubmissionDepositRefunded', {
|
|
1418
|
+
/**
|
|
1419
|
+
* Index of the referendum.
|
|
1420
|
+
**/
|
|
1421
|
+
index: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* The account who placed the deposit.
|
|
1424
|
+
**/
|
|
1425
|
+
who: AccountId20;
|
|
1426
|
+
/**
|
|
1427
|
+
* The amount placed by the account.
|
|
1428
|
+
**/
|
|
1429
|
+
amount: bigint;
|
|
1430
|
+
}>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Metadata for a referendum has been set.
|
|
1433
|
+
**/
|
|
1434
|
+
MetadataSet: GenericPalletEvent<'Referenda', 'MetadataSet', {
|
|
1435
|
+
/**
|
|
1436
|
+
* Index of the referendum.
|
|
1437
|
+
**/
|
|
1438
|
+
index: number;
|
|
1439
|
+
/**
|
|
1440
|
+
* Preimage hash.
|
|
1441
|
+
**/
|
|
1442
|
+
hash: H256;
|
|
1443
|
+
}>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Metadata for a referendum has been cleared.
|
|
1446
|
+
**/
|
|
1447
|
+
MetadataCleared: GenericPalletEvent<'Referenda', 'MetadataCleared', {
|
|
1448
|
+
/**
|
|
1449
|
+
* Index of the referendum.
|
|
1450
|
+
**/
|
|
1451
|
+
index: number;
|
|
1452
|
+
/**
|
|
1453
|
+
* Preimage hash.
|
|
1454
|
+
**/
|
|
1455
|
+
hash: H256;
|
|
1456
|
+
}>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Generic pallet event
|
|
1459
|
+
**/
|
|
1460
|
+
[prop: string]: GenericPalletEvent;
|
|
1461
|
+
};
|
|
1462
|
+
/**
|
|
1463
|
+
* Pallet `Whitelist`'s events
|
|
1464
|
+
**/
|
|
1465
|
+
whitelist: {
|
|
1466
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', {
|
|
1467
|
+
callHash: H256;
|
|
1468
|
+
}>;
|
|
1469
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', {
|
|
1470
|
+
callHash: H256;
|
|
1471
|
+
}>;
|
|
1472
|
+
WhitelistedCallDispatched: GenericPalletEvent<'Whitelist', 'WhitelistedCallDispatched', {
|
|
1473
|
+
callHash: H256;
|
|
1474
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
1475
|
+
}>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Generic pallet event
|
|
1478
|
+
**/
|
|
1479
|
+
[prop: string]: GenericPalletEvent;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* Pallet `CouncilCollective`'s events
|
|
1483
|
+
**/
|
|
1484
|
+
councilCollective: {
|
|
1485
|
+
/**
|
|
1486
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1487
|
+
* `MemberCount`).
|
|
1488
|
+
**/
|
|
1489
|
+
Proposed: GenericPalletEvent<'CouncilCollective', 'Proposed', {
|
|
1490
|
+
account: AccountId20;
|
|
1491
|
+
proposalIndex: number;
|
|
1492
|
+
proposalHash: H256;
|
|
1493
|
+
threshold: number;
|
|
1494
|
+
}>;
|
|
1495
|
+
/**
|
|
1496
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
1497
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
1498
|
+
**/
|
|
1499
|
+
Voted: GenericPalletEvent<'CouncilCollective', 'Voted', {
|
|
1500
|
+
account: AccountId20;
|
|
1501
|
+
proposalHash: H256;
|
|
1502
|
+
voted: boolean;
|
|
1503
|
+
yes: number;
|
|
1504
|
+
no: number;
|
|
1505
|
+
}>;
|
|
1506
|
+
/**
|
|
1507
|
+
* A motion was approved by the required threshold.
|
|
1508
|
+
**/
|
|
1509
|
+
Approved: GenericPalletEvent<'CouncilCollective', 'Approved', {
|
|
1510
|
+
proposalHash: H256;
|
|
1511
|
+
}>;
|
|
1512
|
+
/**
|
|
1513
|
+
* A motion was not approved by the required threshold.
|
|
1514
|
+
**/
|
|
1515
|
+
Disapproved: GenericPalletEvent<'CouncilCollective', 'Disapproved', {
|
|
1516
|
+
proposalHash: H256;
|
|
1517
|
+
}>;
|
|
1518
|
+
/**
|
|
1519
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
1520
|
+
**/
|
|
1521
|
+
Executed: GenericPalletEvent<'CouncilCollective', 'Executed', {
|
|
1522
|
+
proposalHash: H256;
|
|
1523
|
+
result: Result<[], DispatchError>;
|
|
1524
|
+
}>;
|
|
1525
|
+
/**
|
|
1526
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1527
|
+
**/
|
|
1528
|
+
MemberExecuted: GenericPalletEvent<'CouncilCollective', 'MemberExecuted', {
|
|
1529
|
+
proposalHash: H256;
|
|
1530
|
+
result: Result<[], DispatchError>;
|
|
1531
|
+
}>;
|
|
1532
|
+
/**
|
|
1533
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
1534
|
+
**/
|
|
1535
|
+
Closed: GenericPalletEvent<'CouncilCollective', 'Closed', {
|
|
1536
|
+
proposalHash: H256;
|
|
1537
|
+
yes: number;
|
|
1538
|
+
no: number;
|
|
1539
|
+
}>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Generic pallet event
|
|
1542
|
+
**/
|
|
1543
|
+
[prop: string]: GenericPalletEvent;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* Pallet `TechCommitteeCollective`'s events
|
|
1547
|
+
**/
|
|
1548
|
+
techCommitteeCollective: {
|
|
1549
|
+
/**
|
|
1550
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1551
|
+
* `MemberCount`).
|
|
1552
|
+
**/
|
|
1553
|
+
Proposed: GenericPalletEvent<'TechCommitteeCollective', 'Proposed', {
|
|
1554
|
+
account: AccountId20;
|
|
1555
|
+
proposalIndex: number;
|
|
1556
|
+
proposalHash: H256;
|
|
1557
|
+
threshold: number;
|
|
1558
|
+
}>;
|
|
1559
|
+
/**
|
|
1560
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
1561
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
1562
|
+
**/
|
|
1563
|
+
Voted: GenericPalletEvent<'TechCommitteeCollective', 'Voted', {
|
|
1564
|
+
account: AccountId20;
|
|
1565
|
+
proposalHash: H256;
|
|
1566
|
+
voted: boolean;
|
|
1567
|
+
yes: number;
|
|
1568
|
+
no: number;
|
|
1569
|
+
}>;
|
|
1570
|
+
/**
|
|
1571
|
+
* A motion was approved by the required threshold.
|
|
1572
|
+
**/
|
|
1573
|
+
Approved: GenericPalletEvent<'TechCommitteeCollective', 'Approved', {
|
|
1574
|
+
proposalHash: H256;
|
|
1575
|
+
}>;
|
|
1576
|
+
/**
|
|
1577
|
+
* A motion was not approved by the required threshold.
|
|
1578
|
+
**/
|
|
1579
|
+
Disapproved: GenericPalletEvent<'TechCommitteeCollective', 'Disapproved', {
|
|
1580
|
+
proposalHash: H256;
|
|
1581
|
+
}>;
|
|
1582
|
+
/**
|
|
1583
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
1584
|
+
**/
|
|
1585
|
+
Executed: GenericPalletEvent<'TechCommitteeCollective', 'Executed', {
|
|
1586
|
+
proposalHash: H256;
|
|
1587
|
+
result: Result<[], DispatchError>;
|
|
1588
|
+
}>;
|
|
1589
|
+
/**
|
|
1590
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1591
|
+
**/
|
|
1592
|
+
MemberExecuted: GenericPalletEvent<'TechCommitteeCollective', 'MemberExecuted', {
|
|
1593
|
+
proposalHash: H256;
|
|
1594
|
+
result: Result<[], DispatchError>;
|
|
1595
|
+
}>;
|
|
1596
|
+
/**
|
|
1597
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
1598
|
+
**/
|
|
1599
|
+
Closed: GenericPalletEvent<'TechCommitteeCollective', 'Closed', {
|
|
1600
|
+
proposalHash: H256;
|
|
1601
|
+
yes: number;
|
|
1602
|
+
no: number;
|
|
1603
|
+
}>;
|
|
1604
|
+
/**
|
|
1605
|
+
* Generic pallet event
|
|
1606
|
+
**/
|
|
1607
|
+
[prop: string]: GenericPalletEvent;
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* Pallet `TreasuryCouncilCollective`'s events
|
|
1611
|
+
**/
|
|
1612
|
+
treasuryCouncilCollective: {
|
|
1613
|
+
/**
|
|
1614
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1615
|
+
* `MemberCount`).
|
|
1616
|
+
**/
|
|
1617
|
+
Proposed: GenericPalletEvent<'TreasuryCouncilCollective', 'Proposed', {
|
|
1618
|
+
account: AccountId20;
|
|
1619
|
+
proposalIndex: number;
|
|
1620
|
+
proposalHash: H256;
|
|
1621
|
+
threshold: number;
|
|
1622
|
+
}>;
|
|
1623
|
+
/**
|
|
1624
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
1625
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
1626
|
+
**/
|
|
1627
|
+
Voted: GenericPalletEvent<'TreasuryCouncilCollective', 'Voted', {
|
|
1628
|
+
account: AccountId20;
|
|
1629
|
+
proposalHash: H256;
|
|
1630
|
+
voted: boolean;
|
|
1631
|
+
yes: number;
|
|
1632
|
+
no: number;
|
|
1633
|
+
}>;
|
|
1634
|
+
/**
|
|
1635
|
+
* A motion was approved by the required threshold.
|
|
1636
|
+
**/
|
|
1637
|
+
Approved: GenericPalletEvent<'TreasuryCouncilCollective', 'Approved', {
|
|
1638
|
+
proposalHash: H256;
|
|
1639
|
+
}>;
|
|
1640
|
+
/**
|
|
1641
|
+
* A motion was not approved by the required threshold.
|
|
1642
|
+
**/
|
|
1643
|
+
Disapproved: GenericPalletEvent<'TreasuryCouncilCollective', 'Disapproved', {
|
|
1644
|
+
proposalHash: H256;
|
|
1645
|
+
}>;
|
|
1646
|
+
/**
|
|
1647
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
1648
|
+
**/
|
|
1649
|
+
Executed: GenericPalletEvent<'TreasuryCouncilCollective', 'Executed', {
|
|
1650
|
+
proposalHash: H256;
|
|
1651
|
+
result: Result<[], DispatchError>;
|
|
1652
|
+
}>;
|
|
1653
|
+
/**
|
|
1654
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1655
|
+
**/
|
|
1656
|
+
MemberExecuted: GenericPalletEvent<'TreasuryCouncilCollective', 'MemberExecuted', {
|
|
1657
|
+
proposalHash: H256;
|
|
1658
|
+
result: Result<[], DispatchError>;
|
|
1659
|
+
}>;
|
|
1660
|
+
/**
|
|
1661
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
1662
|
+
**/
|
|
1663
|
+
Closed: GenericPalletEvent<'TreasuryCouncilCollective', 'Closed', {
|
|
1664
|
+
proposalHash: H256;
|
|
1665
|
+
yes: number;
|
|
1666
|
+
no: number;
|
|
1667
|
+
}>;
|
|
1668
|
+
/**
|
|
1669
|
+
* Generic pallet event
|
|
1670
|
+
**/
|
|
1671
|
+
[prop: string]: GenericPalletEvent;
|
|
1672
|
+
};
|
|
1673
|
+
/**
|
|
1674
|
+
* Pallet `OpenTechCommitteeCollective`'s events
|
|
1675
|
+
**/
|
|
1676
|
+
openTechCommitteeCollective: {
|
|
1677
|
+
/**
|
|
1678
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1679
|
+
* `MemberCount`).
|
|
1680
|
+
**/
|
|
1681
|
+
Proposed: GenericPalletEvent<'OpenTechCommitteeCollective', 'Proposed', {
|
|
1682
|
+
account: AccountId20;
|
|
1683
|
+
proposalIndex: number;
|
|
1684
|
+
proposalHash: H256;
|
|
1685
|
+
threshold: number;
|
|
1686
|
+
}>;
|
|
1687
|
+
/**
|
|
1688
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
1689
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
1690
|
+
**/
|
|
1691
|
+
Voted: GenericPalletEvent<'OpenTechCommitteeCollective', 'Voted', {
|
|
1692
|
+
account: AccountId20;
|
|
1693
|
+
proposalHash: H256;
|
|
1694
|
+
voted: boolean;
|
|
1695
|
+
yes: number;
|
|
1696
|
+
no: number;
|
|
1697
|
+
}>;
|
|
1698
|
+
/**
|
|
1699
|
+
* A motion was approved by the required threshold.
|
|
1700
|
+
**/
|
|
1701
|
+
Approved: GenericPalletEvent<'OpenTechCommitteeCollective', 'Approved', {
|
|
1702
|
+
proposalHash: H256;
|
|
1703
|
+
}>;
|
|
1704
|
+
/**
|
|
1705
|
+
* A motion was not approved by the required threshold.
|
|
1706
|
+
**/
|
|
1707
|
+
Disapproved: GenericPalletEvent<'OpenTechCommitteeCollective', 'Disapproved', {
|
|
1708
|
+
proposalHash: H256;
|
|
1709
|
+
}>;
|
|
1710
|
+
/**
|
|
1711
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
1712
|
+
**/
|
|
1713
|
+
Executed: GenericPalletEvent<'OpenTechCommitteeCollective', 'Executed', {
|
|
1714
|
+
proposalHash: H256;
|
|
1715
|
+
result: Result<[], DispatchError>;
|
|
1716
|
+
}>;
|
|
1717
|
+
/**
|
|
1718
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1719
|
+
**/
|
|
1720
|
+
MemberExecuted: GenericPalletEvent<'OpenTechCommitteeCollective', 'MemberExecuted', {
|
|
1721
|
+
proposalHash: H256;
|
|
1722
|
+
result: Result<[], DispatchError>;
|
|
1723
|
+
}>;
|
|
1724
|
+
/**
|
|
1725
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
1726
|
+
**/
|
|
1727
|
+
Closed: GenericPalletEvent<'OpenTechCommitteeCollective', 'Closed', {
|
|
1728
|
+
proposalHash: H256;
|
|
1729
|
+
yes: number;
|
|
1730
|
+
no: number;
|
|
1731
|
+
}>;
|
|
1732
|
+
/**
|
|
1733
|
+
* Generic pallet event
|
|
1734
|
+
**/
|
|
1735
|
+
[prop: string]: GenericPalletEvent;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Pallet `Treasury`'s events
|
|
1739
|
+
**/
|
|
1740
|
+
treasury: {
|
|
1741
|
+
/**
|
|
1742
|
+
* New proposal.
|
|
1743
|
+
**/
|
|
1744
|
+
Proposed: GenericPalletEvent<'Treasury', 'Proposed', {
|
|
1745
|
+
proposalIndex: number;
|
|
1746
|
+
}>;
|
|
1747
|
+
/**
|
|
1748
|
+
* We have ended a spend period and will now allocate funds.
|
|
1749
|
+
**/
|
|
1750
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', {
|
|
1751
|
+
budgetRemaining: bigint;
|
|
1752
|
+
}>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Some funds have been allocated.
|
|
1755
|
+
**/
|
|
1756
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', {
|
|
1757
|
+
proposalIndex: number;
|
|
1758
|
+
award: bigint;
|
|
1759
|
+
account: AccountId20;
|
|
1760
|
+
}>;
|
|
1761
|
+
/**
|
|
1762
|
+
* A proposal was rejected; funds were slashed.
|
|
1763
|
+
**/
|
|
1764
|
+
Rejected: GenericPalletEvent<'Treasury', 'Rejected', {
|
|
1765
|
+
proposalIndex: number;
|
|
1766
|
+
slashed: bigint;
|
|
1767
|
+
}>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Some of our funds have been burnt.
|
|
1770
|
+
**/
|
|
1771
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', {
|
|
1772
|
+
burntFunds: bigint;
|
|
1773
|
+
}>;
|
|
1774
|
+
/**
|
|
1775
|
+
* Spending has finished; this is the amount that rolls over until next spend.
|
|
1776
|
+
**/
|
|
1777
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', {
|
|
1778
|
+
rolloverBalance: bigint;
|
|
1779
|
+
}>;
|
|
1780
|
+
/**
|
|
1781
|
+
* Some funds have been deposited.
|
|
1782
|
+
**/
|
|
1783
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', {
|
|
1784
|
+
value: bigint;
|
|
1785
|
+
}>;
|
|
1786
|
+
/**
|
|
1787
|
+
* A new spend proposal has been approved.
|
|
1788
|
+
**/
|
|
1789
|
+
SpendApproved: GenericPalletEvent<'Treasury', 'SpendApproved', {
|
|
1790
|
+
proposalIndex: number;
|
|
1791
|
+
amount: bigint;
|
|
1792
|
+
beneficiary: AccountId20;
|
|
1793
|
+
}>;
|
|
1794
|
+
/**
|
|
1795
|
+
* The inactive funds of the pallet have been updated.
|
|
1796
|
+
**/
|
|
1797
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', {
|
|
1798
|
+
reactivated: bigint;
|
|
1799
|
+
deactivated: bigint;
|
|
1800
|
+
}>;
|
|
1801
|
+
/**
|
|
1802
|
+
* A new asset spend proposal has been approved.
|
|
1803
|
+
**/
|
|
1804
|
+
AssetSpendApproved: GenericPalletEvent<'Treasury', 'AssetSpendApproved', {
|
|
1805
|
+
index: number;
|
|
1806
|
+
assetKind: [];
|
|
1807
|
+
amount: bigint;
|
|
1808
|
+
beneficiary: AccountId20;
|
|
1809
|
+
validFrom: number;
|
|
1810
|
+
expireAt: number;
|
|
1811
|
+
}>;
|
|
1812
|
+
/**
|
|
1813
|
+
* An approved spend was voided.
|
|
1814
|
+
**/
|
|
1815
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', {
|
|
1816
|
+
index: number;
|
|
1817
|
+
}>;
|
|
1818
|
+
/**
|
|
1819
|
+
* A payment happened.
|
|
1820
|
+
**/
|
|
1821
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', {
|
|
1822
|
+
index: number;
|
|
1823
|
+
paymentId: [];
|
|
1824
|
+
}>;
|
|
1825
|
+
/**
|
|
1826
|
+
* A payment failed and can be retried.
|
|
1827
|
+
**/
|
|
1828
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', {
|
|
1829
|
+
index: number;
|
|
1830
|
+
paymentId: [];
|
|
1831
|
+
}>;
|
|
1832
|
+
/**
|
|
1833
|
+
* A spend was processed and removed from the storage. It might have been successfully
|
|
1834
|
+
* paid or it may have expired.
|
|
1835
|
+
**/
|
|
1836
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', {
|
|
1837
|
+
index: number;
|
|
1838
|
+
}>;
|
|
1839
|
+
/**
|
|
1840
|
+
* Generic pallet event
|
|
1841
|
+
**/
|
|
1842
|
+
[prop: string]: GenericPalletEvent;
|
|
1843
|
+
};
|
|
1844
|
+
/**
|
|
1845
|
+
* Pallet `CrowdloanRewards`'s events
|
|
1846
|
+
**/
|
|
1847
|
+
crowdloanRewards: {
|
|
1848
|
+
/**
|
|
1849
|
+
* The initial payment of InitializationPayment % was paid
|
|
1850
|
+
**/
|
|
1851
|
+
InitialPaymentMade: GenericPalletEvent<'CrowdloanRewards', 'InitialPaymentMade', [AccountId20, bigint]>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Someone has proven they made a contribution and associated a native identity with it.
|
|
1854
|
+
* Data is the relay account, native account and the total amount of _rewards_ that will be paid
|
|
1855
|
+
**/
|
|
1856
|
+
NativeIdentityAssociated: GenericPalletEvent<'CrowdloanRewards', 'NativeIdentityAssociated', [
|
|
1857
|
+
FixedBytes<32>,
|
|
1858
|
+
AccountId20,
|
|
1859
|
+
bigint
|
|
1860
|
+
]>;
|
|
1861
|
+
/**
|
|
1862
|
+
* A contributor has claimed some rewards.
|
|
1863
|
+
* Data is the account getting paid and the amount of rewards paid.
|
|
1864
|
+
**/
|
|
1865
|
+
RewardsPaid: GenericPalletEvent<'CrowdloanRewards', 'RewardsPaid', [AccountId20, bigint]>;
|
|
1866
|
+
/**
|
|
1867
|
+
* A contributor has updated the reward address.
|
|
1868
|
+
**/
|
|
1869
|
+
RewardAddressUpdated: GenericPalletEvent<'CrowdloanRewards', 'RewardAddressUpdated', [AccountId20, AccountId20]>;
|
|
1870
|
+
/**
|
|
1871
|
+
* When initializing the reward vec an already initialized account was found
|
|
1872
|
+
**/
|
|
1873
|
+
InitializedAlreadyInitializedAccount: GenericPalletEvent<'CrowdloanRewards', 'InitializedAlreadyInitializedAccount', [
|
|
1874
|
+
FixedBytes<32>,
|
|
1875
|
+
AccountId20 | undefined,
|
|
1876
|
+
bigint
|
|
1877
|
+
]>;
|
|
1878
|
+
/**
|
|
1879
|
+
* When initializing the reward vec an already initialized account was found
|
|
1880
|
+
**/
|
|
1881
|
+
InitializedAccountWithNotEnoughContribution: GenericPalletEvent<'CrowdloanRewards', 'InitializedAccountWithNotEnoughContribution', [
|
|
1882
|
+
FixedBytes<32>,
|
|
1883
|
+
AccountId20 | undefined,
|
|
1884
|
+
bigint
|
|
1885
|
+
]>;
|
|
1886
|
+
/**
|
|
1887
|
+
* Generic pallet event
|
|
1888
|
+
**/
|
|
1889
|
+
[prop: string]: GenericPalletEvent;
|
|
1890
|
+
};
|
|
1891
|
+
/**
|
|
1892
|
+
* Pallet `XcmpQueue`'s events
|
|
1893
|
+
**/
|
|
1894
|
+
xcmpQueue: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Some XCM was executed ok.
|
|
1897
|
+
**/
|
|
1898
|
+
Success: GenericPalletEvent<'XcmpQueue', 'Success', {
|
|
1899
|
+
messageHash: FixedBytes<32>;
|
|
1900
|
+
messageId: FixedBytes<32>;
|
|
1901
|
+
weight: SpWeightsWeightV2Weight;
|
|
1902
|
+
}>;
|
|
1903
|
+
/**
|
|
1904
|
+
* Some XCM failed.
|
|
1905
|
+
**/
|
|
1906
|
+
Fail: GenericPalletEvent<'XcmpQueue', 'Fail', {
|
|
1907
|
+
messageHash: FixedBytes<32>;
|
|
1908
|
+
messageId: FixedBytes<32>;
|
|
1909
|
+
error: XcmV3TraitsError;
|
|
1910
|
+
weight: SpWeightsWeightV2Weight;
|
|
1911
|
+
}>;
|
|
1912
|
+
/**
|
|
1913
|
+
* Bad XCM version used.
|
|
1914
|
+
**/
|
|
1915
|
+
BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', {
|
|
1916
|
+
messageHash: FixedBytes<32>;
|
|
1917
|
+
}>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Bad XCM format used.
|
|
1920
|
+
**/
|
|
1921
|
+
BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', {
|
|
1922
|
+
messageHash: FixedBytes<32>;
|
|
1923
|
+
}>;
|
|
1924
|
+
/**
|
|
1925
|
+
* An HRMP message was sent to a sibling parachain.
|
|
1926
|
+
**/
|
|
1927
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', {
|
|
1928
|
+
messageHash: FixedBytes<32>;
|
|
1929
|
+
}>;
|
|
1930
|
+
/**
|
|
1931
|
+
* An XCM exceeded the individual message weight budget.
|
|
1932
|
+
**/
|
|
1933
|
+
OverweightEnqueued: GenericPalletEvent<'XcmpQueue', 'OverweightEnqueued', {
|
|
1934
|
+
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
1935
|
+
sentAt: number;
|
|
1936
|
+
index: bigint;
|
|
1937
|
+
required: SpWeightsWeightV2Weight;
|
|
1938
|
+
}>;
|
|
1939
|
+
/**
|
|
1940
|
+
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
1941
|
+
**/
|
|
1942
|
+
OverweightServiced: GenericPalletEvent<'XcmpQueue', 'OverweightServiced', {
|
|
1943
|
+
index: bigint;
|
|
1944
|
+
used: SpWeightsWeightV2Weight;
|
|
1945
|
+
}>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Generic pallet event
|
|
1948
|
+
**/
|
|
1949
|
+
[prop: string]: GenericPalletEvent;
|
|
1950
|
+
};
|
|
1951
|
+
/**
|
|
1952
|
+
* Pallet `CumulusXcm`'s events
|
|
1953
|
+
**/
|
|
1954
|
+
cumulusXcm: {
|
|
1955
|
+
/**
|
|
1956
|
+
* Downward message is invalid XCM.
|
|
1957
|
+
* \[ id \]
|
|
1958
|
+
**/
|
|
1959
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Downward message is unsupported version of XCM.
|
|
1962
|
+
* \[ id \]
|
|
1963
|
+
**/
|
|
1964
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1965
|
+
/**
|
|
1966
|
+
* Downward message executed with the given outcome.
|
|
1967
|
+
* \[ id, outcome \]
|
|
1968
|
+
**/
|
|
1969
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
|
|
1970
|
+
/**
|
|
1971
|
+
* Generic pallet event
|
|
1972
|
+
**/
|
|
1973
|
+
[prop: string]: GenericPalletEvent;
|
|
1974
|
+
};
|
|
1975
|
+
/**
|
|
1976
|
+
* Pallet `DmpQueue`'s events
|
|
1977
|
+
**/
|
|
1978
|
+
dmpQueue: {
|
|
1979
|
+
/**
|
|
1980
|
+
* Downward message is invalid XCM.
|
|
1981
|
+
**/
|
|
1982
|
+
InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', {
|
|
1983
|
+
messageHash: FixedBytes<32>;
|
|
1984
|
+
}>;
|
|
1985
|
+
/**
|
|
1986
|
+
* Downward message is unsupported version of XCM.
|
|
1987
|
+
**/
|
|
1988
|
+
UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', {
|
|
1989
|
+
messageHash: FixedBytes<32>;
|
|
1990
|
+
}>;
|
|
1991
|
+
/**
|
|
1992
|
+
* Downward message executed with the given outcome.
|
|
1993
|
+
**/
|
|
1994
|
+
ExecutedDownward: GenericPalletEvent<'DmpQueue', 'ExecutedDownward', {
|
|
1995
|
+
messageHash: FixedBytes<32>;
|
|
1996
|
+
messageId: FixedBytes<32>;
|
|
1997
|
+
outcome: XcmV3TraitsOutcome;
|
|
1998
|
+
}>;
|
|
1999
|
+
/**
|
|
2000
|
+
* The weight limit for handling downward messages was reached.
|
|
2001
|
+
**/
|
|
2002
|
+
WeightExhausted: GenericPalletEvent<'DmpQueue', 'WeightExhausted', {
|
|
2003
|
+
messageHash: FixedBytes<32>;
|
|
2004
|
+
messageId: FixedBytes<32>;
|
|
2005
|
+
remainingWeight: SpWeightsWeightV2Weight;
|
|
2006
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
2007
|
+
}>;
|
|
2008
|
+
/**
|
|
2009
|
+
* Downward message is overweight and was placed in the overweight queue.
|
|
2010
|
+
**/
|
|
2011
|
+
OverweightEnqueued: GenericPalletEvent<'DmpQueue', 'OverweightEnqueued', {
|
|
2012
|
+
messageHash: FixedBytes<32>;
|
|
2013
|
+
messageId: FixedBytes<32>;
|
|
2014
|
+
overweightIndex: bigint;
|
|
2015
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
2016
|
+
}>;
|
|
2017
|
+
/**
|
|
2018
|
+
* Downward message from the overweight queue was executed.
|
|
2019
|
+
**/
|
|
2020
|
+
OverweightServiced: GenericPalletEvent<'DmpQueue', 'OverweightServiced', {
|
|
2021
|
+
overweightIndex: bigint;
|
|
2022
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
2023
|
+
}>;
|
|
2024
|
+
/**
|
|
2025
|
+
* The maximum number of downward messages was reached.
|
|
2026
|
+
**/
|
|
2027
|
+
MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', {
|
|
2028
|
+
messageHash: FixedBytes<32>;
|
|
2029
|
+
}>;
|
|
2030
|
+
/**
|
|
2031
|
+
* Generic pallet event
|
|
2032
|
+
**/
|
|
2033
|
+
[prop: string]: GenericPalletEvent;
|
|
2034
|
+
};
|
|
2035
|
+
/**
|
|
2036
|
+
* Pallet `PolkadotXcm`'s events
|
|
2037
|
+
**/
|
|
2038
|
+
polkadotXcm: {
|
|
2039
|
+
/**
|
|
2040
|
+
* Execution of an XCM message was attempted.
|
|
2041
|
+
**/
|
|
2042
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', {
|
|
2043
|
+
outcome: XcmV3TraitsOutcome;
|
|
2044
|
+
}>;
|
|
2045
|
+
/**
|
|
2046
|
+
* A XCM message was sent.
|
|
2047
|
+
**/
|
|
2048
|
+
Sent: GenericPalletEvent<'PolkadotXcm', 'Sent', {
|
|
2049
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2050
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
2051
|
+
message: XcmV3Xcm;
|
|
2052
|
+
messageId: FixedBytes<32>;
|
|
2053
|
+
}>;
|
|
2054
|
+
/**
|
|
2055
|
+
* Query response received which does not match a registered query. This may be because a
|
|
2056
|
+
* matching query was never registered, it may be because it is a duplicate response, or
|
|
2057
|
+
* because the query timed out.
|
|
2058
|
+
**/
|
|
2059
|
+
UnexpectedResponse: GenericPalletEvent<'PolkadotXcm', 'UnexpectedResponse', {
|
|
2060
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2061
|
+
queryId: bigint;
|
|
2062
|
+
}>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Query response has been received and is ready for taking with `take_response`. There is
|
|
2065
|
+
* no registered notification call.
|
|
2066
|
+
**/
|
|
2067
|
+
ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', {
|
|
2068
|
+
queryId: bigint;
|
|
2069
|
+
response: XcmV3Response;
|
|
2070
|
+
}>;
|
|
2071
|
+
/**
|
|
2072
|
+
* Query response has been received and query is removed. The registered notification has
|
|
2073
|
+
* been dispatched and executed successfully.
|
|
2074
|
+
**/
|
|
2075
|
+
Notified: GenericPalletEvent<'PolkadotXcm', 'Notified', {
|
|
2076
|
+
queryId: bigint;
|
|
2077
|
+
palletIndex: number;
|
|
2078
|
+
callIndex: number;
|
|
2079
|
+
}>;
|
|
2080
|
+
/**
|
|
2081
|
+
* Query response has been received and query is removed. The registered notification
|
|
2082
|
+
* could not be dispatched because the dispatch weight is greater than the maximum weight
|
|
2083
|
+
* originally budgeted by this runtime for the query result.
|
|
2084
|
+
**/
|
|
2085
|
+
NotifyOverweight: GenericPalletEvent<'PolkadotXcm', 'NotifyOverweight', {
|
|
2086
|
+
queryId: bigint;
|
|
2087
|
+
palletIndex: number;
|
|
2088
|
+
callIndex: number;
|
|
2089
|
+
actualWeight: SpWeightsWeightV2Weight;
|
|
2090
|
+
maxBudgetedWeight: SpWeightsWeightV2Weight;
|
|
2091
|
+
}>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Query response has been received and query is removed. There was a general error with
|
|
2094
|
+
* dispatching the notification call.
|
|
2095
|
+
**/
|
|
2096
|
+
NotifyDispatchError: GenericPalletEvent<'PolkadotXcm', 'NotifyDispatchError', {
|
|
2097
|
+
queryId: bigint;
|
|
2098
|
+
palletIndex: number;
|
|
2099
|
+
callIndex: number;
|
|
2100
|
+
}>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Query response has been received and query is removed. The dispatch was unable to be
|
|
2103
|
+
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
2104
|
+
* is not `(origin, QueryId, Response)`.
|
|
2105
|
+
**/
|
|
2106
|
+
NotifyDecodeFailed: GenericPalletEvent<'PolkadotXcm', 'NotifyDecodeFailed', {
|
|
2107
|
+
queryId: bigint;
|
|
2108
|
+
palletIndex: number;
|
|
2109
|
+
callIndex: number;
|
|
2110
|
+
}>;
|
|
2111
|
+
/**
|
|
2112
|
+
* Expected query response has been received but the origin location of the response does
|
|
2113
|
+
* not match that expected. The query remains registered for a later, valid, response to
|
|
2114
|
+
* be received and acted upon.
|
|
2115
|
+
**/
|
|
2116
|
+
InvalidResponder: GenericPalletEvent<'PolkadotXcm', 'InvalidResponder', {
|
|
2117
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2118
|
+
queryId: bigint;
|
|
2119
|
+
expectedLocation?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
2120
|
+
}>;
|
|
2121
|
+
/**
|
|
2122
|
+
* Expected query response has been received but the expected origin location placed in
|
|
2123
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
2124
|
+
*
|
|
2125
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
2126
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2127
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2128
|
+
* needed.
|
|
2129
|
+
**/
|
|
2130
|
+
InvalidResponderVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidResponderVersion', {
|
|
2131
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2132
|
+
queryId: bigint;
|
|
2133
|
+
}>;
|
|
2134
|
+
/**
|
|
2135
|
+
* Received query response has been read and removed.
|
|
2136
|
+
**/
|
|
2137
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', {
|
|
2138
|
+
queryId: bigint;
|
|
2139
|
+
}>;
|
|
2140
|
+
/**
|
|
2141
|
+
* Some assets have been placed in an asset trap.
|
|
2142
|
+
**/
|
|
2143
|
+
AssetsTrapped: GenericPalletEvent<'PolkadotXcm', 'AssetsTrapped', {
|
|
2144
|
+
hash: H256;
|
|
2145
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2146
|
+
assets: XcmVersionedMultiAssets;
|
|
2147
|
+
}>;
|
|
2148
|
+
/**
|
|
2149
|
+
* An XCM version change notification message has been attempted to be sent.
|
|
2150
|
+
*
|
|
2151
|
+
* The cost of sending it (borne by the chain) is included.
|
|
2152
|
+
**/
|
|
2153
|
+
VersionChangeNotified: GenericPalletEvent<'PolkadotXcm', 'VersionChangeNotified', {
|
|
2154
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
2155
|
+
result: number;
|
|
2156
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2157
|
+
messageId: FixedBytes<32>;
|
|
2158
|
+
}>;
|
|
2159
|
+
/**
|
|
2160
|
+
* The supported version of a location has been changed. This might be through an
|
|
2161
|
+
* automatic notification or a manual intervention.
|
|
2162
|
+
**/
|
|
2163
|
+
SupportedVersionChanged: GenericPalletEvent<'PolkadotXcm', 'SupportedVersionChanged', {
|
|
2164
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2165
|
+
version: number;
|
|
2166
|
+
}>;
|
|
2167
|
+
/**
|
|
2168
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
2169
|
+
* sending the notification to it.
|
|
2170
|
+
**/
|
|
2171
|
+
NotifyTargetSendFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetSendFail', {
|
|
2172
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2173
|
+
queryId: bigint;
|
|
2174
|
+
error: XcmV3TraitsError;
|
|
2175
|
+
}>;
|
|
2176
|
+
/**
|
|
2177
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
2178
|
+
* migrating the location to our new XCM format.
|
|
2179
|
+
**/
|
|
2180
|
+
NotifyTargetMigrationFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetMigrationFail', {
|
|
2181
|
+
location: XcmVersionedMultiLocation;
|
|
2182
|
+
queryId: bigint;
|
|
2183
|
+
}>;
|
|
2184
|
+
/**
|
|
2185
|
+
* Expected query response has been received but the expected querier location placed in
|
|
2186
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
2187
|
+
*
|
|
2188
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
2189
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
2190
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
2191
|
+
* needed.
|
|
2192
|
+
**/
|
|
2193
|
+
InvalidQuerierVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerierVersion', {
|
|
2194
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2195
|
+
queryId: bigint;
|
|
2196
|
+
}>;
|
|
2197
|
+
/**
|
|
2198
|
+
* Expected query response has been received but the querier location of the response does
|
|
2199
|
+
* not match the expected. The query remains registered for a later, valid, response to
|
|
2200
|
+
* be received and acted upon.
|
|
2201
|
+
**/
|
|
2202
|
+
InvalidQuerier: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerier', {
|
|
2203
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2204
|
+
queryId: bigint;
|
|
2205
|
+
expectedQuerier: StagingXcmV3MultilocationMultiLocation;
|
|
2206
|
+
maybeActualQuerier?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
2207
|
+
}>;
|
|
2208
|
+
/**
|
|
2209
|
+
* A remote has requested XCM version change notification from us and we have honored it.
|
|
2210
|
+
* A version information message is sent to them and its cost is included.
|
|
2211
|
+
**/
|
|
2212
|
+
VersionNotifyStarted: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyStarted', {
|
|
2213
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
2214
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2215
|
+
messageId: FixedBytes<32>;
|
|
2216
|
+
}>;
|
|
2217
|
+
/**
|
|
2218
|
+
* We have requested that a remote chain send us XCM version change notifications.
|
|
2219
|
+
**/
|
|
2220
|
+
VersionNotifyRequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyRequested', {
|
|
2221
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
2222
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2223
|
+
messageId: FixedBytes<32>;
|
|
2224
|
+
}>;
|
|
2225
|
+
/**
|
|
2226
|
+
* We have requested that a remote chain stops sending us XCM version change
|
|
2227
|
+
* notifications.
|
|
2228
|
+
**/
|
|
2229
|
+
VersionNotifyUnrequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyUnrequested', {
|
|
2230
|
+
destination: StagingXcmV3MultilocationMultiLocation;
|
|
2231
|
+
cost: XcmV3MultiassetMultiAssets;
|
|
2232
|
+
messageId: FixedBytes<32>;
|
|
2233
|
+
}>;
|
|
2234
|
+
/**
|
|
2235
|
+
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
2236
|
+
**/
|
|
2237
|
+
FeesPaid: GenericPalletEvent<'PolkadotXcm', 'FeesPaid', {
|
|
2238
|
+
paying: StagingXcmV3MultilocationMultiLocation;
|
|
2239
|
+
fees: XcmV3MultiassetMultiAssets;
|
|
2240
|
+
}>;
|
|
2241
|
+
/**
|
|
2242
|
+
* Some assets have been claimed from an asset trap
|
|
2243
|
+
**/
|
|
2244
|
+
AssetsClaimed: GenericPalletEvent<'PolkadotXcm', 'AssetsClaimed', {
|
|
2245
|
+
hash: H256;
|
|
2246
|
+
origin: StagingXcmV3MultilocationMultiLocation;
|
|
2247
|
+
assets: XcmVersionedMultiAssets;
|
|
2248
|
+
}>;
|
|
2249
|
+
/**
|
|
2250
|
+
* Generic pallet event
|
|
2251
|
+
**/
|
|
2252
|
+
[prop: string]: GenericPalletEvent;
|
|
2253
|
+
};
|
|
2254
|
+
/**
|
|
2255
|
+
* Pallet `Assets`'s events
|
|
2256
|
+
**/
|
|
2257
|
+
assets: {
|
|
2258
|
+
/**
|
|
2259
|
+
* Some asset class was created.
|
|
2260
|
+
**/
|
|
2261
|
+
Created: GenericPalletEvent<'Assets', 'Created', {
|
|
2262
|
+
assetId: bigint;
|
|
2263
|
+
creator: AccountId20;
|
|
2264
|
+
owner: AccountId20;
|
|
2265
|
+
}>;
|
|
2266
|
+
/**
|
|
2267
|
+
* Some assets were issued.
|
|
2268
|
+
**/
|
|
2269
|
+
Issued: GenericPalletEvent<'Assets', 'Issued', {
|
|
2270
|
+
assetId: bigint;
|
|
2271
|
+
owner: AccountId20;
|
|
2272
|
+
amount: bigint;
|
|
2273
|
+
}>;
|
|
2274
|
+
/**
|
|
2275
|
+
* Some assets were transferred.
|
|
2276
|
+
**/
|
|
2277
|
+
Transferred: GenericPalletEvent<'Assets', 'Transferred', {
|
|
2278
|
+
assetId: bigint;
|
|
2279
|
+
from: AccountId20;
|
|
2280
|
+
to: AccountId20;
|
|
2281
|
+
amount: bigint;
|
|
2282
|
+
}>;
|
|
2283
|
+
/**
|
|
2284
|
+
* Some assets were destroyed.
|
|
2285
|
+
**/
|
|
2286
|
+
Burned: GenericPalletEvent<'Assets', 'Burned', {
|
|
2287
|
+
assetId: bigint;
|
|
2288
|
+
owner: AccountId20;
|
|
2289
|
+
balance: bigint;
|
|
2290
|
+
}>;
|
|
2291
|
+
/**
|
|
2292
|
+
* The management team changed.
|
|
2293
|
+
**/
|
|
2294
|
+
TeamChanged: GenericPalletEvent<'Assets', 'TeamChanged', {
|
|
2295
|
+
assetId: bigint;
|
|
2296
|
+
issuer: AccountId20;
|
|
2297
|
+
admin: AccountId20;
|
|
2298
|
+
freezer: AccountId20;
|
|
2299
|
+
}>;
|
|
2300
|
+
/**
|
|
2301
|
+
* The owner changed.
|
|
2302
|
+
**/
|
|
2303
|
+
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', {
|
|
2304
|
+
assetId: bigint;
|
|
2305
|
+
owner: AccountId20;
|
|
2306
|
+
}>;
|
|
2307
|
+
/**
|
|
2308
|
+
* Some account `who` was frozen.
|
|
2309
|
+
**/
|
|
2310
|
+
Frozen: GenericPalletEvent<'Assets', 'Frozen', {
|
|
2311
|
+
assetId: bigint;
|
|
2312
|
+
who: AccountId20;
|
|
2313
|
+
}>;
|
|
2314
|
+
/**
|
|
2315
|
+
* Some account `who` was thawed.
|
|
2316
|
+
**/
|
|
2317
|
+
Thawed: GenericPalletEvent<'Assets', 'Thawed', {
|
|
2318
|
+
assetId: bigint;
|
|
2319
|
+
who: AccountId20;
|
|
2320
|
+
}>;
|
|
2321
|
+
/**
|
|
2322
|
+
* Some asset `asset_id` was frozen.
|
|
2323
|
+
**/
|
|
2324
|
+
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', {
|
|
2325
|
+
assetId: bigint;
|
|
2326
|
+
}>;
|
|
2327
|
+
/**
|
|
2328
|
+
* Some asset `asset_id` was thawed.
|
|
2329
|
+
**/
|
|
2330
|
+
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', {
|
|
2331
|
+
assetId: bigint;
|
|
2332
|
+
}>;
|
|
2333
|
+
/**
|
|
2334
|
+
* Accounts were destroyed for given asset.
|
|
2335
|
+
**/
|
|
2336
|
+
AccountsDestroyed: GenericPalletEvent<'Assets', 'AccountsDestroyed', {
|
|
2337
|
+
assetId: bigint;
|
|
2338
|
+
accountsDestroyed: number;
|
|
2339
|
+
accountsRemaining: number;
|
|
2340
|
+
}>;
|
|
2341
|
+
/**
|
|
2342
|
+
* Approvals were destroyed for given asset.
|
|
2343
|
+
**/
|
|
2344
|
+
ApprovalsDestroyed: GenericPalletEvent<'Assets', 'ApprovalsDestroyed', {
|
|
2345
|
+
assetId: bigint;
|
|
2346
|
+
approvalsDestroyed: number;
|
|
2347
|
+
approvalsRemaining: number;
|
|
2348
|
+
}>;
|
|
2349
|
+
/**
|
|
2350
|
+
* An asset class is in the process of being destroyed.
|
|
2351
|
+
**/
|
|
2352
|
+
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', {
|
|
2353
|
+
assetId: bigint;
|
|
2354
|
+
}>;
|
|
2355
|
+
/**
|
|
2356
|
+
* An asset class was destroyed.
|
|
2357
|
+
**/
|
|
2358
|
+
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', {
|
|
2359
|
+
assetId: bigint;
|
|
2360
|
+
}>;
|
|
2361
|
+
/**
|
|
2362
|
+
* Some asset class was force-created.
|
|
2363
|
+
**/
|
|
2364
|
+
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', {
|
|
2365
|
+
assetId: bigint;
|
|
2366
|
+
owner: AccountId20;
|
|
2367
|
+
}>;
|
|
2368
|
+
/**
|
|
2369
|
+
* New metadata has been set for an asset.
|
|
2370
|
+
**/
|
|
2371
|
+
MetadataSet: GenericPalletEvent<'Assets', 'MetadataSet', {
|
|
2372
|
+
assetId: bigint;
|
|
2373
|
+
name: Bytes;
|
|
2374
|
+
symbol: Bytes;
|
|
2375
|
+
decimals: number;
|
|
2376
|
+
isFrozen: boolean;
|
|
2377
|
+
}>;
|
|
2378
|
+
/**
|
|
2379
|
+
* Metadata has been cleared for an asset.
|
|
2380
|
+
**/
|
|
2381
|
+
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', {
|
|
2382
|
+
assetId: bigint;
|
|
2383
|
+
}>;
|
|
2384
|
+
/**
|
|
2385
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
2386
|
+
**/
|
|
2387
|
+
ApprovedTransfer: GenericPalletEvent<'Assets', 'ApprovedTransfer', {
|
|
2388
|
+
assetId: bigint;
|
|
2389
|
+
source: AccountId20;
|
|
2390
|
+
delegate: AccountId20;
|
|
2391
|
+
amount: bigint;
|
|
2392
|
+
}>;
|
|
2393
|
+
/**
|
|
2394
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
2395
|
+
**/
|
|
2396
|
+
ApprovalCancelled: GenericPalletEvent<'Assets', 'ApprovalCancelled', {
|
|
2397
|
+
assetId: bigint;
|
|
2398
|
+
owner: AccountId20;
|
|
2399
|
+
delegate: AccountId20;
|
|
2400
|
+
}>;
|
|
2401
|
+
/**
|
|
2402
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
2403
|
+
* the approved `delegate`.
|
|
2404
|
+
**/
|
|
2405
|
+
TransferredApproved: GenericPalletEvent<'Assets', 'TransferredApproved', {
|
|
2406
|
+
assetId: bigint;
|
|
2407
|
+
owner: AccountId20;
|
|
2408
|
+
delegate: AccountId20;
|
|
2409
|
+
destination: AccountId20;
|
|
2410
|
+
amount: bigint;
|
|
2411
|
+
}>;
|
|
2412
|
+
/**
|
|
2413
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
2414
|
+
**/
|
|
2415
|
+
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', {
|
|
2416
|
+
assetId: bigint;
|
|
2417
|
+
}>;
|
|
2418
|
+
/**
|
|
2419
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
2420
|
+
**/
|
|
2421
|
+
AssetMinBalanceChanged: GenericPalletEvent<'Assets', 'AssetMinBalanceChanged', {
|
|
2422
|
+
assetId: bigint;
|
|
2423
|
+
newMinBalance: bigint;
|
|
2424
|
+
}>;
|
|
2425
|
+
/**
|
|
2426
|
+
* Some account `who` was created with a deposit from `depositor`.
|
|
2427
|
+
**/
|
|
2428
|
+
Touched: GenericPalletEvent<'Assets', 'Touched', {
|
|
2429
|
+
assetId: bigint;
|
|
2430
|
+
who: AccountId20;
|
|
2431
|
+
depositor: AccountId20;
|
|
2432
|
+
}>;
|
|
2433
|
+
/**
|
|
2434
|
+
* Some account `who` was blocked.
|
|
2435
|
+
**/
|
|
2436
|
+
Blocked: GenericPalletEvent<'Assets', 'Blocked', {
|
|
2437
|
+
assetId: bigint;
|
|
2438
|
+
who: AccountId20;
|
|
2439
|
+
}>;
|
|
2440
|
+
/**
|
|
2441
|
+
* Generic pallet event
|
|
2442
|
+
**/
|
|
2443
|
+
[prop: string]: GenericPalletEvent;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* Pallet `AssetManager`'s events
|
|
2447
|
+
**/
|
|
2448
|
+
assetManager: {
|
|
2449
|
+
/**
|
|
2450
|
+
* New asset with the asset manager is registered
|
|
2451
|
+
**/
|
|
2452
|
+
ForeignAssetRegistered: GenericPalletEvent<'AssetManager', 'ForeignAssetRegistered', {
|
|
2453
|
+
assetId: bigint;
|
|
2454
|
+
asset: MoonbeamRuntimeXcmConfigAssetType;
|
|
2455
|
+
metadata: MoonbeamRuntimeAssetConfigAssetRegistrarMetadata;
|
|
2456
|
+
}>;
|
|
2457
|
+
/**
|
|
2458
|
+
* Changed the amount of units we are charging per execution second for a given asset
|
|
2459
|
+
**/
|
|
2460
|
+
UnitsPerSecondChanged: GenericPalletEvent<'AssetManager', 'UnitsPerSecondChanged', {
|
|
2461
|
+
assetType: MoonbeamRuntimeXcmConfigAssetType;
|
|
2462
|
+
unitsPerSecond: bigint;
|
|
2463
|
+
}>;
|
|
2464
|
+
/**
|
|
2465
|
+
* Changed the xcm type mapping for a given asset id
|
|
2466
|
+
**/
|
|
2467
|
+
ForeignAssetTypeChanged: GenericPalletEvent<'AssetManager', 'ForeignAssetTypeChanged', {
|
|
2468
|
+
assetId: bigint;
|
|
2469
|
+
newAssetType: MoonbeamRuntimeXcmConfigAssetType;
|
|
2470
|
+
}>;
|
|
2471
|
+
/**
|
|
2472
|
+
* Removed all information related to an assetId
|
|
2473
|
+
**/
|
|
2474
|
+
ForeignAssetRemoved: GenericPalletEvent<'AssetManager', 'ForeignAssetRemoved', {
|
|
2475
|
+
assetId: bigint;
|
|
2476
|
+
assetType: MoonbeamRuntimeXcmConfigAssetType;
|
|
2477
|
+
}>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Supported asset type for fee payment removed
|
|
2480
|
+
**/
|
|
2481
|
+
SupportedAssetRemoved: GenericPalletEvent<'AssetManager', 'SupportedAssetRemoved', {
|
|
2482
|
+
assetType: MoonbeamRuntimeXcmConfigAssetType;
|
|
2483
|
+
}>;
|
|
2484
|
+
/**
|
|
2485
|
+
* Local asset was created
|
|
2486
|
+
**/
|
|
2487
|
+
LocalAssetRegistered: GenericPalletEvent<'AssetManager', 'LocalAssetRegistered', {
|
|
2488
|
+
assetId: bigint;
|
|
2489
|
+
creator: AccountId20;
|
|
2490
|
+
owner: AccountId20;
|
|
2491
|
+
}>;
|
|
2492
|
+
/**
|
|
2493
|
+
* Removed all information related to an assetId and destroyed asset
|
|
2494
|
+
**/
|
|
2495
|
+
ForeignAssetDestroyed: GenericPalletEvent<'AssetManager', 'ForeignAssetDestroyed', {
|
|
2496
|
+
assetId: bigint;
|
|
2497
|
+
assetType: MoonbeamRuntimeXcmConfigAssetType;
|
|
2498
|
+
}>;
|
|
2499
|
+
/**
|
|
2500
|
+
* Removed all information related to an assetId and destroyed asset
|
|
2501
|
+
**/
|
|
2502
|
+
LocalAssetDestroyed: GenericPalletEvent<'AssetManager', 'LocalAssetDestroyed', {
|
|
2503
|
+
assetId: bigint;
|
|
2504
|
+
}>;
|
|
2505
|
+
/**
|
|
2506
|
+
* Generic pallet event
|
|
2507
|
+
**/
|
|
2508
|
+
[prop: string]: GenericPalletEvent;
|
|
2509
|
+
};
|
|
2510
|
+
/**
|
|
2511
|
+
* Pallet `XTokens`'s events
|
|
2512
|
+
**/
|
|
2513
|
+
xTokens: {
|
|
2514
|
+
/**
|
|
2515
|
+
* Transferred `MultiAsset` with fee.
|
|
2516
|
+
**/
|
|
2517
|
+
TransferredMultiAssets: GenericPalletEvent<'XTokens', 'TransferredMultiAssets', {
|
|
2518
|
+
sender: AccountId20;
|
|
2519
|
+
assets: XcmV3MultiassetMultiAssets;
|
|
2520
|
+
fee: XcmV3MultiassetMultiAsset;
|
|
2521
|
+
dest: StagingXcmV3MultilocationMultiLocation;
|
|
2522
|
+
}>;
|
|
2523
|
+
/**
|
|
2524
|
+
* Generic pallet event
|
|
2525
|
+
**/
|
|
2526
|
+
[prop: string]: GenericPalletEvent;
|
|
2527
|
+
};
|
|
2528
|
+
/**
|
|
2529
|
+
* Pallet `XcmTransactor`'s events
|
|
2530
|
+
**/
|
|
2531
|
+
xcmTransactor: {
|
|
2532
|
+
/**
|
|
2533
|
+
* Transacted the inner call through a derivative account in a destination chain.
|
|
2534
|
+
**/
|
|
2535
|
+
TransactedDerivative: GenericPalletEvent<'XcmTransactor', 'TransactedDerivative', {
|
|
2536
|
+
accountId: AccountId20;
|
|
2537
|
+
dest: StagingXcmV3MultilocationMultiLocation;
|
|
2538
|
+
call: Bytes;
|
|
2539
|
+
index: number;
|
|
2540
|
+
}>;
|
|
2541
|
+
/**
|
|
2542
|
+
* Transacted the call through the sovereign account in a destination chain.
|
|
2543
|
+
**/
|
|
2544
|
+
TransactedSovereign: GenericPalletEvent<'XcmTransactor', 'TransactedSovereign', {
|
|
2545
|
+
feePayer: AccountId20;
|
|
2546
|
+
dest: StagingXcmV3MultilocationMultiLocation;
|
|
2547
|
+
call: Bytes;
|
|
2548
|
+
}>;
|
|
2549
|
+
/**
|
|
2550
|
+
* Transacted the call through a signed account in a destination chain.
|
|
2551
|
+
**/
|
|
2552
|
+
TransactedSigned: GenericPalletEvent<'XcmTransactor', 'TransactedSigned', {
|
|
2553
|
+
feePayer: AccountId20;
|
|
2554
|
+
dest: StagingXcmV3MultilocationMultiLocation;
|
|
2555
|
+
call: Bytes;
|
|
2556
|
+
}>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Registered a derivative index for an account id.
|
|
2559
|
+
**/
|
|
2560
|
+
RegisteredDerivative: GenericPalletEvent<'XcmTransactor', 'RegisteredDerivative', {
|
|
2561
|
+
accountId: AccountId20;
|
|
2562
|
+
index: number;
|
|
2563
|
+
}>;
|
|
2564
|
+
DeRegisteredDerivative: GenericPalletEvent<'XcmTransactor', 'DeRegisteredDerivative', {
|
|
2565
|
+
index: number;
|
|
2566
|
+
}>;
|
|
2567
|
+
/**
|
|
2568
|
+
* Transact failed
|
|
2569
|
+
**/
|
|
2570
|
+
TransactFailed: GenericPalletEvent<'XcmTransactor', 'TransactFailed', {
|
|
2571
|
+
error: XcmV3TraitsError;
|
|
2572
|
+
}>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Changed the transact info of a location
|
|
2575
|
+
**/
|
|
2576
|
+
TransactInfoChanged: GenericPalletEvent<'XcmTransactor', 'TransactInfoChanged', {
|
|
2577
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2578
|
+
remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight;
|
|
2579
|
+
}>;
|
|
2580
|
+
/**
|
|
2581
|
+
* Removed the transact info of a location
|
|
2582
|
+
**/
|
|
2583
|
+
TransactInfoRemoved: GenericPalletEvent<'XcmTransactor', 'TransactInfoRemoved', {
|
|
2584
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2585
|
+
}>;
|
|
2586
|
+
/**
|
|
2587
|
+
* Set dest fee per second
|
|
2588
|
+
**/
|
|
2589
|
+
DestFeePerSecondChanged: GenericPalletEvent<'XcmTransactor', 'DestFeePerSecondChanged', {
|
|
2590
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2591
|
+
feePerSecond: bigint;
|
|
2592
|
+
}>;
|
|
2593
|
+
/**
|
|
2594
|
+
* Remove dest fee per second
|
|
2595
|
+
**/
|
|
2596
|
+
DestFeePerSecondRemoved: GenericPalletEvent<'XcmTransactor', 'DestFeePerSecondRemoved', {
|
|
2597
|
+
location: StagingXcmV3MultilocationMultiLocation;
|
|
2598
|
+
}>;
|
|
2599
|
+
/**
|
|
2600
|
+
* HRMP manage action succesfully sent
|
|
2601
|
+
**/
|
|
2602
|
+
HrmpManagementSent: GenericPalletEvent<'XcmTransactor', 'HrmpManagementSent', {
|
|
2603
|
+
action: PalletXcmTransactorHrmpOperation;
|
|
2604
|
+
}>;
|
|
2605
|
+
/**
|
|
2606
|
+
* Generic pallet event
|
|
2607
|
+
**/
|
|
2608
|
+
[prop: string]: GenericPalletEvent;
|
|
2609
|
+
};
|
|
2610
|
+
/**
|
|
2611
|
+
* Pallet `LocalAssets`'s events
|
|
2612
|
+
**/
|
|
2613
|
+
localAssets: {
|
|
2614
|
+
/**
|
|
2615
|
+
* Some asset class was created.
|
|
2616
|
+
**/
|
|
2617
|
+
Created: GenericPalletEvent<'LocalAssets', 'Created', {
|
|
2618
|
+
assetId: bigint;
|
|
2619
|
+
creator: AccountId20;
|
|
2620
|
+
owner: AccountId20;
|
|
2621
|
+
}>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Some assets were issued.
|
|
2624
|
+
**/
|
|
2625
|
+
Issued: GenericPalletEvent<'LocalAssets', 'Issued', {
|
|
2626
|
+
assetId: bigint;
|
|
2627
|
+
owner: AccountId20;
|
|
2628
|
+
amount: bigint;
|
|
2629
|
+
}>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Some assets were transferred.
|
|
2632
|
+
**/
|
|
2633
|
+
Transferred: GenericPalletEvent<'LocalAssets', 'Transferred', {
|
|
2634
|
+
assetId: bigint;
|
|
2635
|
+
from: AccountId20;
|
|
2636
|
+
to: AccountId20;
|
|
2637
|
+
amount: bigint;
|
|
2638
|
+
}>;
|
|
2639
|
+
/**
|
|
2640
|
+
* Some assets were destroyed.
|
|
2641
|
+
**/
|
|
2642
|
+
Burned: GenericPalletEvent<'LocalAssets', 'Burned', {
|
|
2643
|
+
assetId: bigint;
|
|
2644
|
+
owner: AccountId20;
|
|
2645
|
+
balance: bigint;
|
|
2646
|
+
}>;
|
|
2647
|
+
/**
|
|
2648
|
+
* The management team changed.
|
|
2649
|
+
**/
|
|
2650
|
+
TeamChanged: GenericPalletEvent<'LocalAssets', 'TeamChanged', {
|
|
2651
|
+
assetId: bigint;
|
|
2652
|
+
issuer: AccountId20;
|
|
2653
|
+
admin: AccountId20;
|
|
2654
|
+
freezer: AccountId20;
|
|
2655
|
+
}>;
|
|
2656
|
+
/**
|
|
2657
|
+
* The owner changed.
|
|
2658
|
+
**/
|
|
2659
|
+
OwnerChanged: GenericPalletEvent<'LocalAssets', 'OwnerChanged', {
|
|
2660
|
+
assetId: bigint;
|
|
2661
|
+
owner: AccountId20;
|
|
2662
|
+
}>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Some account `who` was frozen.
|
|
2665
|
+
**/
|
|
2666
|
+
Frozen: GenericPalletEvent<'LocalAssets', 'Frozen', {
|
|
2667
|
+
assetId: bigint;
|
|
2668
|
+
who: AccountId20;
|
|
2669
|
+
}>;
|
|
2670
|
+
/**
|
|
2671
|
+
* Some account `who` was thawed.
|
|
2672
|
+
**/
|
|
2673
|
+
Thawed: GenericPalletEvent<'LocalAssets', 'Thawed', {
|
|
2674
|
+
assetId: bigint;
|
|
2675
|
+
who: AccountId20;
|
|
2676
|
+
}>;
|
|
2677
|
+
/**
|
|
2678
|
+
* Some asset `asset_id` was frozen.
|
|
2679
|
+
**/
|
|
2680
|
+
AssetFrozen: GenericPalletEvent<'LocalAssets', 'AssetFrozen', {
|
|
2681
|
+
assetId: bigint;
|
|
2682
|
+
}>;
|
|
2683
|
+
/**
|
|
2684
|
+
* Some asset `asset_id` was thawed.
|
|
2685
|
+
**/
|
|
2686
|
+
AssetThawed: GenericPalletEvent<'LocalAssets', 'AssetThawed', {
|
|
2687
|
+
assetId: bigint;
|
|
2688
|
+
}>;
|
|
2689
|
+
/**
|
|
2690
|
+
* Accounts were destroyed for given asset.
|
|
2691
|
+
**/
|
|
2692
|
+
AccountsDestroyed: GenericPalletEvent<'LocalAssets', 'AccountsDestroyed', {
|
|
2693
|
+
assetId: bigint;
|
|
2694
|
+
accountsDestroyed: number;
|
|
2695
|
+
accountsRemaining: number;
|
|
2696
|
+
}>;
|
|
2697
|
+
/**
|
|
2698
|
+
* Approvals were destroyed for given asset.
|
|
2699
|
+
**/
|
|
2700
|
+
ApprovalsDestroyed: GenericPalletEvent<'LocalAssets', 'ApprovalsDestroyed', {
|
|
2701
|
+
assetId: bigint;
|
|
2702
|
+
approvalsDestroyed: number;
|
|
2703
|
+
approvalsRemaining: number;
|
|
2704
|
+
}>;
|
|
2705
|
+
/**
|
|
2706
|
+
* An asset class is in the process of being destroyed.
|
|
2707
|
+
**/
|
|
2708
|
+
DestructionStarted: GenericPalletEvent<'LocalAssets', 'DestructionStarted', {
|
|
2709
|
+
assetId: bigint;
|
|
2710
|
+
}>;
|
|
2711
|
+
/**
|
|
2712
|
+
* An asset class was destroyed.
|
|
2713
|
+
**/
|
|
2714
|
+
Destroyed: GenericPalletEvent<'LocalAssets', 'Destroyed', {
|
|
2715
|
+
assetId: bigint;
|
|
2716
|
+
}>;
|
|
2717
|
+
/**
|
|
2718
|
+
* Some asset class was force-created.
|
|
2719
|
+
**/
|
|
2720
|
+
ForceCreated: GenericPalletEvent<'LocalAssets', 'ForceCreated', {
|
|
2721
|
+
assetId: bigint;
|
|
2722
|
+
owner: AccountId20;
|
|
2723
|
+
}>;
|
|
2724
|
+
/**
|
|
2725
|
+
* New metadata has been set for an asset.
|
|
2726
|
+
**/
|
|
2727
|
+
MetadataSet: GenericPalletEvent<'LocalAssets', 'MetadataSet', {
|
|
2728
|
+
assetId: bigint;
|
|
2729
|
+
name: Bytes;
|
|
2730
|
+
symbol: Bytes;
|
|
2731
|
+
decimals: number;
|
|
2732
|
+
isFrozen: boolean;
|
|
2733
|
+
}>;
|
|
2734
|
+
/**
|
|
2735
|
+
* Metadata has been cleared for an asset.
|
|
2736
|
+
**/
|
|
2737
|
+
MetadataCleared: GenericPalletEvent<'LocalAssets', 'MetadataCleared', {
|
|
2738
|
+
assetId: bigint;
|
|
2739
|
+
}>;
|
|
2740
|
+
/**
|
|
2741
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
2742
|
+
**/
|
|
2743
|
+
ApprovedTransfer: GenericPalletEvent<'LocalAssets', 'ApprovedTransfer', {
|
|
2744
|
+
assetId: bigint;
|
|
2745
|
+
source: AccountId20;
|
|
2746
|
+
delegate: AccountId20;
|
|
2747
|
+
amount: bigint;
|
|
2748
|
+
}>;
|
|
2749
|
+
/**
|
|
2750
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
2751
|
+
**/
|
|
2752
|
+
ApprovalCancelled: GenericPalletEvent<'LocalAssets', 'ApprovalCancelled', {
|
|
2753
|
+
assetId: bigint;
|
|
2754
|
+
owner: AccountId20;
|
|
2755
|
+
delegate: AccountId20;
|
|
2756
|
+
}>;
|
|
2757
|
+
/**
|
|
2758
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
2759
|
+
* the approved `delegate`.
|
|
2760
|
+
**/
|
|
2761
|
+
TransferredApproved: GenericPalletEvent<'LocalAssets', 'TransferredApproved', {
|
|
2762
|
+
assetId: bigint;
|
|
2763
|
+
owner: AccountId20;
|
|
2764
|
+
delegate: AccountId20;
|
|
2765
|
+
destination: AccountId20;
|
|
2766
|
+
amount: bigint;
|
|
2767
|
+
}>;
|
|
2768
|
+
/**
|
|
2769
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
2770
|
+
**/
|
|
2771
|
+
AssetStatusChanged: GenericPalletEvent<'LocalAssets', 'AssetStatusChanged', {
|
|
2772
|
+
assetId: bigint;
|
|
2773
|
+
}>;
|
|
2774
|
+
/**
|
|
2775
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
2776
|
+
**/
|
|
2777
|
+
AssetMinBalanceChanged: GenericPalletEvent<'LocalAssets', 'AssetMinBalanceChanged', {
|
|
2778
|
+
assetId: bigint;
|
|
2779
|
+
newMinBalance: bigint;
|
|
2780
|
+
}>;
|
|
2781
|
+
/**
|
|
2782
|
+
* Some account `who` was created with a deposit from `depositor`.
|
|
2783
|
+
**/
|
|
2784
|
+
Touched: GenericPalletEvent<'LocalAssets', 'Touched', {
|
|
2785
|
+
assetId: bigint;
|
|
2786
|
+
who: AccountId20;
|
|
2787
|
+
depositor: AccountId20;
|
|
2788
|
+
}>;
|
|
2789
|
+
/**
|
|
2790
|
+
* Some account `who` was blocked.
|
|
2791
|
+
**/
|
|
2792
|
+
Blocked: GenericPalletEvent<'LocalAssets', 'Blocked', {
|
|
2793
|
+
assetId: bigint;
|
|
2794
|
+
who: AccountId20;
|
|
2795
|
+
}>;
|
|
2796
|
+
/**
|
|
2797
|
+
* Generic pallet event
|
|
2798
|
+
**/
|
|
2799
|
+
[prop: string]: GenericPalletEvent;
|
|
2800
|
+
};
|
|
2801
|
+
/**
|
|
2802
|
+
* Pallet `Randomness`'s events
|
|
2803
|
+
**/
|
|
2804
|
+
randomness: {
|
|
2805
|
+
RandomnessRequestedBabeEpoch: GenericPalletEvent<'Randomness', 'RandomnessRequestedBabeEpoch', {
|
|
2806
|
+
id: bigint;
|
|
2807
|
+
refundAddress: H160;
|
|
2808
|
+
contractAddress: H160;
|
|
2809
|
+
fee: bigint;
|
|
2810
|
+
gasLimit: bigint;
|
|
2811
|
+
numWords: number;
|
|
2812
|
+
salt: H256;
|
|
2813
|
+
earliestEpoch: bigint;
|
|
2814
|
+
}>;
|
|
2815
|
+
RandomnessRequestedLocal: GenericPalletEvent<'Randomness', 'RandomnessRequestedLocal', {
|
|
2816
|
+
id: bigint;
|
|
2817
|
+
refundAddress: H160;
|
|
2818
|
+
contractAddress: H160;
|
|
2819
|
+
fee: bigint;
|
|
2820
|
+
gasLimit: bigint;
|
|
2821
|
+
numWords: number;
|
|
2822
|
+
salt: H256;
|
|
2823
|
+
earliestBlock: number;
|
|
2824
|
+
}>;
|
|
2825
|
+
RequestFulfilled: GenericPalletEvent<'Randomness', 'RequestFulfilled', {
|
|
2826
|
+
id: bigint;
|
|
2827
|
+
}>;
|
|
2828
|
+
RequestFeeIncreased: GenericPalletEvent<'Randomness', 'RequestFeeIncreased', {
|
|
2829
|
+
id: bigint;
|
|
2830
|
+
newFee: bigint;
|
|
2831
|
+
}>;
|
|
2832
|
+
RequestExpirationExecuted: GenericPalletEvent<'Randomness', 'RequestExpirationExecuted', {
|
|
2833
|
+
id: bigint;
|
|
2834
|
+
}>;
|
|
2835
|
+
/**
|
|
2836
|
+
* Generic pallet event
|
|
2837
|
+
**/
|
|
2838
|
+
[prop: string]: GenericPalletEvent;
|
|
2839
|
+
};
|
|
2840
|
+
}
|