@dedot/chaintypes 0.193.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 -4
- 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/vara/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 {
|
|
5
5
|
DispatchInfo,
|
|
6
6
|
DispatchError,
|
|
@@ -51,7 +51,7 @@ import type {
|
|
|
51
51
|
PalletGearEthBridgePrimitivesEthMessage,
|
|
52
52
|
} from './types.js';
|
|
53
53
|
|
|
54
|
-
export interface ChainEvents
|
|
54
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
55
55
|
/**
|
|
56
56
|
* Pallet `System`'s events
|
|
57
57
|
**/
|
|
@@ -59,13 +59,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
59
59
|
/**
|
|
60
60
|
* An extrinsic completed successfully.
|
|
61
61
|
**/
|
|
62
|
-
ExtrinsicSuccess: GenericPalletEvent<
|
|
62
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* An extrinsic failed.
|
|
66
66
|
**/
|
|
67
67
|
ExtrinsicFailed: GenericPalletEvent<
|
|
68
|
-
Rv,
|
|
69
68
|
'System',
|
|
70
69
|
'ExtrinsicFailed',
|
|
71
70
|
{ dispatchError: DispatchError; dispatchInfo: DispatchInfo }
|
|
@@ -74,32 +73,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
74
73
|
/**
|
|
75
74
|
* `:code` was updated.
|
|
76
75
|
**/
|
|
77
|
-
CodeUpdated: GenericPalletEvent<
|
|
76
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
79
|
* A new account was created.
|
|
81
80
|
**/
|
|
82
|
-
NewAccount: GenericPalletEvent<
|
|
81
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', { account: AccountId32 }>;
|
|
83
82
|
|
|
84
83
|
/**
|
|
85
84
|
* An account was reaped.
|
|
86
85
|
**/
|
|
87
|
-
KilledAccount: GenericPalletEvent<
|
|
86
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', { account: AccountId32 }>;
|
|
88
87
|
|
|
89
88
|
/**
|
|
90
89
|
* On on-chain remark happened.
|
|
91
90
|
**/
|
|
92
|
-
Remarked: GenericPalletEvent<
|
|
91
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
|
|
93
92
|
|
|
94
93
|
/**
|
|
95
94
|
* An upgrade was authorized.
|
|
96
95
|
**/
|
|
97
|
-
UpgradeAuthorized: GenericPalletEvent<
|
|
96
|
+
UpgradeAuthorized: GenericPalletEvent<'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
98
97
|
|
|
99
98
|
/**
|
|
100
99
|
* Generic pallet event
|
|
101
100
|
**/
|
|
102
|
-
[prop: string]: GenericPalletEvent
|
|
101
|
+
[prop: string]: GenericPalletEvent;
|
|
103
102
|
};
|
|
104
103
|
/**
|
|
105
104
|
* Pallet `Grandpa`'s events
|
|
@@ -109,7 +108,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
109
108
|
* New authority set has been applied.
|
|
110
109
|
**/
|
|
111
110
|
NewAuthorities: GenericPalletEvent<
|
|
112
|
-
Rv,
|
|
113
111
|
'Grandpa',
|
|
114
112
|
'NewAuthorities',
|
|
115
113
|
{ authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
|
|
@@ -118,17 +116,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
118
116
|
/**
|
|
119
117
|
* Current authority set has been paused.
|
|
120
118
|
**/
|
|
121
|
-
Paused: GenericPalletEvent<
|
|
119
|
+
Paused: GenericPalletEvent<'Grandpa', 'Paused', null>;
|
|
122
120
|
|
|
123
121
|
/**
|
|
124
122
|
* Current authority set has been resumed.
|
|
125
123
|
**/
|
|
126
|
-
Resumed: GenericPalletEvent<
|
|
124
|
+
Resumed: GenericPalletEvent<'Grandpa', 'Resumed', null>;
|
|
127
125
|
|
|
128
126
|
/**
|
|
129
127
|
* Generic pallet event
|
|
130
128
|
**/
|
|
131
|
-
[prop: string]: GenericPalletEvent
|
|
129
|
+
[prop: string]: GenericPalletEvent;
|
|
132
130
|
};
|
|
133
131
|
/**
|
|
134
132
|
* Pallet `Balances`'s events
|
|
@@ -137,40 +135,39 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
137
135
|
/**
|
|
138
136
|
* An account was created with some free balance.
|
|
139
137
|
**/
|
|
140
|
-
Endowed: GenericPalletEvent<
|
|
138
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
|
|
141
139
|
|
|
142
140
|
/**
|
|
143
141
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
144
142
|
* resulting in an outright loss.
|
|
145
143
|
**/
|
|
146
|
-
DustLost: GenericPalletEvent<
|
|
144
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
|
|
147
145
|
|
|
148
146
|
/**
|
|
149
147
|
* Transfer succeeded.
|
|
150
148
|
**/
|
|
151
|
-
Transfer: GenericPalletEvent<
|
|
149
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
|
|
152
150
|
|
|
153
151
|
/**
|
|
154
152
|
* A balance was set by root.
|
|
155
153
|
**/
|
|
156
|
-
BalanceSet: GenericPalletEvent<
|
|
154
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
|
|
157
155
|
|
|
158
156
|
/**
|
|
159
157
|
* Some balance was reserved (moved from free to reserved).
|
|
160
158
|
**/
|
|
161
|
-
Reserved: GenericPalletEvent<
|
|
159
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
|
|
162
160
|
|
|
163
161
|
/**
|
|
164
162
|
* Some balance was unreserved (moved from reserved to free).
|
|
165
163
|
**/
|
|
166
|
-
Unreserved: GenericPalletEvent<
|
|
164
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
|
|
167
165
|
|
|
168
166
|
/**
|
|
169
167
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
170
168
|
* Final argument indicates the destination balance type.
|
|
171
169
|
**/
|
|
172
170
|
ReserveRepatriated: GenericPalletEvent<
|
|
173
|
-
Rv,
|
|
174
171
|
'Balances',
|
|
175
172
|
'ReserveRepatriated',
|
|
176
173
|
{ from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
|
|
@@ -179,82 +176,82 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
179
176
|
/**
|
|
180
177
|
* Some amount was deposited (e.g. for transaction fees).
|
|
181
178
|
**/
|
|
182
|
-
Deposit: GenericPalletEvent<
|
|
179
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
|
|
183
180
|
|
|
184
181
|
/**
|
|
185
182
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
186
183
|
**/
|
|
187
|
-
Withdraw: GenericPalletEvent<
|
|
184
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
|
|
188
185
|
|
|
189
186
|
/**
|
|
190
187
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
191
188
|
**/
|
|
192
|
-
Slashed: GenericPalletEvent<
|
|
189
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
|
|
193
190
|
|
|
194
191
|
/**
|
|
195
192
|
* Some amount was minted into an account.
|
|
196
193
|
**/
|
|
197
|
-
Minted: GenericPalletEvent<
|
|
194
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
|
|
198
195
|
|
|
199
196
|
/**
|
|
200
197
|
* Some amount was burned from an account.
|
|
201
198
|
**/
|
|
202
|
-
Burned: GenericPalletEvent<
|
|
199
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
|
|
203
200
|
|
|
204
201
|
/**
|
|
205
202
|
* Some amount was suspended from an account (it can be restored later).
|
|
206
203
|
**/
|
|
207
|
-
Suspended: GenericPalletEvent<
|
|
204
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
|
|
208
205
|
|
|
209
206
|
/**
|
|
210
207
|
* Some amount was restored into an account.
|
|
211
208
|
**/
|
|
212
|
-
Restored: GenericPalletEvent<
|
|
209
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
|
|
213
210
|
|
|
214
211
|
/**
|
|
215
212
|
* An account was upgraded.
|
|
216
213
|
**/
|
|
217
|
-
Upgraded: GenericPalletEvent<
|
|
214
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', { who: AccountId32 }>;
|
|
218
215
|
|
|
219
216
|
/**
|
|
220
217
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
221
218
|
**/
|
|
222
|
-
Issued: GenericPalletEvent<
|
|
219
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', { amount: bigint }>;
|
|
223
220
|
|
|
224
221
|
/**
|
|
225
222
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
226
223
|
**/
|
|
227
|
-
Rescinded: GenericPalletEvent<
|
|
224
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', { amount: bigint }>;
|
|
228
225
|
|
|
229
226
|
/**
|
|
230
227
|
* Some balance was locked.
|
|
231
228
|
**/
|
|
232
|
-
Locked: GenericPalletEvent<
|
|
229
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
|
|
233
230
|
|
|
234
231
|
/**
|
|
235
232
|
* Some balance was unlocked.
|
|
236
233
|
**/
|
|
237
|
-
Unlocked: GenericPalletEvent<
|
|
234
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
|
|
238
235
|
|
|
239
236
|
/**
|
|
240
237
|
* Some balance was frozen.
|
|
241
238
|
**/
|
|
242
|
-
Frozen: GenericPalletEvent<
|
|
239
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
|
|
243
240
|
|
|
244
241
|
/**
|
|
245
242
|
* Some balance was thawed.
|
|
246
243
|
**/
|
|
247
|
-
Thawed: GenericPalletEvent<
|
|
244
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
|
|
248
245
|
|
|
249
246
|
/**
|
|
250
247
|
* The `TotalIssuance` was forcefully changed.
|
|
251
248
|
**/
|
|
252
|
-
TotalIssuanceForced: GenericPalletEvent<
|
|
249
|
+
TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
|
|
253
250
|
|
|
254
251
|
/**
|
|
255
252
|
* Generic pallet event
|
|
256
253
|
**/
|
|
257
|
-
[prop: string]: GenericPalletEvent
|
|
254
|
+
[prop: string]: GenericPalletEvent;
|
|
258
255
|
};
|
|
259
256
|
/**
|
|
260
257
|
* Pallet `TransactionPayment`'s events
|
|
@@ -265,7 +262,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
265
262
|
* has been paid by `who`.
|
|
266
263
|
**/
|
|
267
264
|
TransactionFeePaid: GenericPalletEvent<
|
|
268
|
-
Rv,
|
|
269
265
|
'TransactionPayment',
|
|
270
266
|
'TransactionFeePaid',
|
|
271
267
|
{ who: AccountId32; actualFee: bigint; tip: bigint }
|
|
@@ -274,7 +270,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
274
270
|
/**
|
|
275
271
|
* Generic pallet event
|
|
276
272
|
**/
|
|
277
|
-
[prop: string]: GenericPalletEvent
|
|
273
|
+
[prop: string]: GenericPalletEvent;
|
|
278
274
|
};
|
|
279
275
|
/**
|
|
280
276
|
* Pallet `Session`'s events
|
|
@@ -284,12 +280,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
284
280
|
* New session has happened. Note that the argument is the session index, not the
|
|
285
281
|
* block number as the type might suggest.
|
|
286
282
|
**/
|
|
287
|
-
NewSession: GenericPalletEvent<
|
|
283
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', { sessionIndex: number }>;
|
|
288
284
|
|
|
289
285
|
/**
|
|
290
286
|
* Generic pallet event
|
|
291
287
|
**/
|
|
292
|
-
[prop: string]: GenericPalletEvent
|
|
288
|
+
[prop: string]: GenericPalletEvent;
|
|
293
289
|
};
|
|
294
290
|
/**
|
|
295
291
|
* Pallet `Utility`'s events
|
|
@@ -299,37 +295,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
299
295
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
300
296
|
* well as the error.
|
|
301
297
|
**/
|
|
302
|
-
BatchInterrupted: GenericPalletEvent<
|
|
298
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
|
|
303
299
|
|
|
304
300
|
/**
|
|
305
301
|
* Batch of dispatches completed fully with no error.
|
|
306
302
|
**/
|
|
307
|
-
BatchCompleted: GenericPalletEvent<
|
|
303
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
308
304
|
|
|
309
305
|
/**
|
|
310
306
|
* Batch of dispatches completed but has errors.
|
|
311
307
|
**/
|
|
312
|
-
BatchCompletedWithErrors: GenericPalletEvent<
|
|
308
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
313
309
|
|
|
314
310
|
/**
|
|
315
311
|
* A single item within a Batch of dispatches has completed with no error.
|
|
316
312
|
**/
|
|
317
|
-
ItemCompleted: GenericPalletEvent<
|
|
313
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
318
314
|
|
|
319
315
|
/**
|
|
320
316
|
* A single item within a Batch of dispatches has completed with error.
|
|
321
317
|
**/
|
|
322
|
-
ItemFailed: GenericPalletEvent<
|
|
318
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', { error: DispatchError }>;
|
|
323
319
|
|
|
324
320
|
/**
|
|
325
321
|
* A call was dispatched.
|
|
326
322
|
**/
|
|
327
|
-
DispatchedAs: GenericPalletEvent<
|
|
323
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
328
324
|
|
|
329
325
|
/**
|
|
330
326
|
* Generic pallet event
|
|
331
327
|
**/
|
|
332
|
-
[prop: string]: GenericPalletEvent
|
|
328
|
+
[prop: string]: GenericPalletEvent;
|
|
333
329
|
};
|
|
334
330
|
/**
|
|
335
331
|
* Pallet `Vesting`'s events
|
|
@@ -339,17 +335,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
339
335
|
* The amount vested has been updated. This could indicate a change in funds available.
|
|
340
336
|
* The balance given is the amount which is left unvested (and thus locked).
|
|
341
337
|
**/
|
|
342
|
-
VestingUpdated: GenericPalletEvent<
|
|
338
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
343
339
|
|
|
344
340
|
/**
|
|
345
341
|
* An \[account\] has become fully vested.
|
|
346
342
|
**/
|
|
347
|
-
VestingCompleted: GenericPalletEvent<
|
|
343
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
348
344
|
|
|
349
345
|
/**
|
|
350
346
|
* Generic pallet event
|
|
351
347
|
**/
|
|
352
|
-
[prop: string]: GenericPalletEvent
|
|
348
|
+
[prop: string]: GenericPalletEvent;
|
|
353
349
|
};
|
|
354
350
|
/**
|
|
355
351
|
* Pallet `BagsList`'s events
|
|
@@ -358,17 +354,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
358
354
|
/**
|
|
359
355
|
* Moved an account from one bag to another.
|
|
360
356
|
**/
|
|
361
|
-
Rebagged: GenericPalletEvent<
|
|
357
|
+
Rebagged: GenericPalletEvent<'BagsList', 'Rebagged', { who: AccountId32; from: bigint; to: bigint }>;
|
|
362
358
|
|
|
363
359
|
/**
|
|
364
360
|
* Updated the score of some account to the given amount.
|
|
365
361
|
**/
|
|
366
|
-
ScoreUpdated: GenericPalletEvent<
|
|
362
|
+
ScoreUpdated: GenericPalletEvent<'BagsList', 'ScoreUpdated', { who: AccountId32; newScore: bigint }>;
|
|
367
363
|
|
|
368
364
|
/**
|
|
369
365
|
* Generic pallet event
|
|
370
366
|
**/
|
|
371
|
-
[prop: string]: GenericPalletEvent
|
|
367
|
+
[prop: string]: GenericPalletEvent;
|
|
372
368
|
};
|
|
373
369
|
/**
|
|
374
370
|
* Pallet `ImOnline`'s events
|
|
@@ -378,7 +374,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
378
374
|
* A new heartbeat was received from `AuthorityId`.
|
|
379
375
|
**/
|
|
380
376
|
HeartbeatReceived: GenericPalletEvent<
|
|
381
|
-
Rv,
|
|
382
377
|
'ImOnline',
|
|
383
378
|
'HeartbeatReceived',
|
|
384
379
|
{ authorityId: PalletImOnlineSr25519AppSr25519Public }
|
|
@@ -387,22 +382,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
387
382
|
/**
|
|
388
383
|
* At the end of the session, no offence was committed.
|
|
389
384
|
**/
|
|
390
|
-
AllGood: GenericPalletEvent<
|
|
385
|
+
AllGood: GenericPalletEvent<'ImOnline', 'AllGood', null>;
|
|
391
386
|
|
|
392
387
|
/**
|
|
393
388
|
* At the end of the session, at least one validator was found to be offline.
|
|
394
389
|
**/
|
|
395
|
-
SomeOffline: GenericPalletEvent<
|
|
396
|
-
Rv,
|
|
397
|
-
'ImOnline',
|
|
398
|
-
'SomeOffline',
|
|
399
|
-
{ offline: Array<[AccountId32, SpStakingExposure]> }
|
|
400
|
-
>;
|
|
390
|
+
SomeOffline: GenericPalletEvent<'ImOnline', 'SomeOffline', { offline: Array<[AccountId32, SpStakingExposure]> }>;
|
|
401
391
|
|
|
402
392
|
/**
|
|
403
393
|
* Generic pallet event
|
|
404
394
|
**/
|
|
405
|
-
[prop: string]: GenericPalletEvent
|
|
395
|
+
[prop: string]: GenericPalletEvent;
|
|
406
396
|
};
|
|
407
397
|
/**
|
|
408
398
|
* Pallet `Staking`'s events
|
|
@@ -412,18 +402,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
412
402
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
413
403
|
* the remainder from the maximum amount of reward.
|
|
414
404
|
**/
|
|
415
|
-
EraPaid: GenericPalletEvent<
|
|
416
|
-
Rv,
|
|
417
|
-
'Staking',
|
|
418
|
-
'EraPaid',
|
|
419
|
-
{ eraIndex: number; validatorPayout: bigint; remainder: bigint }
|
|
420
|
-
>;
|
|
405
|
+
EraPaid: GenericPalletEvent<'Staking', 'EraPaid', { eraIndex: number; validatorPayout: bigint; remainder: bigint }>;
|
|
421
406
|
|
|
422
407
|
/**
|
|
423
408
|
* The nominator has been rewarded by this amount to this destination.
|
|
424
409
|
**/
|
|
425
410
|
Rewarded: GenericPalletEvent<
|
|
426
|
-
Rv,
|
|
427
411
|
'Staking',
|
|
428
412
|
'Rewarded',
|
|
429
413
|
{ stash: AccountId32; dest: PalletStakingRewardDestination; amount: bigint }
|
|
@@ -432,14 +416,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
432
416
|
/**
|
|
433
417
|
* A staker (validator or nominator) has been slashed by the given amount.
|
|
434
418
|
**/
|
|
435
|
-
Slashed: GenericPalletEvent<
|
|
419
|
+
Slashed: GenericPalletEvent<'Staking', 'Slashed', { staker: AccountId32; amount: bigint }>;
|
|
436
420
|
|
|
437
421
|
/**
|
|
438
422
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
439
423
|
* era as been reported.
|
|
440
424
|
**/
|
|
441
425
|
SlashReported: GenericPalletEvent<
|
|
442
|
-
Rv,
|
|
443
426
|
'Staking',
|
|
444
427
|
'SlashReported',
|
|
445
428
|
{ validator: AccountId32; fraction: Perbill; slashEra: number }
|
|
@@ -449,17 +432,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
449
432
|
* An old slashing report from a prior era was discarded because it could
|
|
450
433
|
* not be processed.
|
|
451
434
|
**/
|
|
452
|
-
OldSlashingReportDiscarded: GenericPalletEvent<
|
|
453
|
-
Rv,
|
|
454
|
-
'Staking',
|
|
455
|
-
'OldSlashingReportDiscarded',
|
|
456
|
-
{ sessionIndex: number }
|
|
457
|
-
>;
|
|
435
|
+
OldSlashingReportDiscarded: GenericPalletEvent<'Staking', 'OldSlashingReportDiscarded', { sessionIndex: number }>;
|
|
458
436
|
|
|
459
437
|
/**
|
|
460
438
|
* A new set of stakers was elected.
|
|
461
439
|
**/
|
|
462
|
-
StakersElected: GenericPalletEvent<
|
|
440
|
+
StakersElected: GenericPalletEvent<'Staking', 'StakersElected', null>;
|
|
463
441
|
|
|
464
442
|
/**
|
|
465
443
|
* An account has bonded this amount. \[stash, amount\]
|
|
@@ -467,49 +445,43 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
467
445
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
468
446
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
469
447
|
**/
|
|
470
|
-
Bonded: GenericPalletEvent<
|
|
448
|
+
Bonded: GenericPalletEvent<'Staking', 'Bonded', { stash: AccountId32; amount: bigint }>;
|
|
471
449
|
|
|
472
450
|
/**
|
|
473
451
|
* An account has unbonded this amount.
|
|
474
452
|
**/
|
|
475
|
-
Unbonded: GenericPalletEvent<
|
|
453
|
+
Unbonded: GenericPalletEvent<'Staking', 'Unbonded', { stash: AccountId32; amount: bigint }>;
|
|
476
454
|
|
|
477
455
|
/**
|
|
478
456
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
479
457
|
* from the unlocking queue.
|
|
480
458
|
**/
|
|
481
|
-
Withdrawn: GenericPalletEvent<
|
|
459
|
+
Withdrawn: GenericPalletEvent<'Staking', 'Withdrawn', { stash: AccountId32; amount: bigint }>;
|
|
482
460
|
|
|
483
461
|
/**
|
|
484
462
|
* A nominator has been kicked from a validator.
|
|
485
463
|
**/
|
|
486
|
-
Kicked: GenericPalletEvent<
|
|
464
|
+
Kicked: GenericPalletEvent<'Staking', 'Kicked', { nominator: AccountId32; stash: AccountId32 }>;
|
|
487
465
|
|
|
488
466
|
/**
|
|
489
467
|
* The election failed. No new era is planned.
|
|
490
468
|
**/
|
|
491
|
-
StakingElectionFailed: GenericPalletEvent<
|
|
469
|
+
StakingElectionFailed: GenericPalletEvent<'Staking', 'StakingElectionFailed', null>;
|
|
492
470
|
|
|
493
471
|
/**
|
|
494
472
|
* An account has stopped participating as either a validator or nominator.
|
|
495
473
|
**/
|
|
496
|
-
Chilled: GenericPalletEvent<
|
|
474
|
+
Chilled: GenericPalletEvent<'Staking', 'Chilled', { stash: AccountId32 }>;
|
|
497
475
|
|
|
498
476
|
/**
|
|
499
477
|
* The stakers' rewards are getting paid.
|
|
500
478
|
**/
|
|
501
|
-
PayoutStarted: GenericPalletEvent<
|
|
502
|
-
Rv,
|
|
503
|
-
'Staking',
|
|
504
|
-
'PayoutStarted',
|
|
505
|
-
{ eraIndex: number; validatorStash: AccountId32 }
|
|
506
|
-
>;
|
|
479
|
+
PayoutStarted: GenericPalletEvent<'Staking', 'PayoutStarted', { eraIndex: number; validatorStash: AccountId32 }>;
|
|
507
480
|
|
|
508
481
|
/**
|
|
509
482
|
* A validator has set their preferences.
|
|
510
483
|
**/
|
|
511
484
|
ValidatorPrefsSet: GenericPalletEvent<
|
|
512
|
-
Rv,
|
|
513
485
|
'Staking',
|
|
514
486
|
'ValidatorPrefsSet',
|
|
515
487
|
{ stash: AccountId32; prefs: PalletStakingValidatorPrefs }
|
|
@@ -518,27 +490,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
518
490
|
/**
|
|
519
491
|
* Voters size limit reached.
|
|
520
492
|
**/
|
|
521
|
-
SnapshotVotersSizeExceeded: GenericPalletEvent<
|
|
493
|
+
SnapshotVotersSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotVotersSizeExceeded', { size: number }>;
|
|
522
494
|
|
|
523
495
|
/**
|
|
524
496
|
* Targets size limit reached.
|
|
525
497
|
**/
|
|
526
|
-
SnapshotTargetsSizeExceeded: GenericPalletEvent<
|
|
498
|
+
SnapshotTargetsSizeExceeded: GenericPalletEvent<'Staking', 'SnapshotTargetsSizeExceeded', { size: number }>;
|
|
527
499
|
|
|
528
500
|
/**
|
|
529
501
|
* A new force era mode was set.
|
|
530
502
|
**/
|
|
531
|
-
ForceEra: GenericPalletEvent<
|
|
503
|
+
ForceEra: GenericPalletEvent<'Staking', 'ForceEra', { mode: PalletStakingForcing }>;
|
|
532
504
|
|
|
533
505
|
/**
|
|
534
506
|
* Report of a controller batch deprecation.
|
|
535
507
|
**/
|
|
536
|
-
ControllerBatchDeprecated: GenericPalletEvent<
|
|
508
|
+
ControllerBatchDeprecated: GenericPalletEvent<'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
537
509
|
|
|
538
510
|
/**
|
|
539
511
|
* Generic pallet event
|
|
540
512
|
**/
|
|
541
|
-
[prop: string]: GenericPalletEvent
|
|
513
|
+
[prop: string]: GenericPalletEvent;
|
|
542
514
|
};
|
|
543
515
|
/**
|
|
544
516
|
* Pallet `Treasury`'s events
|
|
@@ -547,38 +519,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
547
519
|
/**
|
|
548
520
|
* We have ended a spend period and will now allocate funds.
|
|
549
521
|
**/
|
|
550
|
-
Spending: GenericPalletEvent<
|
|
522
|
+
Spending: GenericPalletEvent<'Treasury', 'Spending', { budgetRemaining: bigint }>;
|
|
551
523
|
|
|
552
524
|
/**
|
|
553
525
|
* Some funds have been allocated.
|
|
554
526
|
**/
|
|
555
|
-
Awarded: GenericPalletEvent<
|
|
556
|
-
Rv,
|
|
557
|
-
'Treasury',
|
|
558
|
-
'Awarded',
|
|
559
|
-
{ proposalIndex: number; award: bigint; account: AccountId32 }
|
|
560
|
-
>;
|
|
527
|
+
Awarded: GenericPalletEvent<'Treasury', 'Awarded', { proposalIndex: number; award: bigint; account: AccountId32 }>;
|
|
561
528
|
|
|
562
529
|
/**
|
|
563
530
|
* Some of our funds have been burnt.
|
|
564
531
|
**/
|
|
565
|
-
Burnt: GenericPalletEvent<
|
|
532
|
+
Burnt: GenericPalletEvent<'Treasury', 'Burnt', { burntFunds: bigint }>;
|
|
566
533
|
|
|
567
534
|
/**
|
|
568
535
|
* Spending has finished; this is the amount that rolls over until next spend.
|
|
569
536
|
**/
|
|
570
|
-
Rollover: GenericPalletEvent<
|
|
537
|
+
Rollover: GenericPalletEvent<'Treasury', 'Rollover', { rolloverBalance: bigint }>;
|
|
571
538
|
|
|
572
539
|
/**
|
|
573
540
|
* Some funds have been deposited.
|
|
574
541
|
**/
|
|
575
|
-
Deposit: GenericPalletEvent<
|
|
542
|
+
Deposit: GenericPalletEvent<'Treasury', 'Deposit', { value: bigint }>;
|
|
576
543
|
|
|
577
544
|
/**
|
|
578
545
|
* A new spend proposal has been approved.
|
|
579
546
|
**/
|
|
580
547
|
SpendApproved: GenericPalletEvent<
|
|
581
|
-
Rv,
|
|
582
548
|
'Treasury',
|
|
583
549
|
'SpendApproved',
|
|
584
550
|
{ proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
|
|
@@ -587,18 +553,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
587
553
|
/**
|
|
588
554
|
* The inactive funds of the pallet have been updated.
|
|
589
555
|
**/
|
|
590
|
-
UpdatedInactive: GenericPalletEvent<
|
|
591
|
-
Rv,
|
|
592
|
-
'Treasury',
|
|
593
|
-
'UpdatedInactive',
|
|
594
|
-
{ reactivated: bigint; deactivated: bigint }
|
|
595
|
-
>;
|
|
556
|
+
UpdatedInactive: GenericPalletEvent<'Treasury', 'UpdatedInactive', { reactivated: bigint; deactivated: bigint }>;
|
|
596
557
|
|
|
597
558
|
/**
|
|
598
559
|
* A new asset spend proposal has been approved.
|
|
599
560
|
**/
|
|
600
561
|
AssetSpendApproved: GenericPalletEvent<
|
|
601
|
-
Rv,
|
|
602
562
|
'Treasury',
|
|
603
563
|
'AssetSpendApproved',
|
|
604
564
|
{ index: number; assetKind: []; amount: bigint; beneficiary: AccountId32; validFrom: number; expireAt: number }
|
|
@@ -607,28 +567,28 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
607
567
|
/**
|
|
608
568
|
* An approved spend was voided.
|
|
609
569
|
**/
|
|
610
|
-
AssetSpendVoided: GenericPalletEvent<
|
|
570
|
+
AssetSpendVoided: GenericPalletEvent<'Treasury', 'AssetSpendVoided', { index: number }>;
|
|
611
571
|
|
|
612
572
|
/**
|
|
613
573
|
* A payment happened.
|
|
614
574
|
**/
|
|
615
|
-
Paid: GenericPalletEvent<
|
|
575
|
+
Paid: GenericPalletEvent<'Treasury', 'Paid', { index: number; paymentId: [] }>;
|
|
616
576
|
|
|
617
577
|
/**
|
|
618
578
|
* A payment failed and can be retried.
|
|
619
579
|
**/
|
|
620
|
-
PaymentFailed: GenericPalletEvent<
|
|
580
|
+
PaymentFailed: GenericPalletEvent<'Treasury', 'PaymentFailed', { index: number; paymentId: [] }>;
|
|
621
581
|
|
|
622
582
|
/**
|
|
623
583
|
* A spend was processed and removed from the storage. It might have been successfully
|
|
624
584
|
* paid or it may have expired.
|
|
625
585
|
**/
|
|
626
|
-
SpendProcessed: GenericPalletEvent<
|
|
586
|
+
SpendProcessed: GenericPalletEvent<'Treasury', 'SpendProcessed', { index: number }>;
|
|
627
587
|
|
|
628
588
|
/**
|
|
629
589
|
* Generic pallet event
|
|
630
590
|
**/
|
|
631
|
-
[prop: string]: GenericPalletEvent
|
|
591
|
+
[prop: string]: GenericPalletEvent;
|
|
632
592
|
};
|
|
633
593
|
/**
|
|
634
594
|
* Pallet `ConvictionVoting`'s events
|
|
@@ -637,18 +597,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
637
597
|
/**
|
|
638
598
|
* An account has delegated their vote to another account. \[who, target\]
|
|
639
599
|
**/
|
|
640
|
-
Delegated: GenericPalletEvent<
|
|
600
|
+
Delegated: GenericPalletEvent<'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
|
|
641
601
|
|
|
642
602
|
/**
|
|
643
603
|
* An \[account\] has cancelled a previous delegation operation.
|
|
644
604
|
**/
|
|
645
|
-
Undelegated: GenericPalletEvent<
|
|
605
|
+
Undelegated: GenericPalletEvent<'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
646
606
|
|
|
647
607
|
/**
|
|
648
608
|
* An account that has voted
|
|
649
609
|
**/
|
|
650
610
|
Voted: GenericPalletEvent<
|
|
651
|
-
Rv,
|
|
652
611
|
'ConvictionVoting',
|
|
653
612
|
'Voted',
|
|
654
613
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -658,7 +617,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
658
617
|
* A vote that been removed
|
|
659
618
|
**/
|
|
660
619
|
VoteRemoved: GenericPalletEvent<
|
|
661
|
-
Rv,
|
|
662
620
|
'ConvictionVoting',
|
|
663
621
|
'VoteRemoved',
|
|
664
622
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
@@ -667,7 +625,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
667
625
|
/**
|
|
668
626
|
* Generic pallet event
|
|
669
627
|
**/
|
|
670
|
-
[prop: string]: GenericPalletEvent
|
|
628
|
+
[prop: string]: GenericPalletEvent;
|
|
671
629
|
};
|
|
672
630
|
/**
|
|
673
631
|
* Pallet `Referenda`'s events
|
|
@@ -677,7 +635,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
677
635
|
* A referendum has been submitted.
|
|
678
636
|
**/
|
|
679
637
|
Submitted: GenericPalletEvent<
|
|
680
|
-
Rv,
|
|
681
638
|
'Referenda',
|
|
682
639
|
'Submitted',
|
|
683
640
|
{
|
|
@@ -702,7 +659,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
702
659
|
* The decision deposit has been placed.
|
|
703
660
|
**/
|
|
704
661
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
705
|
-
Rv,
|
|
706
662
|
'Referenda',
|
|
707
663
|
'DecisionDepositPlaced',
|
|
708
664
|
{
|
|
@@ -727,7 +683,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
727
683
|
* The decision deposit has been refunded.
|
|
728
684
|
**/
|
|
729
685
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
730
|
-
Rv,
|
|
731
686
|
'Referenda',
|
|
732
687
|
'DecisionDepositRefunded',
|
|
733
688
|
{
|
|
@@ -752,7 +707,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
752
707
|
* A deposit has been slashed.
|
|
753
708
|
**/
|
|
754
709
|
DepositSlashed: GenericPalletEvent<
|
|
755
|
-
Rv,
|
|
756
710
|
'Referenda',
|
|
757
711
|
'DepositSlashed',
|
|
758
712
|
{
|
|
@@ -772,7 +726,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
772
726
|
* A referendum has moved into the deciding phase.
|
|
773
727
|
**/
|
|
774
728
|
DecisionStarted: GenericPalletEvent<
|
|
775
|
-
Rv,
|
|
776
729
|
'Referenda',
|
|
777
730
|
'DecisionStarted',
|
|
778
731
|
{
|
|
@@ -798,7 +751,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
798
751
|
}
|
|
799
752
|
>;
|
|
800
753
|
ConfirmStarted: GenericPalletEvent<
|
|
801
|
-
Rv,
|
|
802
754
|
'Referenda',
|
|
803
755
|
'ConfirmStarted',
|
|
804
756
|
{
|
|
@@ -809,7 +761,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
809
761
|
}
|
|
810
762
|
>;
|
|
811
763
|
ConfirmAborted: GenericPalletEvent<
|
|
812
|
-
Rv,
|
|
813
764
|
'Referenda',
|
|
814
765
|
'ConfirmAborted',
|
|
815
766
|
{
|
|
@@ -824,7 +775,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
824
775
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
825
776
|
**/
|
|
826
777
|
Confirmed: GenericPalletEvent<
|
|
827
|
-
Rv,
|
|
828
778
|
'Referenda',
|
|
829
779
|
'Confirmed',
|
|
830
780
|
{
|
|
@@ -844,7 +794,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
844
794
|
* A referendum has been approved and its proposal has been scheduled.
|
|
845
795
|
**/
|
|
846
796
|
Approved: GenericPalletEvent<
|
|
847
|
-
Rv,
|
|
848
797
|
'Referenda',
|
|
849
798
|
'Approved',
|
|
850
799
|
{
|
|
@@ -859,7 +808,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
859
808
|
* A proposal has been rejected by referendum.
|
|
860
809
|
**/
|
|
861
810
|
Rejected: GenericPalletEvent<
|
|
862
|
-
Rv,
|
|
863
811
|
'Referenda',
|
|
864
812
|
'Rejected',
|
|
865
813
|
{
|
|
@@ -879,7 +827,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
879
827
|
* A referendum has been timed out without being decided.
|
|
880
828
|
**/
|
|
881
829
|
TimedOut: GenericPalletEvent<
|
|
882
|
-
Rv,
|
|
883
830
|
'Referenda',
|
|
884
831
|
'TimedOut',
|
|
885
832
|
{
|
|
@@ -899,7 +846,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
899
846
|
* A referendum has been cancelled.
|
|
900
847
|
**/
|
|
901
848
|
Cancelled: GenericPalletEvent<
|
|
902
|
-
Rv,
|
|
903
849
|
'Referenda',
|
|
904
850
|
'Cancelled',
|
|
905
851
|
{
|
|
@@ -919,7 +865,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
919
865
|
* A referendum has been killed.
|
|
920
866
|
**/
|
|
921
867
|
Killed: GenericPalletEvent<
|
|
922
|
-
Rv,
|
|
923
868
|
'Referenda',
|
|
924
869
|
'Killed',
|
|
925
870
|
{
|
|
@@ -939,7 +884,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
939
884
|
* The submission deposit has been refunded.
|
|
940
885
|
**/
|
|
941
886
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
942
|
-
Rv,
|
|
943
887
|
'Referenda',
|
|
944
888
|
'SubmissionDepositRefunded',
|
|
945
889
|
{
|
|
@@ -964,7 +908,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
964
908
|
* Metadata for a referendum has been set.
|
|
965
909
|
**/
|
|
966
910
|
MetadataSet: GenericPalletEvent<
|
|
967
|
-
Rv,
|
|
968
911
|
'Referenda',
|
|
969
912
|
'MetadataSet',
|
|
970
913
|
{
|
|
@@ -984,7 +927,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
984
927
|
* Metadata for a referendum has been cleared.
|
|
985
928
|
**/
|
|
986
929
|
MetadataCleared: GenericPalletEvent<
|
|
987
|
-
Rv,
|
|
988
930
|
'Referenda',
|
|
989
931
|
'MetadataCleared',
|
|
990
932
|
{
|
|
@@ -1003,7 +945,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1003
945
|
/**
|
|
1004
946
|
* Generic pallet event
|
|
1005
947
|
**/
|
|
1006
|
-
[prop: string]: GenericPalletEvent
|
|
948
|
+
[prop: string]: GenericPalletEvent;
|
|
1007
949
|
};
|
|
1008
950
|
/**
|
|
1009
951
|
* Pallet `FellowshipCollective`'s events
|
|
@@ -1012,24 +954,23 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1012
954
|
/**
|
|
1013
955
|
* A member `who` has been added.
|
|
1014
956
|
**/
|
|
1015
|
-
MemberAdded: GenericPalletEvent<
|
|
957
|
+
MemberAdded: GenericPalletEvent<'FellowshipCollective', 'MemberAdded', { who: AccountId32 }>;
|
|
1016
958
|
|
|
1017
959
|
/**
|
|
1018
960
|
* The member `who`se rank has been changed to the given `rank`.
|
|
1019
961
|
**/
|
|
1020
|
-
RankChanged: GenericPalletEvent<
|
|
962
|
+
RankChanged: GenericPalletEvent<'FellowshipCollective', 'RankChanged', { who: AccountId32; rank: number }>;
|
|
1021
963
|
|
|
1022
964
|
/**
|
|
1023
965
|
* The member `who` of given `rank` has been removed from the collective.
|
|
1024
966
|
**/
|
|
1025
|
-
MemberRemoved: GenericPalletEvent<
|
|
967
|
+
MemberRemoved: GenericPalletEvent<'FellowshipCollective', 'MemberRemoved', { who: AccountId32; rank: number }>;
|
|
1026
968
|
|
|
1027
969
|
/**
|
|
1028
970
|
* The member `who` has voted for the `poll` with the given `vote` leading to an updated
|
|
1029
971
|
* `tally`.
|
|
1030
972
|
**/
|
|
1031
973
|
Voted: GenericPalletEvent<
|
|
1032
|
-
Rv,
|
|
1033
974
|
'FellowshipCollective',
|
|
1034
975
|
'Voted',
|
|
1035
976
|
{ who: AccountId32; poll: number; vote: PalletRankedCollectiveVoteRecord; tally: PalletRankedCollectiveTally }
|
|
@@ -1039,7 +980,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1039
980
|
* The member `who` had their `AccountId` changed to `new_who`.
|
|
1040
981
|
**/
|
|
1041
982
|
MemberExchanged: GenericPalletEvent<
|
|
1042
|
-
Rv,
|
|
1043
983
|
'FellowshipCollective',
|
|
1044
984
|
'MemberExchanged',
|
|
1045
985
|
{ who: AccountId32; newWho: AccountId32 }
|
|
@@ -1048,7 +988,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1048
988
|
/**
|
|
1049
989
|
* Generic pallet event
|
|
1050
990
|
**/
|
|
1051
|
-
[prop: string]: GenericPalletEvent
|
|
991
|
+
[prop: string]: GenericPalletEvent;
|
|
1052
992
|
};
|
|
1053
993
|
/**
|
|
1054
994
|
* Pallet `FellowshipReferenda`'s events
|
|
@@ -1058,7 +998,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1058
998
|
* A referendum has been submitted.
|
|
1059
999
|
**/
|
|
1060
1000
|
Submitted: GenericPalletEvent<
|
|
1061
|
-
Rv,
|
|
1062
1001
|
'FellowshipReferenda',
|
|
1063
1002
|
'Submitted',
|
|
1064
1003
|
{
|
|
@@ -1083,7 +1022,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1083
1022
|
* The decision deposit has been placed.
|
|
1084
1023
|
**/
|
|
1085
1024
|
DecisionDepositPlaced: GenericPalletEvent<
|
|
1086
|
-
Rv,
|
|
1087
1025
|
'FellowshipReferenda',
|
|
1088
1026
|
'DecisionDepositPlaced',
|
|
1089
1027
|
{
|
|
@@ -1108,7 +1046,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1108
1046
|
* The decision deposit has been refunded.
|
|
1109
1047
|
**/
|
|
1110
1048
|
DecisionDepositRefunded: GenericPalletEvent<
|
|
1111
|
-
Rv,
|
|
1112
1049
|
'FellowshipReferenda',
|
|
1113
1050
|
'DecisionDepositRefunded',
|
|
1114
1051
|
{
|
|
@@ -1133,7 +1070,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1133
1070
|
* A deposit has been slashed.
|
|
1134
1071
|
**/
|
|
1135
1072
|
DepositSlashed: GenericPalletEvent<
|
|
1136
|
-
Rv,
|
|
1137
1073
|
'FellowshipReferenda',
|
|
1138
1074
|
'DepositSlashed',
|
|
1139
1075
|
{
|
|
@@ -1153,7 +1089,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1153
1089
|
* A referendum has moved into the deciding phase.
|
|
1154
1090
|
**/
|
|
1155
1091
|
DecisionStarted: GenericPalletEvent<
|
|
1156
|
-
Rv,
|
|
1157
1092
|
'FellowshipReferenda',
|
|
1158
1093
|
'DecisionStarted',
|
|
1159
1094
|
{
|
|
@@ -1179,7 +1114,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1179
1114
|
}
|
|
1180
1115
|
>;
|
|
1181
1116
|
ConfirmStarted: GenericPalletEvent<
|
|
1182
|
-
Rv,
|
|
1183
1117
|
'FellowshipReferenda',
|
|
1184
1118
|
'ConfirmStarted',
|
|
1185
1119
|
{
|
|
@@ -1190,7 +1124,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1190
1124
|
}
|
|
1191
1125
|
>;
|
|
1192
1126
|
ConfirmAborted: GenericPalletEvent<
|
|
1193
|
-
Rv,
|
|
1194
1127
|
'FellowshipReferenda',
|
|
1195
1128
|
'ConfirmAborted',
|
|
1196
1129
|
{
|
|
@@ -1205,7 +1138,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1205
1138
|
* A referendum has ended its confirmation phase and is ready for approval.
|
|
1206
1139
|
**/
|
|
1207
1140
|
Confirmed: GenericPalletEvent<
|
|
1208
|
-
Rv,
|
|
1209
1141
|
'FellowshipReferenda',
|
|
1210
1142
|
'Confirmed',
|
|
1211
1143
|
{
|
|
@@ -1225,7 +1157,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1225
1157
|
* A referendum has been approved and its proposal has been scheduled.
|
|
1226
1158
|
**/
|
|
1227
1159
|
Approved: GenericPalletEvent<
|
|
1228
|
-
Rv,
|
|
1229
1160
|
'FellowshipReferenda',
|
|
1230
1161
|
'Approved',
|
|
1231
1162
|
{
|
|
@@ -1240,7 +1171,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1240
1171
|
* A proposal has been rejected by referendum.
|
|
1241
1172
|
**/
|
|
1242
1173
|
Rejected: GenericPalletEvent<
|
|
1243
|
-
Rv,
|
|
1244
1174
|
'FellowshipReferenda',
|
|
1245
1175
|
'Rejected',
|
|
1246
1176
|
{
|
|
@@ -1260,7 +1190,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1260
1190
|
* A referendum has been timed out without being decided.
|
|
1261
1191
|
**/
|
|
1262
1192
|
TimedOut: GenericPalletEvent<
|
|
1263
|
-
Rv,
|
|
1264
1193
|
'FellowshipReferenda',
|
|
1265
1194
|
'TimedOut',
|
|
1266
1195
|
{
|
|
@@ -1280,7 +1209,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1280
1209
|
* A referendum has been cancelled.
|
|
1281
1210
|
**/
|
|
1282
1211
|
Cancelled: GenericPalletEvent<
|
|
1283
|
-
Rv,
|
|
1284
1212
|
'FellowshipReferenda',
|
|
1285
1213
|
'Cancelled',
|
|
1286
1214
|
{
|
|
@@ -1300,7 +1228,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1300
1228
|
* A referendum has been killed.
|
|
1301
1229
|
**/
|
|
1302
1230
|
Killed: GenericPalletEvent<
|
|
1303
|
-
Rv,
|
|
1304
1231
|
'FellowshipReferenda',
|
|
1305
1232
|
'Killed',
|
|
1306
1233
|
{
|
|
@@ -1320,7 +1247,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1320
1247
|
* The submission deposit has been refunded.
|
|
1321
1248
|
**/
|
|
1322
1249
|
SubmissionDepositRefunded: GenericPalletEvent<
|
|
1323
|
-
Rv,
|
|
1324
1250
|
'FellowshipReferenda',
|
|
1325
1251
|
'SubmissionDepositRefunded',
|
|
1326
1252
|
{
|
|
@@ -1345,7 +1271,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1345
1271
|
* Metadata for a referendum has been set.
|
|
1346
1272
|
**/
|
|
1347
1273
|
MetadataSet: GenericPalletEvent<
|
|
1348
|
-
Rv,
|
|
1349
1274
|
'FellowshipReferenda',
|
|
1350
1275
|
'MetadataSet',
|
|
1351
1276
|
{
|
|
@@ -1365,7 +1290,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1365
1290
|
* Metadata for a referendum has been cleared.
|
|
1366
1291
|
**/
|
|
1367
1292
|
MetadataCleared: GenericPalletEvent<
|
|
1368
|
-
Rv,
|
|
1369
1293
|
'FellowshipReferenda',
|
|
1370
1294
|
'MetadataCleared',
|
|
1371
1295
|
{
|
|
@@ -1384,16 +1308,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1384
1308
|
/**
|
|
1385
1309
|
* Generic pallet event
|
|
1386
1310
|
**/
|
|
1387
|
-
[prop: string]: GenericPalletEvent
|
|
1311
|
+
[prop: string]: GenericPalletEvent;
|
|
1388
1312
|
};
|
|
1389
1313
|
/**
|
|
1390
1314
|
* Pallet `Whitelist`'s events
|
|
1391
1315
|
**/
|
|
1392
1316
|
whitelist: {
|
|
1393
|
-
CallWhitelisted: GenericPalletEvent<
|
|
1394
|
-
WhitelistedCallRemoved: GenericPalletEvent<
|
|
1317
|
+
CallWhitelisted: GenericPalletEvent<'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
|
|
1318
|
+
WhitelistedCallRemoved: GenericPalletEvent<'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
|
|
1395
1319
|
WhitelistedCallDispatched: GenericPalletEvent<
|
|
1396
|
-
Rv,
|
|
1397
1320
|
'Whitelist',
|
|
1398
1321
|
'WhitelistedCallDispatched',
|
|
1399
1322
|
{ callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
|
|
@@ -1402,7 +1325,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1402
1325
|
/**
|
|
1403
1326
|
* Generic pallet event
|
|
1404
1327
|
**/
|
|
1405
|
-
[prop: string]: GenericPalletEvent
|
|
1328
|
+
[prop: string]: GenericPalletEvent;
|
|
1406
1329
|
};
|
|
1407
1330
|
/**
|
|
1408
1331
|
* Pallet `Scheduler`'s events
|
|
@@ -1411,18 +1334,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1411
1334
|
/**
|
|
1412
1335
|
* Scheduled some task.
|
|
1413
1336
|
**/
|
|
1414
|
-
Scheduled: GenericPalletEvent<
|
|
1337
|
+
Scheduled: GenericPalletEvent<'Scheduler', 'Scheduled', { when: number; index: number }>;
|
|
1415
1338
|
|
|
1416
1339
|
/**
|
|
1417
1340
|
* Canceled some task.
|
|
1418
1341
|
**/
|
|
1419
|
-
Canceled: GenericPalletEvent<
|
|
1342
|
+
Canceled: GenericPalletEvent<'Scheduler', 'Canceled', { when: number; index: number }>;
|
|
1420
1343
|
|
|
1421
1344
|
/**
|
|
1422
1345
|
* Dispatched some task.
|
|
1423
1346
|
**/
|
|
1424
1347
|
Dispatched: GenericPalletEvent<
|
|
1425
|
-
Rv,
|
|
1426
1348
|
'Scheduler',
|
|
1427
1349
|
'Dispatched',
|
|
1428
1350
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
|
|
@@ -1432,7 +1354,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1432
1354
|
* Set a retry configuration for some task.
|
|
1433
1355
|
**/
|
|
1434
1356
|
RetrySet: GenericPalletEvent<
|
|
1435
|
-
Rv,
|
|
1436
1357
|
'Scheduler',
|
|
1437
1358
|
'RetrySet',
|
|
1438
1359
|
{ task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
|
|
@@ -1442,7 +1363,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1442
1363
|
* Cancel a retry configuration for some task.
|
|
1443
1364
|
**/
|
|
1444
1365
|
RetryCancelled: GenericPalletEvent<
|
|
1445
|
-
Rv,
|
|
1446
1366
|
'Scheduler',
|
|
1447
1367
|
'RetryCancelled',
|
|
1448
1368
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1452,7 +1372,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1452
1372
|
* The call for the provided hash was not found so the task has been aborted.
|
|
1453
1373
|
**/
|
|
1454
1374
|
CallUnavailable: GenericPalletEvent<
|
|
1455
|
-
Rv,
|
|
1456
1375
|
'Scheduler',
|
|
1457
1376
|
'CallUnavailable',
|
|
1458
1377
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1462,7 +1381,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1462
1381
|
* The given task was unable to be renewed since the agenda is full at that block.
|
|
1463
1382
|
**/
|
|
1464
1383
|
PeriodicFailed: GenericPalletEvent<
|
|
1465
|
-
Rv,
|
|
1466
1384
|
'Scheduler',
|
|
1467
1385
|
'PeriodicFailed',
|
|
1468
1386
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1473,7 +1391,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1473
1391
|
* was not enough weight to reschedule it.
|
|
1474
1392
|
**/
|
|
1475
1393
|
RetryFailed: GenericPalletEvent<
|
|
1476
|
-
Rv,
|
|
1477
1394
|
'Scheduler',
|
|
1478
1395
|
'RetryFailed',
|
|
1479
1396
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1483,7 +1400,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1483
1400
|
* The given task can never be executed since it is overweight.
|
|
1484
1401
|
**/
|
|
1485
1402
|
PermanentlyOverweight: GenericPalletEvent<
|
|
1486
|
-
Rv,
|
|
1487
1403
|
'Scheduler',
|
|
1488
1404
|
'PermanentlyOverweight',
|
|
1489
1405
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
@@ -1492,7 +1408,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1492
1408
|
/**
|
|
1493
1409
|
* Generic pallet event
|
|
1494
1410
|
**/
|
|
1495
|
-
[prop: string]: GenericPalletEvent
|
|
1411
|
+
[prop: string]: GenericPalletEvent;
|
|
1496
1412
|
};
|
|
1497
1413
|
/**
|
|
1498
1414
|
* Pallet `Preimage`'s events
|
|
@@ -1501,22 +1417,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1501
1417
|
/**
|
|
1502
1418
|
* A preimage has been noted.
|
|
1503
1419
|
**/
|
|
1504
|
-
Noted: GenericPalletEvent<
|
|
1420
|
+
Noted: GenericPalletEvent<'Preimage', 'Noted', { hash: H256 }>;
|
|
1505
1421
|
|
|
1506
1422
|
/**
|
|
1507
1423
|
* A preimage has been requested.
|
|
1508
1424
|
**/
|
|
1509
|
-
Requested: GenericPalletEvent<
|
|
1425
|
+
Requested: GenericPalletEvent<'Preimage', 'Requested', { hash: H256 }>;
|
|
1510
1426
|
|
|
1511
1427
|
/**
|
|
1512
1428
|
* A preimage has ben cleared.
|
|
1513
1429
|
**/
|
|
1514
|
-
Cleared: GenericPalletEvent<
|
|
1430
|
+
Cleared: GenericPalletEvent<'Preimage', 'Cleared', { hash: H256 }>;
|
|
1515
1431
|
|
|
1516
1432
|
/**
|
|
1517
1433
|
* Generic pallet event
|
|
1518
1434
|
**/
|
|
1519
|
-
[prop: string]: GenericPalletEvent
|
|
1435
|
+
[prop: string]: GenericPalletEvent;
|
|
1520
1436
|
};
|
|
1521
1437
|
/**
|
|
1522
1438
|
* Pallet `Identity`'s events
|
|
@@ -1525,23 +1441,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1525
1441
|
/**
|
|
1526
1442
|
* A name was set or reset (which will remove all judgements).
|
|
1527
1443
|
**/
|
|
1528
|
-
IdentitySet: GenericPalletEvent<
|
|
1444
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', { who: AccountId32 }>;
|
|
1529
1445
|
|
|
1530
1446
|
/**
|
|
1531
1447
|
* A name was cleared, and the given balance returned.
|
|
1532
1448
|
**/
|
|
1533
|
-
IdentityCleared: GenericPalletEvent<
|
|
1449
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
|
|
1534
1450
|
|
|
1535
1451
|
/**
|
|
1536
1452
|
* A name was removed and the given balance slashed.
|
|
1537
1453
|
**/
|
|
1538
|
-
IdentityKilled: GenericPalletEvent<
|
|
1454
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
|
|
1539
1455
|
|
|
1540
1456
|
/**
|
|
1541
1457
|
* A judgement was asked from a registrar.
|
|
1542
1458
|
**/
|
|
1543
1459
|
JudgementRequested: GenericPalletEvent<
|
|
1544
|
-
Rv,
|
|
1545
1460
|
'Identity',
|
|
1546
1461
|
'JudgementRequested',
|
|
1547
1462
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -1551,7 +1466,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1551
1466
|
* A judgement request was retracted.
|
|
1552
1467
|
**/
|
|
1553
1468
|
JudgementUnrequested: GenericPalletEvent<
|
|
1554
|
-
Rv,
|
|
1555
1469
|
'Identity',
|
|
1556
1470
|
'JudgementUnrequested',
|
|
1557
1471
|
{ who: AccountId32; registrarIndex: number }
|
|
@@ -1560,23 +1474,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1560
1474
|
/**
|
|
1561
1475
|
* A judgement was given by a registrar.
|
|
1562
1476
|
**/
|
|
1563
|
-
JudgementGiven: GenericPalletEvent<
|
|
1564
|
-
Rv,
|
|
1565
|
-
'Identity',
|
|
1566
|
-
'JudgementGiven',
|
|
1567
|
-
{ target: AccountId32; registrarIndex: number }
|
|
1568
|
-
>;
|
|
1477
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', { target: AccountId32; registrarIndex: number }>;
|
|
1569
1478
|
|
|
1570
1479
|
/**
|
|
1571
1480
|
* A registrar was added.
|
|
1572
1481
|
**/
|
|
1573
|
-
RegistrarAdded: GenericPalletEvent<
|
|
1482
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', { registrarIndex: number }>;
|
|
1574
1483
|
|
|
1575
1484
|
/**
|
|
1576
1485
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1577
1486
|
**/
|
|
1578
1487
|
SubIdentityAdded: GenericPalletEvent<
|
|
1579
|
-
Rv,
|
|
1580
1488
|
'Identity',
|
|
1581
1489
|
'SubIdentityAdded',
|
|
1582
1490
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1586,7 +1494,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1586
1494
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
1587
1495
|
**/
|
|
1588
1496
|
SubIdentityRemoved: GenericPalletEvent<
|
|
1589
|
-
Rv,
|
|
1590
1497
|
'Identity',
|
|
1591
1498
|
'SubIdentityRemoved',
|
|
1592
1499
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1597,7 +1504,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1597
1504
|
* main identity account to the sub-identity account.
|
|
1598
1505
|
**/
|
|
1599
1506
|
SubIdentityRevoked: GenericPalletEvent<
|
|
1600
|
-
Rv,
|
|
1601
1507
|
'Identity',
|
|
1602
1508
|
'SubIdentityRevoked',
|
|
1603
1509
|
{ sub: AccountId32; main: AccountId32; deposit: bigint }
|
|
@@ -1606,23 +1512,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1606
1512
|
/**
|
|
1607
1513
|
* A username authority was added.
|
|
1608
1514
|
**/
|
|
1609
|
-
AuthorityAdded: GenericPalletEvent<
|
|
1515
|
+
AuthorityAdded: GenericPalletEvent<'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
|
|
1610
1516
|
|
|
1611
1517
|
/**
|
|
1612
1518
|
* A username authority was removed.
|
|
1613
1519
|
**/
|
|
1614
|
-
AuthorityRemoved: GenericPalletEvent<
|
|
1520
|
+
AuthorityRemoved: GenericPalletEvent<'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
|
|
1615
1521
|
|
|
1616
1522
|
/**
|
|
1617
1523
|
* A username was set for `who`.
|
|
1618
1524
|
**/
|
|
1619
|
-
UsernameSet: GenericPalletEvent<
|
|
1525
|
+
UsernameSet: GenericPalletEvent<'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
|
|
1620
1526
|
|
|
1621
1527
|
/**
|
|
1622
1528
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
1623
1529
|
**/
|
|
1624
1530
|
UsernameQueued: GenericPalletEvent<
|
|
1625
|
-
Rv,
|
|
1626
1531
|
'Identity',
|
|
1627
1532
|
'UsernameQueued',
|
|
1628
1533
|
{ who: AccountId32; username: Bytes; expiration: number }
|
|
@@ -1631,19 +1536,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1631
1536
|
/**
|
|
1632
1537
|
* A queued username passed its expiration without being claimed and was removed.
|
|
1633
1538
|
**/
|
|
1634
|
-
PreapprovalExpired: GenericPalletEvent<
|
|
1539
|
+
PreapprovalExpired: GenericPalletEvent<'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
|
|
1635
1540
|
|
|
1636
1541
|
/**
|
|
1637
1542
|
* A username was set as a primary and can be looked up from `who`.
|
|
1638
1543
|
**/
|
|
1639
|
-
PrimaryUsernameSet: GenericPalletEvent<
|
|
1544
|
+
PrimaryUsernameSet: GenericPalletEvent<'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
|
|
1640
1545
|
|
|
1641
1546
|
/**
|
|
1642
1547
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
1643
1548
|
* identity) has been removed.
|
|
1644
1549
|
**/
|
|
1645
1550
|
DanglingUsernameRemoved: GenericPalletEvent<
|
|
1646
|
-
Rv,
|
|
1647
1551
|
'Identity',
|
|
1648
1552
|
'DanglingUsernameRemoved',
|
|
1649
1553
|
{ who: AccountId32; username: Bytes }
|
|
@@ -1652,7 +1556,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1652
1556
|
/**
|
|
1653
1557
|
* Generic pallet event
|
|
1654
1558
|
**/
|
|
1655
|
-
[prop: string]: GenericPalletEvent
|
|
1559
|
+
[prop: string]: GenericPalletEvent;
|
|
1656
1560
|
};
|
|
1657
1561
|
/**
|
|
1658
1562
|
* Pallet `Proxy`'s events
|
|
@@ -1661,14 +1565,13 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1661
1565
|
/**
|
|
1662
1566
|
* A proxy was executed correctly, with the given.
|
|
1663
1567
|
**/
|
|
1664
|
-
ProxyExecuted: GenericPalletEvent<
|
|
1568
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
|
|
1665
1569
|
|
|
1666
1570
|
/**
|
|
1667
1571
|
* A pure account has been created by new proxy with given
|
|
1668
1572
|
* disambiguation index and proxy type.
|
|
1669
1573
|
**/
|
|
1670
1574
|
PureCreated: GenericPalletEvent<
|
|
1671
|
-
Rv,
|
|
1672
1575
|
'Proxy',
|
|
1673
1576
|
'PureCreated',
|
|
1674
1577
|
{ pure: AccountId32; who: AccountId32; proxyType: VaraRuntimeProxyType; disambiguationIndex: number }
|
|
@@ -1677,13 +1580,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1677
1580
|
/**
|
|
1678
1581
|
* An announcement was placed to make a call in the future.
|
|
1679
1582
|
**/
|
|
1680
|
-
Announced: GenericPalletEvent<
|
|
1583
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
|
|
1681
1584
|
|
|
1682
1585
|
/**
|
|
1683
1586
|
* A proxy was added.
|
|
1684
1587
|
**/
|
|
1685
1588
|
ProxyAdded: GenericPalletEvent<
|
|
1686
|
-
Rv,
|
|
1687
1589
|
'Proxy',
|
|
1688
1590
|
'ProxyAdded',
|
|
1689
1591
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: VaraRuntimeProxyType; delay: number }
|
|
@@ -1693,7 +1595,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1693
1595
|
* A proxy was removed.
|
|
1694
1596
|
**/
|
|
1695
1597
|
ProxyRemoved: GenericPalletEvent<
|
|
1696
|
-
Rv,
|
|
1697
1598
|
'Proxy',
|
|
1698
1599
|
'ProxyRemoved',
|
|
1699
1600
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: VaraRuntimeProxyType; delay: number }
|
|
@@ -1702,7 +1603,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1702
1603
|
/**
|
|
1703
1604
|
* Generic pallet event
|
|
1704
1605
|
**/
|
|
1705
|
-
[prop: string]: GenericPalletEvent
|
|
1606
|
+
[prop: string]: GenericPalletEvent;
|
|
1706
1607
|
};
|
|
1707
1608
|
/**
|
|
1708
1609
|
* Pallet `Multisig`'s events
|
|
@@ -1712,7 +1613,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1712
1613
|
* A new multisig operation has begun.
|
|
1713
1614
|
**/
|
|
1714
1615
|
NewMultisig: GenericPalletEvent<
|
|
1715
|
-
Rv,
|
|
1716
1616
|
'Multisig',
|
|
1717
1617
|
'NewMultisig',
|
|
1718
1618
|
{ approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1722,7 +1622,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1722
1622
|
* A multisig operation has been approved by someone.
|
|
1723
1623
|
**/
|
|
1724
1624
|
MultisigApproval: GenericPalletEvent<
|
|
1725
|
-
Rv,
|
|
1726
1625
|
'Multisig',
|
|
1727
1626
|
'MultisigApproval',
|
|
1728
1627
|
{ approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1732,7 +1631,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1732
1631
|
* A multisig operation has been executed.
|
|
1733
1632
|
**/
|
|
1734
1633
|
MultisigExecuted: GenericPalletEvent<
|
|
1735
|
-
Rv,
|
|
1736
1634
|
'Multisig',
|
|
1737
1635
|
'MultisigExecuted',
|
|
1738
1636
|
{
|
|
@@ -1748,7 +1646,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1748
1646
|
* A multisig operation has been cancelled.
|
|
1749
1647
|
**/
|
|
1750
1648
|
MultisigCancelled: GenericPalletEvent<
|
|
1751
|
-
Rv,
|
|
1752
1649
|
'Multisig',
|
|
1753
1650
|
'MultisigCancelled',
|
|
1754
1651
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
@@ -1757,7 +1654,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1757
1654
|
/**
|
|
1758
1655
|
* Generic pallet event
|
|
1759
1656
|
**/
|
|
1760
|
-
[prop: string]: GenericPalletEvent
|
|
1657
|
+
[prop: string]: GenericPalletEvent;
|
|
1761
1658
|
};
|
|
1762
1659
|
/**
|
|
1763
1660
|
* Pallet `ElectionProviderMultiPhase`'s events
|
|
@@ -1773,7 +1670,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1773
1670
|
* room for this one.
|
|
1774
1671
|
**/
|
|
1775
1672
|
SolutionStored: GenericPalletEvent<
|
|
1776
|
-
Rv,
|
|
1777
1673
|
'ElectionProviderMultiPhase',
|
|
1778
1674
|
'SolutionStored',
|
|
1779
1675
|
{
|
|
@@ -1787,7 +1683,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1787
1683
|
* The election has been finalized, with the given computation and score.
|
|
1788
1684
|
**/
|
|
1789
1685
|
ElectionFinalized: GenericPalletEvent<
|
|
1790
|
-
Rv,
|
|
1791
1686
|
'ElectionProviderMultiPhase',
|
|
1792
1687
|
'ElectionFinalized',
|
|
1793
1688
|
{ compute: PalletElectionProviderMultiPhaseElectionCompute; score: SpNposElectionsElectionScore }
|
|
@@ -1798,23 +1693,22 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1798
1693
|
*
|
|
1799
1694
|
* Not much can be said about which computes failed in the process.
|
|
1800
1695
|
**/
|
|
1801
|
-
ElectionFailed: GenericPalletEvent<
|
|
1696
|
+
ElectionFailed: GenericPalletEvent<'ElectionProviderMultiPhase', 'ElectionFailed', null>;
|
|
1802
1697
|
|
|
1803
1698
|
/**
|
|
1804
1699
|
* An account has been rewarded for their signed submission being finalized.
|
|
1805
1700
|
**/
|
|
1806
|
-
Rewarded: GenericPalletEvent<
|
|
1701
|
+
Rewarded: GenericPalletEvent<'ElectionProviderMultiPhase', 'Rewarded', { account: AccountId32; value: bigint }>;
|
|
1807
1702
|
|
|
1808
1703
|
/**
|
|
1809
1704
|
* An account has been slashed for submitting an invalid signed submission.
|
|
1810
1705
|
**/
|
|
1811
|
-
Slashed: GenericPalletEvent<
|
|
1706
|
+
Slashed: GenericPalletEvent<'ElectionProviderMultiPhase', 'Slashed', { account: AccountId32; value: bigint }>;
|
|
1812
1707
|
|
|
1813
1708
|
/**
|
|
1814
1709
|
* There was a phase transition in a given round.
|
|
1815
1710
|
**/
|
|
1816
1711
|
PhaseTransitioned: GenericPalletEvent<
|
|
1817
|
-
Rv,
|
|
1818
1712
|
'ElectionProviderMultiPhase',
|
|
1819
1713
|
'PhaseTransitioned',
|
|
1820
1714
|
{ from: PalletElectionProviderMultiPhasePhase; to: PalletElectionProviderMultiPhasePhase; round: number }
|
|
@@ -1823,7 +1717,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1823
1717
|
/**
|
|
1824
1718
|
* Generic pallet event
|
|
1825
1719
|
**/
|
|
1826
|
-
[prop: string]: GenericPalletEvent
|
|
1720
|
+
[prop: string]: GenericPalletEvent;
|
|
1827
1721
|
};
|
|
1828
1722
|
/**
|
|
1829
1723
|
* Pallet `Offences`'s events
|
|
@@ -1834,12 +1728,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1834
1728
|
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
1835
1729
|
* \[kind, timeslot\].
|
|
1836
1730
|
**/
|
|
1837
|
-
Offence: GenericPalletEvent<
|
|
1731
|
+
Offence: GenericPalletEvent<'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
|
|
1838
1732
|
|
|
1839
1733
|
/**
|
|
1840
1734
|
* Generic pallet event
|
|
1841
1735
|
**/
|
|
1842
|
-
[prop: string]: GenericPalletEvent
|
|
1736
|
+
[prop: string]: GenericPalletEvent;
|
|
1843
1737
|
};
|
|
1844
1738
|
/**
|
|
1845
1739
|
* Pallet `Bounties`'s events
|
|
@@ -1848,28 +1742,27 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1848
1742
|
/**
|
|
1849
1743
|
* New bounty proposal.
|
|
1850
1744
|
**/
|
|
1851
|
-
BountyProposed: GenericPalletEvent<
|
|
1745
|
+
BountyProposed: GenericPalletEvent<'Bounties', 'BountyProposed', { index: number }>;
|
|
1852
1746
|
|
|
1853
1747
|
/**
|
|
1854
1748
|
* A bounty proposal was rejected; funds were slashed.
|
|
1855
1749
|
**/
|
|
1856
|
-
BountyRejected: GenericPalletEvent<
|
|
1750
|
+
BountyRejected: GenericPalletEvent<'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
|
|
1857
1751
|
|
|
1858
1752
|
/**
|
|
1859
1753
|
* A bounty proposal is funded and became active.
|
|
1860
1754
|
**/
|
|
1861
|
-
BountyBecameActive: GenericPalletEvent<
|
|
1755
|
+
BountyBecameActive: GenericPalletEvent<'Bounties', 'BountyBecameActive', { index: number }>;
|
|
1862
1756
|
|
|
1863
1757
|
/**
|
|
1864
1758
|
* A bounty is awarded to a beneficiary.
|
|
1865
1759
|
**/
|
|
1866
|
-
BountyAwarded: GenericPalletEvent<
|
|
1760
|
+
BountyAwarded: GenericPalletEvent<'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
|
|
1867
1761
|
|
|
1868
1762
|
/**
|
|
1869
1763
|
* A bounty is claimed by beneficiary.
|
|
1870
1764
|
**/
|
|
1871
1765
|
BountyClaimed: GenericPalletEvent<
|
|
1872
|
-
Rv,
|
|
1873
1766
|
'Bounties',
|
|
1874
1767
|
'BountyClaimed',
|
|
1875
1768
|
{ index: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -1878,37 +1771,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1878
1771
|
/**
|
|
1879
1772
|
* A bounty is cancelled.
|
|
1880
1773
|
**/
|
|
1881
|
-
BountyCanceled: GenericPalletEvent<
|
|
1774
|
+
BountyCanceled: GenericPalletEvent<'Bounties', 'BountyCanceled', { index: number }>;
|
|
1882
1775
|
|
|
1883
1776
|
/**
|
|
1884
1777
|
* A bounty expiry is extended.
|
|
1885
1778
|
**/
|
|
1886
|
-
BountyExtended: GenericPalletEvent<
|
|
1779
|
+
BountyExtended: GenericPalletEvent<'Bounties', 'BountyExtended', { index: number }>;
|
|
1887
1780
|
|
|
1888
1781
|
/**
|
|
1889
1782
|
* A bounty is approved.
|
|
1890
1783
|
**/
|
|
1891
|
-
BountyApproved: GenericPalletEvent<
|
|
1784
|
+
BountyApproved: GenericPalletEvent<'Bounties', 'BountyApproved', { index: number }>;
|
|
1892
1785
|
|
|
1893
1786
|
/**
|
|
1894
1787
|
* A bounty curator is proposed.
|
|
1895
1788
|
**/
|
|
1896
|
-
CuratorProposed: GenericPalletEvent<
|
|
1789
|
+
CuratorProposed: GenericPalletEvent<'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
|
|
1897
1790
|
|
|
1898
1791
|
/**
|
|
1899
1792
|
* A bounty curator is unassigned.
|
|
1900
1793
|
**/
|
|
1901
|
-
CuratorUnassigned: GenericPalletEvent<
|
|
1794
|
+
CuratorUnassigned: GenericPalletEvent<'Bounties', 'CuratorUnassigned', { bountyId: number }>;
|
|
1902
1795
|
|
|
1903
1796
|
/**
|
|
1904
1797
|
* A bounty curator is accepted.
|
|
1905
1798
|
**/
|
|
1906
|
-
CuratorAccepted: GenericPalletEvent<
|
|
1799
|
+
CuratorAccepted: GenericPalletEvent<'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
|
|
1907
1800
|
|
|
1908
1801
|
/**
|
|
1909
1802
|
* Generic pallet event
|
|
1910
1803
|
**/
|
|
1911
|
-
[prop: string]: GenericPalletEvent
|
|
1804
|
+
[prop: string]: GenericPalletEvent;
|
|
1912
1805
|
};
|
|
1913
1806
|
/**
|
|
1914
1807
|
* Pallet `ChildBounties`'s events
|
|
@@ -1917,13 +1810,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1917
1810
|
/**
|
|
1918
1811
|
* A child-bounty is added.
|
|
1919
1812
|
**/
|
|
1920
|
-
Added: GenericPalletEvent<
|
|
1813
|
+
Added: GenericPalletEvent<'ChildBounties', 'Added', { index: number; childIndex: number }>;
|
|
1921
1814
|
|
|
1922
1815
|
/**
|
|
1923
1816
|
* A child-bounty is awarded to a beneficiary.
|
|
1924
1817
|
**/
|
|
1925
1818
|
Awarded: GenericPalletEvent<
|
|
1926
|
-
Rv,
|
|
1927
1819
|
'ChildBounties',
|
|
1928
1820
|
'Awarded',
|
|
1929
1821
|
{ index: number; childIndex: number; beneficiary: AccountId32 }
|
|
@@ -1933,7 +1825,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1933
1825
|
* A child-bounty is claimed by beneficiary.
|
|
1934
1826
|
**/
|
|
1935
1827
|
Claimed: GenericPalletEvent<
|
|
1936
|
-
Rv,
|
|
1937
1828
|
'ChildBounties',
|
|
1938
1829
|
'Claimed',
|
|
1939
1830
|
{ index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
|
|
@@ -1942,12 +1833,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1942
1833
|
/**
|
|
1943
1834
|
* A child-bounty is cancelled.
|
|
1944
1835
|
**/
|
|
1945
|
-
Canceled: GenericPalletEvent<
|
|
1836
|
+
Canceled: GenericPalletEvent<'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
|
|
1946
1837
|
|
|
1947
1838
|
/**
|
|
1948
1839
|
* Generic pallet event
|
|
1949
1840
|
**/
|
|
1950
|
-
[prop: string]: GenericPalletEvent
|
|
1841
|
+
[prop: string]: GenericPalletEvent;
|
|
1951
1842
|
};
|
|
1952
1843
|
/**
|
|
1953
1844
|
* Pallet `NominationPools`'s events
|
|
@@ -1956,13 +1847,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1956
1847
|
/**
|
|
1957
1848
|
* A pool has been created.
|
|
1958
1849
|
**/
|
|
1959
|
-
Created: GenericPalletEvent<
|
|
1850
|
+
Created: GenericPalletEvent<'NominationPools', 'Created', { depositor: AccountId32; poolId: number }>;
|
|
1960
1851
|
|
|
1961
1852
|
/**
|
|
1962
1853
|
* A member has became bonded in a pool.
|
|
1963
1854
|
**/
|
|
1964
1855
|
Bonded: GenericPalletEvent<
|
|
1965
|
-
Rv,
|
|
1966
1856
|
'NominationPools',
|
|
1967
1857
|
'Bonded',
|
|
1968
1858
|
{ member: AccountId32; poolId: number; bonded: bigint; joined: boolean }
|
|
@@ -1971,12 +1861,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1971
1861
|
/**
|
|
1972
1862
|
* A payout has been made to a member.
|
|
1973
1863
|
**/
|
|
1974
|
-
PaidOut: GenericPalletEvent<
|
|
1975
|
-
Rv,
|
|
1976
|
-
'NominationPools',
|
|
1977
|
-
'PaidOut',
|
|
1978
|
-
{ member: AccountId32; poolId: number; payout: bigint }
|
|
1979
|
-
>;
|
|
1864
|
+
PaidOut: GenericPalletEvent<'NominationPools', 'PaidOut', { member: AccountId32; poolId: number; payout: bigint }>;
|
|
1980
1865
|
|
|
1981
1866
|
/**
|
|
1982
1867
|
* A member has unbonded from their pool.
|
|
@@ -1992,7 +1877,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1992
1877
|
* requested to be unbonded.
|
|
1993
1878
|
**/
|
|
1994
1879
|
Unbonded: GenericPalletEvent<
|
|
1995
|
-
Rv,
|
|
1996
1880
|
'NominationPools',
|
|
1997
1881
|
'Unbonded',
|
|
1998
1882
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint; era: number }
|
|
@@ -2007,7 +1891,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2007
1891
|
* will be 1.
|
|
2008
1892
|
**/
|
|
2009
1893
|
Withdrawn: GenericPalletEvent<
|
|
2010
|
-
Rv,
|
|
2011
1894
|
'NominationPools',
|
|
2012
1895
|
'Withdrawn',
|
|
2013
1896
|
{ member: AccountId32; poolId: number; balance: bigint; points: bigint }
|
|
@@ -2016,13 +1899,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2016
1899
|
/**
|
|
2017
1900
|
* A pool has been destroyed.
|
|
2018
1901
|
**/
|
|
2019
|
-
Destroyed: GenericPalletEvent<
|
|
1902
|
+
Destroyed: GenericPalletEvent<'NominationPools', 'Destroyed', { poolId: number }>;
|
|
2020
1903
|
|
|
2021
1904
|
/**
|
|
2022
1905
|
* The state of a pool has changed
|
|
2023
1906
|
**/
|
|
2024
1907
|
StateChanged: GenericPalletEvent<
|
|
2025
|
-
Rv,
|
|
2026
1908
|
'NominationPools',
|
|
2027
1909
|
'StateChanged',
|
|
2028
1910
|
{ poolId: number; newState: PalletNominationPoolsPoolState }
|
|
@@ -2036,7 +1918,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2036
1918
|
* represented by `released_balance`.
|
|
2037
1919
|
**/
|
|
2038
1920
|
MemberRemoved: GenericPalletEvent<
|
|
2039
|
-
Rv,
|
|
2040
1921
|
'NominationPools',
|
|
2041
1922
|
'MemberRemoved',
|
|
2042
1923
|
{ poolId: number; member: AccountId32; releasedBalance: bigint }
|
|
@@ -2047,7 +1928,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2047
1928
|
* can never change.
|
|
2048
1929
|
**/
|
|
2049
1930
|
RolesUpdated: GenericPalletEvent<
|
|
2050
|
-
Rv,
|
|
2051
1931
|
'NominationPools',
|
|
2052
1932
|
'RolesUpdated',
|
|
2053
1933
|
{ root?: AccountId32 | undefined; bouncer?: AccountId32 | undefined; nominator?: AccountId32 | undefined }
|
|
@@ -2056,13 +1936,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2056
1936
|
/**
|
|
2057
1937
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
2058
1938
|
**/
|
|
2059
|
-
PoolSlashed: GenericPalletEvent<
|
|
1939
|
+
PoolSlashed: GenericPalletEvent<'NominationPools', 'PoolSlashed', { poolId: number; balance: bigint }>;
|
|
2060
1940
|
|
|
2061
1941
|
/**
|
|
2062
1942
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
|
2063
1943
|
**/
|
|
2064
1944
|
UnbondingPoolSlashed: GenericPalletEvent<
|
|
2065
|
-
Rv,
|
|
2066
1945
|
'NominationPools',
|
|
2067
1946
|
'UnbondingPoolSlashed',
|
|
2068
1947
|
{ poolId: number; era: number; balance: bigint }
|
|
@@ -2072,7 +1951,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2072
1951
|
* A pool's commission setting has been changed.
|
|
2073
1952
|
**/
|
|
2074
1953
|
PoolCommissionUpdated: GenericPalletEvent<
|
|
2075
|
-
Rv,
|
|
2076
1954
|
'NominationPools',
|
|
2077
1955
|
'PoolCommissionUpdated',
|
|
2078
1956
|
{ poolId: number; current?: [Perbill, AccountId32] | undefined }
|
|
@@ -2082,7 +1960,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2082
1960
|
* A pool's maximum commission setting has been changed.
|
|
2083
1961
|
**/
|
|
2084
1962
|
PoolMaxCommissionUpdated: GenericPalletEvent<
|
|
2085
|
-
Rv,
|
|
2086
1963
|
'NominationPools',
|
|
2087
1964
|
'PoolMaxCommissionUpdated',
|
|
2088
1965
|
{ poolId: number; maxCommission: Perbill }
|
|
@@ -2092,7 +1969,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2092
1969
|
* A pool's commission `change_rate` has been changed.
|
|
2093
1970
|
**/
|
|
2094
1971
|
PoolCommissionChangeRateUpdated: GenericPalletEvent<
|
|
2095
|
-
Rv,
|
|
2096
1972
|
'NominationPools',
|
|
2097
1973
|
'PoolCommissionChangeRateUpdated',
|
|
2098
1974
|
{ poolId: number; changeRate: PalletNominationPoolsCommissionChangeRate }
|
|
@@ -2102,7 +1978,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2102
1978
|
* Pool commission claim permission has been updated.
|
|
2103
1979
|
**/
|
|
2104
1980
|
PoolCommissionClaimPermissionUpdated: GenericPalletEvent<
|
|
2105
|
-
Rv,
|
|
2106
1981
|
'NominationPools',
|
|
2107
1982
|
'PoolCommissionClaimPermissionUpdated',
|
|
2108
1983
|
{ poolId: number; permission?: PalletNominationPoolsCommissionClaimPermission | undefined }
|
|
@@ -2112,7 +1987,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2112
1987
|
* Pool commission has been claimed.
|
|
2113
1988
|
**/
|
|
2114
1989
|
PoolCommissionClaimed: GenericPalletEvent<
|
|
2115
|
-
Rv,
|
|
2116
1990
|
'NominationPools',
|
|
2117
1991
|
'PoolCommissionClaimed',
|
|
2118
1992
|
{ poolId: number; commission: bigint }
|
|
@@ -2122,7 +1996,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2122
1996
|
* Topped up deficit in frozen ED of the reward pool.
|
|
2123
1997
|
**/
|
|
2124
1998
|
MinBalanceDeficitAdjusted: GenericPalletEvent<
|
|
2125
|
-
Rv,
|
|
2126
1999
|
'NominationPools',
|
|
2127
2000
|
'MinBalanceDeficitAdjusted',
|
|
2128
2001
|
{ poolId: number; amount: bigint }
|
|
@@ -2132,7 +2005,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2132
2005
|
* Claimed excess frozen ED of af the reward pool.
|
|
2133
2006
|
**/
|
|
2134
2007
|
MinBalanceExcessAdjusted: GenericPalletEvent<
|
|
2135
|
-
Rv,
|
|
2136
2008
|
'NominationPools',
|
|
2137
2009
|
'MinBalanceExcessAdjusted',
|
|
2138
2010
|
{ poolId: number; amount: bigint }
|
|
@@ -2141,7 +2013,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2141
2013
|
/**
|
|
2142
2014
|
* Generic pallet event
|
|
2143
2015
|
**/
|
|
2144
|
-
[prop: string]: GenericPalletEvent
|
|
2016
|
+
[prop: string]: GenericPalletEvent;
|
|
2145
2017
|
};
|
|
2146
2018
|
/**
|
|
2147
2019
|
* Pallet `Gear`'s events
|
|
@@ -2152,7 +2024,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2152
2024
|
* added to the Gear message queue.
|
|
2153
2025
|
**/
|
|
2154
2026
|
MessageQueued: GenericPalletEvent<
|
|
2155
|
-
Rv,
|
|
2156
2027
|
'Gear',
|
|
2157
2028
|
'MessageQueued',
|
|
2158
2029
|
{
|
|
@@ -2184,7 +2055,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2184
2055
|
* Somebody sent a message to the user.
|
|
2185
2056
|
**/
|
|
2186
2057
|
UserMessageSent: GenericPalletEvent<
|
|
2187
|
-
Rv,
|
|
2188
2058
|
'Gear',
|
|
2189
2059
|
'UserMessageSent',
|
|
2190
2060
|
{
|
|
@@ -2213,7 +2083,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2213
2083
|
* already inserted in `Mailbox`.
|
|
2214
2084
|
**/
|
|
2215
2085
|
UserMessageRead: GenericPalletEvent<
|
|
2216
|
-
Rv,
|
|
2217
2086
|
'Gear',
|
|
2218
2087
|
'UserMessageRead',
|
|
2219
2088
|
{
|
|
@@ -2235,7 +2104,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2235
2104
|
* The result of processing the messages within the block.
|
|
2236
2105
|
**/
|
|
2237
2106
|
MessagesDispatched: GenericPalletEvent<
|
|
2238
|
-
Rv,
|
|
2239
2107
|
'Gear',
|
|
2240
2108
|
'MessagesDispatched',
|
|
2241
2109
|
{
|
|
@@ -2262,7 +2130,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2262
2130
|
* added to gear waitlist.
|
|
2263
2131
|
**/
|
|
2264
2132
|
MessageWaited: GenericPalletEvent<
|
|
2265
|
-
Rv,
|
|
2266
2133
|
'Gear',
|
|
2267
2134
|
'MessageWaited',
|
|
2268
2135
|
{
|
|
@@ -2302,7 +2169,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2302
2169
|
* and was removed from `Waitlist`.
|
|
2303
2170
|
**/
|
|
2304
2171
|
MessageWoken: GenericPalletEvent<
|
|
2305
|
-
Rv,
|
|
2306
2172
|
'Gear',
|
|
2307
2173
|
'MessageWoken',
|
|
2308
2174
|
{
|
|
@@ -2324,7 +2190,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2324
2190
|
* Any data related to program codes changed.
|
|
2325
2191
|
**/
|
|
2326
2192
|
CodeChanged: GenericPalletEvent<
|
|
2327
|
-
Rv,
|
|
2328
2193
|
'Gear',
|
|
2329
2194
|
'CodeChanged',
|
|
2330
2195
|
{
|
|
@@ -2346,7 +2211,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2346
2211
|
* Any data related to programs changed.
|
|
2347
2212
|
**/
|
|
2348
2213
|
ProgramChanged: GenericPalletEvent<
|
|
2349
|
-
Rv,
|
|
2350
2214
|
'Gear',
|
|
2351
2215
|
'ProgramChanged',
|
|
2352
2216
|
{
|
|
@@ -2367,12 +2231,12 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2367
2231
|
/**
|
|
2368
2232
|
* The pseudo-inherent extrinsic that runs queue processing rolled back or not executed.
|
|
2369
2233
|
**/
|
|
2370
|
-
QueueNotProcessed: GenericPalletEvent<
|
|
2234
|
+
QueueNotProcessed: GenericPalletEvent<'Gear', 'QueueNotProcessed', null>;
|
|
2371
2235
|
|
|
2372
2236
|
/**
|
|
2373
2237
|
* Generic pallet event
|
|
2374
2238
|
**/
|
|
2375
|
-
[prop: string]: GenericPalletEvent
|
|
2239
|
+
[prop: string]: GenericPalletEvent;
|
|
2376
2240
|
};
|
|
2377
2241
|
/**
|
|
2378
2242
|
* Pallet `StakingRewards`'s events
|
|
@@ -2381,42 +2245,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2381
2245
|
/**
|
|
2382
2246
|
* Deposited to the pool.
|
|
2383
2247
|
**/
|
|
2384
|
-
Deposited: GenericPalletEvent<
|
|
2248
|
+
Deposited: GenericPalletEvent<'StakingRewards', 'Deposited', { amount: bigint }>;
|
|
2385
2249
|
|
|
2386
2250
|
/**
|
|
2387
2251
|
* Transferred from the pool to an external account.
|
|
2388
2252
|
**/
|
|
2389
|
-
Withdrawn: GenericPalletEvent<
|
|
2253
|
+
Withdrawn: GenericPalletEvent<'StakingRewards', 'Withdrawn', { amount: bigint }>;
|
|
2390
2254
|
|
|
2391
2255
|
/**
|
|
2392
2256
|
* Burned from the pool.
|
|
2393
2257
|
**/
|
|
2394
|
-
Burned: GenericPalletEvent<
|
|
2258
|
+
Burned: GenericPalletEvent<'StakingRewards', 'Burned', { amount: bigint }>;
|
|
2395
2259
|
|
|
2396
2260
|
/**
|
|
2397
2261
|
* Minted to the pool.
|
|
2398
2262
|
**/
|
|
2399
|
-
Minted: GenericPalletEvent<
|
|
2263
|
+
Minted: GenericPalletEvent<'StakingRewards', 'Minted', { amount: bigint }>;
|
|
2400
2264
|
|
|
2401
2265
|
/**
|
|
2402
2266
|
* Target inflation changed.
|
|
2403
2267
|
**/
|
|
2404
|
-
TargetInflationChanged: GenericPalletEvent<
|
|
2268
|
+
TargetInflationChanged: GenericPalletEvent<'StakingRewards', 'TargetInflationChanged', { value: Perquintill }>;
|
|
2405
2269
|
|
|
2406
2270
|
/**
|
|
2407
2271
|
* Ideal staking ratio changed.
|
|
2408
2272
|
**/
|
|
2409
|
-
IdealStakingRatioChanged: GenericPalletEvent<
|
|
2410
|
-
Rv,
|
|
2411
|
-
'StakingRewards',
|
|
2412
|
-
'IdealStakingRatioChanged',
|
|
2413
|
-
{ value: Perquintill }
|
|
2414
|
-
>;
|
|
2273
|
+
IdealStakingRatioChanged: GenericPalletEvent<'StakingRewards', 'IdealStakingRatioChanged', { value: Perquintill }>;
|
|
2415
2274
|
|
|
2416
2275
|
/**
|
|
2417
2276
|
* Generic pallet event
|
|
2418
2277
|
**/
|
|
2419
|
-
[prop: string]: GenericPalletEvent
|
|
2278
|
+
[prop: string]: GenericPalletEvent;
|
|
2420
2279
|
};
|
|
2421
2280
|
/**
|
|
2422
2281
|
* Pallet `GearVoucher`'s events
|
|
@@ -2426,7 +2285,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2426
2285
|
* Voucher has been issued.
|
|
2427
2286
|
**/
|
|
2428
2287
|
VoucherIssued: GenericPalletEvent<
|
|
2429
|
-
Rv,
|
|
2430
2288
|
'GearVoucher',
|
|
2431
2289
|
'VoucherIssued',
|
|
2432
2290
|
{
|
|
@@ -2453,7 +2311,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2453
2311
|
* NOTE: currently means only "refunded".
|
|
2454
2312
|
**/
|
|
2455
2313
|
VoucherRevoked: GenericPalletEvent<
|
|
2456
|
-
Rv,
|
|
2457
2314
|
'GearVoucher',
|
|
2458
2315
|
'VoucherRevoked',
|
|
2459
2316
|
{
|
|
@@ -2473,7 +2330,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2473
2330
|
* Voucher has been updated.
|
|
2474
2331
|
**/
|
|
2475
2332
|
VoucherUpdated: GenericPalletEvent<
|
|
2476
|
-
Rv,
|
|
2477
2333
|
'GearVoucher',
|
|
2478
2334
|
'VoucherUpdated',
|
|
2479
2335
|
{
|
|
@@ -2498,7 +2354,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2498
2354
|
* Voucher has been declined (set to expired state).
|
|
2499
2355
|
**/
|
|
2500
2356
|
VoucherDeclined: GenericPalletEvent<
|
|
2501
|
-
Rv,
|
|
2502
2357
|
'GearVoucher',
|
|
2503
2358
|
'VoucherDeclined',
|
|
2504
2359
|
{
|
|
@@ -2517,7 +2372,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2517
2372
|
/**
|
|
2518
2373
|
* Generic pallet event
|
|
2519
2374
|
**/
|
|
2520
|
-
[prop: string]: GenericPalletEvent
|
|
2375
|
+
[prop: string]: GenericPalletEvent;
|
|
2521
2376
|
};
|
|
2522
2377
|
/**
|
|
2523
2378
|
* Pallet `GearEthBridge`'s events
|
|
@@ -2527,37 +2382,29 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2527
2382
|
* Grandpa validator's keys set was hashed and set in storage at
|
|
2528
2383
|
* first block of the last session in the era.
|
|
2529
2384
|
**/
|
|
2530
|
-
AuthoritySetHashChanged: GenericPalletEvent<
|
|
2531
|
-
|
|
2532
|
-
/**
|
|
2533
|
-
* Authority set hash was reset.
|
|
2534
|
-
*
|
|
2535
|
-
* Related to bridge clearing on initialization of the second block in a new era.
|
|
2536
|
-
**/
|
|
2537
|
-
AuthoritySetReset: GenericPalletEvent<Rv, 'GearEthBridge', 'AuthoritySetReset', null>;
|
|
2385
|
+
AuthoritySetHashChanged: GenericPalletEvent<'GearEthBridge', 'AuthoritySetHashChanged', H256>;
|
|
2538
2386
|
|
|
2539
2387
|
/**
|
|
2540
2388
|
* Optimistically, single-time called event defining that pallet
|
|
2541
2389
|
* got initialized and started processing session changes,
|
|
2542
2390
|
* as well as putting initial zeroed queue merkle root.
|
|
2543
2391
|
**/
|
|
2544
|
-
BridgeInitialized: GenericPalletEvent<
|
|
2392
|
+
BridgeInitialized: GenericPalletEvent<'GearEthBridge', 'BridgeInitialized', null>;
|
|
2545
2393
|
|
|
2546
2394
|
/**
|
|
2547
2395
|
* Bridge was paused and temporary doesn't process any incoming requests.
|
|
2548
2396
|
**/
|
|
2549
|
-
BridgePaused: GenericPalletEvent<
|
|
2397
|
+
BridgePaused: GenericPalletEvent<'GearEthBridge', 'BridgePaused', null>;
|
|
2550
2398
|
|
|
2551
2399
|
/**
|
|
2552
2400
|
* Bridge was unpaused and from now on processes any incoming requests.
|
|
2553
2401
|
**/
|
|
2554
|
-
BridgeUnpaused: GenericPalletEvent<
|
|
2402
|
+
BridgeUnpaused: GenericPalletEvent<'GearEthBridge', 'BridgeUnpaused', null>;
|
|
2555
2403
|
|
|
2556
2404
|
/**
|
|
2557
2405
|
* A new message was queued for bridging.
|
|
2558
2406
|
**/
|
|
2559
2407
|
MessageQueued: GenericPalletEvent<
|
|
2560
|
-
Rv,
|
|
2561
2408
|
'GearEthBridge',
|
|
2562
2409
|
'MessageQueued',
|
|
2563
2410
|
{
|
|
@@ -2577,7 +2424,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2577
2424
|
* Merkle root of the queue changed: new messages queued within the block.
|
|
2578
2425
|
**/
|
|
2579
2426
|
QueueMerkleRootChanged: GenericPalletEvent<
|
|
2580
|
-
Rv,
|
|
2581
2427
|
'GearEthBridge',
|
|
2582
2428
|
'QueueMerkleRootChanged',
|
|
2583
2429
|
{
|
|
@@ -2596,18 +2442,34 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2596
2442
|
/**
|
|
2597
2443
|
* Queue has been overflowed and now requires reset.
|
|
2598
2444
|
**/
|
|
2599
|
-
QueueOverflowed: GenericPalletEvent<
|
|
2445
|
+
QueueOverflowed: GenericPalletEvent<'GearEthBridge', 'QueueOverflowed', null>;
|
|
2600
2446
|
|
|
2601
2447
|
/**
|
|
2602
2448
|
* Queue was reset.
|
|
2603
2449
|
*
|
|
2604
2450
|
* Related to bridge clearing on initialization of the second block in a new era.
|
|
2605
2451
|
**/
|
|
2606
|
-
QueueReset: GenericPalletEvent<
|
|
2452
|
+
QueueReset: GenericPalletEvent<'GearEthBridge', 'QueueReset', null>;
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Generic pallet event
|
|
2456
|
+
**/
|
|
2457
|
+
[prop: string]: GenericPalletEvent;
|
|
2458
|
+
};
|
|
2459
|
+
/**
|
|
2460
|
+
* Pallet `GrandpaSigner`'s events
|
|
2461
|
+
**/
|
|
2462
|
+
grandpaSigner: {
|
|
2463
|
+
RequestScheduled: GenericPalletEvent<'GrandpaSigner', 'RequestScheduled', { requestId: number; setId: bigint }>;
|
|
2464
|
+
SignatureAdded: GenericPalletEvent<
|
|
2465
|
+
'GrandpaSigner',
|
|
2466
|
+
'SignatureAdded',
|
|
2467
|
+
{ requestId: number; authority: FixedBytes<32>; count: number }
|
|
2468
|
+
>;
|
|
2607
2469
|
|
|
2608
2470
|
/**
|
|
2609
2471
|
* Generic pallet event
|
|
2610
2472
|
**/
|
|
2611
|
-
[prop: string]: GenericPalletEvent
|
|
2473
|
+
[prop: string]: GenericPalletEvent;
|
|
2612
2474
|
};
|
|
2613
2475
|
}
|