@polkadot/api-augment 8.7.2-7 → 8.8.1

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.
@@ -10,34 +10,60 @@ declare module '@polkadot/api-base/types/events' {
10
10
  /**
11
11
  * An auction ended. All funds become unreserved.
12
12
  **/
13
- AuctionClosed: AugmentedEvent<ApiType, [u32]>;
13
+ AuctionClosed: AugmentedEvent<ApiType, [auctionIndex: u32], {
14
+ auctionIndex: u32;
15
+ }>;
14
16
  /**
15
17
  * An auction started. Provides its index and the block number where it will begin to
16
18
  * close and the first lease period of the quadruplet that is auctioned.
17
19
  **/
18
- AuctionStarted: AugmentedEvent<ApiType, [u32, u32, u32]>;
20
+ AuctionStarted: AugmentedEvent<ApiType, [auctionIndex: u32, leasePeriod: u32, ending: u32], {
21
+ auctionIndex: u32;
22
+ leasePeriod: u32;
23
+ ending: u32;
24
+ }>;
19
25
  /**
20
26
  * A new bid has been accepted as the current winner.
21
27
  **/
22
- BidAccepted: AugmentedEvent<ApiType, [AccountId32, u32, u128, u32, u32]>;
28
+ BidAccepted: AugmentedEvent<ApiType, [bidder: AccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32], {
29
+ bidder: AccountId32;
30
+ paraId: u32;
31
+ amount: u128;
32
+ firstSlot: u32;
33
+ lastSlot: u32;
34
+ }>;
23
35
  /**
24
36
  * Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve
25
37
  * but no parachain slot has been leased.
26
38
  **/
27
- ReserveConfiscated: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
39
+ ReserveConfiscated: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, amount: u128], {
40
+ paraId: u32;
41
+ leaser: AccountId32;
42
+ amount: u128;
43
+ }>;
28
44
  /**
29
45
  * Funds were reserved for a winning bid. First balance is the extra amount reserved.
30
46
  * Second is the total.
31
47
  **/
32
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
48
+ Reserved: AugmentedEvent<ApiType, [bidder: AccountId32, extraReserved: u128, totalAmount: u128], {
49
+ bidder: AccountId32;
50
+ extraReserved: u128;
51
+ totalAmount: u128;
52
+ }>;
33
53
  /**
34
54
  * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
35
55
  **/
36
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
56
+ Unreserved: AugmentedEvent<ApiType, [bidder: AccountId32, amount: u128], {
57
+ bidder: AccountId32;
58
+ amount: u128;
59
+ }>;
37
60
  /**
38
61
  * The winning offset was chosen for an auction. This will map into the `Winning` storage map.
39
62
  **/
40
- WinningOffset: AugmentedEvent<ApiType, [u32, u32]>;
63
+ WinningOffset: AugmentedEvent<ApiType, [auctionIndex: u32, blockNumber: u32], {
64
+ auctionIndex: u32;
65
+ blockNumber: u32;
66
+ }>;
41
67
  /**
42
68
  * Generic event
43
69
  **/
@@ -47,45 +73,79 @@ declare module '@polkadot/api-base/types/events' {
47
73
  /**
48
74
  * A balance was set by root.
49
75
  **/
50
- BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
76
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], {
77
+ who: AccountId32;
78
+ free: u128;
79
+ reserved: u128;
80
+ }>;
51
81
  /**
52
82
  * Some amount was deposited (e.g. for transaction fees).
53
83
  **/
54
- Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
84
+ Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
85
+ who: AccountId32;
86
+ amount: u128;
87
+ }>;
55
88
  /**
56
89
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
57
90
  * resulting in an outright loss.
58
91
  **/
59
- DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
92
+ DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
93
+ account: AccountId32;
94
+ amount: u128;
95
+ }>;
60
96
  /**
61
97
  * An account was created with some free balance.
62
98
  **/
63
- Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
99
+ Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
100
+ account: AccountId32;
101
+ freeBalance: u128;
102
+ }>;
64
103
  /**
65
104
  * Some balance was reserved (moved from free to reserved).
66
105
  **/
67
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
106
+ Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
107
+ who: AccountId32;
108
+ amount: u128;
109
+ }>;
68
110
  /**
69
111
  * Some balance was moved from the reserve of the first account to the second account.
70
112
  * Final argument indicates the destination balance type.
71
113
  **/
72
- ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
114
+ ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
115
+ from: AccountId32;
116
+ to: AccountId32;
117
+ amount: u128;
118
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
119
+ }>;
73
120
  /**
74
121
  * Some amount was removed from the account (e.g. for misbehavior).
75
122
  **/
76
- Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
123
+ Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
124
+ who: AccountId32;
125
+ amount: u128;
126
+ }>;
77
127
  /**
78
128
  * Transfer succeeded.
79
129
  **/
80
- Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
130
+ Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
131
+ from: AccountId32;
132
+ to: AccountId32;
133
+ amount: u128;
134
+ }>;
81
135
  /**
82
136
  * Some balance was unreserved (moved from reserved to free).
83
137
  **/
84
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
138
+ Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
139
+ who: AccountId32;
140
+ amount: u128;
141
+ }>;
85
142
  /**
86
143
  * Some amount was withdrawn from the account (e.g. for transaction fees).
87
144
  **/
88
- Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
145
+ Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
146
+ who: AccountId32;
147
+ amount: u128;
148
+ }>;
89
149
  /**
90
150
  * Generic event
91
151
  **/
@@ -95,31 +155,49 @@ declare module '@polkadot/api-base/types/events' {
95
155
  /**
96
156
  * A bounty is awarded to a beneficiary.
97
157
  **/
98
- BountyAwarded: AugmentedEvent<ApiType, [u32, AccountId32]>;
158
+ BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], {
159
+ index: u32;
160
+ beneficiary: AccountId32;
161
+ }>;
99
162
  /**
100
163
  * A bounty proposal is funded and became active.
101
164
  **/
102
- BountyBecameActive: AugmentedEvent<ApiType, [u32]>;
165
+ BountyBecameActive: AugmentedEvent<ApiType, [index: u32], {
166
+ index: u32;
167
+ }>;
103
168
  /**
104
169
  * A bounty is cancelled.
105
170
  **/
