@polkadot/api-augment 10.1.4 → 10.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +24 -165
- package/kusama/errors.d.ts +75 -318
- package/kusama/events.d.ts +126 -379
- package/kusama/query.d.ts +47 -215
- package/kusama/runtime.d.ts +27 -31
- package/kusama/tx.d.ts +197 -1116
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +60 -2
- package/polkadot/errors.d.ts +180 -9
- package/polkadot/events.d.ts +224 -11
- package/polkadot/query.d.ts +88 -16
- package/polkadot/runtime.d.ts +27 -31
- package/polkadot/tx.d.ts +407 -53
- package/substrate/consts.d.ts +32 -6
- package/substrate/errors.d.ts +103 -16
- package/substrate/events.d.ts +172 -7
- package/substrate/query.d.ts +41 -6
- 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,25 @@ 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 amount was minted into an account.
|
|
119
|
+
**/
|
|
120
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
121
|
+
who: AccountId32;
|
|
122
|
+
amount: u128;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
126
|
+
**/
|
|
127
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
128
|
+
amount: u128;
|
|
129
|
+
}>;
|
|
105
130
|
/**
|
|
106
131
|
* Some balance was reserved (moved from free to reserved).
|
|
107
132
|
**/
|
|
@@ -119,6 +144,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
119
144
|
amount: u128;
|
|
120
145
|
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
121
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Some amount was restored into an account.
|
|
149
|
+
**/
|
|
150
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
151
|
+
who: AccountId32;
|
|
152
|
+
amount: u128;
|
|
153
|
+
}>;
|
|
122
154
|
/**
|
|
123
155
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
124
156
|
**/
|
|
@@ -126,6 +158,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
126
158
|
who: AccountId32;
|
|
127
159
|
amount: u128;
|
|
128
160
|
}>;
|
|
161
|
+
/**
|
|
162
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
163
|
+
**/
|
|
164
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
165
|
+
who: AccountId32;
|
|
166
|
+
amount: u128;
|
|
167
|
+
}>;
|
|
129
168
|
/**
|
|
130
169
|
* Transfer succeeded.
|
|
131
170
|
**/
|
|
@@ -141,6 +180,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
141
180
|
who: AccountId32;
|
|
142
181
|
amount: u128;
|
|
143
182
|
}>;
|
|
183
|
+
/**
|
|
184
|
+
* An account was upgraded.
|
|
185
|
+
**/
|
|
186
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
187
|
+
who: AccountId32;
|
|
188
|
+
}>;
|
|
144
189
|
/**
|
|
145
190
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
146
191
|
**/
|
|
@@ -270,67 +315,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
270
315
|
**/
|
|
271
316
|
[key: string]: AugmentedEvent<ApiType>;
|
|
272
317
|
};
|
|
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
318
|
crowdloan: {
|
|
335
319
|
/**
|
|
336
320
|
* A parachain has been moved to `NewRaise`
|
|
@@ -405,125 +389,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
405
389
|
**/
|
|
406
390
|
[key: string]: AugmentedEvent<ApiType>;
|
|
407
391
|
};
|
|
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
392
|
electionProviderMultiPhase: {
|
|
528
393
|
/**
|
|
529
394
|
* An election failed.
|
|
@@ -1054,10 +919,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1054
919
|
/**
|
|
1055
920
|
* A balance was set by root.
|
|
1056
921
|
**/
|
|
1057
|
-
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128
|
|
922
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
1058
923
|
who: AccountId32;
|
|
1059
924
|
free: u128;
|
|
1060
|
-
|
|
925
|
+
}>;
|
|
926
|
+
/**
|
|
927
|
+
* Some amount was burned from an account.
|
|
928
|
+
**/
|
|
929
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
930
|
+
who: AccountId32;
|
|
931
|
+
amount: u128;
|
|
1061
932
|
}>;
|
|
1062
933
|
/**
|
|
1063
934
|
* Some amount was deposited (e.g. for transaction fees).
|
|
@@ -1081,6 +952,25 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1081
952
|
account: AccountId32;
|
|
1082
953
|
freeBalance: u128;
|
|
1083
954
|
}>;
|
|
955
|
+
/**
|
|
956
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
957
|
+
**/
|
|
958
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], {
|
|
959
|
+
amount: u128;
|
|
960
|
+
}>;
|
|
961
|
+
/**
|
|
962
|
+
* Some amount was minted into an account.
|
|
963
|
+
**/
|
|
964
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
965
|
+
who: AccountId32;
|
|
966
|
+
amount: u128;
|
|
967
|
+
}>;
|
|
968
|
+
/**
|
|
969
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
970
|
+
**/
|
|
971
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
972
|
+
amount: u128;
|
|
973
|
+
}>;
|
|
1084
974
|
/**
|
|
1085
975
|
* Some balance was reserved (moved from free to reserved).
|
|
1086
976
|
**/
|
|
@@ -1098,6 +988,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1098
988
|
amount: u128;
|
|
1099
989
|
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
1100
990
|
}>;
|
|
991
|
+
/**
|
|
992
|
+
* Some amount was restored into an account.
|
|
993
|
+
**/
|
|
994
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
995
|
+
who: AccountId32;
|
|
996
|
+
amount: u128;
|
|
997
|
+
}>;
|
|
1101
998
|
/**
|
|
1102
999
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
1103
1000
|
**/
|
|
@@ -1105,6 +1002,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1105
1002
|
who: AccountId32;
|
|
1106
1003
|
amount: u128;
|
|
1107
1004
|
}>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
1007
|
+
**/
|
|
1008
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1009
|
+
who: AccountId32;
|
|
1010
|
+
amount: u128;
|
|
1011
|
+
}>;
|
|
1108
1012
|
/**
|
|
1109
1013
|
* Transfer succeeded.
|
|
1110
1014
|
**/
|
|
@@ -1120,6 +1024,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1120
1024
|
who: AccountId32;
|
|
1121
1025
|
amount: u128;
|
|
1122
1026
|
}>;
|
|
1027
|
+
/**
|
|
1028
|
+
* An account was upgraded.
|
|
1029
|
+
**/
|
|
1030
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
1031
|
+
who: AccountId32;
|
|
1032
|
+
}>;
|
|
1123
1033
|
/**
|
|
1124
1034
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
1125
1035
|
**/
|
|
@@ -1172,6 +1082,34 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1172
1082
|
poolId: u32;
|
|
1173
1083
|
payout: u128;
|
|
1174
1084
|
}>;
|
|
1085
|
+
/**
|
|
1086
|
+
* A pool's commission `change_rate` has been changed.
|
|
1087
|
+
**/
|
|
1088
|
+
PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
|
|
1089
|
+
poolId: u32;
|
|
1090
|
+
changeRate: PalletNominationPoolsCommissionChangeRate;
|
|
1091
|
+
}>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Pool commission has been claimed.
|
|
1094
|
+
**/
|
|
1095
|
+
PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
|
|
1096
|
+
poolId: u32;
|
|
1097
|
+
commission: u128;
|
|
1098
|
+
}>;
|
|
1099
|
+
/**
|
|
1100
|
+
* A pool's commission setting has been changed.
|
|
1101
|
+
**/
|
|
1102
|
+
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
|
|
1103
|
+
poolId: u32;
|
|
1104
|
+
current: Option<ITuple<[Perbill, AccountId32]>>;
|
|
1105
|
+
}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* A pool's maximum commission setting has been changed.
|
|
1108
|
+
**/
|
|
1109
|
+
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
|
|
1110
|
+
poolId: u32;
|
|
1111
|
+
maxCommission: Perbill;
|
|
1112
|
+
}>;
|
|
1175
1113
|
/**
|
|
1176
1114
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1177
1115
|
**/
|
|
@@ -1261,15 +1199,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1261
1199
|
/**
|
|
1262
1200
|
* A candidate was backed. `[candidate, head_data]`
|
|
1263
1201
|
**/
|
|
1264
|
-
CandidateBacked: AugmentedEvent<ApiType, [
|
|
1202
|
+
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
|
|
1265
1203
|
/**
|
|
1266
1204
|
* A candidate was included. `[candidate, head_data]`
|
|
1267
1205
|
**/
|
|
1268
|
-
CandidateIncluded: AugmentedEvent<ApiType, [
|
|
1206
|
+
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32, u32]>;
|
|
1269
1207
|
/**
|
|
1270
1208
|
* A candidate timed out. `[candidate, head_data]`
|
|
1271
1209
|
**/
|
|
1272
|
-
CandidateTimedOut: AugmentedEvent<ApiType, [
|
|
1210
|
+
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV4CandidateReceipt, Bytes, u32]>;
|
|
1273
1211
|
/**
|
|
1274
1212
|
* Generic event
|
|
1275
1213
|
**/
|
|
@@ -1326,11 +1264,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1326
1264
|
* A dispute has been initiated. \[candidate hash, dispute location\]
|
|
1327
1265
|
**/
|
|
1328
1266
|
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
1267
|
/**
|
|
1335
1268
|
* A dispute has concluded with supermajority against a candidate.
|
|
1336
1269
|
* Block authors should no longer build on top of this head and should
|
|
@@ -1343,61 +1276,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1343
1276
|
**/
|
|
1344
1277
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1345
1278
|
};
|
|
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
1279
|
preimage: {
|
|
1402
1280
|
/**
|
|
1403
1281
|
* A preimage has ben cleared.
|
|
@@ -2008,137 +1886,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2008
1886
|
**/
|
|
2009
1887
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2010
1888
|
};
|
|
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
1889
|
transactionPayment: {
|
|
2143
1890
|
/**
|
|
2144
1891
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|