@polkadot/api-augment 10.1.4 → 10.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +40 -167
- package/kusama/errors.d.ts +75 -318
- package/kusama/events.d.ts +154 -379
- package/kusama/query.d.ts +47 -215
- package/kusama/runtime.d.ts +27 -31
- package/kusama/tx.d.ts +210 -1122
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +68 -3
- package/polkadot/errors.d.ts +180 -9
- package/polkadot/events.d.ts +238 -11
- package/polkadot/query.d.ts +88 -16
- package/polkadot/runtime.d.ts +27 -31
- package/polkadot/tx.d.ts +420 -59
- package/substrate/consts.d.ts +32 -33
- package/substrate/errors.d.ts +103 -24
- package/substrate/events.d.ts +172 -7
- package/substrate/query.d.ts +48 -8
- package/substrate/runtime.d.ts +18 -30
- package/substrate/tx.d.ts +241 -93
package/kusama/events.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally,
|
|
7
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV4CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3MultiassetMultiAssets, XcmV3Response, XcmV3TraitsError, XcmV3TraitsOutcome, XcmV3Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -75,10 +75,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
75
75
|
/**
|
|
76
76
|
* A balance was set by root.
|
|
77
77
|
**/
|
|
78
|
-
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128
|
|
78
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
79
79
|
who: AccountId32;
|
|
80
80
|
free: u128;
|
|
81
|
-
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* Some amount was burned from an account.
|
|
84
|
+
**/
|
|
85
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
86
|
+
who: AccountId32;
|
|
87
|
+
amount: u128;
|
|
82
88
|
}>;
|
|
83
89
|
/**
|
|
84
90
|
* Some amount was deposited (e.g. for transaction fees).
|
|
@@ -102,6 +108,32 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
102
108
|
account: AccountId32;
|
|
103
109
|
freeBalance: u128;
|
|
104
110
|
}>;
|
|
111
|
+
/**
|
|
112
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
113
|
+
**/
|
|
114
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], {
|
|
115
|
+
amount: u128;
|
|
116
|
+
}>;
|
|
117
|
+
/**
|
|
118
|
+
* Some balance was locked.
|
|
119
|
+
**/
|
|
120
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
121
|
+
who: AccountId32;
|
|
122
|
+
amount: u128;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Some amount was minted into an account.
|
|
126
|
+
**/
|
|
127
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
128
|
+
who: AccountId32;
|
|
129
|
+
amount: u128;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
133
|
+
**/
|
|
134
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
135
|
+
amount: u128;
|
|
136
|
+
}>;
|
|
105
137
|
/**
|
|
106
138
|
* Some balance was reserved (moved from free to reserved).
|
|
107
139
|
**/
|
|
@@ -119,6 +151,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
119
151
|
amount: u128;
|
|
120
152
|
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
121
153
|
}>;
|
|
154
|
+
/**
|
|
155
|
+
* Some amount was restored into an account.
|
|
156
|
+
**/
|
|
157
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
158
|
+
who: AccountId32;
|
|
159
|
+
amount: u128;
|
|
160
|
+
}>;
|
|
122
161
|
/**
|
|
123
162
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
124
163
|
**/
|
|
@@ -126,6 +165,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
126
165
|
who: AccountId32;
|
|
127
166
|
amount: u128;
|
|
128
167
|
}>;
|
|
168
|
+
/**
|
|
169
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
170
|
+
**/
|
|
171
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
172
|
+
who: AccountId32;
|
|
173
|
+
amount: u128;
|
|
174
|
+
}>;
|
|
129
175
|
/**
|
|
130
176
|
* Transfer succeeded.
|
|
131
177
|
**/
|
|
@@ -134,6 +180,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
134
180
|
to: AccountId32;
|
|
135
181
|
amount: u128;
|
|
136
182
|
}>;
|
|
183
|
+
/**
|
|
184
|
+
* Some balance was unlocked.
|
|
185
|
+
**/
|
|
186
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
187
|
+
who: AccountId32;
|
|
188
|
+
amount: u128;
|
|
189
|
+
}>;
|
|
137
190
|
/**
|
|
138
191
|
* Some balance was unreserved (moved from reserved to free).
|
|
139
192
|
**/
|
|
@@ -141,6 +194,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
141
194
|
who: AccountId32;
|
|
142
195
|
amount: u128;
|
|
143
196
|
}>;
|
|
197
|
+
/**
|
|
198
|
+
* An account was upgraded.
|
|
199
|
+
**/
|
|
200
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
201
|
+
who: AccountId32;
|
|
202
|
+
}>;
|
|
144
203
|
/**
|
|
145
204
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
146
205
|
**/
|
|
@@ -270,67 +329,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
270
329
|
**/
|
|
271
330
|
[key: string]: AugmentedEvent<ApiType>;
|
|
272
331
|
};
|
|
273
|
-
council: {
|
|
274
|
-
/**
|
|
275
|
-
* A motion was approved by the required threshold.
|
|
276
|
-
**/
|
|
277
|
-
Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
278
|
-
proposalHash: H256;
|
|
279
|
-
}>;
|
|
280
|
-
/**
|
|
281
|
-
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
282
|
-
**/
|
|
283
|
-
Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
|
|
284
|
-
proposalHash: H256;
|
|
285
|
-
yes: u32;
|
|
286
|
-
no: u32;
|
|
287
|
-
}>;
|
|
288
|
-
/**
|
|
289
|
-
* A motion was not approved by the required threshold.
|
|
290
|
-
**/
|
|
291
|
-
Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
292
|
-
proposalHash: H256;
|
|
293
|
-
}>;
|
|
294
|
-
/**
|
|
295
|
-
* A motion was executed; result will be `Ok` if it returned without error.
|
|
296
|
-
**/
|
|
297
|
-
Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
|
|
298
|
-
proposalHash: H256;
|
|
299
|
-
result: Result<Null, SpRuntimeDispatchError>;
|
|
300
|
-
}>;
|
|
301
|
-
/**
|
|
302
|
-
* A single member did some action; result will be `Ok` if it returned without error.
|
|
303
|
-
**/
|
|
304
|
-
MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
|
|
305
|
-
proposalHash: H256;
|
|
306
|
-
result: Result<Null, SpRuntimeDispatchError>;
|
|
307
|
-
}>;
|
|
308
|
-
/**
|
|
309
|
-
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
310
|
-
* `MemberCount`).
|
|
311
|
-
**/
|
|
312
|
-
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
|
|
313
|
-
account: AccountId32;
|
|
314
|
-
proposalIndex: u32;
|
|
315
|
-
proposalHash: H256;
|
|
316
|
-
threshold: u32;
|
|
317
|
-
}>;
|
|
318
|
-
/**
|
|
319
|
-
* A motion (given hash) has been voted on by given account, leaving
|
|
320
|
-
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
321
|
-
**/
|
|
322
|
-
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
|
|
323
|
-
account: AccountId32;
|
|
324
|
-
proposalHash: H256;
|
|
325
|
-
voted: bool;
|
|
326
|
-
yes: u32;
|
|
327
|
-
no: u32;
|
|
328
|
-
}>;
|
|
329
|
-
/**
|
|
330
|
-
* Generic event
|
|
331
|
-
**/
|
|
332
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
333
|
-
};
|
|
334
332
|
crowdloan: {
|
|
335
333
|
/**
|
|
336
334
|
* A parachain has been moved to `NewRaise`
|
|
@@ -405,125 +403,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
405
403
|
**/
|
|
406
404
|
[key: string]: AugmentedEvent<ApiType>;
|
|
407
405
|
};
|
|
408
|
-
democracy: {
|
|
409
|
-
/**
|
|
410
|
-
* A proposal_hash has been blacklisted permanently.
|
|
411
|
-
**/
|
|
412
|
-
Blacklisted: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
413
|
-
proposalHash: H256;
|
|
414
|
-
}>;
|
|
415
|
-
/**
|
|
416
|
-
* A referendum has been cancelled.
|
|
417
|
-
**/
|
|
418
|
-
Cancelled: AugmentedEvent<ApiType, [refIndex: u32], {
|
|
419
|
-
refIndex: u32;
|
|
420
|
-
}>;
|
|
421
|
-
/**
|
|
422
|
-
* An account has delegated their vote to another account.
|
|
423
|
-
**/
|
|
424
|
-
Delegated: AugmentedEvent<ApiType, [who: AccountId32, target: AccountId32], {
|
|
425
|
-
who: AccountId32;
|
|
426
|
-
target: AccountId32;
|
|
427
|
-
}>;
|
|
428
|
-
/**
|
|
429
|
-
* An external proposal has been tabled.
|
|
430
|
-
**/
|
|
431
|
-
ExternalTabled: AugmentedEvent<ApiType, []>;
|
|
432
|
-
/**
|
|
433
|
-
* Metadata for a proposal or a referendum has been cleared.
|
|
434
|
-
**/
|
|
435
|
-
MetadataCleared: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
|
|
436
|
-
owner: PalletDemocracyMetadataOwner;
|
|
437
|
-
hash_: H256;
|
|
438
|
-
}>;
|
|
439
|
-
/**
|
|
440
|
-
* Metadata for a proposal or a referendum has been set.
|
|
441
|
-
**/
|
|
442
|
-
MetadataSet: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], {
|
|
443
|
-
owner: PalletDemocracyMetadataOwner;
|
|
444
|
-
hash_: H256;
|
|
445
|
-
}>;
|
|
446
|
-
/**
|
|
447
|
-
* Metadata has been transferred to new owner.
|
|
448
|
-
**/
|
|
449
|
-
MetadataTransferred: AugmentedEvent<ApiType, [prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256], {
|
|
450
|
-
prevOwner: PalletDemocracyMetadataOwner;
|
|
451
|
-
owner: PalletDemocracyMetadataOwner;
|
|
452
|
-
hash_: H256;
|
|
453
|
-
}>;
|
|
454
|
-
/**
|
|
455
|
-
* A proposal has been rejected by referendum.
|
|
456
|
-
**/
|
|
457
|
-
NotPassed: AugmentedEvent<ApiType, [refIndex: u32], {
|
|
458
|
-
refIndex: u32;
|
|
459
|
-
}>;
|
|
460
|
-
/**
|
|
461
|
-
* A proposal has been approved by referendum.
|
|
462
|
-
**/
|
|
463
|
-
Passed: AugmentedEvent<ApiType, [refIndex: u32], {
|
|
464
|
-
refIndex: u32;
|
|
465
|
-
}>;
|
|
466
|
-
/**
|
|
467
|
-
* A proposal got canceled.
|
|
468
|
-
**/
|
|
469
|
-
ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], {
|
|
470
|
-
propIndex: u32;
|
|
471
|
-
}>;
|
|
472
|
-
/**
|
|
473
|
-
* A motion has been proposed by a public account.
|
|
474
|
-
**/
|
|
475
|
-
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
|
|
476
|
-
proposalIndex: u32;
|
|
477
|
-
deposit: u128;
|
|
478
|
-
}>;
|
|
479
|
-
/**
|
|
480
|
-
* An account has secconded a proposal
|
|
481
|
-
**/
|
|
482
|
-
Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], {
|
|
483
|
-
seconder: AccountId32;
|
|
484
|
-
propIndex: u32;
|
|
485
|
-
}>;
|
|
486
|
-
/**
|
|
487
|
-
* A referendum has begun.
|
|
488
|
-
**/
|
|
489
|
-
Started: AugmentedEvent<ApiType, [refIndex: u32, threshold: PalletDemocracyVoteThreshold], {
|
|
490
|
-
refIndex: u32;
|
|
491
|
-
threshold: PalletDemocracyVoteThreshold;
|
|
492
|
-
}>;
|
|
493
|
-
/**
|
|
494
|
-
* A public proposal has been tabled for referendum vote.
|
|
495
|
-
**/
|
|
496
|
-
Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], {
|
|
497
|
-
proposalIndex: u32;
|
|
498
|
-
deposit: u128;
|
|
499
|
-
}>;
|
|
500
|
-
/**
|
|
501
|
-
* An account has cancelled a previous delegation operation.
|
|
502
|
-
**/
|
|
503
|
-
Undelegated: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
504
|
-
account: AccountId32;
|
|
505
|
-
}>;
|
|
506
|
-
/**
|
|
507
|
-
* An external proposal has been vetoed.
|
|
508
|
-
**/
|
|
509
|
-
Vetoed: AugmentedEvent<ApiType, [who: AccountId32, proposalHash: H256, until: u32], {
|
|
510
|
-
who: AccountId32;
|
|
511
|
-
proposalHash: H256;
|
|
512
|
-
until: u32;
|
|
513
|
-
}>;
|
|
514
|
-
/**
|
|
515
|
-
* An account has voted in a referendum
|
|
516
|
-
**/
|
|
517
|
-
Voted: AugmentedEvent<ApiType, [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], {
|
|
518
|
-
voter: AccountId32;
|
|
519
|
-
refIndex: u32;
|
|
520
|
-
vote: PalletDemocracyVoteAccountVote;
|
|
521
|
-
}>;
|
|
522
|
-
/**
|
|
523
|
-
* Generic event
|
|
524
|
-
**/
|
|
525
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
526
|
-
};
|
|
527
406
|
electionProviderMultiPhase: {
|
|
528
407
|
/**
|
|
529
408
|
* An election failed.
|
|
@@ -1054,10 +933,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1054
933
|
/**
|
|
1055
934
|
* A balance was set by root.
|
|
1056
935
|
**/
|
|
1057
|
-
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128
|
|
936
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
1058
937
|
who: AccountId32;
|
|
1059
938
|
free: u128;
|
|
1060
|
-
|
|
939
|
+
}>;
|
|
940
|
+
/**
|
|
941
|
+
* Some amount was burned from an account.
|
|
942
|
+
**/
|
|
943
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
944
|
+
who: AccountId32;
|
|
945
|
+
amount: u128;
|
|
1061
946
|
}>;
|
|
1062
947
|
/**
|
|
1063
948
|
* Some amount was deposited (e.g. for transaction fees).
|
|
@@ -1081,6 +966,32 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1081
966
|
account: AccountId32;
|
|
1082
967
|
freeBalance: u128;
|
|
1083
968
|
}>;
|
|
969
|
+
/**
|
|
970
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
971
|
+
**/
|
|
972
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], {
|
|
973
|
+
amount: u128;
|
|
974
|
+
}>;
|
|
975
|
+
/**
|
|
976
|
+
* Some balance was locked.
|
|
977
|
+
**/
|
|
978
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
979
|
+
who: AccountId32;
|
|
980
|
+
amount: u128;
|
|
981
|
+
}>;
|
|
982
|
+
/**
|
|
983
|
+
* Some amount was minted into an account.
|
|
984
|
+
**/
|
|
985
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
986
|
+
who: AccountId32;
|
|
987
|
+
amount: u128;
|
|
988
|
+
}>;
|
|
989
|
+
/**
|
|
990
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
991
|
+
**/
|
|
992
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
993
|
+
amount: u128;
|
|
994
|
+
}>;
|
|
1084
995
|
/**
|
|
1085
996
|
* Some balance was reserved (moved from free to reserved).
|
|
1086
997
|
**/
|
|
@@ -1098,6 +1009,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1098
1009
|
amount: u128;
|
|
1099
1010
|
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
1100
1011
|
}>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Some amount was restored into an account.
|
|
1014
|
+
**/
|
|
1015
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1016
|
+
who: AccountId32;
|
|
1017
|
+
amount: u128;
|
|
1018
|
+
}>;
|
|
1101
1019
|
/**
|
|
1102
1020
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
1103
1021
|
**/
|
|
@@ -1105,6 +1023,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1105
1023
|
who: AccountId32;
|
|
1106
1024
|
amount: u128;
|
|
1107
1025
|
}>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
1028
|
+
**/
|
|
1029
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1030
|
+
who: AccountId32;
|
|
1031
|
+
amount: u128;
|
|
1032
|
+
}>;
|
|
1108
1033
|
/**
|
|
1109
1034
|
* Transfer succeeded.
|
|
1110
1035
|
**/
|
|
@@ -1113,6 +1038,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1113
1038
|
to: AccountId32;
|
|
1114
1039
|
amount: u128;
|
|
1115
1040
|
}>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Some balance was unlocked.
|
|
1043
|
+
**/
|
|
1044
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1045
|
+
who: AccountId32;
|
|
1046
|
+
amount: u128;
|
|
1047
|
+
}>;
|
|
1116
1048
|
/**
|
|
1117
1049
|
* Some balance was unreserved (moved from reserved to free).
|
|
1118
1050
|
**/
|
|
@@ -1120,6 +1052,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1120
1052
|
who: AccountId32;
|
|
1121
1053
|
amount: u128;
|
|
1122
1054
|
}>;
|
|
1055
|
+
/**
|
|
1056
|
+
* An account was upgraded.
|
|
1057
|
+
**/
|
|
1058
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1059
|
+
who: AccountId32;
|
|
1060
|
+
}>;
|
|
1123
1061
|
/**
|
|
1124
1062
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
1125
1063
|
**/
|
|
@@ -1172,6 +1110,34 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1172
1110
|
poolId: u32;
|
|
1173
1111
|
payout: u128;
|
|
1174
1112
|
}>;
|
|
1113
|
+
/**
|
|
1114
|
+
* A pool's commission `change_rate` has been changed.
|
|
1115
|
+
**/
|
|
1116
|
+
PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
|
|
1117
|
+
poolId: u32;
|
|
1118
|
+
changeRate: PalletNominationPoolsCommissionChangeRate;
|
|
1119
|
+
}>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Pool commission has been claimed.
|
|
1122
|
+
**/
|
|
1123
|
+
PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
|
|
1124
|
+
poolId: u32;
|
|
1125
|
+
commission: u128;
|
|
1126
|
+
}>;
|
|
1127
|
+
/**
|
|
1128
|
+
* A pool's commission setting has been changed.
|
|
1129
|
+
**/
|
|
1130
|
+
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
|
|
1131
|
+
poolId: u32;
|
|
1132
|
+
current: Option<ITuple<[Perbill, AccountId32]>>;
|
|
1133
|
+
}>;
|
|
1134
|
+
/**
|
|
1135
|
+
* A pool's maximum commission setting has been changed.
|
|
1136
|
+
**/
|
|
1137
|
+
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
|
|
1138
|
+
poolId: u32;
|
|
1139
|
+
maxCommission: Perbill;
|
|
1140
|
+
}>;
|
|
1175
1141
|
/**
|
|
1176
1142
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1177
1143
|
**/
|
|
@@ -1261,15 +1227,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1261
1227
|
/**
|
|
1262
1228
|
* A candidate was backed. `[candidate, head_data]`
|
|
1263
1229
|
**/
|
|
1264
|
-
CandidateBacked: AugmentedEvent<ApiType, [
|
|
1230
|
+
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
|
|
1265
1231
|
/**
|
|
1266
1232
|
* A candidate was included. `[candidate, head_data]`
|
|
1267
1233
|
**/
|
|
1268
|
-
CandidateIncluded: AugmentedEvent<ApiType, [
|
|
1234
|
+
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
|
|
1269
1235
|
/**
|
|
1270
1236
|
* A candidate timed out. `[candidate, head_data]`
|
|
1271
1237
|
**/
|
|
1272
|
-
CandidateTimedOut: AugmentedEvent<ApiType, [
|
|
1238
|
+
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32]>;
|
|
1273
1239
|
/**
|
|
1274
1240
|
* Generic event
|
|
1275
1241
|
**/
|
|
@@ -1326,11 +1292,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1326
1292
|
* A dispute has been initiated. \[candidate hash, dispute location\]
|
|
1327
1293
|
**/
|
|
1328
1294
|
DisputeInitiated: AugmentedEvent<ApiType, [H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
|
|
1329
|
-
/**
|
|
1330
|
-
* A dispute has timed out due to insufficient participation.
|
|
1331
|
-
* `\[para id, candidate hash\]`
|
|
1332
|
-
**/
|
|
1333
|
-
DisputeTimedOut: AugmentedEvent<ApiType, [H256]>;
|
|
1334
1295
|
/**
|
|
1335
1296
|
* A dispute has concluded with supermajority against a candidate.
|
|
1336
1297
|
* Block authors should no longer build on top of this head and should
|
|
@@ -1343,61 +1304,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1343
1304
|
**/
|
|
1344
1305
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1345
1306
|
};
|
|
1346
|
-
phragmenElection: {
|
|
1347
|
-
/**
|
|
1348
|
-
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
1349
|
-
* runner-up.
|
|
1350
|
-
*
|
|
1351
|
-
* Note that old members and runners-up are also candidates.
|
|
1352
|
-
**/
|
|
1353
|
-
CandidateSlashed: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128], {
|
|
1354
|
-
candidate: AccountId32;
|
|
1355
|
-
amount: u128;
|
|
1356
|
-
}>;
|
|
1357
|
-
/**
|
|
1358
|
-
* Internal error happened while trying to perform election.
|
|
1359
|
-
**/
|
|
1360
|
-
ElectionError: AugmentedEvent<ApiType, []>;
|
|
1361
|
-
/**
|
|
1362
|
-
* No (or not enough) candidates existed for this round. This is different from
|
|
1363
|
-
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
1364
|
-
**/
|
|
1365
|
-
EmptyTerm: AugmentedEvent<ApiType, []>;
|
|
1366
|
-
/**
|
|
1367
|
-
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
1368
|
-
* `EmptyTerm`.
|
|
1369
|
-
**/
|
|
1370
|
-
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], {
|
|
1371
|
-
member: AccountId32;
|
|
1372
|
-
}>;
|
|
1373
|
-
/**
|
|
1374
|
-
* A new term with new_members. This indicates that enough candidates existed to run
|
|
1375
|
-
* the election, not that enough have has been elected. The inner value must be examined
|
|
1376
|
-
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
1377
|
-
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
1378
|
-
* begin with.
|
|
1379
|
-
**/
|
|
1380
|
-
NewTerm: AugmentedEvent<ApiType, [newMembers: Vec<ITuple<[AccountId32, u128]>>], {
|
|
1381
|
-
newMembers: Vec<ITuple<[AccountId32, u128]>>;
|
|
1382
|
-
}>;
|
|
1383
|
-
/**
|
|
1384
|
-
* Someone has renounced their candidacy.
|
|
1385
|
-
**/
|
|
1386
|
-
Renounced: AugmentedEvent<ApiType, [candidate: AccountId32], {
|
|
1387
|
-
candidate: AccountId32;
|
|
1388
|
-
}>;
|
|
1389
|
-
/**
|
|
1390
|
-
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
1391
|
-
**/
|
|
1392
|
-
SeatHolderSlashed: AugmentedEvent<ApiType, [seatHolder: AccountId32, amount: u128], {
|
|
1393
|
-
seatHolder: AccountId32;
|
|
1394
|
-
amount: u128;
|
|
1395
|
-
}>;
|
|
1396
|
-
/**
|
|
1397
|
-
* Generic event
|
|
1398
|
-
**/
|
|
1399
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
1400
|
-
};
|
|
1401
1307
|
preimage: {
|
|
1402
1308
|
/**
|
|
1403
1309
|
* A preimage has ben cleared.
|
|
@@ -2008,137 +1914,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2008
1914
|
**/
|
|
2009
1915
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2010
1916
|
};
|
|
2011
|
-
technicalCommittee: {
|
|
2012
|
-
/**
|
|
2013
|
-
* A motion was approved by the required threshold.
|
|
2014
|
-
**/
|
|
2015
|
-
Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
2016
|
-
proposalHash: H256;
|
|
2017
|
-
}>;
|
|
2018
|
-
/**
|
|
2019
|
-
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
2020
|
-
**/
|
|
2021
|
-
Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
|
|
2022
|
-
proposalHash: H256;
|
|
2023
|
-
yes: u32;
|
|
2024
|
-
no: u32;
|
|
2025
|
-
}>;
|
|
2026
|
-
/**
|
|
2027
|
-
* A motion was not approved by the required threshold.
|
|
2028
|
-
**/
|
|
2029
|
-
Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
2030
|
-
proposalHash: H256;
|
|
2031
|
-
}>;
|
|
2032
|
-
/**
|
|
2033
|
-
* A motion was executed; result will be `Ok` if it returned without error.
|
|
2034
|
-
**/
|
|
2035
|
-
Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
|
|
2036
|
-
proposalHash: H256;
|
|
2037
|
-
result: Result<Null, SpRuntimeDispatchError>;
|
|
2038
|
-
}>;
|
|
2039
|
-
/**
|
|
2040
|
-
* A single member did some action; result will be `Ok` if it returned without error.
|
|
2041
|
-
**/
|
|
2042
|
-
MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
|
|
2043
|
-
proposalHash: H256;
|
|
2044
|
-
result: Result<Null, SpRuntimeDispatchError>;
|
|
2045
|
-
}>;
|
|
2046
|
-
/**
|
|
2047
|
-
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
2048
|
-
* `MemberCount`).
|
|
2049
|
-
**/
|
|
2050
|
-
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], {
|
|
2051
|
-
account: AccountId32;
|
|
2052
|
-
proposalIndex: u32;
|
|
2053
|
-
proposalHash: H256;
|
|
2054
|
-
threshold: u32;
|
|
2055
|
-
}>;
|
|
2056
|
-
/**
|
|
2057
|
-
* A motion (given hash) has been voted on by given account, leaving
|
|
2058
|
-
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
2059
|
-
**/
|
|
2060
|
-
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], {
|
|
2061
|
-
account: AccountId32;
|
|
2062
|
-
proposalHash: H256;
|
|
2063
|
-
voted: bool;
|
|
2064
|
-
yes: u32;
|
|
2065
|
-
no: u32;
|
|
2066
|
-
}>;
|
|
2067
|
-
/**
|
|
2068
|
-
* Generic event
|
|
2069
|
-
**/
|
|
2070
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
2071
|
-
};
|
|
2072
|
-
technicalMembership: {
|
|
2073
|
-
/**
|
|
2074
|
-
* Phantom member, never used.
|
|
2075
|
-
**/
|
|
2076
|
-
Dummy: AugmentedEvent<ApiType, []>;
|
|
2077
|
-
/**
|
|
2078
|
-
* One of the members' keys changed.
|
|
2079
|
-
**/
|
|
2080
|
-
KeyChanged: AugmentedEvent<ApiType, []>;
|
|
2081
|
-
/**
|
|
2082
|
-
* The given member was added; see the transaction for who.
|
|
2083
|
-
**/
|
|
2084
|
-
MemberAdded: AugmentedEvent<ApiType, []>;
|
|
2085
|
-
/**
|
|
2086
|
-
* The given member was removed; see the transaction for who.
|
|
2087
|
-
**/
|
|
2088
|
-
MemberRemoved: AugmentedEvent<ApiType, []>;
|
|
2089
|
-
/**
|
|
2090
|
-
* The membership was reset; see the transaction for who the new set is.
|
|
2091
|
-
**/
|
|
2092
|
-
MembersReset: AugmentedEvent<ApiType, []>;
|
|
2093
|
-
/**
|
|
2094
|
-
* Two members were swapped; see the transaction for who.
|
|
2095
|
-
**/
|
|
2096
|
-
MembersSwapped: AugmentedEvent<ApiType, []>;
|
|
2097
|
-
/**
|
|
2098
|
-
* Generic event
|
|
2099
|
-
**/
|
|
2100
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
2101
|
-
};
|
|
2102
|
-
tips: {
|
|
2103
|
-
/**
|
|
2104
|
-
* A new tip suggestion has been opened.
|
|
2105
|
-
**/
|
|
2106
|
-
NewTip: AugmentedEvent<ApiType, [tipHash: H256], {
|
|
2107
|
-
tipHash: H256;
|
|
2108
|
-
}>;
|
|
2109
|
-
/**
|
|
2110
|
-
* A tip suggestion has been closed.
|
|
2111
|
-
**/
|
|
2112
|
-
TipClosed: AugmentedEvent<ApiType, [tipHash: H256, who: AccountId32, payout: u128], {
|
|
2113
|
-
tipHash: H256;
|
|
2114
|
-
who: AccountId32;
|
|
2115
|
-
payout: u128;
|
|
2116
|
-
}>;
|
|
2117
|
-
/**
|
|
2118
|
-
* A tip suggestion has reached threshold and is closing.
|
|
2119
|
-
**/
|
|
2120
|
-
TipClosing: AugmentedEvent<ApiType, [tipHash: H256], {
|
|
2121
|
-
tipHash: H256;
|
|
2122
|
-
}>;
|
|
2123
|
-
/**
|
|
2124
|
-
* A tip suggestion has been retracted.
|
|
2125
|
-
**/
|
|
2126
|
-
TipRetracted: AugmentedEvent<ApiType, [tipHash: H256], {
|
|
2127
|
-
tipHash: H256;
|
|
2128
|
-
}>;
|
|
2129
|
-
/**
|
|
2130
|
-
* A tip suggestion has been slashed.
|
|
2131
|
-
**/
|
|
2132
|
-
TipSlashed: AugmentedEvent<ApiType, [tipHash: H256, finder: AccountId32, deposit: u128], {
|
|
2133
|
-
tipHash: H256;
|
|
2134
|
-
finder: AccountId32;
|
|
2135
|
-
deposit: u128;
|
|
2136
|
-
}>;
|
|
2137
|
-
/**
|
|
2138
|
-
* Generic event
|
|
2139
|
-
**/
|
|
2140
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
2141
|
-
};
|
|
2142
1917
|
transactionPayment: {
|
|
2143
1918
|
/**
|
|
2144
1919
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|