106
- BountyCanceled: AugmentedEvent<ApiType, [u32]>;
171
+ BountyCanceled: AugmentedEvent<ApiType, [index: u32], {
172
+ index: u32;
173
+ }>;
107
174
  /**
108
175
  * A bounty is claimed by beneficiary.
109
176
  **/
110
- BountyClaimed: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
177
+ BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], {
178
+ index: u32;
179
+ payout: u128;
180
+ beneficiary: AccountId32;
181
+ }>;
111
182
  /**
112
183
  * A bounty expiry is extended.
113
184
  **/
114
- BountyExtended: AugmentedEvent<ApiType, [u32]>;
185
+ BountyExtended: AugmentedEvent<ApiType, [index: u32], {
186
+ index: u32;
187
+ }>;
115
188
  /**
116
189
  * New bounty proposal.
117
190
  **/
118
- BountyProposed: AugmentedEvent<ApiType, [u32]>;
191
+ BountyProposed: AugmentedEvent<ApiType, [index: u32], {
192
+ index: u32;
193
+ }>;
119
194
  /**
120
195
  * A bounty proposal was rejected; funds were slashed.
121
196
  **/
122
- BountyRejected: AugmentedEvent<ApiType, [u32, u128]>;
197
+ BountyRejected: AugmentedEvent<ApiType, [index: u32, bond: u128], {
198
+ index: u32;
199
+ bond: u128;
200
+ }>;
123
201
  /**
124
202
  * Generic event
125
203
  **/
@@ -129,19 +207,34 @@ declare module '@polkadot/api-base/types/events' {
129
207
  /**
130
208
  * A child-bounty is added.
131
209
  **/
132
- Added: AugmentedEvent<ApiType, [u32, u32]>;
210
+ Added: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
211
+ index: u32;
212
+ childIndex: u32;
213
+ }>;
133
214
  /**
134
215
  * A child-bounty is awarded to a beneficiary.
135
216
  **/
136
- Awarded: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
217
+ Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], {
218
+ index: u32;
219
+ childIndex: u32;
220
+ beneficiary: AccountId32;
221
+ }>;
137
222
  /**
138
223
  * A child-bounty is cancelled.
139
224
  **/
140
- Canceled: AugmentedEvent<ApiType, [u32, u32]>;
225
+ Canceled: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
226
+ index: u32;
227
+ childIndex: u32;
228
+ }>;
141
229
  /**
142
230
  * A child-bounty is claimed by beneficiary.
143
231
  **/
144
- Claimed: AugmentedEvent<ApiType, [u32, u32, u128, AccountId32]>;
232
+ Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], {
233
+ index: u32;
234
+ childIndex: u32;
235
+ payout: u128;
236
+ beneficiary: AccountId32;
237
+ }>;
145
238
  /**
146
239
  * Generic event
147
240
  **/
@@ -151,7 +244,11 @@ declare module '@polkadot/api-base/types/events' {
151
244
  /**
152
245
  * Someone claimed some DOTs.
153
246
  **/
154
- Claimed: AugmentedEvent<ApiType, [AccountId32, EthereumAddress, u128]>;
247
+ Claimed: AugmentedEvent<ApiType, [who: AccountId32, ethereumAddress: EthereumAddress, amount: u128], {
248
+ who: AccountId32;
249
+ ethereumAddress: EthereumAddress;
250
+ amount: u128;
251
+ }>;
155
252
  /**
156
253
  * Generic event
157
254
  **/
@@ -161,33 +258,58 @@ declare module '@polkadot/api-base/types/events' {
161
258
  /**
162
259
  * A motion was approved by the required threshold.
163
260
  **/
164
- Approved: AugmentedEvent<ApiType, [H256]>;
261
+ Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
262
+ proposalHash: H256;
263
+ }>;
165
264
  /**
166
265
  * A proposal was closed because its threshold was reached or after its duration was up.
167
266
  **/
168
- Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
267
+ Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
268
+ proposalHash: H256;
269
+ yes: u32;
270
+ no: u32;
271
+ }>;
169
272
  /**
170
273
  * A motion was not approved by the required threshold.
171
274
  **/
172
- Disapproved: AugmentedEvent<ApiType, [H256]>;
275
+ Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
276
+ proposalHash: H256;
277
+ }>;
173
278
  /**
174
279
  * A motion was executed; result will be `Ok` if it returned without error.
175
280
  **/
176
- Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
281
+ Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
282
+ proposalHash: H256;
283
+ result: Result<Null, SpRuntimeDispatchError>;
284
+ }>;
177
285
  /**
178
286
  * A single member did some action; result will be `Ok` if it returned without error.
179
287
  **/
180
- MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
288
+ MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
289
+ proposalHash: H256;
290
+ result: Result<Null, SpRuntimeDispatchError>;
291
+ }>;
181
292
  /**
182
293
  * A motion (given hash) has been proposed (by given account) with a threshold (given
183
294
  * `MemberCount`).
184
295
  **/
185
- Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
296
+ Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
297
+ account: AccountId32;
298
+ proposalIndex: u32;
299
+ proposalHash: H256;
300
+ threshold: u32;
301
+ }>;
186
302
  /**
187
303
  * A motion (given hash) has been voted on by given account, leaving
188
304
  * a tally (yes votes and no votes given respectively as `MemberCount`).
189
305
  **/
190
- Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
306
+ Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
307
+ account: AccountId32;
308
+ proposalHash: H256;
309
+ voted: bool;
310
+ yes: u32;
311
+ no: u32;
312
+ }>;
191
313
  /**
192
314
  * Generic event
193
315
  **/
@@ -197,44 +319,71 @@ declare module '@polkadot/api-base/types/events' {
197
319
  /**
198
320
  * A parachain has been moved to `NewRaise`
199
321
  **/
200
- AddedToNewRaise: AugmentedEvent<ApiType, [u32]>;
322
+ AddedToNewRaise: AugmentedEvent<ApiType, [paraId: u32], {
323
+ paraId: u32;
324
+ }>;
201
325
  /**
202
326
  * All loans in a fund have been refunded.
203
327
  **/
204
- AllRefunded: AugmentedEvent<ApiType, [u32]>;
328
+ AllRefunded: AugmentedEvent<ApiType, [paraId: u32], {
329
+ paraId: u32;
330
+ }>;
205
331
  /**
206
332
  * Contributed to a crowd sale.
207
333
  **/
208
- Contributed: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
334
+ Contributed: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], {
335
+ who: AccountId32;
336
+ fundIndex: u32;
337
+ amount: u128;
338
+ }>;
209
339
  /**
210
340
  * Create a new crowdloaning campaign.
211
341
  **/
