@webb-tools/tangle-substrate-types 0.5.8 → 0.5.12

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.
Files changed (84) hide show
  1. package/README.md +11 -2
  2. package/{build/interfaces → interfaces}/augment-api-consts.d.ts +119 -24
  3. package/{ts-types/src/interfaces → interfaces}/augment-api-errors.d.ts +199 -342
  4. package/{build/interfaces → interfaces}/augment-api-events.d.ts +1365 -378
  5. package/{build/interfaces → interfaces}/augment-api-query.d.ts +718 -261
  6. package/{ts-types/src/interfaces → interfaces}/augment-api-tx.d.ts +1684 -442
  7. package/{ts-types/src/interfaces → interfaces}/lookup.d.ts +1425 -1093
  8. package/{build/interfaces → interfaces}/lookup.js +1443 -1111
  9. package/{build/interfaces → interfaces}/registry.d.ts +62 -75
  10. package/{ts-types/src/interfaces → interfaces}/types-lookup.d.ts +1233 -1128
  11. package/metadata/static-latest.d.ts +2 -0
  12. package/metadata/static-latest.js +7 -0
  13. package/package.json +1 -72
  14. package/.envrc +0 -5
  15. package/babel-config-cjs.cjs +0 -10
  16. package/build/interfaces/augment-api-errors.d.ts +0 -2144
  17. package/build/interfaces/augment-api-tx.d.ts +0 -2876
  18. package/build/interfaces/lookup.d.ts +0 -5908
  19. package/build/interfaces/types-lookup.d.ts +0 -6052
  20. package/build/metadata/static-latest.d.ts +0 -2
  21. package/build/metadata/static-latest.js +0 -7
  22. package/build/metadata/static-type.d.ts +0 -2
  23. package/build/metadata/static-type.js +0 -1
  24. package/build/package.json +0 -1
  25. package/playground.ts +0 -86
  26. package/polkadot-dev-configs/babel-config-cjs.cjs +0 -12
  27. package/polkadot-dev-configs/babel-general.cjs +0 -15
  28. package/polkadot-dev-configs/babel-plugins.cjs +0 -21
  29. package/polkadot-dev-configs/babel-presets.cjs +0 -33
  30. package/polkadot-dev-configs/babel-resolver.cjs +0 -14
  31. package/scripts/build.js +0 -134
  32. package/scripts/publish-types.js +0 -95
  33. package/scripts/updateMetadata.ts +0 -44
  34. package/src/examples/job_and_result_submission.ts +0 -203
  35. package/src/index.ts +0 -7
  36. package/src/interfaces/augment-api-consts.ts +0 -958
  37. package/src/interfaces/augment-api-errors.ts +0 -2152
  38. package/src/interfaces/augment-api-events.ts +0 -1465
  39. package/src/interfaces/augment-api-query.ts +0 -1629
  40. package/src/interfaces/augment-api-rpc.ts +0 -617
  41. package/src/interfaces/augment-api-runtime.ts +0 -308
  42. package/src/interfaces/augment-api-tx.ts +0 -1550
  43. package/src/interfaces/augment-api.ts +0 -10
  44. package/src/interfaces/augment-types.ts +0 -1256
  45. package/src/interfaces/lookup.ts +0 -5912
  46. package/src/interfaces/registry.ts +0 -433
  47. package/src/interfaces/types-lookup.ts +0 -6455
  48. package/src/metadata/metadata.json +0 -5
  49. package/src/metadata/static-latest.ts +0 -1
  50. package/src/metadata/static-type.ts +0 -3
  51. package/ts-types/playground.d.ts +0 -1
  52. package/ts-types/src/examples/job_and_result_submission.d.ts +0 -1
  53. package/ts-types/src/index.d.ts +0 -3
  54. package/ts-types/src/interfaces/augment-api-consts.d.ts +0 -950
  55. package/ts-types/src/interfaces/augment-api-events.d.ts +0 -2281
  56. package/ts-types/src/interfaces/augment-api-query.d.ts +0 -1660
  57. package/ts-types/src/interfaces/augment-api-rpc.d.ts +0 -679
  58. package/ts-types/src/interfaces/augment-api-runtime.d.ts +0 -363
  59. package/ts-types/src/interfaces/augment-api.d.ts +0 -7
  60. package/ts-types/src/interfaces/augment-types.d.ts +0 -1249
  61. package/ts-types/src/interfaces/registry.d.ts +0 -426
  62. package/ts-types/src/metadata/static-latest.d.ts +0 -2
  63. package/ts-types/src/metadata/static-type.d.ts +0 -2
  64. package/ts-types/tsconfig.tsbuildinfo +0 -1
  65. package/tsconfig.json +0 -36
  66. /package/{build/examples → examples}/job_and_result_submission.d.ts +0 -0
  67. /package/{build/examples → examples}/job_and_result_submission.js +0 -0
  68. /package/{build/index.d.ts → index.d.ts} +0 -0
  69. /package/{build/index.js → index.js} +0 -0
  70. /package/{build/interfaces → interfaces}/augment-api-consts.js +0 -0
  71. /package/{build/interfaces → interfaces}/augment-api-errors.js +0 -0
  72. /package/{build/interfaces → interfaces}/augment-api-events.js +0 -0
  73. /package/{build/interfaces → interfaces}/augment-api-query.js +0 -0
  74. /package/{build/interfaces → interfaces}/augment-api-rpc.d.ts +0 -0
  75. /package/{build/interfaces → interfaces}/augment-api-rpc.js +0 -0
  76. /package/{build/interfaces → interfaces}/augment-api-runtime.d.ts +0 -0
  77. /package/{build/interfaces → interfaces}/augment-api-runtime.js +0 -0
  78. /package/{build/interfaces → interfaces}/augment-api-tx.js +0 -0
  79. /package/{build/interfaces → interfaces}/augment-api.d.ts +0 -0
  80. /package/{build/interfaces → interfaces}/augment-api.js +0 -0
  81. /package/{build/interfaces → interfaces}/augment-types.d.ts +0 -0
  82. /package/{build/interfaces → interfaces}/augment-types.js +0 -0
  83. /package/{build/interfaces → interfaces}/registry.js +0 -0
  84. /package/{build/interfaces → interfaces}/types-lookup.js +0 -0
