@dedot/chaintypes 0.194.0 → 0.195.0
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/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -3
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/astar/events.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainEvents, GenericPalletEvent
|
|
3
|
+
import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
|
|
4
4
|
import type { DispatchError, AccountId32, H256, Result, Bytes, FixedBytes, FixedU128, H160, U256 } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
@@ -35,7 +35,7 @@ import type {
|
|
|
35
35
|
PalletSafeModeExitReason,
|
|
36
36
|
} from './types.js';
|
|
37
37
|
|
|
38
|
-
export interface ChainEvents
|
|
38
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
39
39
|
/**
|
|
40
40
|
* Pallet `System`'s events
|
|
41
41
|
**/
|
|
@@ -43,18 +43,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
43
43
|
/**
|
|
44
44
|
* An extrinsic completed successfully.
|
|
45
45
|
**/
|
|
46
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
47
|
-
Rv,
|
|
48
|
-
'System',
|
|
49
|
-
'ExtrinsicSuccess',
|
|
50
|
-
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
51
|
-
>;
|
|
46
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: FrameSystemDispatchEventInfo }>;
|
|
52
47
|
|
|
53
48
|
/**
|
|
54
49
|
* An extrinsic failed.
|
|
55
50
|
**/
|
|
56
51
|
ExtrinsicFailed: GenericPalletEvent<
|
|
57
|
-
Rv,
|
|
58
52
|
'System',
|
|
59
53
|
'ExtrinsicFailed',
|
|
60
54
|
{ dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
@@ -63,32 +57,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
63
57
|
/**
|
|
64
58
|
* `:code` was updated.
|
|
65
59
|
**/
|
|
66
|
-
CodeUpdated: GenericPalletEvent<
|
|
60
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
67
61
|
|
|
68
62
|
/**
|
|
69
63
|
* A new account was created.
|
|
70
64
|
**/
|
|
71
|
-
NewAccount: GenericPalletEvent<
|
|
65
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
72
66
|
|
|
73
67
|
/**
|
|
74
68
|
* An account was reaped.
|
|
75
69
|
**/
|
|
76
|
-
KilledAccount: GenericPalletEvent<
|
|
70
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
77
71
|
|
|
78
72
|
/**
|
|
79
73
|
* On on-chain remark happened.
|
|
80
74
|
**/
|
|
81
|
-
Remarked: GenericPalletEvent<
|
|
75
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
82
76
|
|
|
83
77
|
/**
|
|
84
78
|
* An upgrade was authorized.
|
|
85
79
|
**/
|
|
86
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
80
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
87
81
|
|
|
88
82
|
/**
|
|
89
83
|
* Generic pallet event
|
|
90
84
|
**/
|
|
91
|
-
[prop: string]: GenericPalletEvent
|
|
85
|
+
[prop: string]: GenericPalletEvent;
|
|
92
86
|
};
|
|
93
87
|
/**
|
|
94
88
|
* Pallet `Utility`'s events
|
|
@@ -98,37 +92,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
98
92
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
99
93
|
* well as the error.
|
|
100
94
|
**/
|
|
101
|
-
BatchInterrupted: GenericPalletEvent<
|
|
95
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
102
96
|
|
|
103
97
|
/**
|
|
104
98
|
* Batch of dispatches completed fully with no error.
|
|
105
99
|
**/
|
|
106
|
-
BatchCompleted: GenericPalletEvent<
|
|
100
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
107
101
|
|
|
108
102
|
/**
|
|
109
103
|
* Batch of dispatches completed but has errors.
|
|
110
104
|
**/
|
|
111
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
105
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
112
106
|
|
|
113
107
|
/**
|
|
114
108
|
* A single item within a Batch of dispatches has completed with no error.
|
|
115
109
|
**/
|
|
116
|
-
ItemCompleted: GenericPalletEvent<
|
|
110
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
117
111
|
|
|
118
112
|
/**
|
|
119
113
|
* A single item within a Batch of dispatches has completed with error.
|
|
120
114
|
**/
|
|
121
|
-
ItemFailed: GenericPalletEvent<
|
|
115
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
122
116
|
|
|
123
117
|
/**
|
|
124
118
|
* A call was dispatched.
|
|
125
119
|
**/
|
|
126
|
-
DispatchedAs: GenericPalletEvent<
|
|
120
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
127
121
|
|
|
128
122
|
/**
|
|
129
123
|
* Generic pallet event
|
|
130
124
|
**/
|
|
131
|
-
[prop: string]: GenericPalletEvent
|
|
125
|
+
[prop: string]: GenericPalletEvent;
|
|
132
126
|
};
|
|
133
127
|
/**
|
|
134
128
|
* Pallet `Identity`'s events
|
|
@@ -137,23 +131,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
137
131
|
/**
|
|
138
132
|
* A name was set or reset (which will remove all judgements).
|
|
139
133
|
**/
|
|
140
|
-
IdentitySet: GenericPalletEvent<
|
|
134
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
141
135
|
|
|
142
136
|
/**
|
|
143
137
|
* A name was cleared, and the given balance returned.
|
|
144
138
|
**/
|
|
145
|
-
IdentityCleared: GenericPalletEvent<
|
|
139
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
146
140
|
|
|
147
141
|
/**
|
|
148
142
|
* A name was removed and the given balance slashed.
|
|
149
143
|
**/
|
|
150
|
-
IdentityKilled: GenericPalletEvent<
|
|
144
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
151
145
|
|
|
152
146
|
/**
|
|
153
147
|
* A judgement was asked from a registrar.
|
|
154
148
|
**/
|
|
155
149
|
JudgementRequested: GenericPalletEvent<
|
|
156
|
-
Rv,
|
|
157
150
|
'Identity',
|
|
158
151
|
'JudgementRequested',
|
|
159
152
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -163,7 +156,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
163
156
|
* A judgement request was retracted.
|
|
164
157
|
**/
|
|
165
158
|
JudgementUnrequested: GenericPalletEvent<
|
|
166
|
-
Rv,
|
|
167
159
|
'Identity',
|
|
168
160
|
'JudgementUnrequested',
|
|
169
161
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -172,23 +164,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
172
164
|
/**
|
|
173
165
|
* A judgement was given by a registrar.
|
|
174
166
|
**/
|
|
175
|
-
JudgementGiven: GenericPalletEvent<
|
|
176
|
-
Rv,
|
|
177
|
-
'Identity',
|
|
178
|
-
'JudgementGiven',
|
|
179
|
-
{ target: AccountId32; registrarIndex: number }
|
|
180
|
-
>;
|
|
167
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
|
|
181
168
|
|
|
182
169
|
/**
|
|
183
170
|
* A registrar was added.
|
|
184
171
|
**/
|
|
185
|
-
RegistrarAdded: GenericPalletEvent<
|
|
172
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
186
173
|
|
|
187
174
|
/**
|
|
188
175
|
* A sub-identity was added to an identity and the deposit paid.
|
|
189
176
|
**/
|
|
190
177
|
SubIdentityAdded: GenericPalletEvent<
|
|
191
|
-
Rv,
|
|
192
178
|
'Identity',
|
|
193
179
|
'SubIdentityAdded',
|
|
194
180
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -198,7 +184,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
198
184
|
* An account's sub-identities were set (in bulk).
|
|
199
185
|
**/
|
|
200
186
|
SubIdentitiesSet: GenericPalletEvent<
|
|
201
|
-
Rv,
|
|
202
187
|
'Identity',
|
|
203
188
|
'SubIdentitiesSet',
|
|
204
189
|
{ main: AccountId32; numberOfSubs: number; newDeposit: bigint }
|
|
@@ -207,18 +192,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
207
192
|
/**
|
|
208
193
|
* A given sub-account's associated name was changed by its super-identity.
|
|
209
194
|
**/
|
|
210
|
-
SubIdentityRenamed: GenericPalletEvent<
|
|
211
|
-
Rv,
|
|
212
|
-
'Identity',
|
|
213
|
-
'SubIdentityRenamed',
|
|
214
|
-
{ sub: AccountId32; main: AccountId32 }
|
|
215
|
-
>;
|
|
195
|
+
SubIdentityRenamed: GenericPalletEvent<'Identity', 'SubIdentityRenamed', { sub: AccountId32; main: AccountId32 }>;
|
|
216
196
|
|
|
217
197
|
/**
|
|
218
198
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
219
199
|
**/
|
|
220
200
|
SubIdentityRemoved: GenericPalletEvent<
|
|
221
|
-
Rv,
|
|
222
201
|
'Identity',
|
|
223
202
|
'SubIdentityRemoved',
|
|
224
203
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -229,7 +208,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
229
208
|
* main identity account to the sub-identity account.
|
|
230
209
|
**/
|
|
231
210
|
SubIdentityRevoked: GenericPalletEvent<
|
|
232
|
-
Rv,
|
|
233
211
|
'Identity',
|
|
234
212
|
'SubIdentityRevoked',
|
|
235
213
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -238,23 +216,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
238
216
|
/**
|
|
239
217
|
* A username authority was added.
|
|
240
218
|
**/
|
|
241
|
-
AuthorityAdded: GenericPalletEvent<
|
|
219
|
+
AuthorityAdded: GenericPalletEvent<'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
242
220
|
|
|
243
221
|
/**
|
|
244
222
|
* A username authority was removed.
|
|
245
223
|
**/
|
|
246
|
-
AuthorityRemoved: GenericPalletEvent<
|
|
224
|
+
AuthorityRemoved: GenericPalletEvent<'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
247
225
|
|
|
248
226
|
/**
|
|
249
227
|
* A username was set for `who`.
|
|
250
228
|
**/
|
|
251
|
-
UsernameSet: GenericPalletEvent<
|
|
229
|
+
UsernameSet: GenericPalletEvent<'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
252
230
|
|
|
253
231
|
/**
|
|
254
232
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
255
233
|
**/
|
|
256
234
|
UsernameQueued: GenericPalletEvent<
|
|
257
|
-
Rv,
|
|
258
235
|
'Identity',
|
|
259
236
|
'UsernameQueued',
|
|
260
237
|
{ who: AccountId32; username: Bytes; expiration: number }
|
|
@@ -263,19 +240,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
263
240
|
/**
|
|
264
241
|
* A queued username passed its expiration without being claimed and was removed.
|
|
265
242
|
**/
|
|
266
|
-
PreapprovalExpired: GenericPalletEvent<
|
|
243
|
+
PreapprovalExpired: GenericPalletEvent<'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
267
244
|
|
|
268
245
|
/**
|
|
269
246
|
* A username was set as a primary and can be looked up from `who`.
|
|
270
247
|
**/
|
|
271
|
-
PrimaryUsernameSet: GenericPalletEvent<
|
|
248
|
+
PrimaryUsernameSet: GenericPalletEvent<'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
272
249
|
|
|
273
250
|
/**
|
|
274
251
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
275
252
|
* identity) has been removed.
|
|
276
253
|
**/
|
|
277
254
|
DanglingUsernameRemoved: GenericPalletEvent<
|
|
278
|
-
Rv,
|
|
279
255
|
'Identity',
|
|
280
256
|
'DanglingUsernameRemoved',
|
|
281
257
|
{ who: AccountId32; username: Bytes }
|
|
@@ -284,22 +260,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
284
260
|
/**
|
|
285
261
|
* A username has been unbound.
|
|
286
262
|
**/
|
|
287
|
-
UsernameUnbound: GenericPalletEvent<
|
|
263
|
+
UsernameUnbound: GenericPalletEvent<'Identity', 'UsernameUnbound', { username: Bytes }>;
|
|
288
264
|
|
|
289
265
|
/**
|
|
290
266
|
* A username has been removed.
|
|
291
267
|
**/
|
|
292
|
-
UsernameRemoved: GenericPalletEvent<
|
|
268
|
+
UsernameRemoved: GenericPalletEvent<'Identity', 'UsernameRemoved', { username: Bytes }>;
|
|
293
269
|
|
|
294
270
|
/**
|
|
295
271
|
* A username has been killed.
|
|
296
272
|
**/
|
|
297
|
-
UsernameKilled: GenericPalletEvent<
|
|
273
|
+
UsernameKilled: GenericPalletEvent<'Identity', 'UsernameKilled', { username: Bytes }>;
|
|
298
274
|
|
|
299
275
|
/**
|
|
300
276
|
* Generic pallet event
|
|
301
277
|
**/
|
|
302
|
-
[prop: string]: GenericPalletEvent
|
|
278
|
+
[prop: string]: GenericPalletEvent;
|
|
303
279
|
};
|
|
304
280
|
/**
|
|
305
281
|
* Pallet `Multisig`'s events
|
|
@@ -309,7 +285,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
309
285
|
* A new multisig operation has begun.
|
|
310
286
|
**/
|
|
311
287
|
NewMultisig: GenericPalletEvent<
|
|
312
|
-
Rv,
|
|
313
288
|
'Multisig',
|
|
314
289
|
'NewMultisig',
|
|
315
290
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -319,7 +294,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
319
294
|
* A multisig operation has been approved by someone.
|
|
320
295
|
**/
|
|
321
296
|
MultisigApproval: GenericPalletEvent<
|
|
322
|
-
Rv,
|
|
323
297
|
'Multisig',
|
|
324
298
|
'MultisigApproval',
|
|
325
299
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -329,7 +303,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
329
303
|
* A multisig operation has been executed.
|
|
330
304
|
**/
|
|
331
305
|
MultisigExecuted: GenericPalletEvent<
|
|
332
|
-
Rv,
|
|
333
306
|
'Multisig',
|
|
334
307
|
'MultisigExecuted',
|
|
335
308
|
{
|
|
@@ -345,7 +318,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
345
318
|
* A multisig operation has been cancelled.
|
|
346
319
|
**/
|
|
347
320
|
MultisigCancelled: GenericPalletEvent<
|
|
348
|
-
Rv,
|
|
349
321
|
'Multisig',
|
|
350
322
|
'MultisigCancelled',
|
|
351
323
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -354,7 +326,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
354
326
|
/**
|
|
355
327
|
* Generic pallet event
|
|
356
328
|
**/
|
|
357
|
-
[prop: string]: GenericPalletEvent
|
|
329
|
+
[prop: string]: GenericPalletEvent;
|
|
358
330
|
};
|
|
359
331
|
/**
|
|
360
332
|
* Pallet `Proxy`'s events
|
|
@@ -363,14 +335,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
363
335
|
/**
|
|
364
336
|
* A proxy was executed correctly, with the given.
|
|
365
337
|
**/
|
|
366
|
-
ProxyExecuted: GenericPalletEvent<
|
|
338
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
367
339
|
|
|
368
340
|
/**
|
|
369
341
|
* A pure account has been created by new proxy with given
|
|
370
342
|
* disambiguation index and proxy type.
|
|
371
343
|
**/
|
|
372
344
|
PureCreated: GenericPalletEvent<
|
|
373
|
-
Rv,
|
|
374
345
|
'Proxy',
|
|
375
346
|
'PureCreated',
|
|
376
347
|
{ pure: AccountId32; who: AccountId32; proxyType: AstarRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -379,13 +350,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
379
350
|
/**
|
|
380
351
|
* An announcement was placed to make a call in the future.
|
|
381
352
|
**/
|
|
382
|
-
Announced: GenericPalletEvent<
|
|
353
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
383
354
|
|
|
384
355
|
/**
|
|
385
356
|
* A proxy was added.
|
|
386
357
|
**/
|
|
387
358
|
ProxyAdded: GenericPalletEvent<
|
|
388
|
-
Rv,
|
|
389
359
|
'Proxy',
|
|
390
360
|
'ProxyAdded',
|
|
391
361
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
|
|
@@ -395,7 +365,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
395
365
|
* A proxy was removed.
|
|
396
366
|
**/
|
|
397
367
|
ProxyRemoved: GenericPalletEvent<
|
|
398
|
-
Rv,
|
|
399
368
|
'Proxy',
|
|
400
369
|
'ProxyRemoved',
|
|
401
370
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AstarRuntimeProxyType; delay: number }
|
|
@@ -404,7 +373,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
404
373
|
/**
|
|
405
374
|
* Generic pallet event
|
|
406
375
|
**/
|
|
407
|
-
[prop: string]: GenericPalletEvent
|
|
376
|
+
[prop: string]: GenericPalletEvent;
|
|
408
377
|
};
|
|
409
378
|
/**
|
|
410
379
|
* Pallet `Scheduler`'s events
|
|
@@ -413,18 +382,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
413
382
|
/**
|
|
414
383
|
* Scheduled some task.
|
|
415
384
|
**/
|
|
416
|
-
Scheduled: GenericPalletEvent<
|
|
385
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
417
386
|
|
|
418
387
|
/**
|
|
419
388
|
* Canceled some task.
|
|
420
389
|
**/
|
|
421
|
-
Canceled: GenericPalletEvent<
|
|
390
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
422
391
|
|
|
423
392
|
/**
|
|
424
393
|
* Dispatched some task.
|
|
425
394
|
**/
|
|
426
395
|
Dispatched: GenericPalletEvent<
|
|
427
|
-
Rv,
|
|
428
396
|
'Scheduler',
|
|
429
397
|
'Dispatched',
|
|
430
398
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -434,7 +402,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
434
402
|
* Set a retry configuration for some task.
|
|
435
403
|
**/
|
|
436
404
|
RetrySet: GenericPalletEvent<
|
|
437
|
-
Rv,
|
|
438
405
|
'Scheduler',
|
|
439
406
|
'RetrySet',
|
|
440
407
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -444,7 +411,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
444
411
|
* Cancel a retry configuration for some task.
|
|
445
412
|
**/
|
|
446
413
|
RetryCancelled: GenericPalletEvent<
|
|
447
|
-
Rv,
|
|
448
414
|
'Scheduler',
|
|
449
415
|
'RetryCancelled',
|
|
450
416
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -454,7 +420,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
454
420
|
* The call for the provided hash was not found so the task has been aborted.
|
|
455
421
|
**/
|
|
456
422
|
CallUnavailable: GenericPalletEvent<
|
|
457
|
-
Rv,
|
|
458
423
|
'Scheduler',
|
|
459
424
|
'CallUnavailable',
|
|
460
425
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -464,7 +429,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
464
429
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
465
430
|
**/
|
|
466
431
|
PeriodicFailed: GenericPalletEvent<
|
|
467
|
-
Rv,
|
|
468
432
|
'Scheduler',
|
|
469
433
|
'PeriodicFailed',
|
|
470
434
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -475,7 +439,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
475
439
|
* was not enough weight to reschedule it.
|
|
476
440
|
**/
|
|
477
441
|
RetryFailed: GenericPalletEvent<
|
|
478
|
-
Rv,
|
|
479
442
|
'Scheduler',
|
|
480
443
|
'RetryFailed',
|
|
481
444
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -485,7 +448,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
485
448
|
* The given task can never be executed since it is overweight.
|
|
486
449
|
**/
|
|
487
450
|
PermanentlyOverweight: GenericPalletEvent<
|
|
488
|
-
Rv,
|
|
489
451
|
'Scheduler',
|
|
490
452
|
'PermanentlyOverweight',
|
|
491
453
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -494,7 +456,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
494
456
|
/**
|
|
495
457
|
* Generic pallet event
|
|
496
458
|
**/
|
|
497
|
-
[prop: string]: GenericPalletEvent
|
|
459
|
+
[prop: string]: GenericPalletEvent;
|
|
498
460
|
};
|
|
499
461
|
/**
|
|
500
462
|
* Pallet `ParachainSystem`'s events
|
|
@@ -503,13 +465,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
503
465
|
/**
|
|
504
466
|
* The validation function has been scheduled to apply.
|
|
505
467
|
**/
|
|
506
|
-
ValidationFunctionStored: GenericPalletEvent<
|
|
468
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
507
469
|
|
|
508
470
|
/**
|
|
509
471
|
* The validation function was applied as of the contained relay chain block number.
|
|
510
472
|
**/
|
|
511
473
|
ValidationFunctionApplied: GenericPalletEvent<
|
|
512
|
-
Rv,
|
|
513
474
|
'ParachainSystem',
|
|
514
475
|
'ValidationFunctionApplied',
|
|
515
476
|
{ relayChainBlockNum: number }
|
|
@@ -518,18 +479,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
518
479
|
/**
|
|
519
480
|
* The relay-chain aborted the upgrade process.
|
|
520
481
|
**/
|
|
521
|
-
ValidationFunctionDiscarded: GenericPalletEvent<
|
|
482
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
522
483
|
|
|
523
484
|
/**
|
|
524
485
|
* Some downward messages have been received and will be processed.
|
|
525
486
|
**/
|
|
526
|
-
DownwardMessagesReceived: GenericPalletEvent<
|
|
487
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
|
|
527
488
|
|
|
528
489
|
/**
|
|
529
490
|
* Downward messages were processed using the given weight.
|
|
530
491
|
**/
|
|
531
492
|
DownwardMessagesProcessed: GenericPalletEvent<
|
|
532
|
-
Rv,
|
|
533
493
|
'ParachainSystem',
|
|
534
494
|
'DownwardMessagesProcessed',
|
|
535
495
|
{ weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
|
|
@@ -539,7 +499,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
539
499
|
* An upward message was sent to the relay chain.
|
|
540
500
|
**/
|
|
541
501
|
UpwardMessageSent: GenericPalletEvent<
|
|
542
|
-
Rv,
|
|
543
502
|
'ParachainSystem',
|
|
544
503
|
'UpwardMessageSent',
|
|
545
504
|
{ messageHash?: FixedBytes<32> | undefined }
|
|
@@ -548,7 +507,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
548
507
|
/**
|
|
549
508
|
* Generic pallet event
|
|
550
509
|
**/
|
|
551
|
-
[prop: string]: GenericPalletEvent
|
|
510
|
+
[prop: string]: GenericPalletEvent;
|
|
552
511
|
};
|
|
553
512
|
/**
|
|
554
513
|
* Pallet `TransactionPayment`'s events
|
|
@@ -559,7 +518,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
559
518
|
* has been paid by `who`.
|
|
560
519
|
**/
|
|
561
520
|
TransactionFeePaid: GenericPalletEvent<
|
|
562
|
-
Rv,
|
|
563
521
|
'TransactionPayment',
|
|
564
522
|
'TransactionFeePaid',
|
|
565
523
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -568,7 +526,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
568
526
|
/**
|
|
569
527
|
* Generic pallet event
|
|
570
528
|
**/
|
|
571
|
-
[prop: string]: GenericPalletEvent
|
|
529
|
+
[prop: string]: GenericPalletEvent;
|
|
572
530
|
};
|
|
573
531
|
/**
|
|
574
532
|
* Pallet `Balances`'s events
|
|
@@ -577,40 +535,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
577
535
|
/**
|
|
578
536
|
* An account was created with some free balance.
|
|
579
537
|
**/
|
|
580
|
-
Endowed: GenericPalletEvent<
|
|
538
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
581
539
|
|
|
582
540
|
/**
|
|
583
541
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
584
542
|
* resulting in an outright loss.
|
|
585
543
|
**/
|
|
586
|
-
DustLost: GenericPalletEvent<
|
|
544
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
587
545
|
|
|
588
546
|
/**
|
|
589
547
|
* Transfer succeeded.
|
|
590
548
|
**/
|
|
591
|
-
Transfer: GenericPalletEvent<
|
|
549
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
592
550
|
|
|
593
551
|
/**
|
|
594
552
|
* A balance was set by root.
|
|
595
553
|
**/
|
|
596
|
-
BalanceSet: GenericPalletEvent<
|
|
554
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
597
555
|
|
|
598
556
|
/**
|
|
599
557
|
* Some balance was reserved (moved from free to reserved).
|
|
600
558
|
**/
|
|
601
|
-
Reserved: GenericPalletEvent<
|
|
559
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
602
560
|
|
|
603
561
|
/**
|
|
604
562
|
* Some balance was unreserved (moved from reserved to free).
|
|
605
563
|
**/
|
|
606
|
-
Unreserved: GenericPalletEvent<
|
|
564
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
607
565
|
|
|
608
566
|
/**
|
|
609
567
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
610
568
|
* Final argument indicates the destination balance type.
|
|
611
569
|
**/
|
|
612
570
|
ReserveRepatriated: GenericPalletEvent<
|
|
613
|
-
Rv,
|
|
614
571
|
'Balances',
|
|
615
572
|
'ReserveRepatriated',
|
|
616
573
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -619,82 +576,82 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
619
576
|
/**
|
|
620
577
|
* Some amount was deposited (e.g. for transaction fees).
|
|
621
578
|
**/
|
|
622
|
-
Deposit: GenericPalletEvent<
|
|
579
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
623
580
|
|
|
624
581
|
/**
|
|
625
582
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
626
583
|
**/
|
|
627
|
-
Withdraw: GenericPalletEvent<
|
|
584
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
628
585
|
|
|
629
586
|
/**
|
|
630
587
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
631
588
|
**/
|
|
632
|
-
Slashed: GenericPalletEvent<
|
|
589
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
633
590
|
|
|
634
591
|
/**
|
|
635
592
|
* Some amount was minted into an account.
|
|
636
593
|
**/
|
|
637
|
-
Minted: GenericPalletEvent<
|
|
594
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
638
595
|
|
|
639
596
|
/**
|
|
640
597
|
* Some amount was burned from an account.
|
|
641
598
|
**/
|
|
642
|
-
Burned: GenericPalletEvent<
|
|
599
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
643
600
|
|
|
644
601
|
/**
|
|
645
602
|
* Some amount was suspended from an account (it can be restored later).
|
|
646
603
|
**/
|
|
647
|
-
Suspended: GenericPalletEvent<
|
|
604
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
648
605
|
|
|
649
606
|
/**
|
|
650
607
|
* Some amount was restored into an account.
|
|
651
608
|
**/
|
|
652
|
-
Restored: GenericPalletEvent<
|
|
609
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
653
610
|
|
|
654
611
|
/**
|
|
655
612
|
* An account was upgraded.
|
|
656
613
|
**/
|
|
657
|
-
Upgraded: GenericPalletEvent<
|
|
614
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
658
615
|
|
|
659
616
|
/**
|
|
660
617
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
661
618
|
**/
|
|
662
|
-
Issued: GenericPalletEvent<
|
|
619
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
663
620
|
|
|
664
621
|
/**
|
|
665
622
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
666
623
|
**/
|
|
667
|
-
Rescinded: GenericPalletEvent<
|
|
624
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
668
625
|
|
|
669
626
|
/**
|
|
670
627
|
* Some balance was locked.
|
|
671
628
|
**/
|
|
672
|
-
Locked: GenericPalletEvent<
|
|
629
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
673
630
|
|
|
674
631
|
/**
|
|
675
632
|
* Some balance was unlocked.
|
|
676
633
|
**/
|
|
677
|
-
Unlocked: GenericPalletEvent<
|
|
634
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
678
635
|
|
|
679
636
|
/**
|
|
680
637
|
* Some balance was frozen.
|
|
681
638
|
**/
|
|
682
|
-
Frozen: GenericPalletEvent<
|
|
639
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
683
640
|
|
|
684
641
|
/**
|
|
685
642
|
* Some balance was thawed.
|
|
686
643
|
**/
|
|
687
|
-
Thawed: GenericPalletEvent<
|
|
644
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
688
645
|
|
|
689
646
|
/**
|
|
690
647
|
* The `TotalIssuance` was forcefully changed.
|
|
691
648
|
**/
|
|
692
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
649
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
693
650
|
|
|
694
651
|
/**
|
|
695
652
|
* Generic pallet event
|
|
696
653
|
**/
|
|
697
|
-
[prop: string]: GenericPalletEvent
|
|
654
|
+
[prop: string]: GenericPalletEvent;
|
|
698
655
|
};
|
|
699
656
|
/**
|
|
700
657
|
* Pallet `Vesting`'s events
|
|
@@ -704,17 +661,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
704
661
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
705
662
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
706
663
|
**/
|
|
707
|
-
VestingUpdated: GenericPalletEvent<
|
|
664
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
708
665
|
|
|
709
666
|
/**
|
|
710
667
|
* An \[account\] has become fully vested.
|
|
711
668
|
**/
|
|
712
|
-
VestingCompleted: GenericPalletEvent<
|
|
669
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
713
670
|
|
|
714
671
|
/**
|
|
715
672
|
* Generic pallet event
|
|
716
673
|
**/
|
|
717
|
-
[prop: string]: GenericPalletEvent
|
|
674
|
+
[prop: string]: GenericPalletEvent;
|
|
718
675
|
};
|
|
719
676
|
/**
|
|
720
677
|
* Pallet `Inflation`'s events
|
|
@@ -723,13 +680,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
723
680
|
/**
|
|
724
681
|
* Inflation parameters have been force changed. This will have effect on the next inflation recalculation.
|
|
725
682
|
**/
|
|
726
|
-
InflationParametersForceChanged: GenericPalletEvent<
|
|
683
|
+
InflationParametersForceChanged: GenericPalletEvent<'Inflation', 'InflationParametersForceChanged', null>;
|
|
727
684
|
|
|
728
685
|
/**
|
|
729
686
|
* Inflation recalculation has been forced.
|
|
730
687
|
**/
|
|
731
688
|
ForcedInflationRecalculation: GenericPalletEvent<
|
|
732
|
-
Rv,
|
|
733
689
|
'Inflation',
|
|
734
690
|
'ForcedInflationRecalculation',
|
|
735
691
|
{ config: PalletInflationInflationConfiguration }
|
|
@@ -739,7 +695,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
739
695
|
* New inflation configuration has been set.
|
|
740
696
|
**/
|
|
741
697
|
NewInflationConfiguration: GenericPalletEvent<
|
|
742
|
-
Rv,
|
|
743
698
|
'Inflation',
|
|
744
699
|
'NewInflationConfiguration',
|
|
745
700
|
{ config: PalletInflationInflationConfiguration }
|
|
@@ -748,7 +703,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
748
703
|
/**
|
|
749
704
|
* Generic pallet event
|
|
750
705
|
**/
|
|
751
|
-
[prop: string]: GenericPalletEvent
|
|
706
|
+
[prop: string]: GenericPalletEvent;
|
|
752
707
|
};
|
|
753
708
|
/**
|
|
754
709
|
* Pallet `DappStaking`'s events
|
|
@@ -757,18 +712,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
757
712
|
/**
|
|
758
713
|
* Maintenance mode has been either enabled or disabled.
|
|
759
714
|
**/
|
|
760
|
-
MaintenanceMode: GenericPalletEvent<
|
|
715
|
+
MaintenanceMode: GenericPalletEvent<'DappStaking', 'MaintenanceMode', { enabled: boolean }>;
|
|
761
716
|
|
|
762
717
|
/**
|
|
763
718
|
* New era has started.
|
|
764
719
|
**/
|
|
765
|
-
NewEra: GenericPalletEvent<
|
|
720
|
+
NewEra: GenericPalletEvent<'DappStaking', 'NewEra', { era: number }>;
|
|
766
721
|
|
|
767
722
|
/**
|
|
768
723
|
* New subperiod has started.
|
|
769
724
|
**/
|
|
770
725
|
NewSubperiod: GenericPalletEvent<
|
|
771
|
-
Rv,
|
|
772
726
|
'DappStaking',
|
|
773
727
|
'NewSubperiod',
|
|
774
728
|
{ subperiod: PalletDappStakingSubperiod; number: number }
|
|
@@ -778,7 +732,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
778
732
|
* A smart contract has been registered for dApp staking
|
|
779
733
|
**/
|
|
780
734
|
DAppRegistered: GenericPalletEvent<
|
|
781
|
-
Rv,
|
|
782
735
|
'DappStaking',
|
|
783
736
|
'DAppRegistered',
|
|
784
737
|
{ owner: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; dappId: number }
|
|
@@ -788,7 +741,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
788
741
|
* dApp reward destination has been updated.
|
|
789
742
|
**/
|
|
790
743
|
DAppRewardDestinationUpdated: GenericPalletEvent<
|
|
791
|
-
Rv,
|
|
792
744
|
'DappStaking',
|
|
793
745
|
'DAppRewardDestinationUpdated',
|
|
794
746
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; beneficiary?: AccountId32 | undefined }
|
|
@@ -798,7 +750,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
798
750
|
* dApp owner has been changed.
|
|
799
751
|
**/
|
|
800
752
|
DAppOwnerChanged: GenericPalletEvent<
|
|
801
|
-
Rv,
|
|
802
753
|
'DappStaking',
|
|
803
754
|
'DAppOwnerChanged',
|
|
804
755
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; newOwner: AccountId32 }
|
|
@@ -808,7 +759,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
808
759
|
* dApp has been unregistered
|
|
809
760
|
**/
|
|
810
761
|
DAppUnregistered: GenericPalletEvent<
|
|
811
|
-
Rv,
|
|
812
762
|
'DappStaking',
|
|
813
763
|
'DAppUnregistered',
|
|
814
764
|
{ smartContract: AstarPrimitivesDappStakingSmartContract; era: number }
|
|
@@ -817,28 +767,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
817
767
|
/**
|
|
818
768
|
* Account has locked some amount into dApp staking.
|
|
819
769
|
**/
|
|
820
|
-
Locked: GenericPalletEvent<
|
|
770
|
+
Locked: GenericPalletEvent<'DappStaking', 'Locked', { account: AccountId32; amount: bigint }>;
|
|
821
771
|
|
|
822
772
|
/**
|
|
823
773
|
* Account has started the unlocking process for some amount.
|
|
824
774
|
**/
|
|
825
|
-
Unlocking: GenericPalletEvent<
|
|
775
|
+
Unlocking: GenericPalletEvent<'DappStaking', 'Unlocking', { account: AccountId32; amount: bigint }>;
|
|
826
776
|
|
|
827
777
|
/**
|
|
828
778
|
* Account has claimed unlocked amount, removing the lock from it.
|
|
829
779
|
**/
|
|
830
|
-
ClaimedUnlocked: GenericPalletEvent<
|
|
780
|
+
ClaimedUnlocked: GenericPalletEvent<'DappStaking', 'ClaimedUnlocked', { account: AccountId32; amount: bigint }>;
|
|
831
781
|
|
|
832
782
|
/**
|
|
833
783
|
* Account has relocked all of the unlocking chunks.
|
|
834
784
|
**/
|
|
835
|
-
Relock: GenericPalletEvent<
|
|
785
|
+
Relock: GenericPalletEvent<'DappStaking', 'Relock', { account: AccountId32; amount: bigint }>;
|
|
836
786
|
|
|
837
787
|
/**
|
|
838
788
|
* Account has staked some amount on a smart contract.
|
|
839
789
|
**/
|
|
840
790
|
Stake: GenericPalletEvent<
|
|
841
|
-
Rv,
|
|
842
791
|
'DappStaking',
|
|
843
792
|
'Stake',
|
|
844
793
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -848,7 +797,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
848
797
|
* Account has unstaked some amount from a smart contract.
|
|
849
798
|
**/
|
|
850
799
|
Unstake: GenericPalletEvent<
|
|
851
|
-
Rv,
|
|
852
800
|
'DappStaking',
|
|
853
801
|
'Unstake',
|
|
854
802
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -857,13 +805,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
857
805
|
/**
|
|
858
806
|
* Account has claimed some stake rewards.
|
|
859
807
|
**/
|
|
860
|
-
Reward: GenericPalletEvent<
|
|
808
|
+
Reward: GenericPalletEvent<'DappStaking', 'Reward', { account: AccountId32; era: number; amount: bigint }>;
|
|
861
809
|
|
|
862
810
|
/**
|
|
863
811
|
* Bonus reward has been paid out to a staker with an eligible bonus status.
|
|
864
812
|
**/
|
|
865
813
|
BonusReward: GenericPalletEvent<
|
|
866
|
-
Rv,
|
|
867
814
|
'DappStaking',
|
|
868
815
|
'BonusReward',
|
|
869
816
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; period: number; amount: bigint }
|
|
@@ -873,7 +820,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
873
820
|
* dApp reward has been paid out to a beneficiary.
|
|
874
821
|
**/
|
|
875
822
|
DAppReward: GenericPalletEvent<
|
|
876
|
-
Rv,
|
|
877
823
|
'DappStaking',
|
|
878
824
|
'DAppReward',
|
|
879
825
|
{
|
|
@@ -890,7 +836,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
890
836
|
* Account has unstaked funds from an unregistered smart contract
|
|
891
837
|
**/
|
|
892
838
|
UnstakeFromUnregistered: GenericPalletEvent<
|
|
893
|
-
Rv,
|
|
894
839
|
'DappStaking',
|
|
895
840
|
'UnstakeFromUnregistered',
|
|
896
841
|
{ account: AccountId32; smartContract: AstarPrimitivesDappStakingSmartContract; amount: bigint }
|
|
@@ -900,7 +845,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
900
845
|
* Some expired stake entries have been removed from storage.
|
|
901
846
|
**/
|
|
902
847
|
ExpiredEntriesRemoved: GenericPalletEvent<
|
|
903
|
-
Rv,
|
|
904
848
|
'DappStaking',
|
|
905
849
|
'ExpiredEntriesRemoved',
|
|
906
850
|
{ account: AccountId32; count: number }
|
|
@@ -909,13 +853,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
909
853
|
/**
|
|
910
854
|
* Privileged origin has forced a new era and possibly a subperiod to start from next block.
|
|
911
855
|
**/
|
|
912
|
-
Force: GenericPalletEvent<
|
|
856
|
+
Force: GenericPalletEvent<'DappStaking', 'Force', { forcingType: PalletDappStakingForcingType }>;
|
|
913
857
|
|
|
914
858
|
/**
|
|
915
859
|
* Account has moved some stake from a source smart contract to a destination smart contract.
|
|
916
860
|
**/
|
|
917
861
|
StakeMoved: GenericPalletEvent<
|
|
918
|
-
Rv,
|
|
919
862
|
'DappStaking',
|
|
920
863
|
'StakeMoved',
|
|
921
864
|
{
|
|
@@ -930,7 +873,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
930
873
|
* Tier parameters, used to calculate tier configuration, have been updated, and will be applicable from next era.
|
|
931
874
|
**/
|
|
932
875
|
NewTierParameters: GenericPalletEvent<
|
|
933
|
-
Rv,
|
|
934
876
|
'DappStaking',
|
|
935
877
|
'NewTierParameters',
|
|
936
878
|
{ params: PalletDappStakingTierParameters }
|
|
@@ -939,7 +881,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
939
881
|
/**
|
|
940
882
|
* Generic pallet event
|
|
941
883
|
**/
|
|
942
|
-
[prop: string]: GenericPalletEvent
|
|
884
|
+
[prop: string]: GenericPalletEvent;
|
|
943
885
|
};
|
|
944
886
|
/**
|
|
945
887
|
* Pallet `Assets`'s events
|
|
@@ -948,18 +890,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
948
890
|
/**
|
|
949
891
|
* Some asset class was created.
|
|
950
892
|
**/
|
|
951
|
-
Created: GenericPalletEvent<
|
|
893
|
+
Created: GenericPalletEvent<'Assets', 'Created', { assetId: bigint; creator: AccountId32; owner: AccountId32 }>;
|
|
952
894
|
|
|
953
895
|
/**
|
|
954
896
|
* Some assets were issued.
|
|
955
897
|
**/
|
|
956
|
-
Issued: GenericPalletEvent<
|
|
898
|
+
Issued: GenericPalletEvent<'Assets', 'Issued', { assetId: bigint; owner: AccountId32; amount: bigint }>;
|
|
957
899
|
|
|
958
900
|
/**
|
|
959
901
|
* Some assets were transferred.
|
|
960
902
|
**/
|
|
961
903
|
Transferred: GenericPalletEvent<
|
|
962
|
-
Rv,
|
|
963
904
|
'Assets',
|
|
964
905
|
'Transferred',
|
|
965
906
|
{ assetId: bigint; from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -968,13 +909,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
968
909
|
/**
|
|
969
910
|
* Some assets were destroyed.
|
|
970
911
|
**/
|
|
971
|
-
Burned: GenericPalletEvent<
|
|
912
|
+
Burned: GenericPalletEvent<'Assets', 'Burned', { assetId: bigint; owner: AccountId32; balance: bigint }>;
|
|
972
913
|
|
|
973
914
|
/**
|
|
974
915
|
* The management team changed.
|
|
975
916
|
**/
|
|
976
917
|
TeamChanged: GenericPalletEvent<
|
|
977
|
-
Rv,
|
|
978
918
|
'Assets',
|
|
979
919
|
'TeamChanged',
|
|
980
920
|
{ assetId: bigint; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
@@ -983,33 +923,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
983
923
|
/**
|
|
984
924
|
* The owner changed.
|
|
985
925
|
**/
|
|
986
|
-
OwnerChanged: GenericPalletEvent<
|
|
926
|
+
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: bigint; owner: AccountId32 }>;
|
|
987
927
|
|
|
988
928
|
/**
|
|
989
929
|
* Some account `who` was frozen.
|
|
990
930
|
**/
|
|
991
|
-
Frozen: GenericPalletEvent<
|
|
931
|
+
Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: bigint; who: AccountId32 }>;
|
|
992
932
|
|
|
993
933
|
/**
|
|
994
934
|
* Some account `who` was thawed.
|
|
995
935
|
**/
|
|
996
|
-
Thawed: GenericPalletEvent<
|
|
936
|
+
Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: bigint; who: AccountId32 }>;
|
|
997
937
|
|
|
998
938
|
/**
|
|
999
939
|
* Some asset `asset_id` was frozen.
|
|
1000
940
|
**/
|
|
1001
|
-
AssetFrozen: GenericPalletEvent<
|
|
941
|
+
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: bigint }>;
|
|
1002
942
|
|
|
1003
943
|
/**
|
|
1004
944
|
* Some asset `asset_id` was thawed.
|
|
1005
945
|
**/
|
|
1006
|
-
AssetThawed: GenericPalletEvent<
|
|
946
|
+
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: bigint }>;
|
|
1007
947
|
|
|
1008
948
|
/**
|
|
1009
949
|
* Accounts were destroyed for given asset.
|
|
1010
950
|
**/
|
|
1011
951
|
AccountsDestroyed: GenericPalletEvent<
|
|
1012
|
-
Rv,
|
|
1013
952
|
'Assets',
|
|
1014
953
|
'AccountsDestroyed',
|
|
1015
954
|
{ assetId: bigint; accountsDestroyed: number; accountsRemaining: number }
|
|
@@ -1019,7 +958,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1019
958
|
* Approvals were destroyed for given asset.
|
|
1020
959
|
**/
|
|
1021
960
|
ApprovalsDestroyed: GenericPalletEvent<
|
|
1022
|
-
Rv,
|
|
1023
961
|
'Assets',
|
|
1024
962
|
'ApprovalsDestroyed',
|
|
1025
963
|
{ assetId: bigint; approvalsDestroyed: number; approvalsRemaining: number }
|
|
@@ -1028,23 +966,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1028
966
|
/**
|
|
1029
967
|
* An asset class is in the process of being destroyed.
|
|
1030
968
|
**/
|
|
1031
|
-
DestructionStarted: GenericPalletEvent<
|
|
969
|
+
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: bigint }>;
|
|
1032
970
|
|
|
1033
971
|
/**
|
|
1034
972
|
* An asset class was destroyed.
|
|
1035
973
|
**/
|
|
1036
|
-
Destroyed: GenericPalletEvent<
|
|
974
|
+
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: bigint }>;
|
|
1037
975
|
|
|
1038
976
|
/**
|
|
1039
977
|
* Some asset class was force-created.
|
|
1040
978
|
**/
|
|
1041
|
-
ForceCreated: GenericPalletEvent<
|
|
979
|
+
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: bigint; owner: AccountId32 }>;
|
|
1042
980
|
|
|
1043
981
|
/**
|
|
1044
982
|
* New metadata has been set for an asset.
|
|
1045
983
|
**/
|
|
1046
984
|
MetadataSet: GenericPalletEvent<
|
|
1047
|
-
Rv,
|
|
1048
985
|
'Assets',
|
|
1049
986
|
'MetadataSet',
|
|
1050
987
|
{ assetId: bigint; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
@@ -1053,13 +990,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1053
990
|
/**
|
|
1054
991
|
* Metadata has been cleared for an asset.
|
|
1055
992
|
**/
|
|
1056
|
-
MetadataCleared: GenericPalletEvent<
|
|
993
|
+
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: bigint }>;
|
|
1057
994
|
|
|
1058
995
|
/**
|
|
1059
996
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
1060
997
|
**/
|
|
1061
998
|
ApprovedTransfer: GenericPalletEvent<
|
|
1062
|
-
Rv,
|
|
1063
999
|
'Assets',
|
|
1064
1000
|
'ApprovedTransfer',
|
|
1065
1001
|
{ assetId: bigint; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
@@ -1069,7 +1005,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1069
1005
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
1070
1006
|
**/
|
|
1071
1007
|
ApprovalCancelled: GenericPalletEvent<
|
|
1072
|
-
Rv,
|
|
1073
1008
|
'Assets',
|
|
1074
1009
|
'ApprovalCancelled',
|
|
1075
1010
|
{ assetId: bigint; owner: AccountId32; delegate: AccountId32 }
|
|
@@ -1080,7 +1015,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1080
1015
|
* the approved `delegate`.
|
|
1081
1016
|
**/
|
|
1082
1017
|
TransferredApproved: GenericPalletEvent<
|
|
1083
|
-
Rv,
|
|
1084
1018
|
'Assets',
|
|
1085
1019
|
'TransferredApproved',
|
|
1086
1020
|
{ assetId: bigint; owner: AccountId32; delegate: AccountId32; destination: AccountId32; amount: bigint }
|
|
@@ -1089,13 +1023,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1089
1023
|
/**
|
|
1090
1024
|
* An asset has had its attributes changed by the `Force` origin.
|
|
1091
1025
|
**/
|
|
1092
|
-
AssetStatusChanged: GenericPalletEvent<
|
|
1026
|
+
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: bigint }>;
|
|
1093
1027
|
|
|
1094
1028
|
/**
|
|
1095
1029
|
* The min_balance of an asset has been updated by the asset owner.
|
|
1096
1030
|
**/
|
|
1097
1031
|
AssetMinBalanceChanged: GenericPalletEvent<
|
|
1098
|
-
Rv,
|
|
1099
1032
|
'Assets',
|
|
1100
1033
|
'AssetMinBalanceChanged',
|
|
1101
1034
|
{ assetId: bigint; newMinBalance: bigint }
|
|
@@ -1104,27 +1037,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1104
1037
|
/**
|
|
1105
1038
|
* Some account `who` was created with a deposit from `depositor`.
|
|
1106
1039
|
**/
|
|
1107
|
-
Touched: GenericPalletEvent<
|
|
1040
|
+
Touched: GenericPalletEvent<'Assets', 'Touched', { assetId: bigint; who: AccountId32; depositor: AccountId32 }>;
|
|
1108
1041
|
|
|
1109
1042
|
/**
|
|
1110
1043
|
* Some account `who` was blocked.
|
|
1111
1044
|
**/
|
|
1112
|
-
Blocked: GenericPalletEvent<
|
|
1045
|
+
Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: bigint; who: AccountId32 }>;
|
|
1113
1046
|
|
|
1114
1047
|
/**
|
|
1115
1048
|
* Some assets were deposited (e.g. for transaction fees).
|
|
1116
1049
|
**/
|
|
1117
|
-
Deposited: GenericPalletEvent<
|
|
1050
|
+
Deposited: GenericPalletEvent<'Assets', 'Deposited', { assetId: bigint; who: AccountId32; amount: bigint }>;
|
|
1118
1051
|
|
|
1119
1052
|
/**
|
|
1120
1053
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1121
1054
|
**/
|
|
1122
|
-
Withdrawn: GenericPalletEvent<
|
|
1055
|
+
Withdrawn: GenericPalletEvent<'Assets', 'Withdrawn', { assetId: bigint; who: AccountId32; amount: bigint }>;
|
|
1123
1056
|
|
|
1124
1057
|
/**
|
|
1125
1058
|
* Generic pallet event
|
|
1126
1059
|
**/
|
|
1127
|
-
[prop: string]: GenericPalletEvent
|
|
1060
|
+
[prop: string]: GenericPalletEvent;
|
|
1128
1061
|
};
|
|
1129
1062
|
/**
|
|
1130
1063
|
* Pallet `PriceAggregator`'s events
|
|
@@ -1133,12 +1066,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1133
1066
|
/**
|
|
1134
1067
|
* New average native currency value has been calculated and pushed into the moving average buffer.
|
|
1135
1068
|
**/
|
|
1136
|
-
AverageAggregatedValue: GenericPalletEvent<
|
|
1069
|
+
AverageAggregatedValue: GenericPalletEvent<'PriceAggregator', 'AverageAggregatedValue', { value: FixedU128 }>;
|
|
1137
1070
|
|
|
1138
1071
|
/**
|
|
1139
1072
|
* Generic pallet event
|
|
1140
1073
|
**/
|
|
1141
|
-
[prop: string]: GenericPalletEvent
|
|
1074
|
+
[prop: string]: GenericPalletEvent;
|
|
1142
1075
|
};
|
|
1143
1076
|
/**
|
|
1144
1077
|
* Pallet `Oracle`'s events
|
|
@@ -1148,7 +1081,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1148
1081
|
* New feed data is submitted.
|
|
1149
1082
|
**/
|
|
1150
1083
|
NewFeedData: GenericPalletEvent<
|
|
1151
|
-
Rv,
|
|
1152
1084
|
'Oracle',
|
|
1153
1085
|
'NewFeedData',
|
|
1154
1086
|
{ sender: AccountId32; values: Array<[AstarPrimitivesOracleCurrencyId, FixedU128]> }
|
|
@@ -1157,7 +1089,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1157
1089
|
/**
|
|
1158
1090
|
* Generic pallet event
|
|
1159
1091
|
**/
|
|
1160
|
-
[prop: string]: GenericPalletEvent
|
|
1092
|
+
[prop: string]: GenericPalletEvent;
|
|
1161
1093
|
};
|
|
1162
1094
|
/**
|
|
1163
1095
|
* Pallet `OracleMembership`'s events
|
|
@@ -1166,37 +1098,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1166
1098
|
/**
|
|
1167
1099
|
* The given member was added; see the transaction for who.
|
|
1168
1100
|
**/
|
|
1169
|
-
MemberAdded: GenericPalletEvent<
|
|
1101
|
+
MemberAdded: GenericPalletEvent<'OracleMembership', 'MemberAdded', undefined>;
|
|
1170
1102
|
|
|
1171
1103
|
/**
|
|
1172
1104
|
* The given member was removed; see the transaction for who.
|
|
1173
1105
|
**/
|
|
1174
|
-
MemberRemoved: GenericPalletEvent<
|
|
1106
|
+
MemberRemoved: GenericPalletEvent<'OracleMembership', 'MemberRemoved', undefined>;
|
|
1175
1107
|
|
|
1176
1108
|
/**
|
|
1177
1109
|
* Two members were swapped; see the transaction for who.
|
|
1178
1110
|
**/
|
|
1179
|
-
MembersSwapped: GenericPalletEvent<
|
|
1111
|
+
MembersSwapped: GenericPalletEvent<'OracleMembership', 'MembersSwapped', undefined>;
|
|
1180
1112
|
|
|
1181
1113
|
/**
|
|
1182
1114
|
* The membership was reset; see the transaction for who the new set is.
|
|
1183
1115
|
**/
|
|
1184
|
-
MembersReset: GenericPalletEvent<
|
|
1116
|
+
MembersReset: GenericPalletEvent<'OracleMembership', 'MembersReset', undefined>;
|
|
1185
1117
|
|
|
1186
1118
|
/**
|
|
1187
1119
|
* One of the members' keys changed.
|
|
1188
1120
|
**/
|
|
1189
|
-
KeyChanged: GenericPalletEvent<
|
|
1121
|
+
KeyChanged: GenericPalletEvent<'OracleMembership', 'KeyChanged', undefined>;
|
|
1190
1122
|
|
|
1191
1123
|
/**
|
|
1192
1124
|
* Phantom member, never used.
|
|
1193
1125
|
**/
|
|
1194
|
-
Dummy: GenericPalletEvent<
|
|
1126
|
+
Dummy: GenericPalletEvent<'OracleMembership', 'Dummy', undefined>;
|
|
1195
1127
|
|
|
1196
1128
|
/**
|
|
1197
1129
|
* Generic pallet event
|
|
1198
1130
|
**/
|
|
1199
|
-
[prop: string]: GenericPalletEvent
|
|
1131
|
+
[prop: string]: GenericPalletEvent;
|
|
1200
1132
|
};
|
|
1201
1133
|
/**
|
|
1202
1134
|
* Pallet `CollatorSelection`'s events
|
|
@@ -1205,38 +1137,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1205
1137
|
/**
|
|
1206
1138
|
* New invulnerables candidates were set.
|
|
1207
1139
|
**/
|
|
1208
|
-
NewInvulnerables: GenericPalletEvent<
|
|
1140
|
+
NewInvulnerables: GenericPalletEvent<'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
|
|
1209
1141
|
|
|
1210
1142
|
/**
|
|
1211
1143
|
* The number of desired candidates was set.
|
|
1212
1144
|
**/
|
|
1213
|
-
NewDesiredCandidates: GenericPalletEvent<
|
|
1145
|
+
NewDesiredCandidates: GenericPalletEvent<'CollatorSelection', 'NewDesiredCandidates', number>;
|
|
1214
1146
|
|
|
1215
1147
|
/**
|
|
1216
1148
|
* The candidacy bond was set.
|
|
1217
1149
|
**/
|
|
1218
|
-
NewCandidacyBond: GenericPalletEvent<
|
|
1150
|
+
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', bigint>;
|
|
1219
1151
|
|
|
1220
1152
|
/**
|
|
1221
1153
|
* A new candidate joined.
|
|
1222
1154
|
**/
|
|
1223
|
-
CandidateAdded: GenericPalletEvent<
|
|
1155
|
+
CandidateAdded: GenericPalletEvent<'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
|
|
1224
1156
|
|
|
1225
1157
|
/**
|
|
1226
1158
|
* A candidate was removed.
|
|
1227
1159
|
**/
|
|
1228
|
-
CandidateRemoved: GenericPalletEvent<
|
|
1160
|
+
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', AccountId32>;
|
|
1229
1161
|
|
|
1230
1162
|
/**
|
|
1231
1163
|
* A candidate was slashed.
|
|
1232
1164
|
**/
|
|
1233
|
-
CandidateSlashed: GenericPalletEvent<
|
|
1165
|
+
CandidateSlashed: GenericPalletEvent<'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
1234
1166
|
|
|
1235
1167
|
/**
|
|
1236
1168
|
* A new candidacy application was submitted.
|
|
1237
1169
|
**/
|
|
1238
1170
|
CandidacyApplicationSubmitted: GenericPalletEvent<
|
|
1239
|
-
Rv,
|
|
1240
1171
|
'CollatorSelection',
|
|
1241
1172
|
'CandidacyApplicationSubmitted',
|
|
1242
1173
|
[AccountId32, bigint]
|
|
@@ -1246,7 +1177,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1246
1177
|
* A candidacy application was approved.
|
|
1247
1178
|
**/
|
|
1248
1179
|
CandidacyApplicationApproved: GenericPalletEvent<
|
|
1249
|
-
Rv,
|
|
1250
1180
|
'CollatorSelection',
|
|
1251
1181
|
'CandidacyApplicationApproved',
|
|
1252
1182
|
[AccountId32, bigint]
|
|
@@ -1255,17 +1185,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1255
1185
|
/**
|
|
1256
1186
|
* A candidacy application was closed.
|
|
1257
1187
|
**/
|
|
1258
|
-
CandidacyApplicationClosed: GenericPalletEvent<
|
|
1188
|
+
CandidacyApplicationClosed: GenericPalletEvent<'CollatorSelection', 'CandidacyApplicationClosed', AccountId32>;
|
|
1259
1189
|
|
|
1260
1190
|
/**
|
|
1261
1191
|
* A candidate was kicked.
|
|
1262
1192
|
**/
|
|
1263
|
-
CandidateKicked: GenericPalletEvent<
|
|
1193
|
+
CandidateKicked: GenericPalletEvent<'CollatorSelection', 'CandidateKicked', AccountId32>;
|
|
1264
1194
|
|
|
1265
1195
|
/**
|
|
1266
1196
|
* Generic pallet event
|
|
1267
1197
|
**/
|
|
1268
|
-
[prop: string]: GenericPalletEvent
|
|
1198
|
+
[prop: string]: GenericPalletEvent;
|
|
1269
1199
|
};
|
|
1270
1200
|
/**
|
|
1271
1201
|
* Pallet `Session`'s events
|
|
@@ -1275,12 +1205,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1275
1205
|
* New session has happened. Note that the argument is the session index, not the
|
|
1276
1206
|
* block number as the type might suggest.
|
|
1277
1207
|
**/
|
|
1278
|
-
NewSession: GenericPalletEvent<
|
|
1208
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
1279
1209
|
|
|
1280
1210
|
/**
|
|
1281
1211
|
* Generic pallet event
|
|
1282
1212
|
**/
|
|
1283
|
-
[prop: string]: GenericPalletEvent
|
|
1213
|
+
[prop: string]: GenericPalletEvent;
|
|
1284
1214
|
};
|
|
1285
1215
|
/**
|
|
1286
1216
|
* Pallet `XcmpQueue`'s events
|
|
@@ -1289,12 +1219,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1289
1219
|
/**
|
|
1290
1220
|
* An HRMP message was sent to a sibling parachain.
|
|
1291
1221
|
**/
|
|
1292
|
-
XcmpMessageSent: GenericPalletEvent<
|
|
1222
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
|
|
1293
1223
|
|
|
1294
1224
|
/**
|
|
1295
1225
|
* Generic pallet event
|
|
1296
1226
|
**/
|
|
1297
|
-
[prop: string]: GenericPalletEvent
|
|
1227
|
+
[prop: string]: GenericPalletEvent;
|
|
1298
1228
|
};
|
|
1299
1229
|
/**
|
|
1300
1230
|
* Pallet `PolkadotXcm`'s events
|
|
@@ -1303,13 +1233,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1303
1233
|
/**
|
|
1304
1234
|
* Execution of an XCM message was attempted.
|
|
1305
1235
|
**/
|
|
1306
|
-
Attempted: GenericPalletEvent<
|
|
1236
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
1307
1237
|
|
|
1308
1238
|
/**
|
|
1309
1239
|
* A XCM message was sent.
|
|
1310
1240
|
**/
|
|
1311
1241
|
Sent: GenericPalletEvent<
|
|
1312
|
-
Rv,
|
|
1313
1242
|
'PolkadotXcm',
|
|
1314
1243
|
'Sent',
|
|
1315
1244
|
{
|
|
@@ -1326,7 +1255,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1326
1255
|
* because the query timed out.
|
|
1327
1256
|
**/
|
|
1328
1257
|
UnexpectedResponse: GenericPalletEvent<
|
|
1329
|
-
Rv,
|
|
1330
1258
|
'PolkadotXcm',
|
|
1331
1259
|
'UnexpectedResponse',
|
|
1332
1260
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -1337,7 +1265,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1337
1265
|
* no registered notification call.
|
|
1338
1266
|
**/
|
|
1339
1267
|
ResponseReady: GenericPalletEvent<
|
|
1340
|
-
Rv,
|
|
1341
1268
|
'PolkadotXcm',
|
|
1342
1269
|
'ResponseReady',
|
|
1343
1270
|
{ queryId: bigint; response: StagingXcmV5Response }
|
|
@@ -1348,7 +1275,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1348
1275
|
* been dispatched and executed successfully.
|
|
1349
1276
|
**/
|
|
1350
1277
|
Notified: GenericPalletEvent<
|
|
1351
|
-
Rv,
|
|
1352
1278
|
'PolkadotXcm',
|
|
1353
1279
|
'Notified',
|
|
1354
1280
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -1360,7 +1286,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1360
1286
|
* originally budgeted by this runtime for the query result.
|
|
1361
1287
|
**/
|
|
1362
1288
|
NotifyOverweight: GenericPalletEvent<
|
|
1363
|
-
Rv,
|
|
1364
1289
|
'PolkadotXcm',
|
|
1365
1290
|
'NotifyOverweight',
|
|
1366
1291
|
{
|
|
@@ -1377,7 +1302,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1377
1302
|
* dispatching the notification call.
|
|
1378
1303
|
**/
|
|
1379
1304
|
NotifyDispatchError: GenericPalletEvent<
|
|
1380
|
-
Rv,
|
|
1381
1305
|
'PolkadotXcm',
|
|
1382
1306
|
'NotifyDispatchError',
|
|
1383
1307
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -1389,7 +1313,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1389
1313
|
* is not `(origin, QueryId, Response)`.
|
|
1390
1314
|
**/
|
|
1391
1315
|
NotifyDecodeFailed: GenericPalletEvent<
|
|
1392
|
-
Rv,
|
|
1393
1316
|
'PolkadotXcm',
|
|
1394
1317
|
'NotifyDecodeFailed',
|
|
1395
1318
|
{ queryId: bigint; palletIndex: number; callIndex: number }
|
|
@@ -1401,7 +1324,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1401
1324
|
* be received and acted upon.
|
|
1402
1325
|
**/
|
|
1403
1326
|
InvalidResponder: GenericPalletEvent<
|
|
1404
|
-
Rv,
|
|
1405
1327
|
'PolkadotXcm',
|
|
1406
1328
|
'InvalidResponder',
|
|
1407
1329
|
{ origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined }
|
|
@@ -1417,7 +1339,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1417
1339
|
* needed.
|
|
1418
1340
|
**/
|
|
1419
1341
|
InvalidResponderVersion: GenericPalletEvent<
|
|
1420
|
-
Rv,
|
|
1421
1342
|
'PolkadotXcm',
|
|
1422
1343
|
'InvalidResponderVersion',
|
|
1423
1344
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -1426,13 +1347,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1426
1347
|
/**
|
|
1427
1348
|
* Received query response has been read and removed.
|
|
1428
1349
|
**/
|
|
1429
|
-
ResponseTaken: GenericPalletEvent<
|
|
1350
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
|
|
1430
1351
|
|
|
1431
1352
|
/**
|
|
1432
1353
|
* Some assets have been placed in an asset trap.
|
|
1433
1354
|
**/
|
|
1434
1355
|
AssetsTrapped: GenericPalletEvent<
|
|
1435
|
-
Rv,
|
|
1436
1356
|
'PolkadotXcm',
|
|
1437
1357
|
'AssetsTrapped',
|
|
1438
1358
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -1444,7 +1364,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1444
1364
|
* The cost of sending it (borne by the chain) is included.
|
|
1445
1365
|
**/
|
|
1446
1366
|
VersionChangeNotified: GenericPalletEvent<
|
|
1447
|
-
Rv,
|
|
1448
1367
|
'PolkadotXcm',
|
|
1449
1368
|
'VersionChangeNotified',
|
|
1450
1369
|
{ destination: StagingXcmV5Location; result: number; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1455,7 +1374,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1455
1374
|
* automatic notification or a manual intervention.
|
|
1456
1375
|
**/
|
|
1457
1376
|
SupportedVersionChanged: GenericPalletEvent<
|
|
1458
|
-
Rv,
|
|
1459
1377
|
'PolkadotXcm',
|
|
1460
1378
|
'SupportedVersionChanged',
|
|
1461
1379
|
{ location: StagingXcmV5Location; version: number }
|
|
@@ -1466,7 +1384,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1466
1384
|
* sending the notification to it.
|
|
1467
1385
|
**/
|
|
1468
1386
|
NotifyTargetSendFail: GenericPalletEvent<
|
|
1469
|
-
Rv,
|
|
1470
1387
|
'PolkadotXcm',
|
|
1471
1388
|
'NotifyTargetSendFail',
|
|
1472
1389
|
{ location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError }
|
|
@@ -1477,7 +1394,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1477
1394
|
* migrating the location to our new XCM format.
|
|
1478
1395
|
**/
|
|
1479
1396
|
NotifyTargetMigrationFail: GenericPalletEvent<
|
|
1480
|
-
Rv,
|
|
1481
1397
|
'PolkadotXcm',
|
|
1482
1398
|
'NotifyTargetMigrationFail',
|
|
1483
1399
|
{ location: XcmVersionedLocation; queryId: bigint }
|
|
@@ -1493,7 +1409,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1493
1409
|
* needed.
|
|
1494
1410
|
**/
|
|
1495
1411
|
InvalidQuerierVersion: GenericPalletEvent<
|
|
1496
|
-
Rv,
|
|
1497
1412
|
'PolkadotXcm',
|
|
1498
1413
|
'InvalidQuerierVersion',
|
|
1499
1414
|
{ origin: StagingXcmV5Location; queryId: bigint }
|
|
@@ -1505,7 +1420,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1505
1420
|
* be received and acted upon.
|
|
1506
1421
|
**/
|
|
1507
1422
|
InvalidQuerier: GenericPalletEvent<
|
|
1508
|
-
Rv,
|
|
1509
1423
|
'PolkadotXcm',
|
|
1510
1424
|
'InvalidQuerier',
|
|
1511
1425
|
{
|
|
@@ -1521,7 +1435,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1521
1435
|
* A version information message is sent to them and its cost is included.
|
|
1522
1436
|
**/
|
|
1523
1437
|
VersionNotifyStarted: GenericPalletEvent<
|
|
1524
|
-
Rv,
|
|
1525
1438
|
'PolkadotXcm',
|
|
1526
1439
|
'VersionNotifyStarted',
|
|
1527
1440
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1531,7 +1444,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1531
1444
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
1532
1445
|
**/
|
|
1533
1446
|
VersionNotifyRequested: GenericPalletEvent<
|
|
1534
|
-
Rv,
|
|
1535
1447
|
'PolkadotXcm',
|
|
1536
1448
|
'VersionNotifyRequested',
|
|
1537
1449
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1542,7 +1454,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1542
1454
|
* notifications.
|
|
1543
1455
|
**/
|
|
1544
1456
|
VersionNotifyUnrequested: GenericPalletEvent<
|
|
1545
|
-
Rv,
|
|
1546
1457
|
'PolkadotXcm',
|
|
1547
1458
|
'VersionNotifyUnrequested',
|
|
1548
1459
|
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> }
|
|
@@ -1552,7 +1463,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1552
1463
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1553
1464
|
**/
|
|
1554
1465
|
FeesPaid: GenericPalletEvent<
|
|
1555
|
-
Rv,
|
|
1556
1466
|
'PolkadotXcm',
|
|
1557
1467
|
'FeesPaid',
|
|
1558
1468
|
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
@@ -1562,7 +1472,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1562
1472
|
* Some assets have been claimed from an asset trap
|
|
1563
1473
|
**/
|
|
1564
1474
|
AssetsClaimed: GenericPalletEvent<
|
|
1565
|
-
Rv,
|
|
1566
1475
|
'PolkadotXcm',
|
|
1567
1476
|
'AssetsClaimed',
|
|
1568
1477
|
{ hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
@@ -1571,12 +1480,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1571
1480
|
/**
|
|
1572
1481
|
* A XCM version migration finished.
|
|
1573
1482
|
**/
|
|
1574
|
-
VersionMigrationFinished: GenericPalletEvent<
|
|
1483
|
+
VersionMigrationFinished: GenericPalletEvent<'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
|
|
1575
1484
|
|
|
1576
1485
|
/**
|
|
1577
1486
|
* Generic pallet event
|
|
1578
1487
|
**/
|
|
1579
|
-
[prop: string]: GenericPalletEvent
|
|
1488
|
+
[prop: string]: GenericPalletEvent;
|
|
1580
1489
|
};
|
|
1581
1490
|
/**
|
|
1582
1491
|
* Pallet `CumulusXcm`'s events
|
|
@@ -1586,29 +1495,24 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1586
1495
|
* Downward message is invalid XCM.
|
|
1587
1496
|
* \[ id \]
|
|
1588
1497
|
**/
|
|
1589
|
-
InvalidFormat: GenericPalletEvent<
|
|
1498
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1590
1499
|
|
|
1591
1500
|
/**
|
|
1592
1501
|
* Downward message is unsupported version of XCM.
|
|
1593
1502
|
* \[ id \]
|
|
1594
1503
|
**/
|
|
1595
|
-
UnsupportedVersion: GenericPalletEvent<
|
|
1504
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1596
1505
|
|
|
1597
1506
|
/**
|
|
1598
1507
|
* Downward message executed with the given outcome.
|
|
1599
1508
|
* \[ id, outcome \]
|
|
1600
1509
|
**/
|
|
1601
|
-
ExecutedDownward: GenericPalletEvent<
|
|
1602
|
-
Rv,
|
|
1603
|
-
'CumulusXcm',
|
|
1604
|
-
'ExecutedDownward',
|
|
1605
|
-
[FixedBytes<32>, StagingXcmV5TraitsOutcome]
|
|
1606
|
-
>;
|
|
1510
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, StagingXcmV5TraitsOutcome]>;
|
|
1607
1511
|
|
|
1608
1512
|
/**
|
|
1609
1513
|
* Generic pallet event
|
|
1610
1514
|
**/
|
|
1611
|
-
[prop: string]: GenericPalletEvent
|
|
1515
|
+
[prop: string]: GenericPalletEvent;
|
|
1612
1516
|
};
|
|
1613
1517
|
/**
|
|
1614
1518
|
* Pallet `XcAssetConfig`'s events
|
|
@@ -1618,7 +1522,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1618
1522
|
* Registed mapping between asset type and asset Id.
|
|
1619
1523
|
**/
|
|
1620
1524
|
AssetRegistered: GenericPalletEvent<
|
|
1621
|
-
Rv,
|
|
1622
1525
|
'XcAssetConfig',
|
|
1623
1526
|
'AssetRegistered',
|
|
1624
1527
|
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
@@ -1628,7 +1531,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1628
1531
|
* Changed the amount of units we are charging per execution second for an asset
|
|
1629
1532
|
**/
|
|
1630
1533
|
UnitsPerSecondChanged: GenericPalletEvent<
|
|
1631
|
-
Rv,
|
|
1632
1534
|
'XcAssetConfig',
|
|
1633
1535
|
'UnitsPerSecondChanged',
|
|
1634
1536
|
{ assetLocation: XcmVersionedLocation; unitsPerSecond: bigint }
|
|
@@ -1638,7 +1540,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1638
1540
|
* Changed the asset type mapping for a given asset id
|
|
1639
1541
|
**/
|
|
1640
1542
|
AssetLocationChanged: GenericPalletEvent<
|
|
1641
|
-
Rv,
|
|
1642
1543
|
'XcAssetConfig',
|
|
1643
1544
|
'AssetLocationChanged',
|
|
1644
1545
|
{ previousAssetLocation: XcmVersionedLocation; assetId: bigint; newAssetLocation: XcmVersionedLocation }
|
|
@@ -1648,7 +1549,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1648
1549
|
* Supported asset type for fee payment removed.
|
|
1649
1550
|
**/
|
|
1650
1551
|
SupportedAssetRemoved: GenericPalletEvent<
|
|
1651
|
-
Rv,
|
|
1652
1552
|
'XcAssetConfig',
|
|
1653
1553
|
'SupportedAssetRemoved',
|
|
1654
1554
|
{ assetLocation: XcmVersionedLocation }
|
|
@@ -1658,7 +1558,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1658
1558
|
* Removed all information related to an asset Id
|
|
1659
1559
|
**/
|
|
1660
1560
|
AssetRemoved: GenericPalletEvent<
|
|
1661
|
-
Rv,
|
|
1662
1561
|
'XcAssetConfig',
|
|
1663
1562
|
'AssetRemoved',
|
|
1664
1563
|
{ assetLocation: XcmVersionedLocation; assetId: bigint }
|
|
@@ -1668,7 +1567,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1668
1567
|
* Notify when the migration step is updated.
|
|
1669
1568
|
**/
|
|
1670
1569
|
MigrationStepUpdated: GenericPalletEvent<
|
|
1671
|
-
Rv,
|
|
1672
1570
|
'XcAssetConfig',
|
|
1673
1571
|
'MigrationStepUpdated',
|
|
1674
1572
|
{ newMigrationStep: PalletXcAssetConfigMigrationStep }
|
|
@@ -1677,7 +1575,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1677
1575
|
/**
|
|
1678
1576
|
* Generic pallet event
|
|
1679
1577
|
**/
|
|
1680
|
-
[prop: string]: GenericPalletEvent
|
|
1578
|
+
[prop: string]: GenericPalletEvent;
|
|
1681
1579
|
};
|
|
1682
1580
|
/**
|
|
1683
1581
|
* Pallet `XTokens`'s events
|
|
@@ -1687,7 +1585,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1687
1585
|
* Transferred `Asset` with fee.
|
|
1688
1586
|
**/
|
|
1689
1587
|
TransferredAssets: GenericPalletEvent<
|
|
1690
|
-
Rv,
|
|
1691
1588
|
'XTokens',
|
|
1692
1589
|
'TransferredAssets',
|
|
1693
1590
|
{ sender: AccountId32; assets: StagingXcmV5AssetAssets; fee: StagingXcmV5Asset; dest: StagingXcmV5Location }
|
|
@@ -1696,7 +1593,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1696
1593
|
/**
|
|
1697
1594
|
* Generic pallet event
|
|
1698
1595
|
**/
|
|
1699
|
-
[prop: string]: GenericPalletEvent
|
|
1596
|
+
[prop: string]: GenericPalletEvent;
|
|
1700
1597
|
};
|
|
1701
1598
|
/**
|
|
1702
1599
|
* Pallet `MessageQueue`'s events
|
|
@@ -1706,7 +1603,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1706
1603
|
* Message discarded due to an error in the `MessageProcessor` (usually a format error).
|
|
1707
1604
|
**/
|
|
1708
1605
|
ProcessingFailed: GenericPalletEvent<
|
|
1709
|
-
Rv,
|
|
1710
1606
|
'MessageQueue',
|
|
1711
1607
|
'ProcessingFailed',
|
|
1712
1608
|
{
|
|
@@ -1734,7 +1630,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1734
1630
|
* Message is processed.
|
|
1735
1631
|
**/
|
|
1736
1632
|
Processed: GenericPalletEvent<
|
|
1737
|
-
Rv,
|
|
1738
1633
|
'MessageQueue',
|
|
1739
1634
|
'Processed',
|
|
1740
1635
|
{
|
|
@@ -1769,7 +1664,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1769
1664
|
* Message placed in overweight queue.
|
|
1770
1665
|
**/
|
|
1771
1666
|
OverweightEnqueued: GenericPalletEvent<
|
|
1772
|
-
Rv,
|
|
1773
1667
|
'MessageQueue',
|
|
1774
1668
|
'OverweightEnqueued',
|
|
1775
1669
|
{
|
|
@@ -1799,7 +1693,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1799
1693
|
* This page was reaped.
|
|
1800
1694
|
**/
|
|
1801
1695
|
PageReaped: GenericPalletEvent<
|
|
1802
|
-
Rv,
|
|
1803
1696
|
'MessageQueue',
|
|
1804
1697
|
'PageReaped',
|
|
1805
1698
|
{
|
|
@@ -1818,7 +1711,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1818
1711
|
/**
|
|
1819
1712
|
* Generic pallet event
|
|
1820
1713
|
**/
|
|
1821
|
-
[prop: string]: GenericPalletEvent
|
|
1714
|
+
[prop: string]: GenericPalletEvent;
|
|
1822
1715
|
};
|
|
1823
1716
|
/**
|
|
1824
1717
|
* Pallet `EVM`'s events
|
|
@@ -1827,32 +1720,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1827
1720
|
/**
|
|
1828
1721
|
* Ethereum events from contracts.
|
|
1829
1722
|
**/
|
|
1830
|
-
Log: GenericPalletEvent<
|
|
1723
|
+
Log: GenericPalletEvent<'EVM', 'Log', { log: EthereumLog }>;
|
|
1831
1724
|
|
|
1832
1725
|
/**
|
|
1833
1726
|
* A contract has been created at given address.
|
|
1834
1727
|
**/
|
|
1835
|
-
Created: GenericPalletEvent<
|
|
1728
|
+
Created: GenericPalletEvent<'EVM', 'Created', { address: H160 }>;
|
|
1836
1729
|
|
|
1837
1730
|
/**
|
|
1838
1731
|
* A contract was attempted to be created, but the execution failed.
|
|
1839
1732
|
**/
|
|
1840
|
-
CreatedFailed: GenericPalletEvent<
|
|
1733
|
+
CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', { address: H160 }>;
|
|
1841
1734
|
|
|
1842
1735
|
/**
|
|
1843
1736
|
* A contract has been executed successfully with states applied.
|
|
1844
1737
|
**/
|
|
1845
|
-
Executed: GenericPalletEvent<
|
|
1738
|
+
Executed: GenericPalletEvent<'EVM', 'Executed', { address: H160 }>;
|
|
1846
1739
|
|
|
1847
1740
|
/**
|
|
1848
1741
|
* A contract has been executed with errors. States are reverted with only gas fees applied.
|
|
1849
1742
|
**/
|
|
1850
|
-
ExecutedFailed: GenericPalletEvent<
|
|
1743
|
+
ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', { address: H160 }>;
|
|
1851
1744
|
|
|
1852
1745
|
/**
|
|
1853
1746
|
* Generic pallet event
|
|
1854
1747
|
**/
|
|
1855
|
-
[prop: string]: GenericPalletEvent
|
|
1748
|
+
[prop: string]: GenericPalletEvent;
|
|
1856
1749
|
};
|
|
1857
1750
|
/**
|
|
1858
1751
|
* Pallet `Ethereum`'s events
|
|
@@ -1862,7 +1755,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1862
1755
|
* An ethereum transaction was successfully executed.
|
|
1863
1756
|
**/
|
|
1864
1757
|
Executed: GenericPalletEvent<
|
|
1865
|
-
Rv,
|
|
1866
1758
|
'Ethereum',
|
|
1867
1759
|
'Executed',
|
|
1868
1760
|
{ from: H160; to: H160; transactionHash: H256; exitReason: EvmCoreErrorExitReason; extraData: Bytes }
|
|
@@ -1871,7 +1763,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1871
1763
|
/**
|
|
1872
1764
|
* Generic pallet event
|
|
1873
1765
|
**/
|
|
1874
|
-
[prop: string]: GenericPalletEvent
|
|
1766
|
+
[prop: string]: GenericPalletEvent;
|
|
1875
1767
|
};
|
|
1876
1768
|
/**
|
|
1877
1769
|
* Pallet `DynamicEvmBaseFee`'s events
|
|
@@ -1880,12 +1772,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1880
1772
|
/**
|
|
1881
1773
|
* New `base fee per gas` value has been force-set.
|
|
1882
1774
|
**/
|
|
1883
|
-
NewBaseFeePerGas: GenericPalletEvent<
|
|
1775
|
+
NewBaseFeePerGas: GenericPalletEvent<'DynamicEvmBaseFee', 'NewBaseFeePerGas', { fee: U256 }>;
|
|
1884
1776
|
|
|
1885
1777
|
/**
|
|
1886
1778
|
* Generic pallet event
|
|
1887
1779
|
**/
|
|
1888
|
-
[prop: string]: GenericPalletEvent
|
|
1780
|
+
[prop: string]: GenericPalletEvent;
|
|
1889
1781
|
};
|
|
1890
1782
|
/**
|
|
1891
1783
|
* Pallet `Contracts`'s events
|
|
@@ -1894,7 +1786,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1894
1786
|
/**
|
|
1895
1787
|
* Contract deployed by address at the specified address.
|
|
1896
1788
|
**/
|
|
1897
|
-
Instantiated: GenericPalletEvent<
|
|
1789
|
+
Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', { deployer: AccountId32; contract: AccountId32 }>;
|
|
1898
1790
|
|
|
1899
1791
|
/**
|
|
1900
1792
|
* Contract has been removed.
|
|
@@ -1905,7 +1797,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1905
1797
|
* `seal_terminate`.
|
|
1906
1798
|
**/
|
|
1907
1799
|
Terminated: GenericPalletEvent<
|
|
1908
|
-
Rv,
|
|
1909
1800
|
'Contracts',
|
|
1910
1801
|
'Terminated',
|
|
1911
1802
|
{
|
|
@@ -1925,7 +1816,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1925
1816
|
* Code with the specified hash has been stored.
|
|
1926
1817
|
**/
|
|
1927
1818
|
CodeStored: GenericPalletEvent<
|
|
1928
|
-
Rv,
|
|
1929
1819
|
'Contracts',
|
|
1930
1820
|
'CodeStored',
|
|
1931
1821
|
{ codeHash: H256; depositHeld: bigint; uploader: AccountId32 }
|
|
@@ -1935,7 +1825,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1935
1825
|
* A custom event emitted by the contract.
|
|
1936
1826
|
**/
|
|
1937
1827
|
ContractEmitted: GenericPalletEvent<
|
|
1938
|
-
Rv,
|
|
1939
1828
|
'Contracts',
|
|
1940
1829
|
'ContractEmitted',
|
|
1941
1830
|
{
|
|
@@ -1956,7 +1845,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1956
1845
|
* A code with the specified hash was removed.
|
|
1957
1846
|
**/
|
|
1958
1847
|
CodeRemoved: GenericPalletEvent<
|
|
1959
|
-
Rv,
|
|
1960
1848
|
'Contracts',
|
|
1961
1849
|
'CodeRemoved',
|
|
1962
1850
|
{ codeHash: H256; depositReleased: bigint; remover: AccountId32 }
|
|
@@ -1966,7 +1854,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1966
1854
|
* A contract's code was updated.
|
|
1967
1855
|
**/
|
|
1968
1856
|
ContractCodeUpdated: GenericPalletEvent<
|
|
1969
|
-
Rv,
|
|
1970
1857
|
'Contracts',
|
|
1971
1858
|
'ContractCodeUpdated',
|
|
1972
1859
|
{
|
|
@@ -1997,7 +1884,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1997
1884
|
* rolled back.
|
|
1998
1885
|
**/
|
|
1999
1886
|
Called: GenericPalletEvent<
|
|
2000
|
-
Rv,
|
|
2001
1887
|
'Contracts',
|
|
2002
1888
|
'Called',
|
|
2003
1889
|
{
|
|
@@ -2023,7 +1909,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2023
1909
|
* rolled back.
|
|
2024
1910
|
**/
|
|
2025
1911
|
DelegateCalled: GenericPalletEvent<
|
|
2026
|
-
Rv,
|
|
2027
1912
|
'Contracts',
|
|
2028
1913
|
'DelegateCalled',
|
|
2029
1914
|
{
|
|
@@ -2044,7 +1929,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2044
1929
|
* Some funds have been transferred and held as storage deposit.
|
|
2045
1930
|
**/
|
|
2046
1931
|
StorageDepositTransferredAndHeld: GenericPalletEvent<
|
|
2047
|
-
Rv,
|
|
2048
1932
|
'Contracts',
|
|
2049
1933
|
'StorageDepositTransferredAndHeld',
|
|
2050
1934
|
{ from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -2054,7 +1938,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2054
1938
|
* Some storage deposit funds have been transferred and released.
|
|
2055
1939
|
**/
|
|
2056
1940
|
StorageDepositTransferredAndReleased: GenericPalletEvent<
|
|
2057
|
-
Rv,
|
|
2058
1941
|
'Contracts',
|
|
2059
1942
|
'StorageDepositTransferredAndReleased',
|
|
2060
1943
|
{ from: AccountId32; to: AccountId32; amount: bigint }
|
|
@@ -2063,7 +1946,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2063
1946
|
/**
|
|
2064
1947
|
* Generic pallet event
|
|
2065
1948
|
**/
|
|
2066
|
-
[prop: string]: GenericPalletEvent
|
|
1949
|
+
[prop: string]: GenericPalletEvent;
|
|
2067
1950
|
};
|
|
2068
1951
|
/**
|
|
2069
1952
|
* Pallet `Preimage`'s events
|
|
@@ -2072,22 +1955,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2072
1955
|
/**
|
|
2073
1956
|
* A preimage has been noted.
|
|
2074
1957
|
**/
|
|
2075
|
-
Noted: GenericPalletEvent<
|
|
1958
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
2076
1959
|
|
|
2077
1960
|
/**
|
|
2078
1961
|
* A preimage has been requested.
|
|
2079
1962
|
**/
|
|
2080
|
-
Requested: GenericPalletEvent<
|
|
1963
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
2081
1964
|
|
|
2082
1965
|
/**
|
|
2083
1966
|
* A preimage has ben cleared.
|
|
2084
1967
|
**/
|
|
2085
|
-
Cleared: GenericPalletEvent<
|
|
1968
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
2086
1969
|
|
|
2087
1970
|
/**
|
|
2088
1971
|
* Generic pallet event
|
|
2089
1972
|
**/
|
|
2090
|
-
[prop: string]: GenericPalletEvent
|
|
1973
|
+
[prop: string]: GenericPalletEvent;
|
|
2091
1974
|
};
|
|
2092
1975
|
/**
|
|
2093
1976
|
* Pallet `Sudo`'s events
|
|
@@ -2097,7 +1980,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2097
1980
|
* A sudo call just took place.
|
|
2098
1981
|
**/
|
|
2099
1982
|
Sudid: GenericPalletEvent<
|
|
2100
|
-
Rv,
|
|
2101
1983
|
'Sudo',
|
|
2102
1984
|
'Sudid',
|
|
2103
1985
|
{
|
|
@@ -2112,7 +1994,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2112
1994
|
* The sudo key has been updated.
|
|
2113
1995
|
**/
|
|
2114
1996
|
KeyChanged: GenericPalletEvent<
|
|
2115
|
-
Rv,
|
|
2116
1997
|
'Sudo',
|
|
2117
1998
|
'KeyChanged',
|
|
2118
1999
|
{
|
|
@@ -2131,13 +2012,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2131
2012
|
/**
|
|
2132
2013
|
* The key was permanently removed.
|
|
2133
2014
|
**/
|
|
2134
|
-
KeyRemoved: GenericPalletEvent<
|
|
2015
|
+
KeyRemoved: GenericPalletEvent<'Sudo', 'KeyRemoved', null>;
|
|
2135
2016
|
|
|
2136
2017
|
/**
|
|
2137
2018
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
2138
2019
|
**/
|
|
2139
2020
|
SudoAsDone: GenericPalletEvent<
|
|
2140
|
-
Rv,
|
|
2141
2021
|
'Sudo',
|
|
2142
2022
|
'SudoAsDone',
|
|
2143
2023
|
{
|
|
@@ -2151,7 +2031,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2151
2031
|
/**
|
|
2152
2032
|
* Generic pallet event
|
|
2153
2033
|
**/
|
|
2154
|
-
[prop: string]: GenericPalletEvent
|
|
2034
|
+
[prop: string]: GenericPalletEvent;
|
|
2155
2035
|
};
|
|
2156
2036
|
/**
|
|
2157
2037
|
* Pallet `CouncilMembership`'s events
|
|
@@ -2160,37 +2040,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2160
2040
|
/**
|
|
2161
2041
|
* The given member was added; see the transaction for who.
|
|
2162
2042
|
**/
|
|
2163
|
-
MemberAdded: GenericPalletEvent<
|
|
2043
|
+
MemberAdded: GenericPalletEvent<'CouncilMembership', 'MemberAdded', undefined>;
|
|
2164
2044
|
|
|
2165
2045
|
/**
|
|
2166
2046
|
* The given member was removed; see the transaction for who.
|
|
2167
2047
|
**/
|
|
2168
|
-
MemberRemoved: GenericPalletEvent<
|
|
2048
|
+
MemberRemoved: GenericPalletEvent<'CouncilMembership', 'MemberRemoved', undefined>;
|
|
2169
2049
|
|
|
2170
2050
|
/**
|
|
2171
2051
|
* Two members were swapped; see the transaction for who.
|
|
2172
2052
|
**/
|
|
2173
|
-
MembersSwapped: GenericPalletEvent<
|
|
2053
|
+
MembersSwapped: GenericPalletEvent<'CouncilMembership', 'MembersSwapped', undefined>;
|
|
2174
2054
|
|
|
2175
2055
|
/**
|
|
2176
2056
|
* The membership was reset; see the transaction for who the new set is.
|
|
2177
2057
|
**/
|
|
2178
|
-
MembersReset: GenericPalletEvent<
|
|
2058
|
+
MembersReset: GenericPalletEvent<'CouncilMembership', 'MembersReset', undefined>;
|
|
2179
2059
|
|
|
2180
2060
|
/**
|
|
2181
2061
|
* One of the members' keys changed.
|
|
2182
2062
|
**/
|
|
2183
|
-
KeyChanged: GenericPalletEvent<
|
|
2063
|
+
KeyChanged: GenericPalletEvent<'CouncilMembership', 'KeyChanged', undefined>;
|
|
2184
2064
|
|
|
2185
2065
|
/**
|
|
2186
2066
|
* Phantom member, never used.
|
|
2187
2067
|
**/
|
|
2188
|
-
Dummy: GenericPalletEvent<
|
|
2068
|
+
Dummy: GenericPalletEvent<'CouncilMembership', 'Dummy', undefined>;
|
|
2189
2069
|
|
|
2190
2070
|
/**
|
|
2191
2071
|
* Generic pallet event
|
|
2192
2072
|
**/
|
|
2193
|
-
[prop: string]: GenericPalletEvent
|
|
2073
|
+
[prop: string]: GenericPalletEvent;
|
|
2194
2074
|
};
|
|
2195
2075
|
/**
|
|
2196
2076
|
* Pallet `TechnicalCommitteeMembership`'s events
|
|
@@ -2199,37 +2079,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2199
2079
|
/**
|
|
2200
2080
|
* The given member was added; see the transaction for who.
|
|
2201
2081
|
**/
|
|
2202
|
-
MemberAdded: GenericPalletEvent<
|
|
2082
|
+
MemberAdded: GenericPalletEvent<'TechnicalCommitteeMembership', 'MemberAdded', undefined>;
|
|
2203
2083
|
|
|
2204
2084
|
/**
|
|
2205
2085
|
* The given member was removed; see the transaction for who.
|
|
2206
2086
|
**/
|
|
2207
|
-
MemberRemoved: GenericPalletEvent<
|
|
2087
|
+
MemberRemoved: GenericPalletEvent<'TechnicalCommitteeMembership', 'MemberRemoved', undefined>;
|
|
2208
2088
|
|
|
2209
2089
|
/**
|
|
2210
2090
|
* Two members were swapped; see the transaction for who.
|
|
2211
2091
|
**/
|
|
2212
|
-
MembersSwapped: GenericPalletEvent<
|
|
2092
|
+
MembersSwapped: GenericPalletEvent<'TechnicalCommitteeMembership', 'MembersSwapped', undefined>;
|
|
2213
2093
|
|
|
2214
2094
|
/**
|
|
2215
2095
|
* The membership was reset; see the transaction for who the new set is.
|
|
2216
2096
|
**/
|
|
2217
|
-
MembersReset: GenericPalletEvent<
|
|
2097
|
+
MembersReset: GenericPalletEvent<'TechnicalCommitteeMembership', 'MembersReset', undefined>;
|
|
2218
2098
|
|
|
2219
2099
|
/**
|
|
2220
2100
|
* One of the members' keys changed.
|
|
2221
2101
|
**/
|
|
2222
|
-
KeyChanged: GenericPalletEvent<
|
|
2102
|
+
KeyChanged: GenericPalletEvent<'TechnicalCommitteeMembership', 'KeyChanged', undefined>;
|
|
2223
2103
|
|
|
2224
2104
|
/**
|
|
2225
2105
|
* Phantom member, never used.
|
|
2226
2106
|
**/
|
|
2227
|
-
Dummy: GenericPalletEvent<
|
|
2107
|
+
Dummy: GenericPalletEvent<'TechnicalCommitteeMembership', 'Dummy', undefined>;
|
|
2228
2108
|
|
|
2229
2109
|
/**
|
|
2230
2110
|
* Generic pallet event
|
|
2231
2111
|
**/
|
|
2232
|
-
[prop: string]: GenericPalletEvent
|
|
2112
|
+
[prop: string]: GenericPalletEvent;
|
|
2233
2113
|
};
|
|
2234
2114
|
/**
|
|
2235
2115
|
* Pallet `CommunityCouncilMembership`'s events
|
|
@@ -2238,37 +2118,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2238
2118
|
/**
|
|
2239
2119
|
* The given member was added; see the transaction for who.
|
|
2240
2120
|
**/
|
|
2241
|
-
MemberAdded: GenericPalletEvent<
|
|
2121
|
+
MemberAdded: GenericPalletEvent<'CommunityCouncilMembership', 'MemberAdded', undefined>;
|
|
2242
2122
|
|
|
2243
2123
|
/**
|
|
2244
2124
|
* The given member was removed; see the transaction for who.
|
|
2245
2125
|
**/
|
|
2246
|
-
MemberRemoved: GenericPalletEvent<
|
|
2126
|
+
MemberRemoved: GenericPalletEvent<'CommunityCouncilMembership', 'MemberRemoved', undefined>;
|
|
2247
2127
|
|
|
2248
2128
|
/**
|
|
2249
2129
|
* Two members were swapped; see the transaction for who.
|
|
2250
2130
|
**/
|
|
2251
|
-
MembersSwapped: GenericPalletEvent<
|
|
2131
|
+
MembersSwapped: GenericPalletEvent<'CommunityCouncilMembership', 'MembersSwapped', undefined>;
|
|
2252
2132
|
|
|
2253
2133
|
/**
|
|
2254
2134
|
* The membership was reset; see the transaction for who the new set is.
|
|
2255
2135
|
**/
|
|
2256
|
-
MembersReset: GenericPalletEvent<
|
|
2136
|
+
MembersReset: GenericPalletEvent<'CommunityCouncilMembership', 'MembersReset', undefined>;
|
|
2257
2137
|
|
|
2258
2138
|
/**
|
|
2259
2139
|
* One of the members' keys changed.
|
|
2260
2140
|
**/
|
|
2261
|
-
KeyChanged: GenericPalletEvent<
|
|
2141
|
+
KeyChanged: GenericPalletEvent<'CommunityCouncilMembership', 'KeyChanged', undefined>;
|
|
2262
2142
|
|
|
2263
2143
|
/**
|
|
2264
2144
|
* Phantom member, never used.
|
|
2265
2145
|
**/
|
|
2266
|
-
Dummy: GenericPalletEvent<
|
|
2146
|
+
Dummy: GenericPalletEvent<'CommunityCouncilMembership', 'Dummy', undefined>;
|
|
2267
2147
|
|
|
2268
2148
|
/**
|
|
2269
2149
|
* Generic pallet event
|
|
2270
2150
|
**/
|
|
2271
|
-
[prop: string]: GenericPalletEvent
|
|
2151
|
+
[prop: string]: GenericPalletEvent;
|
|
2272
2152
|
};
|
|
2273
2153
|
/**
|
|
2274
2154
|
* Pallet `Council`'s events
|
|
@@ -2279,7 +2159,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2279
2159
|
* `MemberCount`).
|
|
2280
2160
|
**/
|
|
2281
2161
|
Proposed: GenericPalletEvent<
|
|
2282
|
-
Rv,
|
|
2283
2162
|
'Council',
|
|
2284
2163
|
'Proposed',
|
|
2285
2164
|
{ account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
|
|
@@ -2290,7 +2169,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2290
2169
|
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
2291
2170
|
**/
|
|
2292
2171
|
Voted: GenericPalletEvent<
|
|
2293
|
-
Rv,
|
|
2294
2172
|
'Council',
|
|
2295
2173
|
'Voted',
|
|
2296
2174
|
{ account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
|
|
@@ -2299,23 +2177,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2299
2177
|
/**
|
|
2300
2178
|
* A motion was approved by the required threshold.
|
|
2301
2179
|
**/
|
|
2302
|
-
Approved: GenericPalletEvent<
|
|
2180
|
+
Approved: GenericPalletEvent<'Council', 'Approved', { proposalHash: H256 }>;
|
|
2303
2181
|
|
|
2304
2182
|
/**
|
|
2305
2183
|
* A motion was not approved by the required threshold.
|
|
2306
2184
|
**/
|
|
2307
|
-
Disapproved: GenericPalletEvent<
|
|
2185
|
+
Disapproved: GenericPalletEvent<'Council', 'Disapproved', { proposalHash: H256 }>;
|
|
2308
2186
|
|
|
2309
2187
|
/**
|
|
2310
2188
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
2311
2189
|
**/
|
|
2312
|
-
Executed: GenericPalletEvent<
|
|
2190
|
+
Executed: GenericPalletEvent<'Council', 'Executed', { proposalHash: H256; result: Result<[], DispatchError> }>;
|
|
2313
2191
|
|
|
2314
2192
|
/**
|
|
2315
2193
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
2316
2194
|
**/
|
|
2317
2195
|
MemberExecuted: GenericPalletEvent<
|
|
2318
|
-
Rv,
|
|
2319
2196
|
'Council',
|
|
2320
2197
|
'MemberExecuted',
|
|
2321
2198
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -2324,28 +2201,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2324
2201
|
/**
|
|
2325
2202
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
2326
2203
|
**/
|
|
2327
|
-
Closed: GenericPalletEvent<
|
|
2204
|
+
Closed: GenericPalletEvent<'Council', 'Closed', { proposalHash: H256; yes: number; no: number }>;
|
|
2328
2205
|
|
|
2329
2206
|
/**
|
|
2330
2207
|
* A proposal was killed.
|
|
2331
2208
|
**/
|
|
2332
|
-
Killed: GenericPalletEvent<
|
|
2209
|
+
Killed: GenericPalletEvent<'Council', 'Killed', { proposalHash: H256 }>;
|
|
2333
2210
|
|
|
2334
2211
|
/**
|
|
2335
2212
|
* Some cost for storing a proposal was burned.
|
|
2336
2213
|
**/
|
|
2337
|
-
ProposalCostBurned: GenericPalletEvent<
|
|
2338
|
-
Rv,
|
|
2339
|
-
'Council',
|
|
2340
|
-
'ProposalCostBurned',
|
|
2341
|
-
{ proposalHash: H256; who: AccountId32 }
|
|
2342
|
-
>;
|
|
2214
|
+
ProposalCostBurned: GenericPalletEvent<'Council', 'ProposalCostBurned', { proposalHash: H256; who: AccountId32 }>;
|
|
2343
2215
|
|
|
2344
2216
|
/**
|
|
2345
2217
|
* Some cost for storing a proposal was released.
|
|
2346
2218
|
**/
|
|
2347
2219
|
ProposalCostReleased: GenericPalletEvent<
|
|
2348
|
-
Rv,
|
|
2349
2220
|
'Council',
|
|
2350
2221
|
'ProposalCostReleased',
|
|
2351
2222
|
{ proposalHash: H256; who: AccountId32 }
|
|
@@ -2354,7 +2225,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2354
2225
|
/**
|
|
2355
2226
|
* Generic pallet event
|
|
2356
2227
|
**/
|
|
2357
|
-
[prop: string]: GenericPalletEvent
|
|
2228
|
+
[prop: string]: GenericPalletEvent;
|
|
2358
2229
|
};
|
|
2359
2230
|
/**
|
|
2360
2231
|
* Pallet `TechnicalCommittee`'s events
|
|
@@ -2365,7 +2236,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2365
2236
|
* `MemberCount`).
|
|
2366
2237
|
**/
|
|
2367
2238
|
Proposed: GenericPalletEvent<
|
|
2368
|
-
Rv,
|
|
2369
2239
|
'TechnicalCommittee',
|
|
2370
2240
|
'Proposed',
|
|
2371
2241
|
{ account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
|
|
@@ -2376,7 +2246,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2376
2246
|
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
2377
2247
|
**/
|
|
2378
2248
|
Voted: GenericPalletEvent<
|
|
2379
|
-
Rv,
|
|
2380
2249
|
'TechnicalCommittee',
|
|
2381
2250
|
'Voted',
|
|
2382
2251
|
{ account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
|
|
@@ -2385,18 +2254,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2385
2254
|
/**
|
|
2386
2255
|
* A motion was approved by the required threshold.
|
|
2387
2256
|
**/
|
|
2388
|
-
Approved: GenericPalletEvent<
|
|
2257
|
+
Approved: GenericPalletEvent<'TechnicalCommittee', 'Approved', { proposalHash: H256 }>;
|
|
2389
2258
|
|
|
2390
2259
|
/**
|
|
2391
2260
|
* A motion was not approved by the required threshold.
|
|
2392
2261
|
**/
|
|
2393
|
-
Disapproved: GenericPalletEvent<
|
|
2262
|
+
Disapproved: GenericPalletEvent<'TechnicalCommittee', 'Disapproved', { proposalHash: H256 }>;
|
|
2394
2263
|
|
|
2395
2264
|
/**
|
|
2396
2265
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
2397
2266
|
**/
|
|
2398
2267
|
Executed: GenericPalletEvent<
|
|
2399
|
-
Rv,
|
|
2400
2268
|
'TechnicalCommittee',
|
|
2401
2269
|
'Executed',
|
|
2402
2270
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -2406,7 +2274,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2406
2274
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
2407
2275
|
**/
|
|
2408
2276
|
MemberExecuted: GenericPalletEvent<
|
|
2409
|
-
Rv,
|
|
2410
2277
|
'TechnicalCommittee',
|
|
2411
2278
|
'MemberExecuted',
|
|
2412
2279
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -2415,18 +2282,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2415
2282
|
/**
|
|
2416
2283
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
2417
2284
|
**/
|
|
2418
|
-
Closed: GenericPalletEvent<
|
|
2285
|
+
Closed: GenericPalletEvent<'TechnicalCommittee', 'Closed', { proposalHash: H256; yes: number; no: number }>;
|
|
2419
2286
|
|
|
2420
2287
|
/**
|
|
2421
2288
|
* A proposal was killed.
|
|
2422
2289
|
**/
|
|
2423
|
-
Killed: GenericPalletEvent<
|
|
2290
|
+
Killed: GenericPalletEvent<'TechnicalCommittee', 'Killed', { proposalHash: H256 }>;
|
|
2424
2291
|
|
|
2425
2292
|
/**
|
|
2426
2293
|
* Some cost for storing a proposal was burned.
|
|
2427
2294
|
**/
|
|
2428
2295
|
ProposalCostBurned: GenericPalletEvent<
|
|
2429
|
-
Rv,
|
|
2430
2296
|
'TechnicalCommittee',
|
|
2431
2297
|
'ProposalCostBurned',
|
|
2432
2298
|
{ proposalHash: H256; who: AccountId32 }
|
|
@@ -2436,7 +2302,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2436
2302
|
* Some cost for storing a proposal was released.
|
|
2437
2303
|
**/
|
|
2438
2304
|
ProposalCostReleased: GenericPalletEvent<
|
|
2439
|
-
Rv,
|
|
2440
2305
|
'TechnicalCommittee',
|
|
2441
2306
|
'ProposalCostReleased',
|
|
2442
2307
|
{ proposalHash: H256; who: AccountId32 }
|
|
@@ -2445,7 +2310,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2445
2310
|
/**
|
|
2446
2311
|
* Generic pallet event
|
|
2447
2312
|
**/
|
|
2448
|
-
[prop: string]: GenericPalletEvent
|
|
2313
|
+
[prop: string]: GenericPalletEvent;
|
|
2449
2314
|
};
|
|
2450
2315
|
/**
|
|
2451
2316
|
* Pallet `CommunityCouncil`'s events
|
|
@@ -2456,7 +2321,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2456
2321
|
* `MemberCount`).
|
|
2457
2322
|
**/
|
|
2458
2323
|
Proposed: GenericPalletEvent<
|
|
2459
|
-
Rv,
|
|
2460
2324
|
'CommunityCouncil',
|
|
2461
2325
|
'Proposed',
|
|
2462
2326
|
{ account: AccountId32; proposalIndex: number; proposalHash: H256; threshold: number }
|
|
@@ -2467,7 +2331,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2467
2331
|
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
2468
2332
|
**/
|
|
2469
2333
|
Voted: GenericPalletEvent<
|
|
2470
|
-
Rv,
|
|
2471
2334
|
'CommunityCouncil',
|
|
2472
2335
|
'Voted',
|
|
2473
2336
|
{ account: AccountId32; proposalHash: H256; voted: boolean; yes: number; no: number }
|
|
@@ -2476,18 +2339,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2476
2339
|
/**
|
|
2477
2340
|
* A motion was approved by the required threshold.
|
|
2478
2341
|
**/
|
|
2479
|
-
Approved: GenericPalletEvent<
|
|
2342
|
+
Approved: GenericPalletEvent<'CommunityCouncil', 'Approved', { proposalHash: H256 }>;
|
|
2480
2343
|
|
|
2481
2344
|
/**
|
|
2482
2345
|
* A motion was not approved by the required threshold.
|
|
2483
2346
|
**/
|
|
2484
|
-
Disapproved: GenericPalletEvent<
|
|
2347
|
+
Disapproved: GenericPalletEvent<'CommunityCouncil', 'Disapproved', { proposalHash: H256 }>;
|
|
2485
2348
|
|
|
2486
2349
|
/**
|
|
2487
2350
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
2488
2351
|
**/
|
|
2489
2352
|
Executed: GenericPalletEvent<
|
|
2490
|
-
Rv,
|
|
2491
2353
|
'CommunityCouncil',
|
|
2492
2354
|
'Executed',
|
|
2493
2355
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -2497,7 +2359,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2497
2359
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
2498
2360
|
**/
|
|
2499
2361
|
MemberExecuted: GenericPalletEvent<
|
|
2500
|
-
Rv,
|
|
2501
2362
|
'CommunityCouncil',
|
|
2502
2363
|
'MemberExecuted',
|
|
2503
2364
|
{ proposalHash: H256; result: Result<[], DispatchError> }
|
|
@@ -2506,18 +2367,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2506
2367
|
/**
|
|
2507
2368
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
2508
2369
|
**/
|
|
2509
|
-
Closed: GenericPalletEvent<
|
|
2370
|
+
Closed: GenericPalletEvent<'CommunityCouncil', 'Closed', { proposalHash: H256; yes: number; no: number }>;
|
|
2510
2371
|
|
|
2511
2372
|
/**
|
|
2512
2373
|
* A proposal was killed.
|
|
2513
2374
|
**/
|
|
2514
|
-
Killed: GenericPalletEvent<
|
|
2375
|
+
Killed: GenericPalletEvent<'CommunityCouncil', 'Killed', { proposalHash: H256 }>;
|
|
2515
2376
|
|
|
2516
2377
|
/**
|
|
2517
2378
|
* Some cost for storing a proposal was burned.
|
|
2518
2379
|
**/
|
|
2519
2380
|
ProposalCostBurned: GenericPalletEvent<
|
|
2520
|
-
Rv,
|
|
2521
2381
|
'CommunityCouncil',
|
|
2522
2382
|
'ProposalCostBurned',
|
|
2523
2383
|
{ proposalHash: H256; who: AccountId32 }
|
|
@@ -2527,7 +2387,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2527
2387
|
* Some cost for storing a proposal was released.
|
|
2528
2388
|
**/
|
|
2529
2389
|
ProposalCostReleased: GenericPalletEvent<
|
|
2530
|
-
Rv,
|
|
2531
2390
|
'CommunityCouncil',
|
|
2532
2391
|
'ProposalCostReleased',
|
|
2533
2392
|
{ proposalHash: H256; who: AccountId32 }
|
|
@@ -2536,7 +2395,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2536
2395
|
/**
|
|
2537
2396
|
* Generic pallet event
|
|
2538
2397
|
**/
|
|
2539
|
-
[prop: string]: GenericPalletEvent
|
|
2398
|
+
[prop: string]: GenericPalletEvent;
|
|
2540
2399
|
};
|
|
2541
2400
|
/**
|
|
2542
2401
|
* Pallet `Democracy`'s events
|
|
@@ -2545,68 +2404,62 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2545
2404
|
/**
|
|
2546
2405
|
* A motion has been proposed by a public account.
|
|
2547
2406
|
**/
|
|
2548
|
-
Proposed: GenericPalletEvent<
|
|
2407
|
+
Proposed: GenericPalletEvent<'Democracy', 'Proposed', { proposalIndex: number; deposit: bigint }>;
|
|
2549
2408
|
|
|
2550
2409
|
/**
|
|
2551
2410
|
* A public proposal has been tabled for referendum vote.
|
|
2552
2411
|
**/
|
|
2553
|
-
Tabled: GenericPalletEvent<
|
|
2412
|
+
Tabled: GenericPalletEvent<'Democracy', 'Tabled', { proposalIndex: number; deposit: bigint }>;
|
|
2554
2413
|
|
|
2555
2414
|
/**
|
|
2556
2415
|
* An external proposal has been tabled.
|
|
2557
2416
|
**/
|
|
2558
|
-
ExternalTabled: GenericPalletEvent<
|
|
2417
|
+
ExternalTabled: GenericPalletEvent<'Democracy', 'ExternalTabled', null>;
|
|
2559
2418
|
|
|
2560
2419
|
/**
|
|
2561
2420
|
* A referendum has begun.
|
|
2562
2421
|
**/
|
|
2563
|
-
Started: GenericPalletEvent<
|
|
2564
|
-
Rv,
|
|
2565
|
-
'Democracy',
|
|
2566
|
-
'Started',
|
|
2567
|
-
{ refIndex: number; threshold: PalletDemocracyVoteThreshold }
|
|
2568
|
-
>;
|
|
2422
|
+
Started: GenericPalletEvent<'Democracy', 'Started', { refIndex: number; threshold: PalletDemocracyVoteThreshold }>;
|
|
2569
2423
|
|
|
2570
2424
|
/**
|
|
2571
2425
|
* A proposal has been approved by referendum.
|
|
2572
2426
|
**/
|
|
2573
|
-
Passed: GenericPalletEvent<
|
|
2427
|
+
Passed: GenericPalletEvent<'Democracy', 'Passed', { refIndex: number }>;
|
|
2574
2428
|
|
|
2575
2429
|
/**
|
|
2576
2430
|
* A proposal has been rejected by referendum.
|
|
2577
2431
|
**/
|
|
2578
|
-
NotPassed: GenericPalletEvent<
|
|
2432
|
+
NotPassed: GenericPalletEvent<'Democracy', 'NotPassed', { refIndex: number }>;
|
|
2579
2433
|
|
|
2580
2434
|
/**
|
|
2581
2435
|
* A referendum has been cancelled.
|
|
2582
2436
|
**/
|
|
2583
|
-
Cancelled: GenericPalletEvent<
|
|
2437
|
+
Cancelled: GenericPalletEvent<'Democracy', 'Cancelled', { refIndex: number }>;
|
|
2584
2438
|
|
|
2585
2439
|
/**
|
|
2586
2440
|
* An account has delegated their vote to another account.
|
|
2587
2441
|
**/
|
|
2588
|
-
Delegated: GenericPalletEvent<
|
|
2442
|
+
Delegated: GenericPalletEvent<'Democracy', 'Delegated', { who: AccountId32; target: AccountId32 }>;
|
|
2589
2443
|
|
|
2590
2444
|
/**
|
|
2591
2445
|
* An account has cancelled a previous delegation operation.
|
|
2592
2446
|
**/
|
|
2593
|
-
Undelegated: GenericPalletEvent<
|
|
2447
|
+
Undelegated: GenericPalletEvent<'Democracy', 'Undelegated', { account: AccountId32 }>;
|
|
2594
2448
|
|
|
2595
2449
|
/**
|
|
2596
2450
|
* An external proposal has been vetoed.
|
|
2597
2451
|
**/
|
|
2598
|
-
Vetoed: GenericPalletEvent<
|
|
2452
|
+
Vetoed: GenericPalletEvent<'Democracy', 'Vetoed', { who: AccountId32; proposalHash: H256; until: number }>;
|
|
2599
2453
|
|
|
2600
2454
|
/**
|
|
2601
2455
|
* A proposal_hash has been blacklisted permanently.
|
|
2602
2456
|
**/
|
|
2603
|
-
Blacklisted: GenericPalletEvent<
|
|
2457
|
+
Blacklisted: GenericPalletEvent<'Democracy', 'Blacklisted', { proposalHash: H256 }>;
|
|
2604
2458
|
|
|
2605
2459
|
/**
|
|
2606
2460
|
* An account has voted in a referendum
|
|
2607
2461
|
**/
|
|
2608
2462
|
Voted: GenericPalletEvent<
|
|
2609
|
-
Rv,
|
|
2610
2463
|
'Democracy',
|
|
2611
2464
|
'Voted',
|
|
2612
2465
|
{ voter: AccountId32; refIndex: number; vote: PalletDemocracyVoteAccountVote }
|
|
@@ -2615,18 +2468,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2615
2468
|
/**
|
|
2616
2469
|
* An account has seconded a proposal
|
|
2617
2470
|
**/
|
|
2618
|
-
Seconded: GenericPalletEvent<
|
|
2471
|
+
Seconded: GenericPalletEvent<'Democracy', 'Seconded', { seconder: AccountId32; propIndex: number }>;
|
|
2619
2472
|
|
|
2620
2473
|
/**
|
|
2621
2474
|
* A proposal got canceled.
|
|
2622
2475
|
**/
|
|
2623
|
-
ProposalCanceled: GenericPalletEvent<
|
|
2476
|
+
ProposalCanceled: GenericPalletEvent<'Democracy', 'ProposalCanceled', { propIndex: number }>;
|
|
2624
2477
|
|
|
2625
2478
|
/**
|
|
2626
2479
|
* Metadata for a proposal or a referendum has been set.
|
|
2627
2480
|
**/
|
|
2628
2481
|
MetadataSet: GenericPalletEvent<
|
|
2629
|
-
Rv,
|
|
2630
2482
|
'Democracy',
|
|
2631
2483
|
'MetadataSet',
|
|
2632
2484
|
{
|
|
@@ -2646,7 +2498,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2646
2498
|
* Metadata for a proposal or a referendum has been cleared.
|
|
2647
2499
|
**/
|
|
2648
2500
|
MetadataCleared: GenericPalletEvent<
|
|
2649
|
-
Rv,
|
|
2650
2501
|
'Democracy',
|
|
2651
2502
|
'MetadataCleared',
|
|
2652
2503
|
{
|
|
@@ -2666,7 +2517,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2666
2517
|
* Metadata has been transferred to new owner.
|
|
2667
2518
|
**/
|
|
2668
2519
|
MetadataTransferred: GenericPalletEvent<
|
|
2669
|
-
Rv,
|
|
2670
2520
|
'Democracy',
|
|
2671
2521
|
'MetadataTransferred',
|
|
2672
2522
|
{
|
|
@@ -2690,7 +2540,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2690
2540
|
/**
|
|
2691
2541
|
* Generic pallet event
|
|
2692
2542
|
**/
|
|
2693
|
-
[prop: string]: GenericPalletEvent
|
|
2543
|
+
[prop: string]: GenericPalletEvent;
|
|
2694
2544
|
};
|
|
2695
2545
|
/**
|
|
2696
2546
|
* Pallet `Treasury`'s events
|
|
@@ -2699,58 +2549,48 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2699
2549
|
/**
|
|
2700
2550
|
* New proposal.
|
|
2701
2551
|
**/
|
|
2702
|
-
Proposed: GenericPalletEvent<
|
|
2552
|
+
Proposed: GenericPalletEvent<'Treasury', 'Proposed', { proposalIndex: number }>;
|
|
2703
2553
|
|
|
2704
2554
|
/**
|
|
2705
2555
|
* We have ended a spend period and will now allocate funds.
|
|
2706
2556
|
**/
|
|
2707
|
-
Spending: GenericPalletEvent<
|
|
2557
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
2708
2558
|
|
|
2709
2559
|
/**
|
|
2710
2560
|
* Some funds have been allocated.
|
|
2711
2561
|
**/
|
|
2712
|
-
Awarded: GenericPalletEvent<
|
|
2713
|
-
Rv,
|
|
2714
|
-
'Treasury',
|
|
2715
|
-
'Awarded',
|
|
2716
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
2717
|
-
>;
|
|
2562
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
2718
2563
|
|
|
2719
2564
|
/**
|
|
2720
2565
|
* A proposal was rejected; funds were slashed.
|
|
2721
2566
|
**/
|
|
2722
|
-
Rejected: GenericPalletEvent<
|
|
2567
|
+
Rejected: GenericPalletEvent<'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
|
|
2723
2568
|
|
|
2724
2569
|
/**
|
|
2725
2570
|
* Some of our funds have been burnt.
|
|
2726
2571
|
**/
|
|
2727
|
-
Burnt: GenericPalletEvent<
|
|
2572
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
2728
2573
|
|
|
2729
2574
|
/**
|
|
2730
2575
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
2731
2576
|
**/
|
|
2732
|
-
Rollover: GenericPalletEvent<
|
|
2577
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
2733
2578
|
|
|
2734
2579
|
/**
|
|
2735
2580
|
* Some funds have been deposited.
|
|
2736
2581
|
**/
|
|
2737
|
-
Deposit: GenericPalletEvent<
|
|
2582
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
2738
2583
|
|
|
2739
2584
|
/**
|
|
2740
2585
|
* A new spend proposal has been approved.
|
|
2741
2586
|
* The inactive funds of the pallet have been updated.
|
|
2742
2587
|
**/
|
|
2743
|
-
UpdatedInactive: GenericPalletEvent<
|
|
2744
|
-
Rv,
|
|
2745
|
-
'Treasury',
|
|
2746
|
-
'UpdatedInactive',
|
|
2747
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
2748
|
-
>;
|
|
2588
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
2749
2589
|
|
|
2750
2590
|
/**
|
|
2751
2591
|
* Generic pallet event
|
|
2752
2592
|
**/
|
|
2753
|
-
[prop: string]: GenericPalletEvent
|
|
2593
|
+
[prop: string]: GenericPalletEvent;
|
|
2754
2594
|
};
|
|
2755
2595
|
/**
|
|
2756
2596
|
* Pallet `CommunityTreasury`'s events
|
|
@@ -2759,18 +2599,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2759
2599
|
/**
|
|
2760
2600
|
* New proposal.
|
|
2761
2601
|
**/
|
|
2762
|
-
Proposed: GenericPalletEvent<
|
|
2602
|
+
Proposed: GenericPalletEvent<'CommunityTreasury', 'Proposed', { proposalIndex: number }>;
|
|
2763
2603
|
|
|
2764
2604
|
/**
|
|
2765
2605
|
* We have ended a spend period and will now allocate funds.
|
|
2766
2606
|
**/
|
|
2767
|
-
Spending: GenericPalletEvent<
|
|
2607
|
+
Spending: GenericPalletEvent<'CommunityTreasury', 'Spending', { budgetRemaining: bigint }>;
|
|
2768
2608
|
|
|
2769
2609
|
/**
|
|
2770
2610
|
* Some funds have been allocated.
|
|
2771
2611
|
**/
|
|
2772
2612
|
Awarded: GenericPalletEvent<
|
|
2773
|
-
Rv,
|
|
2774
2613
|
'CommunityTreasury',
|
|
2775
2614
|
'Awarded',
|
|
2776
2615
|
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
@@ -2779,29 +2618,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2779
2618
|
/**
|
|
2780
2619
|
* A proposal was rejected; funds were slashed.
|
|
2781
2620
|
**/
|
|
2782
|
-
Rejected: GenericPalletEvent<
|
|
2621
|
+
Rejected: GenericPalletEvent<'CommunityTreasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
|
|
2783
2622
|
|
|
2784
2623
|
/**
|
|
2785
2624
|
* Some of our funds have been burnt.
|
|
2786
2625
|
**/
|
|
2787
|
-
Burnt: GenericPalletEvent<
|
|
2626
|
+
Burnt: GenericPalletEvent<'CommunityTreasury', 'Burnt', { burntFunds: bigint }>;
|
|
2788
2627
|
|
|
2789
2628
|
/**
|
|
2790
2629
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
2791
2630
|
**/
|
|
2792
|
-
Rollover: GenericPalletEvent<
|
|
2631
|
+
Rollover: GenericPalletEvent<'CommunityTreasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
2793
2632
|
|
|
2794
2633
|
/**
|
|
2795
2634
|
* Some funds have been deposited.
|
|
2796
2635
|
**/
|
|
2797
|
-
Deposit: GenericPalletEvent<
|
|
2636
|
+
Deposit: GenericPalletEvent<'CommunityTreasury', 'Deposit', { value: bigint }>;
|
|
2798
2637
|
|
|
2799
2638
|
/**
|
|
2800
2639
|
* A new spend proposal has been approved.
|
|
2801
2640
|
* The inactive funds of the pallet have been updated.
|
|
2802
2641
|
**/
|
|
2803
2642
|
UpdatedInactive: GenericPalletEvent<
|
|
2804
|
-
Rv,
|
|
2805
2643
|
'CommunityTreasury',
|
|
2806
2644
|
'UpdatedInactive',
|
|
2807
2645
|
{ reactivated: bigint; deactivated: bigint }
|
|
@@ -2810,7 +2648,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2810
2648
|
/**
|
|
2811
2649
|
* Generic pallet event
|
|
2812
2650
|
**/
|
|
2813
|
-
[prop: string]: GenericPalletEvent
|
|
2651
|
+
[prop: string]: GenericPalletEvent;
|
|
2814
2652
|
};
|
|
2815
2653
|
/**
|
|
2816
2654
|
* Pallet `CollectiveProxy`'s events
|
|
@@ -2820,7 +2658,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2820
2658
|
* Community proxy call executed successfully.
|
|
2821
2659
|
**/
|
|
2822
2660
|
CollectiveProxyExecuted: GenericPalletEvent<
|
|
2823
|
-
Rv,
|
|
2824
2661
|
'CollectiveProxy',
|
|
2825
2662
|
'CollectiveProxyExecuted',
|
|
2826
2663
|
{ result: Result<[], DispatchError> }
|
|
@@ -2829,7 +2666,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2829
2666
|
/**
|
|
2830
2667
|
* Generic pallet event
|
|
2831
2668
|
**/
|
|
2832
|
-
[prop: string]: GenericPalletEvent
|
|
2669
|
+
[prop: string]: GenericPalletEvent;
|
|
2833
2670
|
};
|
|
2834
2671
|
/**
|
|
2835
2672
|
* Pallet `SafeMode`'s events
|
|
@@ -2838,51 +2675,51 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2838
2675
|
/**
|
|
2839
2676
|
* The safe-mode was entered until inclusively this block.
|
|
2840
2677
|
**/
|
|
2841
|
-
Entered: GenericPalletEvent<
|
|
2678
|
+
Entered: GenericPalletEvent<'SafeMode', 'Entered', { until: number }>;
|
|
2842
2679
|
|
|
2843
2680
|
/**
|
|
2844
2681
|
* The safe-mode was extended until inclusively this block.
|
|
2845
2682
|
**/
|
|
2846
|
-
Extended: GenericPalletEvent<
|
|
2683
|
+
Extended: GenericPalletEvent<'SafeMode', 'Extended', { until: number }>;
|
|
2847
2684
|
|
|
2848
2685
|
/**
|
|
2849
2686
|
* Exited the safe-mode for a specific reason.
|
|
2850
2687
|
**/
|
|
2851
|
-
Exited: GenericPalletEvent<
|
|
2688
|
+
Exited: GenericPalletEvent<'SafeMode', 'Exited', { reason: PalletSafeModeExitReason }>;
|
|
2852
2689
|
|
|
2853
2690
|
/**
|
|
2854
2691
|
* An account reserved funds for either entering or extending the safe-mode.
|
|
2855
2692
|
**/
|
|
2856
|
-
DepositPlaced: GenericPalletEvent<
|
|
2693
|
+
DepositPlaced: GenericPalletEvent<'SafeMode', 'DepositPlaced', { account: AccountId32; amount: bigint }>;
|
|
2857
2694
|
|
|
2858
2695
|
/**
|
|
2859
2696
|
* An account had a reserve released that was reserved.
|
|
2860
2697
|
**/
|
|
2861
|
-
DepositReleased: GenericPalletEvent<
|
|
2698
|
+
DepositReleased: GenericPalletEvent<'SafeMode', 'DepositReleased', { account: AccountId32; amount: bigint }>;
|
|
2862
2699
|
|
|
2863
2700
|
/**
|
|
2864
2701
|
* An account had reserve slashed that was reserved.
|
|
2865
2702
|
**/
|
|
2866
|
-
DepositSlashed: GenericPalletEvent<
|
|
2703
|
+
DepositSlashed: GenericPalletEvent<'SafeMode', 'DepositSlashed', { account: AccountId32; amount: bigint }>;
|
|
2867
2704
|
|
|
2868
2705
|
/**
|
|
2869
2706
|
* Could not hold funds for entering or extending the safe-mode.
|
|
2870
2707
|
*
|
|
2871
2708
|
* This error comes from the underlying `Currency`.
|
|
2872
2709
|
**/
|
|
2873
|
-
CannotDeposit: GenericPalletEvent<
|
|
2710
|
+
CannotDeposit: GenericPalletEvent<'SafeMode', 'CannotDeposit', null>;
|
|
2874
2711
|
|
|
2875
2712
|
/**
|
|
2876
2713
|
* Could not release funds for entering or extending the safe-mode.
|
|
2877
2714
|
*
|
|
2878
2715
|
* This error comes from the underlying `Currency`.
|
|
2879
2716
|
**/
|
|
2880
|
-
CannotRelease: GenericPalletEvent<
|
|
2717
|
+
CannotRelease: GenericPalletEvent<'SafeMode', 'CannotRelease', null>;
|
|
2881
2718
|
|
|
2882
2719
|
/**
|
|
2883
2720
|
* Generic pallet event
|
|
2884
2721
|
**/
|
|
2885
|
-
[prop: string]: GenericPalletEvent
|
|
2722
|
+
[prop: string]: GenericPalletEvent;
|
|
2886
2723
|
};
|
|
2887
2724
|
/**
|
|
2888
2725
|
* Pallet `TxPause`'s events
|
|
@@ -2891,17 +2728,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2891
2728
|
/**
|
|
2892
2729
|
* This pallet, or a specific call is now paused.
|
|
2893
2730
|
**/
|
|
2894
|
-
CallPaused: GenericPalletEvent<
|
|
2731
|
+
CallPaused: GenericPalletEvent<'TxPause', 'CallPaused', { fullName: [Bytes, Bytes] }>;
|
|
2895
2732
|
|
|
2896
2733
|
/**
|
|
2897
2734
|
* This pallet, or a specific call is now unpaused.
|
|
2898
2735
|
**/
|
|
2899
|
-
CallUnpaused: GenericPalletEvent<
|
|
2736
|
+
CallUnpaused: GenericPalletEvent<'TxPause', 'CallUnpaused', { fullName: [Bytes, Bytes] }>;
|
|
2900
2737
|
|
|
2901
2738
|
/**
|
|
2902
2739
|
* Generic pallet event
|
|
2903
2740
|
**/
|
|
2904
|
-
[prop: string]: GenericPalletEvent
|
|
2741
|
+
[prop: string]: GenericPalletEvent;
|
|
2905
2742
|
};
|
|
2906
2743
|
/**
|
|
2907
2744
|
* Pallet `MultiBlockMigrations`'s events
|
|
@@ -2913,7 +2750,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2913
2750
|
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
2914
2751
|
**/
|
|
2915
2752
|
UpgradeStarted: GenericPalletEvent<
|
|
2916
|
-
Rv,
|
|
2917
2753
|
'MultiBlockMigrations',
|
|
2918
2754
|
'UpgradeStarted',
|
|
2919
2755
|
{
|
|
@@ -2932,20 +2768,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2932
2768
|
*
|
|
2933
2769
|
* This implies that all of its migrations completed successfully as well.
|
|
2934
2770
|
**/
|
|
2935
|
-
UpgradeCompleted: GenericPalletEvent<
|
|
2771
|
+
UpgradeCompleted: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
2936
2772
|
|
|
2937
2773
|
/**
|
|
2938
2774
|
* Runtime upgrade failed.
|
|
2939
2775
|
*
|
|
2940
2776
|
* This is very bad and will require governance intervention.
|
|
2941
2777
|
**/
|
|
2942
|
-
UpgradeFailed: GenericPalletEvent<
|
|
2778
|
+
UpgradeFailed: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
2943
2779
|
|
|
2944
2780
|
/**
|
|
2945
2781
|
* A migration was skipped since it was already executed in the past.
|
|
2946
2782
|
**/
|
|
2947
2783
|
MigrationSkipped: GenericPalletEvent<
|
|
2948
|
-
Rv,
|
|
2949
2784
|
'MultiBlockMigrations',
|
|
2950
2785
|
'MigrationSkipped',
|
|
2951
2786
|
{
|
|
@@ -2960,7 +2795,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2960
2795
|
* A migration progressed.
|
|
2961
2796
|
**/
|
|
2962
2797
|
MigrationAdvanced: GenericPalletEvent<
|
|
2963
|
-
Rv,
|
|
2964
2798
|
'MultiBlockMigrations',
|
|
2965
2799
|
'MigrationAdvanced',
|
|
2966
2800
|
{
|
|
@@ -2980,7 +2814,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2980
2814
|
* A Migration completed.
|
|
2981
2815
|
**/
|
|
2982
2816
|
MigrationCompleted: GenericPalletEvent<
|
|
2983
|
-
Rv,
|
|
2984
2817
|
'MultiBlockMigrations',
|
|
2985
2818
|
'MigrationCompleted',
|
|
2986
2819
|
{
|
|
@@ -3002,7 +2835,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3002
2835
|
* This implies that the whole upgrade failed and governance intervention is required.
|
|
3003
2836
|
**/
|
|
3004
2837
|
MigrationFailed: GenericPalletEvent<
|
|
3005
|
-
Rv,
|
|
3006
2838
|
'MultiBlockMigrations',
|
|
3007
2839
|
'MigrationFailed',
|
|
3008
2840
|
{
|
|
@@ -3022,7 +2854,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3022
2854
|
* The set of historical migrations has been cleared.
|
|
3023
2855
|
**/
|
|
3024
2856
|
HistoricCleared: GenericPalletEvent<
|
|
3025
|
-
Rv,
|
|
3026
2857
|
'MultiBlockMigrations',
|
|
3027
2858
|
'HistoricCleared',
|
|
3028
2859
|
{
|
|
@@ -3036,6 +2867,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3036
2867
|
/**
|
|
3037
2868
|
* Generic pallet event
|
|
3038
2869
|
**/
|
|
3039
|
-
[prop: string]: GenericPalletEvent
|
|
2870
|
+
[prop: string]: GenericPalletEvent;
|
|
3040
2871
|
};
|
|
3041
2872
|
}
|