212
- Created: AugmentedEvent<ApiType, [u32]>;
342
+ Created: AugmentedEvent<ApiType, [paraId: u32], {
343
+ paraId: u32;
344
+ }>;
213
345
  /**
214
346
  * Fund is dissolved.
215
347
  **/
216
- Dissolved: AugmentedEvent<ApiType, [u32]>;
348
+ Dissolved: AugmentedEvent<ApiType, [paraId: u32], {
349
+ paraId: u32;
350
+ }>;
217
351
  /**
218
352
  * The configuration to a crowdloan has been edited.
219
353
  **/
220
- Edited: AugmentedEvent<ApiType, [u32]>;
354
+ Edited: AugmentedEvent<ApiType, [paraId: u32], {
355
+ paraId: u32;
356
+ }>;
221
357
  /**
222
358
  * The result of trying to submit a new bid to the Slots pallet.
223
359
  **/
224
- HandleBidResult: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
360
+ HandleBidResult: AugmentedEvent<ApiType, [paraId: u32, result: Result<Null, SpRuntimeDispatchError>], {
361
+ paraId: u32;
362
+ result: Result<Null, SpRuntimeDispatchError>;
363
+ }>;
225
364
  /**
226
365
  * A memo has been updated.
227
366
  **/
228
- MemoUpdated: AugmentedEvent<ApiType, [AccountId32, u32, Bytes]>;
367
+ MemoUpdated: AugmentedEvent<ApiType, [who: AccountId32, paraId: u32, memo: Bytes], {
368
+ who: AccountId32;
369
+ paraId: u32;
370
+ memo: Bytes;
371
+ }>;
229
372
  /**
230
373
  * The loans in a fund have been partially dissolved, i.e. there are some left
231
374
  * over child keys that still need to be killed.
232
375
  **/
233
- PartiallyRefunded: AugmentedEvent<ApiType, [u32]>;
376
+ PartiallyRefunded: AugmentedEvent<ApiType, [paraId: u32], {
377
+ paraId: u32;
378
+ }>;
234
379
  /**
235
380
  * Withdrew full balance of a contributor.
236
381
  **/
237
- Withdrew: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
382
+ Withdrew: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], {
383
+ who: AccountId32;
384
+ fundIndex: u32;
385
+ amount: u128;
386
+ }>;
238
387
  /**
239
388
  * Generic event
240
389
  **/
@@ -244,19 +393,29 @@ declare module '@polkadot/api-base/types/events' {
244
393
  /**
245
394
  * A proposal_hash has been blacklisted permanently.
246
395
  **/
247
- Blacklisted: AugmentedEvent<ApiType, [H256]>;
396
+ Blacklisted: AugmentedEvent<ApiType, [proposalHash: H256], {
397
+ proposalHash: H256;
398
+ }>;
248
399
  /**
249
400
  * A referendum has been cancelled.
250
401
  **/
251
- Cancelled: AugmentedEvent<ApiType, [u32]>;
402
+ Cancelled: AugmentedEvent<ApiType, [refIndex: u32], {
403
+ refIndex: u32;
404
+ }>;
252
405
  /**
253
406
  * An account has delegated their vote to another account.
254
407
  **/
255
- Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
408
+ Delegated: AugmentedEvent<ApiType, [who: AccountId32, target: AccountId32], {
409
+ who: AccountId32;
410
+ target: AccountId32;
411
+ }>;
256
412
  /**
257
413
  * A proposal has been enacted.
258
414
  **/
259
- Executed: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
415
+ Executed: AugmentedEvent<ApiType, [refIndex: u32, result: Result<Null, SpRuntimeDispatchError>], {
416
+ refIndex: u32;
417
+ result: Result<Null, SpRuntimeDispatchError>;
418
+ }>;
260
419
  /**
261
420
  * An external proposal has been tabled.
262
421
  **/
@@ -264,59 +423,105 @@ declare module '@polkadot/api-base/types/events' {
264
423
  /**
265
424
  * A proposal has been rejected by referendum.
266
425
  **/
267
- NotPassed: AugmentedEvent<ApiType, [u32]>;
426
+ NotPassed: AugmentedEvent<ApiType, [refIndex: u32], {
427
+ refIndex: u32;
428
+ }>;
268
429
  /**
269
430
  * A proposal has been approved by referendum.
270
431
  **/
271
- Passed: AugmentedEvent<ApiType, [u32]>;
432
+ Passed: AugmentedEvent<ApiType, [refIndex: u32], {
433
+ refIndex: u32;
434
+ }>;
272
435
  /**
273
436
  * A proposal could not be executed because its preimage was invalid.
274
437
  **/
275
- PreimageInvalid: AugmentedEvent<ApiType, [H256, u32]>;
438
+ PreimageInvalid: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
439
+ proposalHash: H256;
440
+ refIndex: u32;
441
+ }>;
276
442
  /**
277
443
  * A proposal could not be executed because its preimage was missing.
278
444
  **/
279
- PreimageMissing: AugmentedEvent<ApiType, [H256, u32]>;
445
+ PreimageMissing: AugmentedEvent<ApiType, [proposalHash: H256, refIndex: u32], {
446
+ proposalHash: H256;
447
+ refIndex: u32;
448
+ }>;
280
449
  /**
281
450
  * A proposal's preimage was noted, and the deposit taken.
282
451
  **/
283
- PreimageNoted: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
452
+ PreimageNoted: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32, deposit: u128], {
453
+ proposalHash: H256;
454
+ who: AccountId32;
455
+ deposit: u128;
456
+ }>;
284
457
  /**
285
458
  * A registered preimage was removed and the deposit collected by the reaper.
286
459
  **/
287
- PreimageReaped: AugmentedEvent<ApiType, [H256, AccountId32, u128, AccountId32]>;
460
+ PreimageReaped: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128, reaper: AccountId32], {
461
+ proposalHash: H256;
462
+ provider: AccountId32;
463
+ deposit: u128;
464
+ reaper: AccountId32;
465
+ }>;
288
466
  /**
289
467
  * A proposal preimage was removed and used (the deposit was returned).
290
468
  **/