@@ -1,17 +1,21 @@
1
- import '@polkadot/api-base/types/events';
2
- import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
- import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
- import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, SygmaTraitsTransferType, SygmaFeeHandlerRouterFeeHandlerType, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
1
+ import "@polkadot/api-base/types/events";
2
+ import type { ApiTypes, AugmentedEvent } from "@polkadot/api-base/types";
3
+ import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from "@polkadot/types-codec";
4
+ import type { ITuple } from "@polkadot/types-codec/types";
5
+ import type { AccountId32, H160, H256, Perbill, Percent, Permill } from "@polkadot/types/interfaces/runtime";
6
+ import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, PalletTangleLstCommissionCommissionChangeRate, PalletTangleLstCommissionCommissionClaimPermission, PalletTangleLstPoolsPoolState, PalletMultiAssetDelegationRewardsAssetAction, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, TanglePrimitivesServicesApprovalPrefrence, TanglePrimitivesServicesField, TanglePrimitivesServicesPriceTargets, TanglePrimitivesServicesOperatorPreferences, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, SygmaTraitsTransferType, SygmaFeeHandlerRouterFeeHandlerType, FrameSupportDispatchDispatchInfo } from "@polkadot/types/lookup";
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
- declare module '@polkadot/api-base/types/events' {
8
+ declare module "@polkadot/api-base/types/events" {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
10
10
  assets: {
11
11
  /**
12
12
  * Accounts were destroyed for given asset.
13
13
  **/
14
- AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], {
14
+ AccountsDestroyed: AugmentedEvent<ApiType, [
15
+ assetId: u128,
16
+ accountsDestroyed: u32,
17
+ accountsRemaining: u32
18
+ ], {
15
19
  assetId: u128;
16
20
  accountsDestroyed: u32;
17
21
  accountsRemaining: u32;
@@ -19,7 +23,11 @@ declare module '@polkadot/api-base/types/events' {
19
23
  /**
20
24
  * An approval for account `delegate` was cancelled by `owner`.
21
25
  **/
22
- ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32], {
26
+ ApprovalCancelled: AugmentedEvent<ApiType, [
27
+ assetId: u128,
28
+ owner: AccountId32,
29
+ delegate: AccountId32
30
+ ], {
23
31
  assetId: u128;
24
32
  owner: AccountId32;
25
33
  delegate: AccountId32;
@@ -27,7 +35,11 @@ declare module '@polkadot/api-base/types/events' {
27
35
  /**
28
36
  * Approvals were destroyed for given asset.
29
37
  **/
30
- ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], {
38
+ ApprovalsDestroyed: AugmentedEvent<ApiType, [
39
+ assetId: u128,
40
+ approvalsDestroyed: u32,
41
+ approvalsRemaining: u32
42
+ ], {
31
43
  assetId: u128;
32
44
  approvalsDestroyed: u32;
33
45
  approvalsRemaining: u32;
@@ -35,7 +47,12 @@ declare module '@polkadot/api-base/types/events' {
35
47
  /**
36
48
  * (Additional) funds have been approved for transfer to a destination account.
37
49
  **/
38
- ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128], {
50
+ ApprovedTransfer: AugmentedEvent<ApiType, [
51
+ assetId: u128,
52
+ source: AccountId32,
53
+ delegate: AccountId32,
54
+ amount: u128
55
+ ], {
39
56
  assetId: u128;
40
57
  source: AccountId32;
41
58
  delegate: AccountId32;
@@ -50,14 +67,19 @@ declare module '@polkadot/api-base/types/events' {
50
67
  /**
51
68
  * The min_balance of an asset has been updated by the asset owner.
52
69
  **/
53
- AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u128, newMinBalance: u128], {
70
+ AssetMinBalanceChanged: AugmentedEvent<ApiType, [
71
+ assetId: u128,
72
+ newMinBalance: u128
73
+ ], {
54
74
  assetId: u128;
55
75
  newMinBalance: u128;
56
76
  }>;
57
77
  /**
58
78
  * An asset has had its attributes changed by the `Force` origin.
59
79
  **/
60
- AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u128], {
80
+ AssetStatusChanged: AugmentedEvent<ApiType, [
81
+ assetId: u128
82
+ ], {
61
83
  assetId: u128;
62
84
  }>;
63
85
  /**
@@ -69,14 +91,21 @@ declare module '@polkadot/api-base/types/events' {
69
91
  /**
70
92
  * Some account `who` was blocked.
71
93
  **/
72
- Blocked: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
94
+ Blocked: AugmentedEvent<ApiType, [
95
+ assetId: u128,
96
+ who: AccountId32
97
+ ], {
73
98
  assetId: u128;
74
99
  who: AccountId32;
75
100
  }>;
76
101
  /**
77
102
  * Some assets were destroyed.
78
103
  **/
79
- Burned: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, balance: u128], {
104
+ Burned: AugmentedEvent<ApiType, [
105
+ assetId: u128,
106
+ owner: AccountId32,
107
+ balance: u128
108
+ ], {
80
109
  assetId: u128;
81
110
  owner: AccountId32;
82
111
  balance: u128;
@@ -84,7 +113,11 @@ declare module '@polkadot/api-base/types/events' {
84
113
  /**
85
114
  * Some asset class was created.
86
115
  **/
87
- Created: AugmentedEvent<ApiType, [assetId: u128, creator: AccountId32, owner: AccountId32], {
116
+ Created: AugmentedEvent<ApiType, [
117
+ assetId: u128,
118
+ creator: AccountId32,
119
+ owner: AccountId32
120
+ ], {
88
121
  assetId: u128;
89
122
  creator: AccountId32;
90
123
  owner: AccountId32;
@@ -98,27 +131,39 @@ declare module '@polkadot/api-base/types/events' {
98
131
  /**
99
132
  * An asset class is in the process of being destroyed.
100
133
  **/
101
- DestructionStarted: AugmentedEvent<ApiType, [assetId: u128], {
134
+ DestructionStarted: AugmentedEvent<ApiType, [
135
+ assetId: u128
136
+ ], {
102
137
  assetId: u128;
103
138
  }>;
104
139
  /**
105
140
  * Some asset class was force-created.
106
141
  **/
107
- ForceCreated: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], {
142
+ ForceCreated: AugmentedEvent<ApiType, [
143
+ assetId: u128,
144
+ owner: AccountId32
145
+ ], {
108
146
  assetId: u128;
109
147
  owner: AccountId32;
110
148
  }>;
111
149
  /**
112
150
  * Some account `who` was frozen.
113
151
  **/
114
- Frozen: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
152
+ Frozen: AugmentedEvent<ApiType, [
153
+ assetId: u128,
154
+ who: AccountId32
155
+ ], {
115
156
  assetId: u128;
116
157
  who: AccountId32;
117
158
  }>;
118
159
  /**
119
160
  * Some assets were issued.
120
161
  **/
121
- Issued: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, amount: u128], {
162
+ Issued: AugmentedEvent<ApiType, [
163
+ assetId: u128,
164
+ owner: AccountId32,
165
+ amount: u128
166
+ ], {
122
167
  assetId: u128;
123
168
  owner: AccountId32;
124
169
  amount: u128;
@@ -126,13 +171,21 @@ declare module '@polkadot/api-base/types/events' {
126
171
  /**
127
172
  * Metadata has been cleared for an asset.
128
173
  **/
129
- MetadataCleared: AugmentedEvent<ApiType, [assetId: u128], {
174
+ MetadataCleared: AugmentedEvent<ApiType, [
175
+ assetId: u128
176
+ ], {
130
177
  assetId: u128;
131
178
  }>;
132
179
  /**
133
180
  * New metadata has been set for an asset.
134
181
  **/
135
- MetadataSet: AugmentedEvent<ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], {
182
+ MetadataSet: AugmentedEvent<ApiType, [
183
+ assetId: u128,
184
+ name: Bytes,
185
+ symbol_: Bytes,
186
+ decimals: u8,
187
+ isFrozen: bool
188
+ ], {
136
189
  assetId: u128;
137
190
  name: Bytes;
138
191
  symbol: Bytes;
@@ -142,14 +195,22 @@ declare module '@polkadot/api-base/types/events' {
142
195
  /**
143
196
  * The owner changed.
144
197
  **/
145
- OwnerChanged: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], {
198
+ OwnerChanged: AugmentedEvent<ApiType, [
199
+ assetId: u128,
200
+ owner: AccountId32
201
+ ], {
146
202
  assetId: u128;
147
203
  owner: AccountId32;
148
204
  }>;
149
205
  /**
150
206
  * The management team changed.
151
207
  **/
152
- TeamChanged: AugmentedEvent<ApiType, [assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
208
+ TeamChanged: AugmentedEvent<ApiType, [
209
+ assetId: u128,
210
+ issuer: AccountId32,
211
+ admin: AccountId32,
212
+ freezer: AccountId32
213
+ ], {
153
214
  assetId: u128;
154
215
  issuer: AccountId32;
155
216
  admin: AccountId32;
@@ -158,14 +219,21 @@ declare module '@polkadot/api-base/types/events' {
158
219
  /**
159
220
  * Some account `who` was thawed.
160
221
  **/
161
- Thawed: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
222
+ Thawed: AugmentedEvent<ApiType, [
223
+ assetId: u128,
224
+ who: AccountId32
225
+ ], {
162
226
  assetId: u128;
163
227
  who: AccountId32;
164
228
  }>;
165
229
  /**
166
230
  * Some account `who` was created with a deposit from `depositor`.
167
231
  **/
168
- Touched: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32, depositor: AccountId32], {
232
+ Touched: AugmentedEvent<ApiType, [
233
+ assetId: u128,
234
+ who: AccountId32,
235
+ depositor: AccountId32
236
+ ], {
169
237
  assetId: u128;
170
238
  who: AccountId32;
171
239
  depositor: AccountId32;
@@ -173,7 +241,12 @@ declare module '@polkadot/api-base/types/events' {
173
241
  /**
174
242
  * Some assets were transferred.
175
243
  **/
176
- Transferred: AugmentedEvent<ApiType, [assetId: u128, from: AccountId32, to: AccountId32, amount: u128], {
244
+ Transferred: AugmentedEvent<ApiType, [
245
+ assetId: u128,
246
+ from: AccountId32,
247
+ to: AccountId32,
248
+ amount: u128
249
+ ], {
177
250
  assetId: u128;
178
251
  from: AccountId32;
179
252
  to: AccountId32;
@@ -183,7 +256,13 @@ declare module '@polkadot/api-base/types/events' {
183
256
  * An `amount` was transferred in its entirety from `owner` to `destination` by
184
257
  * the approved `delegate`.
185
258
  **/
186
- TransferredApproved: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], {
259
+ TransferredApproved: AugmentedEvent<ApiType, [
260
+ assetId: u128,
261
+ owner: AccountId32,
262
+ delegate: AccountId32,
263
+ destination: AccountId32,
264
+ amount: u128
265
+ ], {
187
266
  assetId: u128;
188
267
  owner: AccountId32;
189
268
  delegate: AccountId32;
@@ -199,7 +278,11 @@ declare module '@polkadot/api-base/types/events' {
199
278
  /**
200
279
  * Moved an account from one bag to another.
201
280
  **/
202
- Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], {
281
+ Rebagged: AugmentedEvent<ApiType, [
282
+ who: AccountId32,
283
+ from: u64,
284
+ to: u64
285
+ ], {
203
286
  who: AccountId32;
204
287
  from: u64;
205
288
  to: u64;
@@ -207,7 +290,10 @@ declare module '@polkadot/api-base/types/events' {
207
290
  /**
208
291
  * Updated the score of some account to the given amount.
209
292
  **/
210
- ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], {
293
+ ScoreUpdated: AugmentedEvent<ApiType, [
294
+ who: AccountId32,
295
+ newScore: u64
296
+ ], {
211
297
  who: AccountId32;
212
298
  newScore: u64;
213
299
  }>;
@@ -220,21 +306,30 @@ declare module '@polkadot/api-base/types/events' {
220
306
  /**
221
307
  * A balance was set by root.
222
308
  **/
223
- BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
309
+ BalanceSet: AugmentedEvent<ApiType, [
310
+ who: AccountId32,
311
+ free: u128
312
+ ], {
224
313
  who: AccountId32;
225
314
  free: u128;
226
315
  }>;
227
316
  /**
228
317
  * Some amount was burned from an account.
229
318
  **/
230
- Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
319
+ Burned: AugmentedEvent<ApiType, [
320
+ who: AccountId32,
321
+ amount: u128
322
+ ], {
231
323
  who: AccountId32;
232
324
  amount: u128;
233
325
  }>;
234
326
  /**
235
327
  * Some amount was deposited (e.g. for transaction fees).
236
328
  **/
237
- Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
329
+ Deposit: AugmentedEvent<ApiType, [
330
+ who: AccountId32,
331
+ amount: u128
332
+ ], {
238
333
  who: AccountId32;
239
334
  amount: u128;
240
335
  }>;
@@ -242,21 +337,30 @@ declare module '@polkadot/api-base/types/events' {
242
337
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
243
338
  * resulting in an outright loss.
244
339
  **/
245
- DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
340
+ DustLost: AugmentedEvent<ApiType, [
341
+ account: AccountId32,
342
+ amount: u128
343
+ ], {
246
344
  account: AccountId32;
247
345
  amount: u128;
248
346
  }>;
249
347
  /**
250
348
  * An account was created with some free balance.
251
349
  **/
252
- Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
350
+ Endowed: AugmentedEvent<ApiType, [
351
+ account: AccountId32,
352
+ freeBalance: u128
353
+ ], {
253
354
  account: AccountId32;
254
355
  freeBalance: u128;
255
356
  }>;
256
357
  /**
257
358
  * Some balance was frozen.
258
359
  **/
259
- Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
360
+ Frozen: AugmentedEvent<ApiType, [
361
+ who: AccountId32,
362
+ amount: u128
363
+ ], {
260
364
  who: AccountId32;
261
365
  amount: u128;
262
366
  }>;
@@ -269,14 +373,20 @@ declare module '@polkadot/api-base/types/events' {
269
373
  /**
270
374
  * Some balance was locked.
271
375
  **/
272
- Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
376
+ Locked: AugmentedEvent<ApiType, [
377
+ who: AccountId32,
378
+ amount: u128
379
+ ], {
273
380
  who: AccountId32;
274
381
  amount: u128;
275
382
  }>;
276
383
  /**
277
384
  * Some amount was minted into an account.
278
385
  **/
279
- Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
386
+ Minted: AugmentedEvent<ApiType, [
387
+ who: AccountId32,
388
+ amount: u128
389
+ ], {
280
390
  who: AccountId32;
281
391
  amount: u128;
282
392
  }>;
@@ -289,7 +399,10 @@ declare module '@polkadot/api-base/types/events' {
289
399
  /**
290
400
  * Some balance was reserved (moved from free to reserved).
291
401
  **/
292
- Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
402
+ Reserved: AugmentedEvent<ApiType, [
403
+ who: AccountId32,
404
+ amount: u128
405
+ ], {
293
406
  who: AccountId32;
294
407
  amount: u128;
295
408
  }>;
@@ -297,7 +410,12 @@ declare module '@polkadot/api-base/types/events' {
297
410
  * Some balance was moved from the reserve of the first account to the second account.
298
411
  * Final argument indicates the destination balance type.
299
412
  **/
300
- ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
413
+ ReserveRepatriated: AugmentedEvent<ApiType, [
414
+ from: AccountId32,
415
+ to: AccountId32,
416
+ amount: u128,
417
+ destinationStatus: FrameSupportTokensMiscBalanceStatus
418
+ ], {
301
419
  from: AccountId32;
302
420
  to: AccountId32;
303
421
  amount: u128;
@@ -306,42 +424,61 @@ declare module '@polkadot/api-base/types/events' {
306
424
  /**
307
425
  * Some amount was restored into an account.
308
426
  **/
309
- Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
427
+ Restored: AugmentedEvent<ApiType, [
428
+ who: AccountId32,
429
+ amount: u128
430
+ ], {
310
431
  who: AccountId32;
311
432
  amount: u128;
312
433
  }>;
313
434
  /**
314
435
  * Some amount was removed from the account (e.g. for misbehavior).
315
436
  **/
316
- Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
437
+ Slashed: AugmentedEvent<ApiType, [
438
+ who: AccountId32,
439
+ amount: u128
440
+ ], {
317
441
  who: AccountId32;
318
442
  amount: u128;
319
443
  }>;
320
444
  /**
321
445
  * Some amount was suspended from an account (it can be restored later).
322
446
  **/
323
- Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
447
+ Suspended: AugmentedEvent<ApiType, [
448
+ who: AccountId32,
449
+ amount: u128
450
+ ], {
324
451
  who: AccountId32;
325
452
  amount: u128;
326
453
  }>;
327
454
  /**
328
455
  * Some balance was thawed.
329
456
  **/
330
- Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
457
+ Thawed: AugmentedEvent<ApiType, [
458
+ who: AccountId32,
459
+ amount: u128
460
+ ], {
331
461
  who: AccountId32;
332
462
  amount: u128;
333
463
  }>;
334
464
  /**
335
465
  * The `TotalIssuance` was forcefully changed.
336
466
  **/
337
- TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
467
+ TotalIssuanceForced: AugmentedEvent<ApiType, [
468
+ old: u128,
469
+ new_: u128
470
+ ], {
338
471
  old: u128;
339
472
  new_: u128;
340
473
  }>;
341
474
  /**
342
475
  * Transfer succeeded.
343
476
  **/
344
- Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
477
+ Transfer: AugmentedEvent<ApiType, [
478
+ from: AccountId32,
479
+ to: AccountId32,
480
+ amount: u128
481
+ ], {
345
482
  from: AccountId32;
346
483
  to: AccountId32;
347
484
  amount: u128;
@@ -349,27 +486,38 @@ declare module '@polkadot/api-base/types/events' {
349
486
  /**
350
487
  * Some balance was unlocked.
351
488
  **/
352
- Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
489
+ Unlocked: AugmentedEvent<ApiType, [
490
+ who: AccountId32,
491
+ amount: u128
492
+ ], {
353
493
  who: AccountId32;
354
494
  amount: u128;
355
495
  }>;
356
496
  /**
357
497
  * Some balance was unreserved (moved from reserved to free).
358
498
  **/
359
- Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
499
+ Unreserved: AugmentedEvent<ApiType, [
500
+ who: AccountId32,
501
+ amount: u128
502
+ ], {
360
503
  who: AccountId32;
361
504
  amount: u128;
362
505
  }>;
363
506
  /**
364
507
  * An account was upgraded.
365
508
  **/
366
- Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
509
+ Upgraded: AugmentedEvent<ApiType, [
510
+ who: AccountId32
511
+ ], {
367
512
  who: AccountId32;
368
513
  }>;
369
514
  /**
370
515
  * Some amount was withdrawn from the account (e.g. for transaction fees).
371
516
  **/
372
- Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
517
+ Withdraw: AugmentedEvent<ApiType, [
518
+ who: AccountId32,
519
+ amount: u128
520
+ ], {
373
521
  who: AccountId32;
374
522
  amount: u128;
375
523
  }>;
@@ -383,7 +531,9 @@ declare module '@polkadot/api-base/types/events' {
383
531
  NewBaseFeePerGas: AugmentedEvent<ApiType, [fee: U256], {
384
532
  fee: U256;
385
533
  }>;
386
- NewElasticity: AugmentedEvent<ApiType, [elasticity: Permill], {
534
+ NewElasticity: AugmentedEvent<ApiType, [
535
+ elasticity: Permill
536
+ ], {
387
537
  elasticity: Permill;
388
538
  }>;
389
539
  /**
@@ -401,7 +551,10 @@ declare module '@polkadot/api-base/types/events' {
401
551
  /**
402
552
  * A bounty is awarded to a beneficiary.
403
553
  **/
404
- BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], {
554
+ BountyAwarded: AugmentedEvent<ApiType, [
555
+ index: u32,
556
+ beneficiary: AccountId32
557
+ ], {
405
558
  index: u32;
406
559
  beneficiary: AccountId32;
407
560
  }>;
@@ -420,7 +573,11 @@ declare module '@polkadot/api-base/types/events' {
420
573
  /**
421
574
  * A bounty is claimed by beneficiary.
422
575
  **/
423
- BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], {
576
+ BountyClaimed: AugmentedEvent<ApiType, [
577
+ index: u32,
578
+ payout: u128,
579
+ beneficiary: AccountId32
580
+ ], {
424
581
  index: u32;
425
582
  payout: u128;
426
583
  beneficiary: AccountId32;
@@ -440,28 +597,39 @@ declare module '@polkadot/api-base/types/events' {
440
597
  /**
441
598
  * A bounty proposal was rejected; funds were slashed.
442
599
  **/
443
- BountyRejected: AugmentedEvent<ApiType, [index: u32, bond: u128], {
600
+ BountyRejected: AugmentedEvent<ApiType, [
601
+ index: u32,
602
+ bond: u128
603
+ ], {
444
604
  index: u32;
445
605
  bond: u128;
446
606
  }>;
447
607
  /**
448
608
  * A bounty curator is accepted.
449
609
  **/
450
- CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
610
+ CuratorAccepted: AugmentedEvent<ApiType, [
611
+ bountyId: u32,
612
+ curator: AccountId32
613
+ ], {
451
614
  bountyId: u32;
452
615
  curator: AccountId32;
453
616
  }>;
454
617
  /**
455
618
  * A bounty curator is proposed.
456
619
  **/
457
- CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], {
620
+ CuratorProposed: AugmentedEvent<ApiType, [
621
+ bountyId: u32,
622
+ curator: AccountId32
623
+ ], {
458
624
  bountyId: u32;
459
625
  curator: AccountId32;
460
626
  }>;
461
627
  /**
462
628
  * A bounty curator is unassigned.
463
629
  **/
464
- CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], {
630
+ CuratorUnassigned: AugmentedEvent<ApiType, [
631
+ bountyId: u32
632
+ ], {
465
633
  bountyId: u32;
466
634
  }>;
467
635
  /**
@@ -473,14 +641,21 @@ declare module '@polkadot/api-base/types/events' {
473
641
  /**
474
642
  * A child-bounty is added.
475
643
  **/
476
- Added: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
644
+ Added: AugmentedEvent<ApiType, [
645
+ index: u32,
646
+ childIndex: u32
647
+ ], {
477
648
  index: u32;
478
649
  childIndex: u32;
479
650
  }>;
480
651
  /**
481
652
  * A child-bounty is awarded to a beneficiary.
482
653
  **/
483
- Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], {
654
+ Awarded: AugmentedEvent<ApiType, [
655
+ index: u32,
656
+ childIndex: u32,
657
+ beneficiary: AccountId32
658
+ ], {
484
659
  index: u32;
485
660
  childIndex: u32;
486
661
  beneficiary: AccountId32;
@@ -488,14 +663,22 @@ declare module '@polkadot/api-base/types/events' {
488
663
  /**
489
664
  * A child-bounty is cancelled.
490
665
  **/
491
- Canceled: AugmentedEvent<ApiType, [index: u32, childIndex: u32], {
666
+ Canceled: AugmentedEvent<ApiType, [
667
+ index: u32,
668
+ childIndex: u32
669
+ ], {
492
670
  index: u32;
493
671
  childIndex: u32;
494
672
  }>;
495
673
  /**
496
674
  * A child-bounty is claimed by beneficiary.
497
675
  **/
498
- Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], {
676
+ Claimed: AugmentedEvent<ApiType, [
677
+ index: u32,
678
+ childIndex: u32,
679
+ payout: u128,
680
+ beneficiary: AccountId32
681
+ ], {
499
682
  index: u32;
500
683
  childIndex: u32;
501
684
  payout: u128;
@@ -510,7 +693,11 @@ declare module '@polkadot/api-base/types/events' {
510
693
  /**
511
694
  * Someone claimed some native tokens.
512
695
  **/
513
- Claimed: AugmentedEvent<ApiType, [recipient: AccountId32, source: PalletAirdropClaimsUtilsMultiAddress, amount: u128], {
696
+ Claimed: AugmentedEvent<ApiType, [
697
+ recipient: AccountId32,
698
+ source: PalletAirdropClaimsUtilsMultiAddress,
699
+ amount: u128
700
+ ], {
514
701
  recipient: AccountId32;
515
702
  source: PalletAirdropClaimsUtilsMultiAddress;
516
703
  amount: u128;
@@ -524,13 +711,19 @@ declare module '@polkadot/api-base/types/events' {
524
711
  /**
525
712
  * A motion was approved by the required threshold.
526
713
  **/
527
- Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
714
+ Approved: AugmentedEvent<ApiType, [
715
+ proposalHash: H256
716
+ ], {
528
717
  proposalHash: H256;
529
718
  }>;
530
719
  /**
531
720
  * A proposal was closed because its threshold was reached or after its duration was up.
532
721
  **/
533
- Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
722
+ Closed: AugmentedEvent<ApiType, [
723
+ proposalHash: H256,
724
+ yes: u32,
725
+ no: u32
726
+ ], {
534
727
  proposalHash: H256;
535
728
  yes: u32;
536
729
  no: u32;
@@ -538,20 +731,28 @@ declare module '@polkadot/api-base/types/events' {
538
731
  /**
539
732
  * A motion was not approved by the required threshold.
540
733
  **/
541
- Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
734
+ Disapproved: AugmentedEvent<ApiType, [
735
+ proposalHash: H256
736
+ ], {
542
737
  proposalHash: H256;
543
738
  }>;
544
739
  /**
545
740
  * A motion was executed; result will be `Ok` if it returned without error.
546
741
  **/
547
- Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
742
+ Executed: AugmentedEvent<ApiType, [
743
+ proposalHash: H256,
744
+ result: Result<Null, SpRuntimeDispatchError>
745
+ ], {
548
746
  proposalHash: H256;
549
747
  result: Result<Null, SpRuntimeDispatchError>;
550
748
  }>;
551
749
  /**
552
750
  * A single member did some action; result will be `Ok` if it returned without error.
553
751
  **/
554
- MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
752
+ MemberExecuted: AugmentedEvent<ApiType, [
753
+ proposalHash: H256,
754
+ result: Result<Null, SpRuntimeDispatchError>
755
+ ], {
555
756
  proposalHash: H256;
556
757
  result: Result<Null, SpRuntimeDispatchError>;
557
758
  }>;
@@ -559,7 +760,12 @@ declare module '@polkadot/api-base/types/events' {
559
760
  * A motion (given hash) has been proposed (by given account) with a threshold (given
560
761
  * `MemberCount`).
561
762
  **/
562
- Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
763
+ Proposed: AugmentedEvent<ApiType, [
764
+ account: AccountId32,
765
+ proposalIndex: u32,
766
+ proposalHash: H256,
767
+ threshold: u32
768
+ ], {
563
769
  account: AccountId32;
564
770
  proposalIndex: u32;
565
771
  proposalHash: H256;
@@ -569,7 +775,13 @@ declare module '@polkadot/api-base/types/events' {
569
775
  * A motion (given hash) has been voted on by given account, leaving
570
776
  * a tally (yes votes and no votes given respectively as `MemberCount`).
571
777
  **/
572
- Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
778
+ Voted: AugmentedEvent<ApiType, [
779
+ account: AccountId32,
780
+ proposalHash: H256,
781
+ voted: bool,
782
+ yes: u32,
783
+ no: u32
784
+ ], {
573
785
  account: AccountId32;
574
786
  proposalHash: H256;
575
787
  voted: bool;
@@ -585,7 +797,9 @@ declare module '@polkadot/api-base/types/events' {
585
797
  /**
586
798
  * A proposal_hash has been blacklisted permanently.
587
799
  **/
588
- Blacklisted: AugmentedEvent<ApiType, [proposalHash: H256], {
800
+ Blacklisted: AugmentedEvent<ApiType, [
801
+ proposalHash: H256
802
+ ], {
589
803
  proposalHash: H256;
590
804
  }>;
591
805
  /**
@@ -597,7 +811,10 @@ declare module '@polkadot/api-base/types/events' {
597
811
  /**
598
812
  * An account has delegated their vote to another account.
599
813
  **/
600
- Delegated: AugmentedEvent<ApiType, [who: AccountId32, target: AccountId32], {
814
+ Delegated: AugmentedEvent<ApiType, [
815
+ who: AccountId32,
816
+ target: AccountId32
817
+ ], {
601
818
  who: AccountId32;
602
819
  target: AccountId32;
603
820
  }>;
@@ -608,21 +825,31 @@ declare module '@polkadot/api-base/types/events' {
608
825
  /**
609
826
  * Metadata for a proposal or a referendum has been cleared.
610
827
  **/
611
- MetadataCleared: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
828
+ MetadataCleared: AugmentedEvent<ApiType, [
829
+ owner: PalletDemocracyMetadataOwner,
830
+ hash_: H256
831
+ ], {
612
832
  owner: PalletDemocracyMetadataOwner;
613
833
  hash_: H256;
614
834
  }>;
615
835
  /**
616
836
  * Metadata for a proposal or a referendum has been set.
617
837
  **/
618
- MetadataSet: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
838
+ MetadataSet: AugmentedEvent<ApiType, [
839
+ owner: PalletDemocracyMetadataOwner,
840
+ hash_: H256
841
+ ], {
619
842
  owner: PalletDemocracyMetadataOwner;
620
843
  hash_: H256;
621
844
  }>;
622
845
  /**
623
846
  * Metadata has been transferred to new owner.
624
847
  **/
625
- MetadataTransferred: AugmentedEvent<ApiType, [prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256], {
848
+ MetadataTransferred: AugmentedEvent<ApiType, [
849
+ prevOwner: PalletDemocracyMetadataOwner,
850
+ owner: PalletDemocracyMetadataOwner,
851
+ hash_: H256
852
+ ], {
626
853
  prevOwner: PalletDemocracyMetadataOwner;
627
854
  owner: PalletDemocracyMetadataOwner;
628
855
  hash_: H256;
@@ -642,47 +869,67 @@ declare module '@polkadot/api-base/types/events' {
642
869
  /**
643
870
  * A proposal got canceled.
644
871
  **/
645
- ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], {
872
+ ProposalCanceled: AugmentedEvent<ApiType, [
873
+ propIndex: u32
874
+ ], {
646
875
  propIndex: u32;
647
876
  }>;
648
877
  /**
649
878
  * A motion has been proposed by a public account.
650
879
  **/
651
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
880
+ Proposed: AugmentedEvent<ApiType, [
881
+ proposalIndex: u32,
882
+ deposit: u128
883
+ ], {
652
884
  proposalIndex: u32;
653
885
  deposit: u128;
654
886
  }>;
655
887
  /**
656
888
  * An account has secconded a proposal
657
889
  **/
658
- Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], {
890
+ Seconded: AugmentedEvent<ApiType, [
891
+ seconder: AccountId32,
892
+ propIndex: u32
893
+ ], {
659
894
  seconder: AccountId32;
660
895
  propIndex: u32;
661
896
  }>;
662
897
  /**
663
898
  * A referendum has begun.
664
899
  **/
665
- Started: AugmentedEvent<ApiType, [refIndex: u32, threshold: PalletDemocracyVoteThreshold], {
900
+ Started: AugmentedEvent<ApiType, [
901
+ refIndex: u32,
902
+ threshold: PalletDemocracyVoteThreshold
903
+ ], {
666
904
  refIndex: u32;
667
905
  threshold: PalletDemocracyVoteThreshold;
668
906
  }>;
669
907
  /**
670
908
  * A public proposal has been tabled for referendum vote.
671
909
  **/
672
- Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
910
+ Tabled: AugmentedEvent<ApiType, [
911
+ proposalIndex: u32,
912
+ deposit: u128
913
+ ], {
673
914
  proposalIndex: u32;
674
915
  deposit: u128;
675
916
  }>;
676
917
  /**
677
918
  * An account has cancelled a previous delegation operation.
678
919
  **/
679
- Undelegated: AugmentedEvent<ApiType, [account: AccountId32], {
920
+ Undelegated: AugmentedEvent<ApiType, [
921
+ account: AccountId32
922
+ ], {
680
923
  account: AccountId32;
681
924
  }>;
682
925
  /**
683
926
  * An external proposal has been vetoed.
684
927
  **/
685
- Vetoed: AugmentedEvent<ApiType, [who: AccountId32, proposalHash: H256, until: u64], {
928
+ Vetoed: AugmentedEvent<ApiType, [
929
+ who: AccountId32,
930
+ proposalHash: H256,
931
+ until: u64
932
+ ], {
686
933
  who: AccountId32;
687
934
  proposalHash: H256;
688
935
  until: u64;
@@ -690,7 +937,11 @@ declare module '@polkadot/api-base/types/events' {
690
937
  /**
691
938
  * An account has voted in a referendum
692
939
  **/
693
- Voted: AugmentedEvent<ApiType, [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], {
940
+ Voted: AugmentedEvent<ApiType, [
941
+ voter: AccountId32,
942
+ refIndex: u32,
943
+ vote: PalletDemocracyVoteAccountVote
944
+ ], {
694
945
  voter: AccountId32;
695
946
  refIndex: u32;
696
947
  vote: PalletDemocracyVoteAccountVote;
@@ -700,24 +951,6 @@ declare module '@polkadot/api-base/types/events' {
700
951
  **/
701
952
  [key: string]: AugmentedEvent<ApiType>;
702
953
  };
703
- dkg: {
704
- /**
705
- * Fee has been updated to the new value
706
- **/
707
- FeeUpdated: AugmentedEvent<ApiType, [PalletDkgFeeInfo]>;
708
- /**
709
- * A DKG has been rotated.
710
- **/
711
- KeyRotated: AugmentedEvent<ApiType, [fromJobId: u64, toJobId: u64, signature: Bytes], {
712
- fromJobId: u64;
713
- toJobId: u64;
714
- signature: Bytes;
715
- }>;
716
- /**
717
- * Generic event
718
- **/
719
- [key: string]: AugmentedEvent<ApiType>;
720
- };
721
954
  electionProviderMultiPhase: {
722
955
  /**
723
956
  * An election failed.
@@ -728,14 +961,21 @@ declare module '@polkadot/api-base/types/events' {
728
961
  /**
729
962
  * The election has been finalized, with the given computation and score.
730
963
  **/
731
- ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], {
964
+ ElectionFinalized: AugmentedEvent<ApiType, [
965
+ compute: PalletElectionProviderMultiPhaseElectionCompute,
966
+ score: SpNposElectionsElectionScore
967
+ ], {
732
968
  compute: PalletElectionProviderMultiPhaseElectionCompute;
733
969
  score: SpNposElectionsElectionScore;
734
970
  }>;
735
971
  /**
736
972
  * There was a phase transition in a given round.
737
973
  **/
738
- PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32], {
974
+ PhaseTransitioned: AugmentedEvent<ApiType, [
975
+ from: PalletElectionProviderMultiPhasePhase,
976
+ to: PalletElectionProviderMultiPhasePhase,
977
+ round: u32
978
+ ], {
739
979
  from: PalletElectionProviderMultiPhasePhase;
740
980
  to: PalletElectionProviderMultiPhasePhase;
741
981
  round: u32;
@@ -743,14 +983,20 @@ declare module '@polkadot/api-base/types/events' {
743
983
  /**
744
984
  * An account has been rewarded for their signed submission being finalized.
745
985
  **/
746
- Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], {
986
+ Rewarded: AugmentedEvent<ApiType, [
987
+ account: AccountId32,
988
+ value: u128
989
+ ], {
747
990
  account: AccountId32;
748
991
  value: u128;
749
992
  }>;
750
993
  /**
751
994
  * An account has been slashed for submitting an invalid signed submission.
752
995
  **/
753
- Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], {
996
+ Slashed: AugmentedEvent<ApiType, [
997
+ account: AccountId32,
998
+ value: u128
999
+ ], {
754
1000
  account: AccountId32;
755
1001
  value: u128;
756
1002
  }>;
@@ -763,7 +1009,11 @@ declare module '@polkadot/api-base/types/events' {
763
1009
  * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
764
1010
  * room for this one.
765
1011
  **/
766
- SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], {
1012
+ SolutionStored: AugmentedEvent<ApiType, [
1013
+ compute: PalletElectionProviderMultiPhaseElectionCompute,
1014
+ origin: Option<AccountId32>,
1015
+ prevEjected: bool
1016
+ ], {
767
1017
  compute: PalletElectionProviderMultiPhaseElectionCompute;
768
1018
  origin: Option<AccountId32>;
769
1019
  prevEjected: bool;
@@ -780,7 +1030,10 @@ declare module '@polkadot/api-base/types/events' {
780
1030
  *
781
1031
  * Note that old members and runners-up are also candidates.
782
1032
  **/
783
- CandidateSlashed: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128], {
1033
+ CandidateSlashed: AugmentedEvent<ApiType, [
1034
+ candidate: AccountId32,
1035
+ amount: u128
1036
+ ], {
784
1037
  candidate: AccountId32;
785
1038
  amount: u128;
786
1039
  }>;
@@ -797,7 +1050,9 @@ declare module '@polkadot/api-base/types/events' {
797
1050
  * A member has been removed. This should always be followed by either `NewTerm` or
798
1051
  * `EmptyTerm`.
799
1052
  **/
800
- MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], {
1053
+ MemberKicked: AugmentedEvent<ApiType, [
1054
+ member: AccountId32
1055
+ ], {
801
1056
  member: AccountId32;
802
1057
  }>;
803
1058
  /**
@@ -807,19 +1062,26 @@ declare module '@polkadot/api-base/types/events' {
807
1062
  * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
808
1063
  * begin with.
809
1064
  **/
810
- NewTerm: AugmentedEvent<ApiType, [newMembers: Vec<ITuple<[AccountId32, u128]>>], {
1065
+ NewTerm: AugmentedEvent<ApiType, [
1066
+ newMembers: Vec<ITuple<[AccountId32, u128]>>
1067
+ ], {
811
1068
  newMembers: Vec<ITuple<[AccountId32, u128]>>;
812
1069
  }>;
813
1070
  /**
814
1071
  * Someone has renounced their candidacy.
815
1072
  **/
816
- Renounced: AugmentedEvent<ApiType, [candidate: AccountId32], {
1073
+ Renounced: AugmentedEvent<ApiType, [
1074
+ candidate: AccountId32
1075
+ ], {
817
1076
  candidate: AccountId32;
818
1077
  }>;
819
1078
  /**
820
1079
  * A seat holder was slashed by amount by being forcefully removed from the set.
821
1080
  **/
822
- SeatHolderSlashed: AugmentedEvent<ApiType, [seatHolder: AccountId32, amount: u128], {
1081
+ SeatHolderSlashed: AugmentedEvent<ApiType, [
1082
+ seatHolder: AccountId32,
1083
+ amount: u128
1084
+ ], {
823
1085
  seatHolder: AccountId32;
824
1086
  amount: u128;
825
1087
  }>;
@@ -832,7 +1094,13 @@ declare module '@polkadot/api-base/types/events' {
832
1094
  /**
833
1095
  * An ethereum transaction was successfully executed.
834
1096
  **/
835
- Executed: AugmentedEvent<ApiType, [from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason, extraData: Bytes], {
1097
+ Executed: AugmentedEvent<ApiType, [
1098
+ from: H160,
1099
+ to: H160,
1100
+ transactionHash: H256,
1101
+ exitReason: EvmCoreErrorExitReason,
1102
+ extraData: Bytes
1103
+ ], {
836
1104
  from: H160;
837
1105
  to: H160;
838
1106
  transactionHash: H256;
@@ -854,7 +1122,9 @@ declare module '@polkadot/api-base/types/events' {
854
1122
  /**
855
1123
  * A contract was attempted to be created, but the execution failed.
856
1124
  **/
857
- CreatedFailed: AugmentedEvent<ApiType, [address: H160], {
1125
+ CreatedFailed: AugmentedEvent<ApiType, [
1126
+ address: H160
1127
+ ], {
858
1128
  address: H160;
859
1129
  }>;
860
1130
  /**
@@ -866,7 +1136,9 @@ declare module '@polkadot/api-base/types/events' {
866
1136
  /**
867
1137
  * A contract has been executed with errors. States are reverted with only gas fees applied.
868
1138
  **/
869
- ExecutedFailed: AugmentedEvent<ApiType, [address: H160], {
1139
+ ExecutedFailed: AugmentedEvent<ApiType, [
1140
+ address: H160
1141
+ ], {
870
1142
  address: H160;
871
1143
  }>;
872
1144
  /**
@@ -884,7 +1156,9 @@ declare module '@polkadot/api-base/types/events' {
884
1156
  /**
885
1157
  * New authority set has been applied.
886
1158
  **/
887
- NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], {
1159
+ NewAuthorities: AugmentedEvent<ApiType, [
1160
+ authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
1161
+ ], {
888
1162
  authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
889
1163
  }>;
890
1164
  /**
@@ -904,87 +1178,122 @@ declare module '@polkadot/api-base/types/events' {
904
1178
  /**
905
1179
  * A username authority was added.
906
1180
  **/
907
- AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], {
1181
+ AuthorityAdded: AugmentedEvent<ApiType, [
1182
+ authority: AccountId32
1183
+ ], {
908
1184
  authority: AccountId32;
909
1185
  }>;
910
1186
  /**
911
1187
  * A username authority was removed.
912
1188
  **/
913
- AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], {
1189
+ AuthorityRemoved: AugmentedEvent<ApiType, [
1190
+ authority: AccountId32
1191
+ ], {
914
1192
  authority: AccountId32;
915
1193
  }>;
916
1194
  /**
917
1195
  * A dangling username (as in, a username corresponding to an account that has removed its
918
1196
  * identity) has been removed.
919
1197
  **/
920
- DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
1198
+ DanglingUsernameRemoved: AugmentedEvent<ApiType, [
1199
+ who: AccountId32,
1200
+ username: Bytes
1201
+ ], {
921
1202
  who: AccountId32;
922
1203
  username: Bytes;
923
1204
  }>;
924
1205
  /**
925
1206
  * A name was cleared, and the given balance returned.
926
1207
  **/
927
- IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
1208
+ IdentityCleared: AugmentedEvent<ApiType, [
1209
+ who: AccountId32,
1210
+ deposit: u128
1211
+ ], {
928
1212
  who: AccountId32;
929
1213
  deposit: u128;
930
1214
  }>;
931
1215
  /**
932
1216
  * A name was removed and the given balance slashed.
933
1217
  **/
934
- IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], {
1218
+ IdentityKilled: AugmentedEvent<ApiType, [
1219
+ who: AccountId32,
1220
+ deposit: u128
1221
+ ], {
935
1222
  who: AccountId32;
936
1223
  deposit: u128;
937
1224
  }>;
938
1225
  /**
939
1226
  * A name was set or reset (which will remove all judgements).
940
1227
  **/
941
- IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], {
1228
+ IdentitySet: AugmentedEvent<ApiType, [
1229
+ who: AccountId32
1230
+ ], {
942
1231
  who: AccountId32;
943
1232
  }>;
944
1233
  /**
945
1234
  * A judgement was given by a registrar.
946
1235
  **/
947
- JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], {
1236
+ JudgementGiven: AugmentedEvent<ApiType, [
1237
+ target: AccountId32,
1238
+ registrarIndex: u32
1239
+ ], {
948
1240
  target: AccountId32;
949
1241
  registrarIndex: u32;
950
1242
  }>;
951
1243
  /**
952
1244
  * A judgement was asked from a registrar.
953
1245
  **/
954
- JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
1246
+ JudgementRequested: AugmentedEvent<ApiType, [
1247
+ who: AccountId32,
1248
+ registrarIndex: u32
1249
+ ], {
955
1250
  who: AccountId32;
956
1251
  registrarIndex: u32;
957
1252
  }>;
958
1253
  /**
959
1254
  * A judgement request was retracted.
960
1255
  **/
961
- JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], {
1256
+ JudgementUnrequested: AugmentedEvent<ApiType, [
1257
+ who: AccountId32,
1258
+ registrarIndex: u32
1259
+ ], {
962
1260
  who: AccountId32;
963
1261
  registrarIndex: u32;
964
1262
  }>;
965
1263
  /**
966
1264
  * A queued username passed its expiration without being claimed and was removed.
967
1265
  **/
968
- PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], {
1266
+ PreapprovalExpired: AugmentedEvent<ApiType, [
1267
+ whose: AccountId32
1268
+ ], {
969
1269
  whose: AccountId32;
970
1270
  }>;
971
1271
  /**
972
1272
  * A username was set as a primary and can be looked up from `who`.
973
1273
  **/
974
- PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
1274
+ PrimaryUsernameSet: AugmentedEvent<ApiType, [
1275
+ who: AccountId32,
1276
+ username: Bytes
1277
+ ], {
975
1278
  who: AccountId32;
976
1279
  username: Bytes;
977
1280
  }>;
978
1281
  /**
979
1282
  * A registrar was added.
980
1283
  **/
981
- RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], {
1284
+ RegistrarAdded: AugmentedEvent<ApiType, [
1285
+ registrarIndex: u32
1286
+ ], {
982
1287
  registrarIndex: u32;
983
1288
  }>;
984
1289
  /**
985
1290
  * A sub-identity was added to an identity and the deposit paid.
986
1291
  **/
987
- SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
1292
+ SubIdentityAdded: AugmentedEvent<ApiType, [
1293
+ sub: AccountId32,
1294
+ main: AccountId32,
1295
+ deposit: u128
1296
+ ], {
988
1297
  sub: AccountId32;
989
1298
  main: AccountId32;
990
1299
  deposit: u128;
@@ -992,7 +1301,11 @@ declare module '@polkadot/api-base/types/events' {
992
1301
  /**
993
1302
  * A sub-identity was removed from an identity and the deposit freed.
994
1303
  **/
995
- SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
1304
+ SubIdentityRemoved: AugmentedEvent<ApiType, [
1305
+ sub: AccountId32,
1306
+ main: AccountId32,
1307
+ deposit: u128
1308
+ ], {
996
1309
  sub: AccountId32;
997
1310
  main: AccountId32;
998
1311
  deposit: u128;
@@ -1001,7 +1314,11 @@ declare module '@polkadot/api-base/types/events' {
1001
1314
  * A sub-identity was cleared, and the given deposit repatriated from the
1002
1315
  * main identity account to the sub-identity account.
1003
1316
  **/
1004
- SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], {
1317
+ SubIdentityRevoked: AugmentedEvent<ApiType, [
1318
+ sub: AccountId32,
1319
+ main: AccountId32,
1320
+ deposit: u128
1321
+ ], {
1005
1322
  sub: AccountId32;
1006
1323
  main: AccountId32;
1007
1324
  deposit: u128;
@@ -1009,7 +1326,11 @@ declare module '@polkadot/api-base/types/events' {
1009
1326
  /**
1010
1327
  * A username was queued, but `who` must accept it prior to `expiration`.
1011
1328
  **/
1012
- UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u64], {
1329
+ UsernameQueued: AugmentedEvent<ApiType, [
1330
+ who: AccountId32,
1331
+ username: Bytes,
1332
+ expiration: u64
1333
+ ], {
1013
1334
  who: AccountId32;
1014
1335
  username: Bytes;
1015
1336
  expiration: u64;
@@ -1017,7 +1338,10 @@ declare module '@polkadot/api-base/types/events' {
1017
1338
  /**
1018
1339
  * A username was set for `who`.
1019
1340
  **/
1020
- UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], {
1341
+ UsernameSet: AugmentedEvent<ApiType, [
1342
+ who: AccountId32,
1343
+ username: Bytes
1344
+ ], {
1021
1345
  who: AccountId32;
1022
1346
  username: Bytes;
1023
1347
  }>;
@@ -1034,13 +1358,17 @@ declare module '@polkadot/api-base/types/events' {
1034
1358
  /**
1035
1359
  * A new heartbeat was received from `AuthorityId`.
1036
1360
  **/
1037
- HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], {
1361
+ HeartbeatReceived: AugmentedEvent<ApiType, [
1362
+ authorityId: PalletImOnlineSr25519AppSr25519Public
1363
+ ], {
1038
1364
  authorityId: PalletImOnlineSr25519AppSr25519Public;
1039
1365
  }>;
1040
1366
  /**
1041
1367
  * At the end of the session, at least one validator was found to be offline.
1042
1368
  **/
1043
- SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>], {
1369
+ SomeOffline: AugmentedEvent<ApiType, [
1370
+ offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>
1371
+ ], {
1044
1372
  offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>;
1045
1373
  }>;
1046
1374
  /**
@@ -1052,7 +1380,10 @@ declare module '@polkadot/api-base/types/events' {
1052
1380
  /**
1053
1381
  * A account index was assigned.
1054
1382
  **/
1055
- IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], {
1383
+ IndexAssigned: AugmentedEvent<ApiType, [
1384
+ who: AccountId32,
1385
+ index: u32
1386
+ ], {
1056
1387
  who: AccountId32;
1057
1388
  index: u32;
1058
1389
  }>;
@@ -1065,7 +1396,10 @@ declare module '@polkadot/api-base/types/events' {
1065
1396
  /**
1066
1397
  * A account index has been frozen to its current account ID.
1067
1398
  **/
1068
- IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], {
1399
+ IndexFrozen: AugmentedEvent<ApiType, [
1400
+ index: u32,
1401
+ who: AccountId32
1402
+ ], {
1069
1403
  index: u32;
1070
1404
  who: AccountId32;
1071
1405
  }>;
@@ -1074,60 +1408,220 @@ declare module '@polkadot/api-base/types/events' {
1074
1408
  **/
1075
1409
  [key: string]: AugmentedEvent<ApiType>;
1076
1410
  };
1077
- jobs: {
1411
+ lst: {
1412
+ /**
1413
+ * A member has became bonded in a pool.
1414
+ **/
1415
+ Bonded: AugmentedEvent<ApiType, [
1416
+ member: AccountId32,
1417
+ poolId: u32,
1418
+ bonded: u128,
1419
+ joined: bool
1420
+ ], {
1421
+ member: AccountId32;
1422
+ poolId: u32;
1423
+ bonded: u128;
1424
+ joined: bool;
1425
+ }>;
1426
+ /**
1427
+ * A pool has been created.
1428
+ **/
1429
+ Created: AugmentedEvent<ApiType, [
1430
+ depositor: AccountId32,
1431
+ poolId: u32
1432
+ ], {
1433
+ depositor: AccountId32;
1434
+ poolId: u32;
1435
+ }>;
1436
+ /**
1437
+ * A pool has been destroyed.
1438
+ **/
1439
+ Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
1440
+ poolId: u32;
1441
+ }>;
1442
+ /**
1443
+ * A member has been removed from a pool.
1444
+ *
1445
+ * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1446
+ **/
1447
+ MemberRemoved: AugmentedEvent<ApiType, [
1448
+ poolId: u32,
1449
+ member: AccountId32
1450
+ ], {
1451
+ poolId: u32;
1452
+ member: AccountId32;
1453
+ }>;
1078
1454
  /**
1079
- * The participants of a job has been updated
1455
+ * Topped up deficit in frozen ED of the reward pool.
1080
1456
  **/
1081
- JobParticipantsUpdated: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo], {
1082
- jobId: u64;
1083
- roleType: TanglePrimitivesRolesRoleType;
1084
- details: TanglePrimitivesJobsJobInfo;
1457
+ MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [
1458
+ poolId: u32,
1459
+ amount: u128
1460
+ ], {
1461
+ poolId: u32;
1462
+ amount: u128;
1085
1463
  }>;
1086
1464
  /**
1087
- * An existing job was removed and refunded
1465
+ * Claimed excess frozen ED of af the reward pool.
1088
1466
  **/
1089
- JobRefunded: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType], {
1090
- jobId: u64;
1091
- roleType: TanglePrimitivesRolesRoleType;
1467
+ MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [
1468
+ poolId: u32,
1469
+ amount: u128
1470
+ ], {
1471
+ poolId: u32;
1472
+ amount: u128;
1092
1473
  }>;
1093
1474
  /**
1094
- * A job has been resubmitted, this is when a phase1 result has been discarded
1095
- * and a new phase1 job is requested
1475
+ * A payout has been made to a member.
1096
1476
  **/
1097
- JobReSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo], {
1098
- jobId: u64;
1099
- roleType: TanglePrimitivesRolesRoleType;
1100
- details: TanglePrimitivesJobsJobInfo;
1477
+ PaidOut: AugmentedEvent<ApiType, [
1478
+ member: AccountId32,
1479
+ poolId: u32,
1480
+ payout: u128
1481
+ ], {
1482
+ member: AccountId32;
1483
+ poolId: u32;
1484
+ payout: u128;
1101
1485
  }>;
1102
1486
  /**
1103
- * A job result expiry time has been extended
1487
+ * A pool's commission `change_rate` has been changed.
1104
1488
  **/
1105
- JobResultExtended: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, newExpiry: u64], {
1106
- jobId: u64;
1107
- roleType: TanglePrimitivesRolesRoleType;
1108
- newExpiry: u64;
1489
+ PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [
1490
+ poolId: u32,
1491
+ changeRate: PalletTangleLstCommissionCommissionChangeRate
1492
+ ], {
1493
+ poolId: u32;
1494
+ changeRate: PalletTangleLstCommissionCommissionChangeRate;
1109
1495
  }>;
1110
1496
  /**
1111
- * A new job result has been submitted
1497
+ * Pool commission has been claimed.
1112
1498
  **/
1113
- JobResultSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType], {
1114
- jobId: u64;
1115
- roleType: TanglePrimitivesRolesRoleType;
1499
+ PoolCommissionClaimed: AugmentedEvent<ApiType, [
1500
+ poolId: u32,
1501
+ commission: u128
1502
+ ], {
1503
+ poolId: u32;
1504
+ commission: u128;
1116
1505
  }>;
1117
1506
  /**
1118
- * A new job has been submitted
1507
+ * Pool commission claim permission has been updated.
1119
1508
  **/
1120
- JobSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobSubmission], {
1121
- jobId: u64;
1122
- roleType: TanglePrimitivesRolesRoleType;
1123
- details: TanglePrimitivesJobsJobSubmission;
1509
+ PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [
1510
+ poolId: u32,
1511
+ permission: Option<PalletTangleLstCommissionCommissionClaimPermission>
1512
+ ], {
1513
+ poolId: u32;
1514
+ permission: Option<PalletTangleLstCommissionCommissionClaimPermission>;
1515
+ }>;
1516
+ /**
1517
+ * A pool's commission setting has been changed.
1518
+ **/
1519
+ PoolCommissionUpdated: AugmentedEvent<ApiType, [
1520
+ poolId: u32,
1521
+ current: Option<ITuple<[Perbill, AccountId32]>>
1522
+ ], {
1523
+ poolId: u32;
1524
+ current: Option<ITuple<[Perbill, AccountId32]>>;
1525
+ }>;
1526
+ /**
1527
+ * A pool's maximum commission setting has been changed.
1528
+ **/
1529
+ PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [
1530
+ poolId: u32,
1531
+ maxCommission: Perbill
1532
+ ], {
1533
+ poolId: u32;
1534
+ maxCommission: Perbill;
1535
+ }>;
1536
+ /**
1537
+ * The active balance of pool `pool_id` has been slashed to `balance`.
1538
+ **/
1539
+ PoolSlashed: AugmentedEvent<ApiType, [
1540
+ poolId: u32,
1541
+ balance: u128
1542
+ ], {
1543
+ poolId: u32;
1544
+ balance: u128;
1545
+ }>;
1546
+ /**
1547
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
1548
+ * can never change.
1549
+ **/
1550
+ RolesUpdated: AugmentedEvent<ApiType, [
1551
+ root: Option<AccountId32>,
1552
+ bouncer: Option<AccountId32>,
1553
+ nominator: Option<AccountId32>
1554
+ ], {
1555
+ root: Option<AccountId32>;
1556
+ bouncer: Option<AccountId32>;
1557
+ nominator: Option<AccountId32>;
1558
+ }>;
1559
+ /**
1560
+ * The state of a pool has changed
1561
+ **/
1562
+ StateChanged: AugmentedEvent<ApiType, [
1563
+ poolId: u32,
1564
+ newState: PalletTangleLstPoolsPoolState
1565
+ ], {
1566
+ poolId: u32;
1567
+ newState: PalletTangleLstPoolsPoolState;
1568
+ }>;
1569
+ /**
1570
+ * A member has unbonded from their pool.
1571
+ *
1572
+ * - `balance` is the corresponding balance of the number of points that has been
1573
+ * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
1574
+ * pool.
1575
+ * - `points` is the number of points that are issued as a result of `balance` being
1576
+ * dissolved into the corresponding unbonding pool.
1577
+ * - `era` is the era in which the balance will be unbonded.
1578
+ * In the absence of slashing, these values will match. In the presence of slashing, the
1579
+ * number of points that are issued in the unbonding pool will be less than the amount
1580
+ * requested to be unbonded.
1581
+ **/
1582
+ Unbonded: AugmentedEvent<ApiType, [
1583
+ member: AccountId32,
1584
+ poolId: u32,
1585
+ balance: u128,
1586
+ points: u128,
1587
+ era: u32
1588
+ ], {
1589
+ member: AccountId32;
1590
+ poolId: u32;
1591
+ balance: u128;
1592
+ points: u128;
1593
+ era: u32;
1594
+ }>;
1595
+ /**
1596
+ * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1597
+ **/
1598
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [
1599
+ poolId: u32,
1600
+ era: u32,
1601
+ balance: u128
1602
+ ], {
1603
+ poolId: u32;
1604
+ era: u32;
1605
+ balance: u128;
1124
1606
  }>;
1125
1607
  /**
1126
- * validator has earned reward
1608
+ * A member has withdrawn from their pool.
1609
+ *
1610
+ * The given number of `points` have been dissolved in return of `balance`.
1611
+ *
1612
+ * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1613
+ * will be 1.
1127
1614
  **/
1128
- ValidatorRewarded: AugmentedEvent<ApiType, [id: AccountId32, reward: u128], {
1129
- id: AccountId32;
1130
- reward: u128;
1615
+ Withdrawn: AugmentedEvent<ApiType, [
1616
+ member: AccountId32,
1617
+ poolId: u32,
1618
+ balance: u128,
1619
+ points: u128
1620
+ ], {
1621
+ member: AccountId32;
1622
+ poolId: u32;
1623
+ balance: u128;
1624
+ points: u128;
1131
1625
  }>;
1132
1626
  /**
1133
1627
  * Generic event
@@ -1135,28 +1629,53 @@ declare module '@polkadot/api-base/types/events' {
1135
1629
  [key: string]: AugmentedEvent<ApiType>;
1136
1630
  };
1137
1631
  multiAssetDelegation: {
1632
+ /**
1633
+ * Asset has been updated to reward pool
1634
+ **/
1635
+ AssetUpdatedInPool: AugmentedEvent<ApiType, [
1636
+ who: AccountId32,
1637
+ poolId: u128,
1638
+ assetId: u128,
1639
+ action: PalletMultiAssetDelegationRewardsAssetAction
1640
+ ], {
1641
+ who: AccountId32;
1642
+ poolId: u128;
1643
+ assetId: u128;
1644
+ action: PalletMultiAssetDelegationRewardsAssetAction;
1645
+ }>;
1138
1646
  /**
1139
1647
  * Event emitted when a blueprint is whitelisted for rewards
1140
1648
  **/
1141
- BlueprintWhitelisted: AugmentedEvent<ApiType, [blueprintId: u32], {
1649
+ BlueprintWhitelisted: AugmentedEvent<ApiType, [
1650
+ blueprintId: u32
1651
+ ], {
1142
1652
  blueprintId: u32;
1143
1653
  }>;
1144
1654
  /**
1145
- * A delegator bond less request has been cancelled.
1655
+ * A delegator unstake request has been cancelled.
1146
1656
  **/
1147
- CancelledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], {
1657
+ CancelledDelegatorBondLess: AugmentedEvent<ApiType, [
1658
+ who: AccountId32
1659
+ ], {
1148
1660
  who: AccountId32;
1149
1661
  }>;
1150
1662
  /**
1151
- * An unstake has been cancelled.
1663
+ * An withdraw has been cancelled.
1152
1664
  **/
1153
- CancelledUnstake: AugmentedEvent<ApiType, [who: AccountId32], {
1665
+ Cancelledwithdraw: AugmentedEvent<ApiType, [
1666
+ who: AccountId32
1667
+ ], {
1154
1668
  who: AccountId32;
1155
1669
  }>;
1156
1670
  /**
1157
1671
  * A delegation has been made.
1158
1672
  **/
1159
- Delegated: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], {
1673
+ Delegated: AugmentedEvent<ApiType, [
1674
+ who: AccountId32,
1675
+ operator: AccountId32,
1676
+ amount: u128,
1677
+ assetId: u128
1678
+ ], {
1160
1679
  who: AccountId32;
1161
1680
  operator: AccountId32;
1162
1681
  amount: u128;
@@ -1165,115 +1684,152 @@ declare module '@polkadot/api-base/types/events' {
1165
1684
  /**
1166
1685
  * A deposit has been made.
1167
1686
  **/
1168
- Deposited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], {
1687
+ Deposited: AugmentedEvent<ApiType, [
1688
+ who: AccountId32,
1689
+ amount: u128,
1690
+ assetId: u128
1691
+ ], {
1169
1692
  who: AccountId32;
1170
1693
  amount: u128;
1171
- assetId: Option<u128>;
1694
+ assetId: u128;
1172
1695
  }>;
1173
1696
  /**
1174
- * A delegator bond less request has been executed.
1697
+ * A delegator unstake request has been executed.
1175
1698
  **/
1176
- ExecutedDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], {
1699
+ ExecutedDelegatorBondLess: AugmentedEvent<ApiType, [
1700
+ who: AccountId32
1701
+ ], {
1177
1702
  who: AccountId32;
1178
1703
  }>;
1179
1704
  /**
1180
- * An unstake has been executed.
1705
+ * An withdraw has been executed.
1181
1706
  **/
1182
- ExecutedUnstake: AugmentedEvent<ApiType, [who: AccountId32], {
1707
+ Executedwithdraw: AugmentedEvent<ApiType, [
1708
+ who: AccountId32
1709
+ ], {
1183
1710
  who: AccountId32;
1184
1711
  }>;
1185
1712
  /**
1186
- * Event emitted when an incentive APY and cap are set for an asset
1713
+ * Event emitted when an incentive APY and cap are set for a reward pool
1187
1714
  **/
1188
- IncentiveAPYAndCapSet: AugmentedEvent<ApiType, [assetId: u128, apy: u128, cap: u128], {
1189
- assetId: u128;
1190
- apy: u128;
1715
+ IncentiveAPYAndCapSet: AugmentedEvent<ApiType, [
1716
+ poolId: u128,
1717
+ apy: Percent,
1718
+ cap: u128
1719
+ ], {
1720
+ poolId: u128;
1721
+ apy: Percent;
1191
1722
  cap: u128;
1192
1723
  }>;
1193
1724
  /**
1194
- * An operator has cancelled their bond decrease request.
1725
+ * An operator has cancelled their stake decrease request.
1195
1726
  **/
1196
- OperatorBondLessCancelled: AugmentedEvent<ApiType, [who: AccountId32], {
1727
+ OperatorBondLessCancelled: AugmentedEvent<ApiType, [
1728
+ who: AccountId32
1729
+ ], {
1197
1730
  who: AccountId32;
1198
1731
  }>;
1199
1732
  /**
1200
- * An operator has executed their bond decrease.
1733
+ * An operator has executed their stake decrease.
1201
1734
  **/
1202
- OperatorBondLessExecuted: AugmentedEvent<ApiType, [who: AccountId32], {
1735
+ OperatorBondLessExecuted: AugmentedEvent<ApiType, [
1736
+ who: AccountId32
1737
+ ], {
1203
1738
  who: AccountId32;
1204
1739
  }>;
1205
1740
  /**
1206
- * An operator has scheduled to decrease their bond.
1741
+ * An operator has scheduled to decrease their stake.
1207
1742
  **/
1208
- OperatorBondLessScheduled: AugmentedEvent<ApiType, [who: AccountId32, bondLessAmount: u128], {
1743
+ OperatorBondLessScheduled: AugmentedEvent<ApiType, [
1744
+ who: AccountId32,
1745
+ unstakeAmount: u128
1746
+ ], {
1209
1747
  who: AccountId32;
1210
- bondLessAmount: u128;
1748
+ unstakeAmount: u128;
1211
1749
  }>;
1212
1750
  /**
1213
- * An operator has increased their bond.
1751
+ * An operator has increased their stake.
1214
1752
  **/
1215
- OperatorBondMore: AugmentedEvent<ApiType, [who: AccountId32, additionalBond: u128], {
1753
+ OperatorBondMore: AugmentedEvent<ApiType, [
1754
+ who: AccountId32,
1755
+ additionalBond: u128
1756
+ ], {
1216
1757
  who: AccountId32;
1217
1758
  additionalBond: u128;
1218
1759
  }>;
1219
1760
  /**
1220
1761
  * An operator has joined.
1221
1762
  **/
1222
- OperatorJoined: AugmentedEvent<ApiType, [who: AccountId32], {
1763
+ OperatorJoined: AugmentedEvent<ApiType, [
1764
+ who: AccountId32
1765
+ ], {
1223
1766
  who: AccountId32;
1224
1767
  }>;
1225
1768
  /**
1226
1769
  * An operator has cancelled their leave request.
1227
1770
  **/
1228
- OperatorLeaveCancelled: AugmentedEvent<ApiType, [who: AccountId32], {
1771
+ OperatorLeaveCancelled: AugmentedEvent<ApiType, [
1772
+ who: AccountId32
1773
+ ], {
1229
1774
  who: AccountId32;
1230
1775
  }>;
1231
1776
  /**
1232
1777
  * An operator has executed their leave request.
1233
1778
  **/
1234
- OperatorLeaveExecuted: AugmentedEvent<ApiType, [who: AccountId32], {
1779
+ OperatorLeaveExecuted: AugmentedEvent<ApiType, [
1780
+ who: AccountId32
1781
+ ], {
1235
1782
  who: AccountId32;
1236
1783
  }>;
1237
1784
  /**
1238
1785
  * An operator has scheduled to leave.
1239
1786
  **/
1240
- OperatorLeavingScheduled: AugmentedEvent<ApiType, [who: AccountId32], {
1787
+ OperatorLeavingScheduled: AugmentedEvent<ApiType, [
1788
+ who: AccountId32
1789
+ ], {
1241
1790
  who: AccountId32;
1242
1791
  }>;
1243
1792
  /**
1244
1793
  * An operator has gone offline.
1245
1794
  **/
1246
- OperatorWentOffline: AugmentedEvent<ApiType, [who: AccountId32], {
1795
+ OperatorWentOffline: AugmentedEvent<ApiType, [
1796
+ who: AccountId32
1797
+ ], {
1247
1798
  who: AccountId32;
1248
1799
  }>;
1249
1800
  /**
1250
1801
  * An operator has gone online.
1251
1802
  **/
1252
- OperatorWentOnline: AugmentedEvent<ApiType, [who: AccountId32], {
1803
+ OperatorWentOnline: AugmentedEvent<ApiType, [
1804
+ who: AccountId32
1805
+ ], {
1253
1806
  who: AccountId32;
1254
1807
  }>;
1255
1808
  /**
1256
- * A delegator bond less request has been scheduled.
1809
+ * A delegator unstake request has been scheduled.
1257
1810
  **/
1258
- ScheduledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], {
1811
+ ScheduledDelegatorBondLess: AugmentedEvent<ApiType, [
1812
+ who: AccountId32,
1813
+ operator: AccountId32,
1814
+ amount: u128,
1815
+ assetId: u128
1816
+ ], {
1259
1817
  who: AccountId32;
1260
1818
  operator: AccountId32;
1261
1819
  amount: u128;
1262
1820
  assetId: u128;
1263
1821
  }>;
1264
1822
  /**
1265
- * An unstake has been scheduled.
1823
+ * An withdraw has been scheduled.
1266
1824
  **/
1267
- ScheduledUnstake: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], {
1825
+ Scheduledwithdraw: AugmentedEvent<ApiType, [
1826
+ who: AccountId32,
1827
+ amount: u128,
1828
+ assetId: u128
1829
+ ], {
1268
1830
  who: AccountId32;
1269
1831
  amount: u128;
1270
- assetId: Option<u128>;
1271
- }>;
1272
- /**
1273
- * New whitelisted assets set
1274
- **/
1275
- WhitelistedAssetsSet: AugmentedEvent<ApiType, [assets: Vec<u128>], {
1276
- assets: Vec<u128>;
1832
+ assetId: u128;
1277
1833
  }>;
1278
1834
  /**
1279
1835
  * Generic event
@@ -1284,7 +1840,12 @@ declare module '@polkadot/api-base/types/events' {
1284
1840
  /**
1285
1841
  * A multisig operation has been approved by someone.
1286
1842
  **/
1287
- MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
1843
+ MultisigApproval: AugmentedEvent<ApiType, [
1844
+ approving: AccountId32,
1845
+ timepoint: PalletMultisigTimepoint,
1846
+ multisig: AccountId32,
1847
+ callHash: U8aFixed
1848
+ ], {
1288
1849
  approving: AccountId32;
1289
1850
  timepoint: PalletMultisigTimepoint;
1290
1851
  multisig: AccountId32;
@@ -1293,7 +1854,12 @@ declare module '@polkadot/api-base/types/events' {
1293
1854
  /**
1294
1855
  * A multisig operation has been cancelled.
1295
1856
  **/
1296
- MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], {
1857
+ MultisigCancelled: AugmentedEvent<ApiType, [
1858
+ cancelling: AccountId32,
1859
+ timepoint: PalletMultisigTimepoint,
1860
+ multisig: AccountId32,
1861
+ callHash: U8aFixed
1862
+ ], {
1297
1863
  cancelling: AccountId32;
1298
1864
  timepoint: PalletMultisigTimepoint;
1299
1865
  multisig: AccountId32;
@@ -1302,7 +1868,13 @@ declare module '@polkadot/api-base/types/events' {
1302
1868
  /**
1303
1869
  * A multisig operation has been executed.
1304
1870
  **/
1305
- MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], {
1871
+ MultisigExecuted: AugmentedEvent<ApiType, [
1872
+ approving: AccountId32,
1873
+ timepoint: PalletMultisigTimepoint,
1874
+ multisig: AccountId32,
1875
+ callHash: U8aFixed,
1876
+ result: Result<Null, SpRuntimeDispatchError>
1877
+ ], {
1306
1878
  approving: AccountId32;
1307
1879
  timepoint: PalletMultisigTimepoint;
1308
1880
  multisig: AccountId32;
@@ -1312,7 +1884,11 @@ declare module '@polkadot/api-base/types/events' {
1312
1884
  /**
1313
1885
  * A new multisig operation has begun.
1314
1886
  **/
1315
- NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], {
1887
+ NewMultisig: AugmentedEvent<ApiType, [
1888
+ approving: AccountId32,
1889
+ multisig: AccountId32,
1890
+ callHash: U8aFixed
1891
+ ], {
1316
1892
  approving: AccountId32;
1317
1893
  multisig: AccountId32;
1318
1894
  callHash: U8aFixed;
@@ -1326,7 +1902,12 @@ declare module '@polkadot/api-base/types/events' {
1326
1902
  /**
1327
1903
  * A member has became bonded in a pool.
1328
1904
  **/
1329
- Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], {
1905
+ Bonded: AugmentedEvent<ApiType, [
1906
+ member: AccountId32,
1907
+ poolId: u32,
1908
+ bonded: u128,
1909
+ joined: bool
1910
+ ], {
1330
1911
  member: AccountId32;
1331
1912
  poolId: u32;
1332
1913
  bonded: u128;
@@ -1335,7 +1916,10 @@ declare module '@polkadot/api-base/types/events' {
1335
1916
  /**
1336
1917
  * A pool has been created.
1337
1918
  **/
1338
- Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], {
1919
+ Created: AugmentedEvent<ApiType, [
1920
+ depositor: AccountId32,
1921
+ poolId: u32
1922
+ ], {
1339
1923
  depositor: AccountId32;
1340
1924
  poolId: u32;
1341
1925
  }>;
@@ -1350,28 +1934,41 @@ declare module '@polkadot/api-base/types/events' {
1350
1934
  *
1351
1935
  * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
1352
1936
  **/
1353
- MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], {
1937
+ MemberRemoved: AugmentedEvent<ApiType, [
1938
+ poolId: u32,
1939
+ member: AccountId32
1940
+ ], {
1354
1941
  poolId: u32;
1355
1942
  member: AccountId32;
1356
1943
  }>;
1357
1944
  /**
1358
1945
  * Topped up deficit in frozen ED of the reward pool.
1359
1946
  **/
1360
- MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1947
+ MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [
1948
+ poolId: u32,
1949
+ amount: u128
1950
+ ], {
1361
1951
  poolId: u32;
1362
1952
  amount: u128;
1363
1953
  }>;
1364
1954
  /**
1365
1955
  * Claimed excess frozen ED of af the reward pool.
1366
1956
  **/
1367
- MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], {
1957
+ MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [
1958
+ poolId: u32,
1959
+ amount: u128
1960
+ ], {
1368
1961
  poolId: u32;
1369
1962
  amount: u128;
1370
1963
  }>;
1371
1964
  /**
1372
1965
  * A payout has been made to a member.
1373
1966
  **/
1374
- PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], {
1967
+ PaidOut: AugmentedEvent<ApiType, [
1968
+ member: AccountId32,
1969
+ poolId: u32,
1970
+ payout: u128
1971
+ ], {
1375
1972
  member: AccountId32;
1376
1973
  poolId: u32;
1377
1974
  payout: u128;
@@ -1379,42 +1976,60 @@ declare module '@polkadot/api-base/types/events' {
1379
1976
  /**
1380
1977
  * A pool's commission `change_rate` has been changed.
1381
1978
  **/
1382
- PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
1979
+ PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [
1980
+ poolId: u32,
1981
+ changeRate: PalletNominationPoolsCommissionChangeRate
1982
+ ], {
1383
1983
  poolId: u32;
1384
1984
  changeRate: PalletNominationPoolsCommissionChangeRate;
1385
1985
  }>;
1386
1986
  /**
1387
1987
  * Pool commission has been claimed.
1388
1988
  **/
1389
- PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
1989
+ PoolCommissionClaimed: AugmentedEvent<ApiType, [
1990
+ poolId: u32,
1991
+ commission: u128
1992
+ ], {
1390
1993
  poolId: u32;
1391
1994
  commission: u128;
1392
1995
  }>;
1393
1996
  /**
1394
1997
  * Pool commission claim permission has been updated.
1395
1998
  **/
1396
- PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], {
1999
+ PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [
2000
+ poolId: u32,
2001
+ permission: Option<PalletNominationPoolsCommissionClaimPermission>
2002
+ ], {
1397
2003
  poolId: u32;
1398
2004
  permission: Option<PalletNominationPoolsCommissionClaimPermission>;
1399
2005
  }>;
1400
2006
  /**
1401
2007
  * A pool's commission setting has been changed.
1402
2008
  **/
1403
- PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
2009
+ PoolCommissionUpdated: AugmentedEvent<ApiType, [
2010
+ poolId: u32,
2011
+ current: Option<ITuple<[Perbill, AccountId32]>>
2012
+ ], {
1404
2013
  poolId: u32;
1405
2014
  current: Option<ITuple<[Perbill, AccountId32]>>;
1406
2015
  }>;
1407
2016
  /**
1408
2017
  * A pool's maximum commission setting has been changed.
1409
2018
  **/
1410
- PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
2019
+ PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [
2020
+ poolId: u32,
2021
+ maxCommission: Perbill
2022
+ ], {
1411
2023
  poolId: u32;
1412
2024
  maxCommission: Perbill;
1413
2025
  }>;
1414
2026
  /**
1415
2027
  * The active balance of pool `pool_id` has been slashed to `balance`.
1416
2028
  **/
1417
- PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], {
2029
+ PoolSlashed: AugmentedEvent<ApiType, [
2030
+ poolId: u32,
2031
+ balance: u128
2032
+ ], {
1418
2033
  poolId: u32;
1419
2034
  balance: u128;
1420
2035
  }>;
@@ -1422,7 +2037,11 @@ declare module '@polkadot/api-base/types/events' {
1422
2037
  * The roles of a pool have been updated to the given new roles. Note that the depositor
1423
2038
  * can never change.
1424
2039
  **/
1425
- RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], {
2040
+ RolesUpdated: AugmentedEvent<ApiType, [
2041
+ root: Option<AccountId32>,
2042
+ bouncer: Option<AccountId32>,
2043
+ nominator: Option<AccountId32>
2044
+ ], {
1426
2045
  root: Option<AccountId32>;
1427
2046
  bouncer: Option<AccountId32>;
1428
2047
  nominator: Option<AccountId32>;
@@ -1430,7 +2049,10 @@ declare module '@polkadot/api-base/types/events' {
1430
2049
  /**
1431
2050
  * The state of a pool has changed
1432
2051
  **/
1433
- StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], {
2052
+ StateChanged: AugmentedEvent<ApiType, [
2053
+ poolId: u32,
2054
+ newState: PalletNominationPoolsPoolState
2055
+ ], {
1434
2056
  poolId: u32;
1435
2057
  newState: PalletNominationPoolsPoolState;
1436
2058
  }>;
@@ -1447,7 +2069,13 @@ declare module '@polkadot/api-base/types/events' {
1447
2069
  * number of points that are issued in the unbonding pool will be less than the amount
1448
2070
  * requested to be unbonded.
1449
2071
  **/
1450
- Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], {
2072
+ Unbonded: AugmentedEvent<ApiType, [
2073
+ member: AccountId32,
2074
+ poolId: u32,
2075
+ balance: u128,
2076
+ points: u128,
2077
+ era: u32
2078
+ ], {
1451
2079
  member: AccountId32;
1452
2080
  poolId: u32;
1453
2081
  balance: u128;
@@ -1457,7 +2085,11 @@ declare module '@polkadot/api-base/types/events' {
1457
2085
  /**
1458
2086
  * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
1459
2087
  **/
1460
- UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], {
2088
+ UnbondingPoolSlashed: AugmentedEvent<ApiType, [
2089
+ poolId: u32,
2090
+ era: u32,
2091
+ balance: u128
2092
+ ], {
1461
2093
  poolId: u32;
1462
2094
  era: u32;
1463
2095
  balance: u128;
@@ -1470,7 +2102,12 @@ declare module '@polkadot/api-base/types/events' {
1470
2102
  * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
1471
2103
  * will be 1.
1472
2104
  **/
1473
- Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], {
2105
+ Withdrawn: AugmentedEvent<ApiType, [
2106
+ member: AccountId32,
2107
+ poolId: u32,
2108
+ balance: u128,
2109
+ points: u128
2110
+ ], {
1474
2111
  member: AccountId32;
1475
2112
  poolId: u32;
1476
2113
  balance: u128;
@@ -1487,7 +2124,10 @@ declare module '@polkadot/api-base/types/events' {
1487
2124
  * (kind-specific) time slot. This event is not deposited for duplicate slashes.
1488
2125
  * \[kind, timeslot\].
1489
2126
  **/
1490
- Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], {
2127
+ Offence: AugmentedEvent<ApiType, [
2128
+ kind: U8aFixed,
2129
+ timeslot: Bytes
2130
+ ], {
1491
2131
  kind: U8aFixed;
1492
2132
  timeslot: Bytes;
1493
2133
  }>;
@@ -1524,7 +2164,11 @@ declare module '@polkadot/api-base/types/events' {
1524
2164
  /**
1525
2165
  * An announcement was placed to make a call in the future.
1526
2166
  **/
1527
- Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], {
2167
+ Announced: AugmentedEvent<ApiType, [
2168
+ real: AccountId32,
2169
+ proxy: AccountId32,
2170
+ callHash: H256
2171
+ ], {
1528
2172
  real: AccountId32;
1529
2173
  proxy: AccountId32;
1530
2174
  callHash: H256;
@@ -1532,7 +2176,12 @@ declare module '@polkadot/api-base/types/events' {
1532
2176
  /**
1533
2177
  * A proxy was added.
1534
2178
  **/
1535
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], {
2179
+ ProxyAdded: AugmentedEvent<ApiType, [
2180
+ delegator: AccountId32,
2181
+ delegatee: AccountId32,
2182
+ proxyType: TangleTestnetRuntimeProxyType,
2183
+ delay: u64
2184
+ ], {
1536
2185
  delegator: AccountId32;
1537
2186
  delegatee: AccountId32;
1538
2187
  proxyType: TangleTestnetRuntimeProxyType;
@@ -1541,13 +2190,20 @@ declare module '@polkadot/api-base/types/events' {
1541
2190
  /**
1542
2191
  * A proxy was executed correctly, with the given.
1543
2192
  **/
1544
- ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
2193
+ ProxyExecuted: AugmentedEvent<ApiType, [
2194
+ result: Result<Null, SpRuntimeDispatchError>
2195
+ ], {
1545
2196
  result: Result<Null, SpRuntimeDispatchError>;
1546
2197
  }>;
1547
2198
  /**
1548
2199
  * A proxy was removed.
1549
2200
  **/
1550
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], {
2201
+ ProxyRemoved: AugmentedEvent<ApiType, [
2202
+ delegator: AccountId32,
2203
+ delegatee: AccountId32,
2204
+ proxyType: TangleTestnetRuntimeProxyType,
2205
+ delay: u64
2206
+ ], {
1551
2207
  delegator: AccountId32;
1552
2208
  delegatee: AccountId32;
1553
2209
  proxyType: TangleTestnetRuntimeProxyType;
@@ -1557,7 +2213,12 @@ declare module '@polkadot/api-base/types/events' {
1557
2213
  * A pure account has been created by new proxy with given
1558
2214
  * disambiguation index and proxy type.
1559
2215
  **/
1560
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16], {
2216
+ PureCreated: AugmentedEvent<ApiType, [
2217
+ pure: AccountId32,
2218
+ who: AccountId32,
2219
+ proxyType: TangleTestnetRuntimeProxyType,
2220
+ disambiguationIndex: u16
2221
+ ], {
1561
2222
  pure: AccountId32;
1562
2223
  who: AccountId32;
1563
2224
  proxyType: TangleTestnetRuntimeProxyType;
@@ -1568,130 +2229,286 @@ declare module '@polkadot/api-base/types/events' {
1568
2229
  **/
1569
2230
  [key: string]: AugmentedEvent<ApiType>;
1570
2231
  };
1571
- roles: {
2232
+ scheduler: {
1572
2233
  /**
1573
- * The min restaking bond amount has been updated
2234
+ * The call for the provided hash was not found so the task has been aborted.
1574
2235
  **/
1575
- MinRestakingBondUpdated: AugmentedEvent<ApiType, [value: u128], {
1576
- value: u128;
2236
+ CallUnavailable: AugmentedEvent<ApiType, [
2237
+ task: ITuple<[u64, u32]>,
2238
+ id: Option<U8aFixed>
2239
+ ], {
2240
+ task: ITuple<[u64, u32]>;
2241
+ id: Option<U8aFixed>;
1577
2242
  }>;
1578
2243
  /**
1579
- * The re-stakers' rewards are getting paid.
2244
+ * Canceled some task.
1580
2245
  **/
1581
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], {
1582
- eraIndex: u32;
1583
- validatorStash: AccountId32;
2246
+ Canceled: AugmentedEvent<ApiType, [
2247
+ when: u64,
2248
+ index: u32
2249
+ ], {
2250
+ when: u64;
2251
+ index: u32;
1584
2252
  }>;
1585
2253
  /**
1586
- * Pending jobs,that cannot be opted out at the moment.
2254
+ * Dispatched some task.
1587
2255
  **/
1588
- PendingJobs: AugmentedEvent<ApiType, [pendingJobs: Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>>], {
1589
- pendingJobs: Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>>;
2256
+ Dispatched: AugmentedEvent<ApiType, [
2257
+ task: ITuple<[u64, u32]>,
2258
+ id: Option<U8aFixed>,
2259
+ result: Result<Null, SpRuntimeDispatchError>
2260
+ ], {
2261
+ task: ITuple<[u64, u32]>;
2262
+ id: Option<U8aFixed>;
2263
+ result: Result<Null, SpRuntimeDispatchError>;
1590
2264
  }>;
1591
2265
  /**
1592
- * New profile created.
2266
+ * The given task was unable to be renewed since the agenda is full at that block.
1593
2267
  **/
1594
- ProfileCreated: AugmentedEvent<ApiType, [account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType>], {
1595
- account: AccountId32;
1596
- totalProfileRestake: u128;
1597
- roles: Vec<TanglePrimitivesRolesRoleType>;
2268
+ PeriodicFailed: AugmentedEvent<ApiType, [
2269
+ task: ITuple<[u64, u32]>,
2270
+ id: Option<U8aFixed>
2271
+ ], {
2272
+ task: ITuple<[u64, u32]>;
2273
+ id: Option<U8aFixed>;
1598
2274
  }>;
1599
2275
  /**
1600
- * Profile deleted.
2276
+ * The given task can never be executed since it is overweight.
1601
2277
  **/
1602
- ProfileDeleted: AugmentedEvent<ApiType, [account: AccountId32], {
1603
- account: AccountId32;
2278
+ PermanentlyOverweight: AugmentedEvent<ApiType, [
2279
+ task: ITuple<[u64, u32]>,
2280
+ id: Option<U8aFixed>
2281
+ ], {
2282
+ task: ITuple<[u64, u32]>;
2283
+ id: Option<U8aFixed>;
1604
2284
  }>;
1605
2285
  /**
1606
- * Profile updated.
2286
+ * Scheduled some task.
1607
2287
  **/
1608
- ProfileUpdated: AugmentedEvent<ApiType, [account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType>], {
1609
- account: AccountId32;
1610
- totalProfileRestake: u128;
1611
- roles: Vec<TanglePrimitivesRolesRoleType>;
2288
+ Scheduled: AugmentedEvent<ApiType, [
2289
+ when: u64,
2290
+ index: u32
2291
+ ], {
2292
+ when: u64;
2293
+ index: u32;
1612
2294
  }>;
1613
2295
  /**
1614
- * The re-staker has been rewarded by this amount.
2296
+ * Generic event
2297
+ **/
2298
+ [key: string]: AugmentedEvent<ApiType>;
2299
+ };
2300
+ services: {
2301
+ /**
2302
+ * The approval preference for an operator has been updated.
1615
2303
  **/
1616
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
1617
- stash: AccountId32;
1618
- amount: u128;
2304
+ ApprovalPreferenceUpdated: AugmentedEvent<ApiType, [
2305
+ operator: AccountId32,
2306
+ blueprintId: u64,
2307
+ approvalPreference: TanglePrimitivesServicesApprovalPrefrence
2308
+ ], {
2309
+ operator: AccountId32;
2310
+ blueprintId: u64;
2311
+ approvalPreference: TanglePrimitivesServicesApprovalPrefrence;
1619
2312
  }>;
1620
2313
  /**
1621
- * Role assigned to the validator.
2314
+ * A new service blueprint has been created.
1622
2315
  **/
1623
- RoleAssigned: AugmentedEvent<ApiType, [account: AccountId32, role: TanglePrimitivesRolesRoleType], {
1624
- account: AccountId32;
1625
- role: TanglePrimitivesRolesRoleType;
2316
+ BlueprintCreated: AugmentedEvent<ApiType, [
2317
+ owner: AccountId32,
2318
+ blueprintId: u64
2319
+ ], {
2320
+ owner: AccountId32;
2321
+ blueprintId: u64;
1626
2322
  }>;
1627
2323
  /**
1628
- * Removed validator from role.
2324
+ * An EVM log has been emitted during an execution.
1629
2325
  **/
1630
- RoleRemoved: AugmentedEvent<ApiType, [account: AccountId32, role: TanglePrimitivesRolesRoleType], {
1631
- account: AccountId32;
1632
- role: TanglePrimitivesRolesRoleType;
2326
+ EvmLog: AugmentedEvent<ApiType, [
2327
+ address: H160,
2328
+ topics: Vec<H256>,
2329
+ data: Bytes
2330
+ ], {
2331
+ address: H160;
2332
+ topics: Vec<H256>;
2333
+ data: Bytes;
1633
2334
  }>;
1634
2335
  /**
1635
- * Roles inflation reward paid for era
2336
+ * EVM execution reverted with a reason.
1636
2337
  **/
1637
- RolesRewardSet: AugmentedEvent<ApiType, [totalRewards: u128], {
1638
- totalRewards: u128;
2338
+ EvmReverted: AugmentedEvent<ApiType, [
2339
+ from: H160,
2340
+ to: H160,
2341
+ data: Bytes,
2342
+ reason: Bytes
2343
+ ], {
2344
+ from: H160;
2345
+ to: H160;
2346
+ data: Bytes;
2347
+ reason: Bytes;
2348
+ }>;
2349
+ /**
2350
+ * A job has been called.
2351
+ **/
2352
+ JobCalled: AugmentedEvent<ApiType, [
2353
+ caller: AccountId32,
2354
+ serviceId: u64,
2355
+ callId: u64,
2356
+ job: u8,
2357
+ args: Vec<TanglePrimitivesServicesField>
2358
+ ], {
2359
+ caller: AccountId32;
2360
+ serviceId: u64;
2361
+ callId: u64;
2362
+ job: u8;
2363
+ args: Vec<TanglePrimitivesServicesField>;
2364
+ }>;
2365
+ /**
2366
+ * A job result has been submitted.
2367
+ **/
2368
+ JobResultSubmitted: AugmentedEvent<ApiType, [
2369
+ operator: AccountId32,
2370
+ serviceId: u64,
2371
+ callId: u64,
2372
+ job: u8,
2373
+ result: Vec<TanglePrimitivesServicesField>
2374
+ ], {
2375
+ operator: AccountId32;
2376
+ serviceId: u64;
2377
+ callId: u64;
2378
+ job: u8;
2379
+ result: Vec<TanglePrimitivesServicesField>;
1639
2380
  }>;
1640
2381
  /**
1641
- * Slashed validator.
2382
+ * An operator has pre-registered for a service blueprint.
1642
2383
  **/
1643
- Slashed: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
1644
- account: AccountId32;
1645
- amount: u128;
2384
+ PreRegistration: AugmentedEvent<ApiType, [
2385
+ operator: AccountId32,
2386
+ blueprintId: u64
2387
+ ], {
2388
+ operator: AccountId32;
2389
+ blueprintId: u64;
1646
2390
  }>;
1647
2391
  /**
1648
- * Generic event
2392
+ * The price targets for an operator has been updated.
1649
2393
  **/
1650
- [key: string]: AugmentedEvent<ApiType>;
1651
- };
1652
- scheduler: {
2394
+ PriceTargetsUpdated: AugmentedEvent<ApiType, [
2395
+ operator: AccountId32,
2396
+ blueprintId: u64,
2397
+ priceTargets: TanglePrimitivesServicesPriceTargets
2398
+ ], {
2399
+ operator: AccountId32;
2400
+ blueprintId: u64;
2401
+ priceTargets: TanglePrimitivesServicesPriceTargets;
2402
+ }>;
1653
2403
  /**
1654
- * The call for the provided hash was not found so the task has been aborted.
2404
+ * An new operator has been registered.
1655
2405
  **/
1656
- CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], {
1657
- task: ITuple<[u64, u32]>;
1658
- id: Option<U8aFixed>;
2406
+ Registered: AugmentedEvent<ApiType, [
2407
+ provider: AccountId32,
2408
+ blueprintId: u64,
2409
+ preferences: TanglePrimitivesServicesOperatorPreferences,
2410
+ registrationArgs: Vec<TanglePrimitivesServicesField>
2411
+ ], {
2412
+ provider: AccountId32;
2413
+ blueprintId: u64;
2414
+ preferences: TanglePrimitivesServicesOperatorPreferences;
2415
+ registrationArgs: Vec<TanglePrimitivesServicesField>;
1659
2416
  }>;
1660
2417
  /**
1661
- * Canceled some task.
2418
+ * A service has been initiated.
1662
2419
  **/
1663
- Canceled: AugmentedEvent<ApiType, [when: u64, index: u32], {
1664
- when: u64;
1665
- index: u32;
2420
+ ServiceInitiated: AugmentedEvent<ApiType, [
2421
+ owner: AccountId32,
2422
+ requestId: Option<u64>,
2423
+ serviceId: u64,
2424
+ blueprintId: u64
2425
+ ], {
2426
+ owner: AccountId32;
2427
+ requestId: Option<u64>;
2428
+ serviceId: u64;
2429
+ blueprintId: u64;
1666
2430
  }>;
1667
2431
  /**
1668
- * Dispatched some task.
2432
+ * A service request has been approved.
1669
2433
  **/
1670
- Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], {
1671
- task: ITuple<[u64, u32]>;
1672
- id: Option<U8aFixed>;
1673
- result: Result<Null, SpRuntimeDispatchError>;
2434
+ ServiceRequestApproved: AugmentedEvent<ApiType, [
2435
+ operator: AccountId32,
2436
+ requestId: u64,
2437
+ blueprintId: u64,
2438
+ pendingApprovals: Vec<AccountId32>,
2439
+ approved: Vec<AccountId32>
2440
+ ], {
2441
+ operator: AccountId32;
2442
+ requestId: u64;
2443
+ blueprintId: u64;
2444
+ pendingApprovals: Vec<AccountId32>;
2445
+ approved: Vec<AccountId32>;
1674
2446
  }>;
1675
2447
  /**
1676
- * The given task was unable to be renewed since the agenda is full at that block.
2448
+ * A new service has been requested.
1677
2449
  **/
1678
- PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], {
1679
- task: ITuple<[u64, u32]>;
1680
- id: Option<U8aFixed>;
2450
+ ServiceRequested: AugmentedEvent<ApiType, [
2451
+ owner: AccountId32,
2452
+ requestId: u64,
2453
+ blueprintId: u64,
2454
+ pendingApprovals: Vec<AccountId32>,
2455
+ approved: Vec<AccountId32>
2456
+ ], {
2457
+ owner: AccountId32;
2458
+ requestId: u64;
2459
+ blueprintId: u64;
2460
+ pendingApprovals: Vec<AccountId32>;
2461
+ approved: Vec<AccountId32>;
1681
2462
  }>;
1682
2463
  /**
1683
- * The given task can never be executed since it is overweight.
2464
+ * A service request has been rejected.
1684
2465
  **/
1685
- PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], {
1686
- task: ITuple<[u64, u32]>;
1687
- id: Option<U8aFixed>;
2466
+ ServiceRequestRejected: AugmentedEvent<ApiType, [
2467
+ operator: AccountId32,
2468
+ requestId: u64,
2469
+ blueprintId: u64
2470
+ ], {
2471
+ operator: AccountId32;
2472
+ requestId: u64;
2473
+ blueprintId: u64;
1688
2474
  }>;
1689
2475
  /**
1690
- * Scheduled some task.
2476
+ * A service request has been updated or modified.
1691
2477
  **/
1692
- Scheduled: AugmentedEvent<ApiType, [when: u64, index: u32], {
1693
- when: u64;
1694
- index: u32;
2478
+ ServiceRequestUpdated: AugmentedEvent<ApiType, [
2479
+ owner: AccountId32,
2480
+ requestId: u64,
2481
+ blueprintId: u64,
2482
+ pendingApprovals: Vec<AccountId32>,
2483
+ approved: Vec<AccountId32>
2484
+ ], {
2485
+ owner: AccountId32;
2486
+ requestId: u64;
2487
+ blueprintId: u64;
2488
+ pendingApprovals: Vec<AccountId32>;
2489
+ approved: Vec<AccountId32>;
2490
+ }>;
2491
+ /**
2492
+ * A service has been terminated.
2493
+ **/
2494
+ ServiceTerminated: AugmentedEvent<ApiType, [
2495
+ owner: AccountId32,
2496
+ serviceId: u64,
2497
+ blueprintId: u64
2498
+ ], {
2499
+ owner: AccountId32;
2500
+ serviceId: u64;
2501
+ blueprintId: u64;
2502
+ }>;
2503
+ /**
2504
+ * An operator has been unregistered.
2505
+ **/
2506
+ Unregistered: AugmentedEvent<ApiType, [
2507
+ operator: AccountId32,
2508
+ blueprintId: u64
2509
+ ], {
2510
+ operator: AccountId32;
2511
+ blueprintId: u64;
1695
2512
  }>;
1696
2513
  /**
1697
2514
  * Generic event
@@ -1703,7 +2520,9 @@ declare module '@polkadot/api-base/types/events' {
1703
2520
  * New session has happened. Note that the argument is the session index, not the
1704
2521
  * block number as the type might suggest.
1705
2522
  **/
1706
- NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
2523
+ NewSession: AugmentedEvent<ApiType, [
2524
+ sessionIndex: u32
2525
+ ], {
1707
2526
  sessionIndex: u32;
1708
2527
  }>;
1709
2528
  /**
@@ -1718,21 +2537,30 @@ declare module '@polkadot/api-base/types/events' {
1718
2537
  * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
1719
2538
  * it will not be emitted for staking rewards when they are added to stake.
1720
2539
  **/
1721
- Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
2540
+ Bonded: AugmentedEvent<ApiType, [
2541
+ stash: AccountId32,
2542
+ amount: u128
2543
+ ], {
1722
2544
  stash: AccountId32;
1723
2545
  amount: u128;
1724
2546
  }>;
1725
2547
  /**
1726
2548
  * An account has stopped participating as either a validator or nominator.
1727
2549
  **/
1728
- Chilled: AugmentedEvent<ApiType, [stash: AccountId32], {
2550
+ Chilled: AugmentedEvent<ApiType, [
2551
+ stash: AccountId32
2552
+ ], {
1729
2553
  stash: AccountId32;
1730
2554
  }>;
1731
2555
  /**
1732
2556
  * The era payout has been set; the first balance is the validator-payout; the second is
1733
2557
  * the remainder from the maximum amount of reward.
1734
2558
  **/
1735
- EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], {
2559
+ EraPaid: AugmentedEvent<ApiType, [
2560
+ eraIndex: u32,
2561
+ validatorPayout: u128,
2562
+ remainder: u128
2563
+ ], {
1736
2564
  eraIndex: u32;
1737
2565
  validatorPayout: u128;
1738
2566
  remainder: u128;
@@ -1740,13 +2568,18 @@ declare module '@polkadot/api-base/types/events' {
1740
2568
  /**
1741
2569
  * A new force era mode was set.
1742
2570
  **/
1743
- ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingForcing], {
2571
+ ForceEra: AugmentedEvent<ApiType, [
2572
+ mode: PalletStakingForcing
2573
+ ], {
1744
2574
  mode: PalletStakingForcing;
1745
2575
  }>;
1746
2576
  /**
1747
2577
  * A nominator has been kicked from a validator.
1748
2578
  **/
1749
- Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], {
2579
+ Kicked: AugmentedEvent<ApiType, [
2580
+ nominator: AccountId32,
2581
+ stash: AccountId32
2582
+ ], {
1750
2583
  nominator: AccountId32;
1751
2584
  stash: AccountId32;
1752
2585
  }>;
@@ -1754,20 +2587,29 @@ declare module '@polkadot/api-base/types/events' {
1754
2587
  * An old slashing report from a prior era was discarded because it could
1755
2588
  * not be processed.
1756
2589
  **/
1757
- OldSlashingReportDiscarded: AugmentedEvent<ApiType, [sessionIndex: u32], {
2590
+ OldSlashingReportDiscarded: AugmentedEvent<ApiType, [
2591
+ sessionIndex: u32
2592
+ ], {
1758
2593
  sessionIndex: u32;
1759
2594
  }>;
1760
2595
  /**
1761
2596
  * The stakers' rewards are getting paid.
1762
2597
  **/
1763
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], {
2598
+ PayoutStarted: AugmentedEvent<ApiType, [
2599
+ eraIndex: u32,
2600
+ validatorStash: AccountId32
2601
+ ], {
1764
2602
  eraIndex: u32;
1765
2603
  validatorStash: AccountId32;
1766
2604
  }>;
1767
2605
  /**
1768
2606
  * The nominator has been rewarded by this amount to this destination.
1769
2607
  **/
1770
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], {
2608
+ Rewarded: AugmentedEvent<ApiType, [
2609
+ stash: AccountId32,
2610
+ dest: PalletStakingRewardDestination,
2611
+ amount: u128
2612
+ ], {
1771
2613
  stash: AccountId32;
1772
2614
  dest: PalletStakingRewardDestination;
1773
2615
  amount: u128;
@@ -1775,7 +2617,10 @@ declare module '@polkadot/api-base/types/events' {
1775
2617
  /**
1776
2618
  * A staker (validator or nominator) has been slashed by the given amount.
1777
2619
  **/
1778
- Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], {
2620
+ Slashed: AugmentedEvent<ApiType, [
2621
+ staker: AccountId32,
2622
+ amount: u128
2623
+ ], {
1779
2624
  staker: AccountId32;
1780
2625
  amount: u128;
1781
2626
  }>;
@@ -1783,7 +2628,11 @@ declare module '@polkadot/api-base/types/events' {
1783
2628
  * A slash for the given validator, for the given percentage of their stake, at the given
1784
2629
  * era as been reported.
1785
2630
  **/
1786
- SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], {
2631
+ SlashReported: AugmentedEvent<ApiType, [
2632
+ validator: AccountId32,
2633
+ fraction: Perbill,
2634
+ slashEra: u32
2635
+ ], {
1787
2636
  validator: AccountId32;
1788
2637
  fraction: Perbill;
1789
2638
  slashEra: u32;
@@ -1791,13 +2640,17 @@ declare module '@polkadot/api-base/types/events' {
1791
2640
  /**
1792
2641
  * Targets size limit reached.
1793
2642
  **/
1794
- SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
2643
+ SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [
2644
+ size_: u32
2645
+ ], {
1795
2646
  size_: u32;
1796
2647
  }>;
1797
2648
  /**
1798
2649
  * Voters size limit reached.
1799
2650
  **/
1800
- SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
2651
+ SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [
2652
+ size_: u32
2653
+ ], {
1801
2654
  size_: u32;
1802
2655
  }>;
1803
2656
  /**
@@ -1811,14 +2664,20 @@ declare module '@polkadot/api-base/types/events' {
1811
2664
  /**
1812
2665
  * An account has unbonded this amount.
1813
2666
  **/
1814
- Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
2667
+ Unbonded: AugmentedEvent<ApiType, [
2668
+ stash: AccountId32,
2669
+ amount: u128
2670
+ ], {
1815
2671
  stash: AccountId32;
1816
2672
  amount: u128;
1817
2673
  }>;
1818
2674
  /**
1819
2675
  * A validator has set their preferences.
1820
2676
  **/
1821
- ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PalletStakingValidatorPrefs], {
2677
+ ValidatorPrefsSet: AugmentedEvent<ApiType, [
2678
+ stash: AccountId32,
2679
+ prefs: PalletStakingValidatorPrefs
2680
+ ], {
1822
2681
  stash: AccountId32;
1823
2682
  prefs: PalletStakingValidatorPrefs;
1824
2683
  }>;
@@ -1826,7 +2685,10 @@ declare module '@polkadot/api-base/types/events' {
1826
2685
  * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
1827
2686
  * from the unlocking queue.
1828
2687
  **/
1829
- Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], {
2688
+ Withdrawn: AugmentedEvent<ApiType, [
2689
+ stash: AccountId32,
2690
+ amount: u128
2691
+ ], {
1830
2692
  stash: AccountId32;
1831
2693
  amount: u128;
1832
2694
  }>;
@@ -1839,7 +2701,10 @@ declare module '@polkadot/api-base/types/events' {
1839
2701
  /**
1840
2702
  * The sudo key has been updated.
1841
2703
  **/
1842
- KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], {
2704
+ KeyChanged: AugmentedEvent<ApiType, [
2705
+ old: Option<AccountId32>,
2706
+ new_: AccountId32
2707
+ ], {
1843
2708
  old: Option<AccountId32>;
1844
2709
  new_: AccountId32;
1845
2710
  }>;
@@ -1850,13 +2715,17 @@ declare module '@polkadot/api-base/types/events' {
1850
2715
  /**
1851
2716
  * A sudo call just took place.
1852
2717
  **/
1853
- Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
2718
+ Sudid: AugmentedEvent<ApiType, [
2719
+ sudoResult: Result<Null, SpRuntimeDispatchError>
2720
+ ], {
1854
2721
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1855
2722
  }>;
1856
2723
  /**
1857
2724
  * A [sudo_as](Pallet::sudo_as) call just took place.
1858
2725
  **/
1859
- SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
2726
+ SudoAsDone: AugmentedEvent<ApiType, [
2727
+ sudoResult: Result<Null, SpRuntimeDispatchError>
2728
+ ], {
1860
2729
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1861
2730
  }>;
1862
2731
  /**
@@ -1869,7 +2738,11 @@ declare module '@polkadot/api-base/types/events' {
1869
2738
  * Extrinsic access grant to someone
1870
2739
  * args: [pallet_index, extrinsic_name, who]
1871
2740
  **/
1872
- AccessGranted: AugmentedEvent<ApiType, [palletIndex: u8, extrinsicName: Bytes, who: AccountId32], {
2741
+ AccessGranted: AugmentedEvent<ApiType, [
2742
+ palletIndex: u8,
2743
+ extrinsicName: Bytes,
2744
+ who: AccountId32
2745
+ ], {
1873
2746
  palletIndex: u8;
1874
2747
  extrinsicName: Bytes;
1875
2748
  who: AccountId32;
@@ -1884,7 +2757,11 @@ declare module '@polkadot/api-base/types/events' {
1884
2757
  * Fee set for a specific asset
1885
2758
  * args: [domain, asset, amount]
1886
2759
  **/
1887
- FeeSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128], {
2760
+ FeeSet: AugmentedEvent<ApiType, [
2761
+ domain: u8,
2762
+ asset: StagingXcmV4AssetAssetId,
2763
+ amount: u128
2764
+ ], {
1888
2765
  domain: u8;
1889
2766
  asset: StagingXcmV4AssetAssetId;
1890
2767
  amount: u128;
@@ -1898,27 +2775,35 @@ declare module '@polkadot/api-base/types/events' {
1898
2775
  /**
1899
2776
  * When all bridges are paused
1900
2777
  **/
1901
- AllBridgePaused: AugmentedEvent<ApiType, [sender: AccountId32], {
2778
+ AllBridgePaused: AugmentedEvent<ApiType, [
2779
+ sender: AccountId32
2780
+ ], {
1902
2781
  sender: AccountId32;
1903
2782
  }>;
1904
2783
  /**
1905
2784
  * When all bridges are unpaused
1906
2785
  **/
1907
- AllBridgeUnpaused: AugmentedEvent<ApiType, [sender: AccountId32], {
2786
+ AllBridgeUnpaused: AugmentedEvent<ApiType, [
2787
+ sender: AccountId32
2788
+ ], {
1908
2789
  sender: AccountId32;
1909
2790
  }>;
1910
2791
  /**
1911
2792
  * When bridge is paused
1912
2793
  * args: [dest_domain_id]
1913
2794
  **/
1914
- BridgePaused: AugmentedEvent<ApiType, [destDomainId: u8], {
2795
+ BridgePaused: AugmentedEvent<ApiType, [
2796
+ destDomainId: u8
2797
+ ], {
1915
2798
  destDomainId: u8;
1916
2799
  }>;
1917
2800
  /**
1918
2801
  * When bridge is unpaused
1919
2802
  * args: [dest_domain_id]
1920
2803
  **/
1921
- BridgeUnpaused: AugmentedEvent<ApiType, [destDomainId: u8], {
2804
+ BridgeUnpaused: AugmentedEvent<ApiType, [
2805
+ destDomainId: u8
2806
+ ], {
1922
2807
  destDomainId: u8;
1923
2808
  }>;
1924
2809
  /**
@@ -1926,7 +2811,15 @@ declare module '@polkadot/api-base/types/events' {
1926
2811
  * args: [dest_domain_id, resource_id, deposit_nonce, sender, transfer_type,
1927
2812
  * deposit_data, handler_response, ]
1928
2813
  **/
1929
- Deposit: AugmentedEvent<ApiType, [destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes], {
2814
+ Deposit: AugmentedEvent<ApiType, [
2815
+ destDomainId: u8,
2816
+ resourceId: U8aFixed,
2817
+ depositNonce: u64,
2818
+ sender: AccountId32,
2819
+ transferType: SygmaTraitsTransferType,
2820
+ depositData: Bytes,
2821
+ handlerResponse: Bytes
2822
+ ], {
1930
2823
  destDomainId: u8;
1931
2824
  resourceId: U8aFixed;
1932
2825
  depositNonce: u64;
@@ -1938,7 +2831,11 @@ declare module '@polkadot/api-base/types/events' {
1938
2831
  /**
1939
2832
  * When proposal was faild to execute
1940
2833
  **/
1941
- FailedHandlerExecution: AugmentedEvent<ApiType, [error: Bytes, originDomainId: u8, depositNonce: u64], {
2834
+ FailedHandlerExecution: AugmentedEvent<ApiType, [
2835
+ error: Bytes,
2836
+ originDomainId: u8,
2837
+ depositNonce: u64
2838
+ ], {
1942
2839
  error: Bytes;
1943
2840
  originDomainId: u8;
1944
2841
  depositNonce: u64;
@@ -1946,7 +2843,13 @@ declare module '@polkadot/api-base/types/events' {
1946
2843
  /**
1947
2844
  * When bridge fee is collected
1948
2845
  **/
1949
- FeeCollected: AugmentedEvent<ApiType, [feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId], {
2846
+ FeeCollected: AugmentedEvent<ApiType, [
2847
+ feePayer: AccountId32,
2848
+ destDomainId: u8,
2849
+ resourceId: U8aFixed,
2850
+ feeAmount: u128,
2851
+ feeAssetId: StagingXcmV4AssetAssetId
2852
+ ], {
1950
2853
  feePayer: AccountId32;
1951
2854
  destDomainId: u8;
1952
2855
  resourceId: U8aFixed;
@@ -1956,7 +2859,11 @@ declare module '@polkadot/api-base/types/events' {
1956
2859
  /**
1957
2860
  * When proposal was executed successfully
1958
2861
  **/
1959
- ProposalExecution: AugmentedEvent<ApiType, [originDomainId: u8, depositNonce: u64, dataHash: U8aFixed], {
2862
+ ProposalExecution: AugmentedEvent<ApiType, [
2863
+ originDomainId: u8,
2864
+ depositNonce: u64,
2865
+ dataHash: U8aFixed
2866
+ ], {
1960
2867
  originDomainId: u8;
1961
2868
  depositNonce: u64;
1962
2869
  dataHash: U8aFixed;
@@ -1964,7 +2871,11 @@ declare module '@polkadot/api-base/types/events' {
1964
2871
  /**
1965
2872
  * When registering a new dest domainID with its corresponding chainID
1966
2873
  **/
1967
- RegisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], {
2874
+ RegisterDestDomain: AugmentedEvent<ApiType, [
2875
+ sender: AccountId32,
2876
+ domainId: u8,
2877
+ chainId: U256
2878
+ ], {
1968
2879
  sender: AccountId32;
1969
2880
  domainId: u8;
1970
2881
  chainId: U256;
@@ -1973,7 +2884,11 @@ declare module '@polkadot/api-base/types/events' {
1973
2884
  * When user is going to retry a bridge transfer
1974
2885
  * args: [deposit_on_block_height, dest_domain_id, sender]
1975
2886
  **/
1976
- Retry: AugmentedEvent<ApiType, [depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32], {
2887
+ Retry: AugmentedEvent<ApiType, [
2888
+ depositOnBlockHeight: u128,
2889
+ destDomainId: u8,
2890
+ sender: AccountId32
2891
+ ], {
1977
2892
  depositOnBlockHeight: u128;
1978
2893
  destDomainId: u8;
1979
2894
  sender: AccountId32;
@@ -1981,7 +2896,11 @@ declare module '@polkadot/api-base/types/events' {
1981
2896
  /**
1982
2897
  * When unregistering a dest domainID with its corresponding chainID
1983
2898
  **/
1984
- UnregisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], {
2899
+ UnregisterDestDomain: AugmentedEvent<ApiType, [
2900
+ sender: AccountId32,
2901
+ domainId: u8,
2902
+ chainId: U256
2903
+ ], {
1985
2904
  sender: AccountId32;
1986
2905
  domainId: u8;
1987
2906
  chainId: U256;
@@ -1996,7 +2915,11 @@ declare module '@polkadot/api-base/types/events' {
1996
2915
  * When fee handler was set for a specific (domain, asset) pair
1997
2916
  * args: [dest_domain_id, asset_id, handler_type]
1998
2917
  **/
1999
- FeeHandlerSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType], {
2918
+ FeeHandlerSet: AugmentedEvent<ApiType, [
2919
+ domain: u8,
2920
+ asset: StagingXcmV4AssetAssetId,
2921
+ handlerType: SygmaFeeHandlerRouterFeeHandlerType
2922
+ ], {
2000
2923
  domain: u8;
2001
2924
  asset: StagingXcmV4AssetAssetId;
2002
2925
  handlerType: SygmaFeeHandlerRouterFeeHandlerType;
@@ -2011,7 +2934,13 @@ declare module '@polkadot/api-base/types/events' {
2011
2934
  * Fee set rate for a specific asset and domain
2012
2935
  * args: [domain, asset, rate_basis_point, fee_lower_bound, fee_upper_bound]
2013
2936
  **/
2014
- FeeRateSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128], {
2937
+ FeeRateSet: AugmentedEvent<ApiType, [
2938
+ domain: u8,
2939
+ asset: StagingXcmV4AssetAssetId,
2940
+ rateBasisPoint: u32,
2941
+ feeLowerBound: u128,
2942
+ feeUpperBound: u128
2943
+ ], {
2015
2944
  domain: u8;
2016
2945
  asset: StagingXcmV4AssetAssetId;
2017
2946
  rateBasisPoint: u32;
@@ -2031,39 +2960,54 @@ declare module '@polkadot/api-base/types/events' {
2031
2960
  /**
2032
2961
  * An extrinsic failed.
2033
2962
  **/
2034
- ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], {
2963
+ ExtrinsicFailed: AugmentedEvent<ApiType, [
2964
+ dispatchError: SpRuntimeDispatchError,
2965
+ dispatchInfo: FrameSupportDispatchDispatchInfo
2966
+ ], {
2035
2967
  dispatchError: SpRuntimeDispatchError;
2036
2968
  dispatchInfo: FrameSupportDispatchDispatchInfo;
2037
2969
  }>;
2038
2970
  /**
2039
2971
  * An extrinsic completed successfully.
2040
2972
  **/
2041
- ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], {
2973
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [
2974
+ dispatchInfo: FrameSupportDispatchDispatchInfo
2975
+ ], {
2042
2976
  dispatchInfo: FrameSupportDispatchDispatchInfo;
2043
2977
  }>;
2044
2978
  /**
2045
2979
  * An account was reaped.
2046
2980
  **/
2047
- KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2981
+ KilledAccount: AugmentedEvent<ApiType, [
2982
+ account: AccountId32
2983
+ ], {
2048
2984
  account: AccountId32;
2049
2985
  }>;
2050
2986
  /**
2051
2987
  * A new account was created.
2052
2988
  **/
2053
- NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2989
+ NewAccount: AugmentedEvent<ApiType, [
2990
+ account: AccountId32
2991
+ ], {
2054
2992
  account: AccountId32;
2055
2993
  }>;
2056
2994
  /**
2057
2995
  * On on-chain remark happened.
2058
2996
  **/
2059
- Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], {
2997
+ Remarked: AugmentedEvent<ApiType, [
2998
+ sender: AccountId32,
2999
+ hash_: H256
3000
+ ], {
2060
3001
  sender: AccountId32;
2061
3002
  hash_: H256;
2062
3003
  }>;
2063
3004
  /**
2064
3005
  * An upgrade was authorized.
2065
3006
  **/
2066
- UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
3007
+ UpgradeAuthorized: AugmentedEvent<ApiType, [
3008
+ codeHash: H256,
3009
+ checkVersion: bool
3010
+ ], {
2067
3011
  codeHash: H256;
2068
3012
  checkVersion: bool;
2069
3013
  }>;
@@ -2077,7 +3021,11 @@ declare module '@polkadot/api-base/types/events' {
2077
3021
  * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
2078
3022
  * has been paid by `who`.
2079
3023
  **/
2080
- TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], {
3024
+ TransactionFeePaid: AugmentedEvent<ApiType, [
3025
+ who: AccountId32,
3026
+ actualFee: u128,
3027
+ tip: u128
3028
+ ], {
2081
3029
  who: AccountId32;
2082
3030
  actualFee: u128;
2083
3031
  tip: u128;
@@ -2091,7 +3039,14 @@ declare module '@polkadot/api-base/types/events' {
2091
3039
  /**
2092
3040
  * A new asset spend proposal has been approved.
2093
3041
  **/
2094
- AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: Null, amount: u128, beneficiary: AccountId32, validFrom: u64, expireAt: u64], {
3042
+ AssetSpendApproved: AugmentedEvent<ApiType, [
3043
+ index: u32,
3044
+ assetKind: Null,
3045
+ amount: u128,
3046
+ beneficiary: AccountId32,
3047
+ validFrom: u64,
3048
+ expireAt: u64
3049
+ ], {
2095
3050
  index: u32;
2096
3051
  assetKind: Null;
2097
3052
  amount: u128;
@@ -2108,7 +3063,11 @@ declare module '@polkadot/api-base/types/events' {
2108
3063
  /**
2109
3064
  * Some funds have been allocated.
2110
3065
  **/
2111
- Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], {
3066
+ Awarded: AugmentedEvent<ApiType, [
3067
+ proposalIndex: u32,
3068
+ award: u128,
3069
+ account: AccountId32
3070
+ ], {
2112
3071
  proposalIndex: u32;
2113
3072
  award: u128;
2114
3073
  account: AccountId32;
@@ -2128,40 +3087,57 @@ declare module '@polkadot/api-base/types/events' {
2128
3087
  /**
2129
3088
  * A payment happened.
2130
3089
  **/
2131
- Paid: AugmentedEvent<ApiType, [index: u32, paymentId: Null], {
3090
+ Paid: AugmentedEvent<ApiType, [
3091
+ index: u32,
3092
+ paymentId: Null
3093
+ ], {
2132
3094
  index: u32;
2133
3095
  paymentId: Null;
2134
3096
  }>;
2135
3097
  /**
2136
3098
  * A payment failed and can be retried.
2137
3099
  **/
2138
- PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], {
3100
+ PaymentFailed: AugmentedEvent<ApiType, [
3101
+ index: u32,
3102
+ paymentId: Null
3103
+ ], {
2139
3104
  index: u32;
2140
3105
  paymentId: Null;
2141
3106
  }>;
2142
3107
  /**
2143
3108
  * New proposal.
2144
3109
  **/
2145
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], {
3110
+ Proposed: AugmentedEvent<ApiType, [
3111
+ proposalIndex: u32
3112
+ ], {
2146
3113
  proposalIndex: u32;
2147
3114
  }>;
2148
3115
  /**
2149
3116
  * A proposal was rejected; funds were slashed.
2150
3117
  **/
2151
- Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], {
3118
+ Rejected: AugmentedEvent<ApiType, [
3119
+ proposalIndex: u32,
3120
+ slashed: u128
3121
+ ], {
2152
3122
  proposalIndex: u32;
2153
3123
  slashed: u128;
2154
3124
  }>;
2155
3125
  /**
2156
3126
  * Spending has finished; this is the amount that rolls over until next spend.
2157
3127
  **/
2158
- Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], {
3128
+ Rollover: AugmentedEvent<ApiType, [
3129
+ rolloverBalance: u128
3130
+ ], {
2159
3131
  rolloverBalance: u128;
2160
3132
  }>;
2161
3133
  /**
2162
3134
  * A new spend proposal has been approved.
2163
3135
  **/
2164
- SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], {
3136
+ SpendApproved: AugmentedEvent<ApiType, [
3137
+ proposalIndex: u32,
3138
+ amount: u128,
3139
+ beneficiary: AccountId32
3140
+ ], {
2165
3141
  proposalIndex: u32;
2166
3142
  amount: u128;
2167
3143
  beneficiary: AccountId32;
@@ -2169,7 +3145,9 @@ declare module '@polkadot/api-base/types/events' {
2169
3145
  /**
2170
3146
  * We have ended a spend period and will now allocate funds.
2171
3147
  **/
2172
- Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
3148
+ Spending: AugmentedEvent<ApiType, [
3149
+ budgetRemaining: u128
3150
+ ], {
2173
3151
  budgetRemaining: u128;
2174
3152
  }>;
2175
3153
  /**
@@ -2182,7 +3160,10 @@ declare module '@polkadot/api-base/types/events' {
2182
3160
  /**
2183
3161
  * The inactive funds of the pallet have been updated.
2184
3162
  **/
2185
- UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], {
3163
+ UpdatedInactive: AugmentedEvent<ApiType, [
3164
+ reactivated: u128,
3165
+ deactivated: u128
3166
+ ], {
2186
3167
  reactivated: u128;
2187
3168
  deactivated: u128;
2188
3169
  }>;
@@ -2195,13 +3176,17 @@ declare module '@polkadot/api-base/types/events' {
2195
3176
  /**
2196
3177
  * This pallet, or a specific call is now paused.
2197
3178
  **/
2198
- CallPaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
3179
+ CallPaused: AugmentedEvent<ApiType, [
3180
+ fullName: ITuple<[Bytes, Bytes]>
3181
+ ], {
2199
3182
  fullName: ITuple<[Bytes, Bytes]>;
2200
3183
  }>;
2201
3184
  /**
2202
3185
  * This pallet, or a specific call is now unpaused.
2203
3186
  **/
2204
- CallUnpaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
3187
+ CallUnpaused: AugmentedEvent<ApiType, [
3188
+ fullName: ITuple<[Bytes, Bytes]>
3189
+ ], {
2205
3190
  fullName: ITuple<[Bytes, Bytes]>;
2206
3191
  }>;
2207
3192
  /**
@@ -2222,14 +3207,19 @@ declare module '@polkadot/api-base/types/events' {
2222
3207
  * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
2223
3208
  * well as the error.
2224
3209
  **/
2225
- BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], {
3210
+ BatchInterrupted: AugmentedEvent<ApiType, [
3211
+ index: u32,
3212
+ error: SpRuntimeDispatchError
3213
+ ], {
2226
3214
  index: u32;
2227
3215
  error: SpRuntimeDispatchError;
2228
3216
  }>;
2229
3217
  /**
2230
3218
  * A call was dispatched.
2231
3219
  **/
2232
- DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
3220
+ DispatchedAs: AugmentedEvent<ApiType, [
3221
+ result: Result<Null, SpRuntimeDispatchError>
3222
+ ], {
2233
3223
  result: Result<Null, SpRuntimeDispatchError>;
2234
3224
  }>;
2235
3225
  /**
@@ -2239,7 +3229,9 @@ declare module '@polkadot/api-base/types/events' {
2239
3229
  /**
2240
3230
  * A single item within a Batch of dispatches has completed with error.
2241
3231
  **/
2242
- ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
3232
+ ItemFailed: AugmentedEvent<ApiType, [
3233
+ error: SpRuntimeDispatchError
3234
+ ], {
2243
3235
  error: SpRuntimeDispatchError;
2244
3236
  }>;
2245
3237
  /**
@@ -2251,14 +3243,19 @@ declare module '@polkadot/api-base/types/events' {
2251
3243
  /**
2252
3244
  * An \[account\] has become fully vested.
2253
3245
  **/
2254
- VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], {
3246
+ VestingCompleted: AugmentedEvent<ApiType, [
3247
+ account: AccountId32
3248
+ ], {
2255
3249
  account: AccountId32;
2256
3250
  }>;
2257
3251
  /**
2258
3252
  * The amount vested has been updated. This could indicate a change in funds available.
2259
3253
  * The balance given is the amount which is left unvested (and thus locked).
2260
3254
  **/
2261
- VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], {
3255
+ VestingUpdated: AugmentedEvent<ApiType, [
3256
+ account: AccountId32,
3257
+ unvested: u128
3258
+ ], {
2262
3259
  account: AccountId32;
2263
3260
  unvested: u128;
2264
3261
  }>;
@@ -2267,15 +3264,5 @@ declare module '@polkadot/api-base/types/events' {
2267
3264
  **/
2268
3265
  [key: string]: AugmentedEvent<ApiType>;
2269
3266
  };
2270
- zkSaaS: {
2271
- /**
2272
- * Fee has been updated to the new value
2273
- **/
2274
- FeeUpdated: AugmentedEvent<ApiType, [PalletZksaasFeeInfo]>;
2275
- /**
2276
- * Generic event
2277
- **/
2278
- [key: string]: AugmentedEvent<ApiType>;
2279
- };
2280
3267
  }
2281
3268
  }