291
- PreimageUsed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
469
+ PreimageUsed: AugmentedEvent<ApiType, [proposalHash: H256, provider: AccountId32, deposit: u128], {
470
+ proposalHash: H256;
471
+ provider: AccountId32;
472
+ deposit: u128;
473
+ }>;
292
474
  /**
293
475
  * A motion has been proposed by a public account.
294
476
  **/
295
- Proposed: AugmentedEvent<ApiType, [u32, u128]>;
477
+ Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
478
+ proposalIndex: u32;
479
+ deposit: u128;
480
+ }>;
296
481
  /**
297
482
  * An account has secconded a proposal
298
483
  **/
299
- Seconded: AugmentedEvent<ApiType, [AccountId32, u32]>;
484
+ Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], {
485
+ seconder: AccountId32;
486
+ propIndex: u32;
487
+ }>;
300
488
  /**
301
489
  * A referendum has begun.
302
490
  **/
303
- Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>;
491
+ Started: AugmentedEvent<ApiType, [refIndex: u32, threshold: PalletDemocracyVoteThreshold], {
492
+ refIndex: u32;
493
+ threshold: PalletDemocracyVoteThreshold;
494
+ }>;
304
495
  /**
305
496
  * A public proposal has been tabled for referendum vote.
306
497
  **/
307
- Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>;
498
+ Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128, depositors: Vec<AccountId32>], {
499
+ proposalIndex: u32;
500
+ deposit: u128;
501
+ depositors: Vec<AccountId32>;
502
+ }>;
308
503
  /**
309
504
  * An account has cancelled a previous delegation operation.
310
505
  **/
311
- Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
506
+ Undelegated: AugmentedEvent<ApiType, [account: AccountId32], {
507
+ account: AccountId32;
508
+ }>;
312
509
  /**
313
510
  * An external proposal has been vetoed.
314
511
  **/
315
- Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>;
512
+ Vetoed: AugmentedEvent<ApiType, [who: AccountId32, proposalHash: H256, until: u32], {
513
+ who: AccountId32;
514
+ proposalHash: H256;
515
+ until: u32;
516
+ }>;
316
517
  /**
317
518
  * An account has voted in a referendum
318
519
  **/
319
- Voted: AugmentedEvent<ApiType, [AccountId32, u32, PalletDemocracyVoteAccountVote]>;
520
+ Voted: AugmentedEvent<ApiType, [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], {
521
+ voter: AccountId32;
522
+ refIndex: u32;
523
+ vote: PalletDemocracyVoteAccountVote;
524
+ }>;
320
525
  /**
321
526
  * Generic event
322
527
  **/
@@ -327,19 +532,29 @@ declare module '@polkadot/api-base/types/events' {
327
532
  * The election has been finalized, with `Some` of the given computation, or else if the
328
533
  * election failed, `None`.
329
534
  **/
330
- ElectionFinalized: AugmentedEvent<ApiType, [Option<PalletElectionProviderMultiPhaseElectionCompute>]>;
535
+ ElectionFinalized: AugmentedEvent<ApiType, [electionCompute: Option<PalletElectionProviderMultiPhaseElectionCompute>], {
536
+ electionCompute: Option<PalletElectionProviderMultiPhaseElectionCompute>;
537
+ }>;
331
538
  /**
332
539
  * An account has been rewarded for their signed submission being finalized.
333
540
  **/
334
- Rewarded: AugmentedEvent<ApiType, [AccountId32, u128]>;
541
+ Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], {
542
+ account: AccountId32;
543
+ value: u128;
544
+ }>;
335
545
  /**
336
546
  * The signed phase of the given round has started.
337
547
  **/
338
- SignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
548
+ SignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
549
+ round: u32;
550
+ }>;
339
551
  /**
340
552
  * An account has been slashed for submitting an invalid signed submission.
341
553
  **/
342
- Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
554
+ Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], {
555
+ account: AccountId32;
556
+ value: u128;
557
+ }>;
343
558
  /**
344
559
  * A solution was stored with the given compute.
345
560
  *
@@ -348,11 +563,16 @@ declare module '@polkadot/api-base/types/events' {
348
563
  *
349
564
  * The `bool` is `true` when a previous solution was ejected to make room for this one.
350
565
  **/
351
- SolutionStored: AugmentedEvent<ApiType, [PalletElectionProviderMultiPhaseElectionCompute, bool]>;
566
+ SolutionStored: AugmentedEvent<ApiType, [electionCompute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
567
+ electionCompute: PalletElectionProviderMultiPhaseElectionCompute;
568
+ prevEjected: bool;
569
+ }>;
352
570
  /**
353
571
  * The unsigned phase of the given round has started.
354
572
  **/
355
- UnsignedPhaseStarted: AugmentedEvent<ApiType, [u32]>;
573
+ UnsignedPhaseStarted: AugmentedEvent<ApiType, [round: u32], {
574
+ round: u32;
575
+ }>;
356
576
  /**
357
577
  * Generic event
358
578
  **/
@@ -362,7 +582,9 @@ declare module '@polkadot/api-base/types/events' {
362
582
  /**
363
583
  * New authority set has been applied.
364
584
  **/
365
- NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>;
585
+ NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>], {
586
+ authoritySet: Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>;
587
+ }>;
366
588
  /**
367
589
  * Current authority set has been paused.
368
590
  **/
@@ -404,44 +626,75 @@ declare module '@polkadot/api-base/types/events' {
404
626
  /**
405
627
  * A name was cleared, and the given balance returned.
406
628
  **/
407
- IdentityCleared: AugmentedEvent<ApiType, [AccountId32, u128]>;
629
+ IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
630
+ who: AccountId32;
631
+ deposit: u128;
632
+ }>;
408
633
  /**
409
634
  * A name was removed and the given balance slashed.
410
635
  **/
411
- IdentityKilled: AugmentedEvent<ApiType, [AccountId32, u128]>;
636
+ IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
637
+ who: AccountId32;
638
+ deposit: u128;
639
+ }>;
412
640
  /**
413
641
  * A name was set or reset (which will remove all judgements).
414
642
  **/
415
- IdentitySet: AugmentedEvent<ApiType, [AccountId32]>;
643
+ IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], {
644
+ who: AccountId32;
645
+ }>;
416
646
  /**
417
647
  * A judgement was given by a registrar.
418
648
  **/
419
- JudgementGiven: AugmentedEvent<ApiType, [AccountId32, u32]>;
649
+ JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], {
650
+ target: AccountId32;
651
+ registrarIndex: u32;
652
+ }>;
420
653
  /**
421
654
  * A judgement was asked from a registrar.
422
655
  **/
423
- JudgementRequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
656
+ JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
657
+ who: AccountId32;
658
+ registrarIndex: u32;
659
+ }>;
424
660
  /**
425
661
  * A judgement request was retracted.
426
662
  **/
427
- JudgementUnrequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
663
+ JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
664
+ who: AccountId32;
665
+ registrarIndex: u32;
666
+ }>;
428
667
  /**
429
668
  * A registrar was added.
430
669
  **/
431
- RegistrarAdded: AugmentedEvent<ApiType, [u32]>;
670
+ RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], {
671
+ registrarIndex: u32;
672
+ }>;
432
673
  /**
433
674
  * A sub-identity was added to an identity and the deposit paid.
434
675
  **/
435
- SubIdentityAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
676
+ SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
677
+ sub: AccountId32;
678
+ main: AccountId32;
679
+ deposit: u128;
680
+ }>;
436
681
  /**
437
682
  * A sub-identity was removed from an identity and the deposit freed.
438
683
  **/
439
- SubIdentityRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
684
+ SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
685
+ sub: AccountId32;
686
+ main: AccountId32;
687
+ deposit: u128;
688
+ }>;
440
689
  /**
441
690
  * A sub-identity was cleared, and the given deposit repatriated from the
442
691
  * main identity account to the sub-identity account.
443
692
  **/
444
- SubIdentityRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
693
+ SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
694
+ sub: AccountId32;
695
+ main: AccountId32;
696
+ deposit: u128;
697
+ }>;
445
698
  /**
446
699
  * Generic event
447
700
  **/
@@ -455,11 +708,15 @@ declare module '@polkadot/api-base/types/events' {
455
708
  /**
456
709
  * A new heartbeat was received from `AuthorityId`.
457
710
  **/
458
- HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>;
711
+ HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], {
712
+ authorityId: PalletImOnlineSr25519AppSr25519Public;
713
+ }>;
459
714
  /**
460
715
  * At the end of the session, at least one validator was found to be offline.
461
716
  **/
462
- SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>;
717
+ SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>], {
718
+ offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
719
+ }>;
463
720
  /**
464
721
  * Generic event
465
722
  **/
@@ -469,15 +726,23 @@ declare module '@polkadot/api-base/types/events' {
469
726
  /**
470
727
  * A account index was assigned.
471
728
  **/
472
- IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>;
729
+ IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], {
730
+ who: AccountId32;
731
+ index: u32;
732
+ }>;
473
733
  /**
474
734
  * A account index has been freed up (unassigned).
475
735
  **/
476
- IndexFreed: AugmentedEvent<ApiType, [u32]>;
736
+ IndexFreed: AugmentedEvent<ApiType, [index: u32], {
737
+ index: u32;
738
+ }>;
477
739
  /**
478
740
  * A account index has been frozen to its current account ID.
479
741
  **/
480
- IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
742
+ IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], {
743
+ index: u32;
744
+ who: AccountId32;
745
+ }>;
481
746
  /**
482
747
  * Generic event
483
748
  **/
@@ -487,19 +752,39 @@ declare module '@polkadot/api-base/types/events' {
487
752
  /**
488
753
  * A multisig operation has been approved by someone.
489
754
  **/
490
- MultisigApproval: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
755
+ MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
756
+ approving: AccountId32;
757
+ timepoint: PalletMultisigTimepoint;
758
+ multisig: AccountId32;
759
+ callHash: U8aFixed;
760
+ }>;
491
761
  /**
492
762
  * A multisig operation has been cancelled.
493
763
  **/
494
- MultisigCancelled: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
764
+ MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
765
+ cancelling: AccountId32;
766
+ timepoint: PalletMultisigTimepoint;
767
+ multisig: AccountId32;
768
+ callHash: U8aFixed;
769
+ }>;
495
770
  /**
496
771
  * A multisig operation has been executed.
497
772
  **/
498
- MultisigExecuted: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed, Result<Null, SpRuntimeDispatchError>]>;
773
+ MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], {
774
+ approving: AccountId32;
775
+ timepoint: PalletMultisigTimepoint;
776
+ multisig: AccountId32;
777
+ callHash: U8aFixed;
778
+ result: Result<Null, SpRuntimeDispatchError>;
779
+ }>;
499
780
  /**
500
781
  * A new multisig operation has begun.
501
782
  **/
502
- NewMultisig: AugmentedEvent<ApiType, [AccountId32, AccountId32, U8aFixed]>;
783
+ NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], {
784
+ approving: AccountId32;
785
+ multisig: AccountId32;
786
+ callHash: U8aFixed;
787
+ }>;
503
788
  /**
504
789
  * Generic event
505
790
  **/
@@ -511,7 +796,10 @@ declare module '@polkadot/api-base/types/events' {
511
796
  * (kind-specific) time slot. This event is not deposited for duplicate slashes.
512
797
  * \[kind, timeslot\].
513
798
  **/
514
- Offence: AugmentedEvent<ApiType, [U8aFixed, Bytes]>;
799
+ Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], {
800
+ kind: U8aFixed;
801
+ timeslot: Bytes;
802
+ }>;
515
803
  /**
516
804
  * Generic event
517
805
  **/
@@ -610,7 +898,10 @@ declare module '@polkadot/api-base/types/events' {
610
898
  *
611
899
  * Note that old members and runners-up are also candidates.
612
900
  **/
613
- CandidateSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
901
+ CandidateSlashed: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128], {
902
+ candidate: AccountId32;
903
+ amount: u128;
904
+ }>;
614
905
  /**
615
906
  * Internal error happened while trying to perform election.
616
907
  **/
@@ -624,7 +915,9 @@ declare module '@polkadot/api-base/types/events' {
624
915
  * A member has been removed. This should always be followed by either `NewTerm` or
625
916
  * `EmptyTerm`.
626
917
  **/
627
- MemberKicked: AugmentedEvent<ApiType, [AccountId32]>;
918
+ MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], {
919
+ member: AccountId32;
920
+ }>;
628
921
  /**
629
922
  * A new term with new_members. This indicates that enough candidates existed to run
630
923
  * the election, not that enough have has been elected. The inner value must be examined
@@ -632,15 +925,22 @@ declare module '@polkadot/api-base/types/events' {
632
925
  * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
633
926
  * begin with.
634
927
  **/
635
- NewTerm: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, u128]>>]>;
928
+ NewTerm: AugmentedEvent<ApiType, [newMembers: Vec<ITuple<[AccountId32, u128]>>], {
929
+ newMembers: Vec<ITuple<[AccountId32, u128]>>;
930
+ }>;
636
931
  /**
637
932
  * Someone has renounced their candidacy.
638
933
  **/
639
- Renounced: AugmentedEvent<ApiType, [AccountId32]>;
934
+ Renounced: AugmentedEvent<ApiType, [candidate: AccountId32], {
935
+ candidate: AccountId32;
936
+ }>;
640
937
  /**
641
938
  * A seat holder was slashed by amount by being forcefully removed from the set.
642
939
  **/
643
- SeatHolderSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
940
+ SeatHolderSlashed: AugmentedEvent<ApiType, [seatHolder: AccountId32, amount: u128], {
941
+ seatHolder: AccountId32;
942
+ amount: u128;
943
+ }>;
644
944
  /**
645
945
  * Generic event
646
946
  **/
@@ -650,15 +950,21 @@ declare module '@polkadot/api-base/types/events' {
650
950
  /**
651
951
  * A preimage has ben cleared.
652
952
  **/
653
- Cleared: AugmentedEvent<ApiType, [H256]>;
953
+ Cleared: AugmentedEvent<ApiType, [hash_: H256], {
954
+ hash_: H256;
955
+ }>;
654
956
  /**
655
957
  * A preimage has been noted.
656
958
  **/
657
- Noted: AugmentedEvent<ApiType, [H256]>;
959
+ Noted: AugmentedEvent<ApiType, [hash_: H256], {
960
+ hash_: H256;
961
+ }>;
658
962
  /**
659
963
  * A preimage has been requested.
660
964
  **/
661
- Requested: AugmentedEvent<ApiType, [H256]>;
965
+ Requested: AugmentedEvent<ApiType, [hash_: H256], {
966
+ hash_: H256;
967
+ }>;
662
968
  /**
663
969
  * Generic event
664
970
  **/
@@ -668,33 +974,62 @@ declare module '@polkadot/api-base/types/events' {
668
974
  /**
669
975
  * An announcement was placed to make a call in the future.
670
976
  **/
671
- Announced: AugmentedEvent<ApiType, [AccountId32, AccountId32, H256]>;
977
+ Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
978
+ real: AccountId32;
979
+ proxy: AccountId32;
980
+ callHash: H256;
981
+ }>;
672
982
  /**
673
983
  * Anonymous account has been created by new proxy with given
674
984
  * disambiguation index and proxy type.
675
985
  **/
676
- AnonymousCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u16]>;
986
+ AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeProxyType, disambiguationIndex: u16], {
987
+ anonymous: AccountId32;
988
+ who: AccountId32;
989
+ proxyType: PolkadotRuntimeProxyType;
990
+ disambiguationIndex: u16;
991
+ }>;
677
992
  /**
678
993
  * A proxy was added.
679
994
  **/
680
- ProxyAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u32]>;
995
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32], {
996
+ delegator: AccountId32;
997
+ delegatee: AccountId32;
998
+ proxyType: PolkadotRuntimeProxyType;
999
+ delay: u32;
1000
+ }>;
681
1001
  /**
682
1002
  * A proxy was executed correctly, with the given.
683
1003
  **/
684
- ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
1004
+ ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
1005
+ result: Result<Null, SpRuntimeDispatchError>;
1006
+ }>;
685
1007
  /**
686
1008
  * A proxy was removed.
687
1009
  **/
688
- ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u32]>;
1010
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PolkadotRuntimeProxyType, delay: u32], {
1011
+ delegator: AccountId32;
1012
+ delegatee: AccountId32;
1013
+ proxyType: PolkadotRuntimeProxyType;
1014
+ delay: u32;
1015
+ }>;
689
1016
  /**
690
1017
  * Generic event
691
1018
  **/
692
1019
  [key: string]: AugmentedEvent<ApiType>;
693
1020
  };
694
1021
  registrar: {
695
- Deregistered: AugmentedEvent<ApiType, [u32]>;
696
- Registered: AugmentedEvent<ApiType, [u32, AccountId32]>;
697
- Reserved: AugmentedEvent<ApiType, [u32, AccountId32]>;
1022
+ Deregistered: AugmentedEvent<ApiType, [paraId: u32], {
1023
+ paraId: u32;
1024
+ }>;
1025
+ Registered: AugmentedEvent<ApiType, [paraId: u32, manager: AccountId32], {
1026
+ paraId: u32;
1027
+ manager: AccountId32;
1028
+ }>;
1029
+ Reserved: AugmentedEvent<ApiType, [paraId: u32, who: AccountId32], {
1030
+ paraId: u32;
1031
+ who: AccountId32;
1032
+ }>;
698
1033
  /**
699
1034
  * Generic event
700
1035
  **/
@@ -704,19 +1039,33 @@ declare module '@polkadot/api-base/types/events' {
704
1039
  /**
705
1040
  * The call for the provided hash was not found so the task has been aborted.
706
1041
  **/
707
- CallLookupFailed: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, FrameSupportScheduleLookupError]>;
1042
+ CallLookupFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<Bytes>, error: FrameSupportScheduleLookupError], {
1043
+ task: ITuple<[u32, u32]>;
1044
+ id: Option<Bytes>;
1045
+ error: FrameSupportScheduleLookupError;
1046
+ }>;
708
1047
  /**
709
1048
  * Canceled some task.
710
1049
  **/
711
- Canceled: AugmentedEvent<ApiType, [u32, u32]>;
1050
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], {
1051
+ when: u32;
1052
+ index: u32;
1053
+ }>;
712
1054
  /**
713
1055
  * Dispatched some task.
714
1056
  **/
715
- Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
1057
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<Bytes>, result: Result<Null, SpRuntimeDispatchError>], {
1058
+ task: ITuple<[u32, u32]>;
1059
+ id: Option<Bytes>;
1060
+ result: Result<Null, SpRuntimeDispatchError>;
1061
+ }>;
716
1062
  /**
717
1063
  * Scheduled some task.
718
1064
  **/
719
- Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
1065
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], {
1066
+ when: u32;
1067
+ index: u32;
1068
+ }>;
720
1069
  /**
721
1070
  * Generic event
722
1071
  **/
@@ -727,7 +1076,9 @@ declare module '@polkadot/api-base/types/events' {
727
1076
  * New session has happened. Note that the argument is the session index, not the
728
1077
  * block number as the type might suggest.
729
1078
  **/
730
- NewSession: AugmentedEvent<ApiType, [u32]>;
1079
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1080
+ sessionIndex: u32;
1081
+ }>;
731
1082
  /**
732
1083
  * Generic event
733
1084
  **/
@@ -739,11 +1090,20 @@ declare module '@polkadot/api-base/types/events' {
739
1090
  * First balance is any extra amount reserved on top of the para's existing deposit.
740
1091
  * Second balance is the total amount reserved.
741
1092
  **/
742
- Leased: AugmentedEvent<ApiType, [u32, AccountId32, u32, u32, u128, u128]>;
1093
+ Leased: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128], {
1094
+ paraId: u32;
1095
+ leaser: AccountId32;
1096
+ periodBegin: u32;
1097
+ periodCount: u32;
1098
+ extraReserved: u128;
1099
+ totalAmount: u128;
1100
+ }>;
743
1101
  /**
744
1102
  * A new `[lease_period]` is beginning.
745
1103
  **/
746
- NewLeasePeriod: AugmentedEvent<ApiType, [u32]>;
1104
+ NewLeasePeriod: AugmentedEvent<ApiType, [leasePeriod: u32], {
1105
+ leasePeriod: u32;
1106
+ }>;
747
1107
  /**
748
1108
  * Generic event
749
1109
  **/
@@ -824,23 +1184,35 @@ declare module '@polkadot/api-base/types/events' {
824
1184
  /**
825
1185
  * An extrinsic failed.
826
1186
  **/
827
- ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
1187
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], {
1188
+ dispatchError: SpRuntimeDispatchError;
1189
+ dispatchInfo: FrameSupportWeightsDispatchInfo;
1190
+ }>;
828
1191
  /**
829
1192
  * An extrinsic completed successfully.
830
1193
  **/
831
- ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
1194
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], {
1195
+ dispatchInfo: FrameSupportWeightsDispatchInfo;
1196
+ }>;
832
1197
  /**
833
1198
  * An account was reaped.
834
1199
  **/
835
- KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
1200
+ KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], {
1201
+ account: AccountId32;
1202
+ }>;
836
1203
  /**
837
1204
  * A new account was created.
838
1205
  **/
839
- NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
1206
+ NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
1207
+ account: AccountId32;
1208
+ }>;
840
1209
  /**
841
1210
  * On on-chain remark happened.
842
1211
  **/
843
- Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
1212
+ Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], {
1213
+ sender: AccountId32;
1214
+ hash_: H256;
1215
+ }>;
844
1216
  /**
845
1217
  * Generic event
846
1218
  **/
@@ -850,33 +1222,58 @@ declare module '@polkadot/api-base/types/events' {
850
1222
  /**
851
1223
  * A motion was approved by the required threshold.
852
1224
  **/
853
- Approved: AugmentedEvent<ApiType, [H256]>;
1225
+ Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
1226
+ proposalHash: H256;
1227
+ }>;
854
1228
  /**
855
1229
  * A proposal was closed because its threshold was reached or after its duration was up.
856
1230
  **/
857
- Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
1231
+ Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
1232
+ proposalHash: H256;
1233
+ yes: u32;
1234
+ no: u32;
1235
+ }>;
858
1236
  /**
859
1237
  * A motion was not approved by the required threshold.
860
1238
  **/
861
- Disapproved: AugmentedEvent<ApiType, [H256]>;
1239
+ Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
1240
+ proposalHash: H256;
1241
+ }>;
862
1242
  /**
863
1243
  * A motion was executed; result will be `Ok` if it returned without error.
864
1244
  **/
865
- Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
1245
+ Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
1246
+ proposalHash: H256;
1247
+ result: Result<Null, SpRuntimeDispatchError>;
1248
+ }>;
866
1249
  /**
867
1250
  * A single member did some action; result will be `Ok` if it returned without error.
868
1251
  **/
869
- MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
1252
+ MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
1253
+ proposalHash: H256;
1254
+ result: Result<Null, SpRuntimeDispatchError>;
1255
+ }>;
870
1256
  /**
871
1257
  * A motion (given hash) has been proposed (by given account) with a threshold (given
872
1258
  * `MemberCount`).
873
1259
  **/
874
- Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
1260
+ Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
1261
+ account: AccountId32;
1262
+ proposalIndex: u32;
1263
+ proposalHash: H256;
1264
+ threshold: u32;
1265
+ }>;
875
1266
  /**
876
1267
  * A motion (given hash) has been voted on by given account, leaving
877
1268
  * a tally (yes votes and no votes given respectively as `MemberCount`).
878
1269
  **/
879
- Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
1270
+ Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
1271
+ account: AccountId32;
1272
+ proposalHash: H256;
1273
+ voted: bool;
1274
+ yes: u32;
1275
+ no: u32;
1276
+ }>;
880
1277
  /**
881
1278
  * Generic event
882
1279
  **/
@@ -916,23 +1313,37 @@ declare module '@polkadot/api-base/types/events' {
916
1313
  /**
917
1314
  * A new tip suggestion has been opened.
918
1315
  **/
919
- NewTip: AugmentedEvent<ApiType, [H256]>;
1316
+ NewTip: AugmentedEvent<ApiType, [tipHash: H256], {
1317
+ tipHash: H256;
1318
+ }>;
920
1319
  /**
921
1320
  * A tip suggestion has been closed.
922
1321
  **/
923
- TipClosed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
1322
+ TipClosed: AugmentedEvent<ApiType, [tipHash: H256, who: AccountId32, payout: u128], {
1323
+ tipHash: H256;
1324
+ who: AccountId32;
1325
+ payout: u128;
1326
+ }>;
924
1327
  /**
925
1328
  * A tip suggestion has reached threshold and is closing.
926
1329
  **/
927
- TipClosing: AugmentedEvent<ApiType, [H256]>;
1330
+ TipClosing: AugmentedEvent<ApiType, [tipHash: H256], {
1331
+ tipHash: H256;
1332
+ }>;
928
1333
  /**
929
1334
  * A tip suggestion has been retracted.
930
1335
  **/
931
- TipRetracted: AugmentedEvent<ApiType, [H256]>;
1336
+ TipRetracted: AugmentedEvent<ApiType, [tipHash: H256], {
1337
+ tipHash: H256;
1338
+ }>;
932
1339
  /**
933
1340
  * A tip suggestion has been slashed.
934
1341
  **/
935
- TipSlashed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
1342
+ TipSlashed: AugmentedEvent<ApiType, [tipHash: H256, finder: AccountId32, deposit: u128], {
1343
+ tipHash: H256;
1344
+ finder: AccountId32;
1345
+ deposit: u128;
1346
+ }>;
936
1347
  /**
937
1348
  * Generic event
938
1349
  **/
@@ -942,31 +1353,48 @@ declare module '@polkadot/api-base/types/events' {
942
1353
  /**
943
1354
  * Some funds have been allocated.
944
1355
  **/
945
- Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
1356
+ Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], {
1357
+ proposalIndex: u32;
1358
+ award: u128;
1359
+ account: AccountId32;
1360
+ }>;
946
1361
  /**
947
1362
  * Some of our funds have been burnt.
948
1363
  **/
949
- Burnt: AugmentedEvent<ApiType, [u128]>;
1364
+ Burnt: AugmentedEvent<ApiType, [burntFunds: u128], {
1365
+ burntFunds: u128;
1366
+ }>;
950
1367
  /**
951
1368
  * Some funds have been deposited.
952
1369
  **/
953
- Deposit: AugmentedEvent<ApiType, [u128]>;
1370
+ Deposit: AugmentedEvent<ApiType, [value: u128], {
1371
+ value: u128;
1372
+ }>;
954
1373
  /**
955
1374
  * New proposal.
956
1375
  **/
957
- Proposed: AugmentedEvent<ApiType, [u32]>;
1376
+ Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], {
1377
+ proposalIndex: u32;
1378
+ }>;
958
1379
  /**
959
1380
  * A proposal was rejected; funds were slashed.
960
1381
  **/
961
- Rejected: AugmentedEvent<ApiType, [u32, u128]>;
1382
+ Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], {
1383
+ proposalIndex: u32;
1384
+ slashed: u128;
1385
+ }>;
962
1386
  /**
963
1387
  * Spending has finished; this is the amount that rolls over until next spend.
964
1388
  **/
965
- Rollover: AugmentedEvent<ApiType, [u128]>;
1389
+ Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], {
1390
+ rolloverBalance: u128;
1391
+ }>;
966
1392
  /**
967
1393
  * We have ended a spend period and will now allocate funds.
968
1394
  **/
969
- Spending: AugmentedEvent<ApiType, [u128]>;
1395
+ Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
1396
+ budgetRemaining: u128;
1397
+ }>;
970
1398
  /**
971
1399
  * Generic event
972
1400
  **/
@@ -1032,11 +1460,16 @@ declare module '@polkadot/api-base/types/events' {
1032
1460
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1033
1461
  * well as the error.
1034
1462
  **/
1035
- BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>;
1463
+ BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], {
1464
+ index: u32;
1465
+ error: SpRuntimeDispatchError;
1466
+ }>;
1036
1467
  /**
1037
1468
  * A call was dispatched.
1038
1469
  **/
1039
- DispatchedAs: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
1470
+ DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
1471
+ result: Result<Null, SpRuntimeDispatchError>;
1472
+ }>;
1040
1473
  /**
1041
1474
  * A single item within a Batch of dispatches has completed with no error.
1042
1475
  **/
@@ -1044,7 +1477,9 @@ declare module '@polkadot/api-base/types/events' {
1044
1477
  /**
1045
1478
  * A single item within a Batch of dispatches has completed with error.
1046
1479
  **/
1047
- ItemFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
1480
+ ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
1481
+ error: SpRuntimeDispatchError;
1482
+ }>;
1048
1483
  /**
1049
1484
  * Generic event
1050
1485
  **/
@@ -1054,12 +1489,17 @@ declare module '@polkadot/api-base/types/events' {
1054
1489
  /**
1055
1490
  * An \[account\] has become fully vested.
1056
1491
  **/
1057
- VestingCompleted: AugmentedEvent<ApiType, [AccountId32]>;
1492
+ VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], {
1493
+ account: AccountId32;
1494
+ }>;
1058
1495
  /**
1059
1496
  * The amount vested has been updated. This could indicate a change in funds available.
1060
1497
  * The balance given is the amount which is left unvested (and thus locked).
1061
1498
  **/
1062
- VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
1499
+ VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], {
1500
+ account: AccountId32;
1501
+ unvested: u128;
1502
+ }>;
1063
1503
  /**
1064
1504
  * Generic event
1065
1505
  **/
@@ -1069,11 +1509,18 @@ declare module '@polkadot/api-base/types/events' {
1069
1509
  /**
1070
1510
  * Moved an account from one bag to another.
1071
1511
  **/
1072
- Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
1512
+ Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], {
1513
+ who: AccountId32;
1514
+ from: u64;
1515
+ to: u64;
1516
+ }>;
1073
1517
  /**
1074
1518
  * Updated the score of some account to the given amount.
1075
1519
  **/
1076
- ScoreUpdated: AugmentedEvent<ApiType, [AccountId32, u64]>;
1520
+ ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], {
1521
+ who: AccountId32;
1522
+ newScore: u64;
1523
+ }>;
1077
1524
  /**
1078
1525
  * Generic event
1079
1526
  **/