@polkadot/api-augment 10.1.3 → 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/substrate/consts.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Perbill, Percent, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, KitchensinkRuntimeHoldReason, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
@@ -97,9 +97,24 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
97
97
|
};
|
|
98
98
|
balances: {
|
|
99
99
|
/**
|
|
100
|
-
* The minimum amount required to keep an account open.
|
|
100
|
+
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
|
101
|
+
*
|
|
102
|
+
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
|
103
|
+
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
|
104
|
+
* In case you have multiple sources of provider references, you may also get unexpected
|
|
105
|
+
* behaviour if you set this to zero.
|
|
106
|
+
*
|
|
107
|
+
* Bottom line: Do yourself a favour and make it at least one!
|
|
101
108
|
**/
|
|
102
109
|
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
|
110
|
+
/**
|
|
111
|
+
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
112
|
+
**/
|
|
113
|
+
maxFreezes: u32 & AugmentedConst<ApiType>;
|
|
114
|
+
/**
|
|
115
|
+
* The maximum number of holds that can exist on an account at any time.
|
|
116
|
+
**/
|
|
117
|
+
maxHolds: u32 & AugmentedConst<ApiType>;
|
|
103
118
|
/**
|
|
104
119
|
* The maximum number of locks that should exist on an account.
|
|
105
120
|
* Not strictly enforced, but used for weight estimation.
|
|
@@ -278,6 +293,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
278
293
|
**/
|
|
279
294
|
[key: string]: Codec;
|
|
280
295
|
};
|
|
296
|
+
coreFellowship: {
|
|
297
|
+
/**
|
|
298
|
+
* The maximum size in bytes submitted evidence is allowed to be.
|
|
299
|
+
**/
|
|
300
|
+
evidenceSize: u32 & AugmentedConst<ApiType>;
|
|
301
|
+
/**
|
|
302
|
+
* Generic const
|
|
303
|
+
**/
|
|
304
|
+
[key: string]: Codec;
|
|
305
|
+
};
|
|
281
306
|
democracy: {
|
|
282
307
|
/**
|
|
283
308
|
* Period in blocks where an external proposal may not be re-submitted after being vetoed.
|
|
@@ -375,6 +400,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
375
400
|
minerMaxLength: u32 & AugmentedConst<ApiType>;
|
|
376
401
|
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
|
|
377
402
|
minerMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
403
|
+
minerMaxWinners: u32 & AugmentedConst<ApiType>;
|
|
378
404
|
/**
|
|
379
405
|
* The priority of the unsigned transaction submitted in the unsigned-phase
|
|
380
406
|
**/
|
|
@@ -736,6 +762,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
736
762
|
* Must be no greater than `MaxQueueLen`.
|
|
737
763
|
**/
|
|
738
764
|
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
765
|
+
/**
|
|
766
|
+
* The identifier of the hold reason.
|
|
767
|
+
**/
|
|
768
|
+
holdReason: KitchensinkRuntimeHoldReason & AugmentedConst<ApiType>;
|
|
739
769
|
/**
|
|
740
770
|
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
|
741
771
|
*
|
|
@@ -778,10 +808,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
778
808
|
* this value multiplied by `Period`.
|
|
779
809
|
**/
|
|
780
810
|
queueCount: u32 & AugmentedConst<ApiType>;
|
|
781
|
-
/**
|
|
782
|
-
* The name for the reserve ID.
|
|
783
|
-
**/
|
|
784
|
-
reserveId: U8aFixed & AugmentedConst<ApiType>;
|
|
785
811
|
/**
|
|
786
812
|
* The maximum proportion which may be thawed and the period over which it is reset.
|
|
787
813
|
**/
|
package/substrate/errors.d.ts
CHANGED
|
@@ -173,6 +173,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
173
173
|
* Account balance must be greater than or equal to the transfer amount.
|
|
174
174
|
**/
|
|
175
175
|
BalanceLow: AugmentedError<ApiType>;
|
|
176
|
+
/**
|
|
177
|
+
* Callback action resulted in error
|
|
178
|
+
**/
|
|
179
|
+
CallbackFailed: AugmentedError<ApiType>;
|
|
176
180
|
/**
|
|
177
181
|
* The origin account is frozen.
|
|
178
182
|
**/
|
|
@@ -206,12 +210,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
206
210
|
* The signing account has no permission to do the operation.
|
|
207
211
|
**/
|
|
208
212
|
NoPermission: AugmentedError<ApiType>;
|
|
209
|
-
/**
|
|
210
|
-
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
211
|
-
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or the
|
|
212
|
-
* maximum number of consumers has been reached.
|
|
213
|
-
**/
|
|
214
|
-
NoProvider: AugmentedError<ApiType>;
|
|
215
213
|
/**
|
|
216
214
|
* The asset should be frozen before the given operation.
|
|
217
215
|
**/
|
|
@@ -220,6 +218,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
220
218
|
* No approval exists that would allow the transfer.
|
|
221
219
|
**/
|
|
222
220
|
Unapproved: AugmentedError<ApiType>;
|
|
221
|
+
/**
|
|
222
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
223
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
224
|
+
* fewer then the maximum number of consumers has been reached.
|
|
225
|
+
**/
|
|
226
|
+
UnavailableConsumer: AugmentedError<ApiType>;
|
|
223
227
|
/**
|
|
224
228
|
* The given asset ID is unknown.
|
|
225
229
|
**/
|
|
@@ -261,35 +265,43 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
261
265
|
};
|
|
262
266
|
balances: {
|
|
263
267
|
/**
|
|
264
|
-
* Beneficiary account must pre-exist
|
|
268
|
+
* Beneficiary account must pre-exist.
|
|
265
269
|
**/
|
|
266
270
|
DeadAccount: AugmentedError<ApiType>;
|
|
267
271
|
/**
|
|
268
|
-
* Value too low to create account due to existential deposit
|
|
272
|
+
* Value too low to create account due to existential deposit.
|
|
269
273
|
**/
|
|
270
274
|
ExistentialDeposit: AugmentedError<ApiType>;
|
|
271
275
|
/**
|
|
272
|
-
* A vesting schedule already exists for this account
|
|
276
|
+
* A vesting schedule already exists for this account.
|
|
273
277
|
**/
|
|
274
278
|
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
279
|
+
/**
|
|
280
|
+
* Transfer/payment would kill account.
|
|
281
|
+
**/
|
|
282
|
+
Expendability: AugmentedError<ApiType>;
|
|
275
283
|
/**
|
|
276
284
|
* Balance too low to send value.
|
|
277
285
|
**/
|
|
278
286
|
InsufficientBalance: AugmentedError<ApiType>;
|
|
279
287
|
/**
|
|
280
|
-
*
|
|
288
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
281
289
|
**/
|
|
282
|
-
|
|
290
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
283
291
|
/**
|
|
284
|
-
*
|
|
292
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
285
293
|
**/
|
|
286
|
-
|
|
294
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
295
|
+
/**
|
|
296
|
+
* Number of holds exceed `MaxHolds`.
|
|
297
|
+
**/
|
|
298
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
287
299
|
/**
|
|
288
|
-
* Number of named reserves exceed MaxReserves
|
|
300
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
289
301
|
**/
|
|
290
302
|
TooManyReserves: AugmentedError<ApiType>;
|
|
291
303
|
/**
|
|
292
|
-
* Vesting balance too high to send value
|
|
304
|
+
* Vesting balance too high to send value.
|
|
293
305
|
**/
|
|
294
306
|
VestingBalance: AugmentedError<ApiType>;
|
|
295
307
|
/**
|
|
@@ -379,7 +391,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
379
391
|
* The contract's code was found to be invalid during validation or instrumentation.
|
|
380
392
|
*
|
|
381
393
|
* The most likely cause of this is that an API was used which is not supported by the
|
|
382
|
-
* node. This
|
|
394
|
+
* node. This happens if an older node is used with a new version of ink!. Try updating
|
|
383
395
|
* your node to the newest available version.
|
|
384
396
|
*
|
|
385
397
|
* A more detailed error can be found on the node console if debug messages are enabled
|
|
@@ -564,6 +576,50 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
564
576
|
**/
|
|
565
577
|
[key: string]: AugmentedError<ApiType>;
|
|
566
578
|
};
|
|
579
|
+
coreFellowship: {
|
|
580
|
+
/**
|
|
581
|
+
* The candidate has already been inducted. This should never happen since it would
|
|
582
|
+
* require a candidate (rank 0) to already be tracked in the pallet.
|
|
583
|
+
**/
|
|
584
|
+
AlreadyInducted: AugmentedError<ApiType>;
|
|
585
|
+
/**
|
|
586
|
+
* The given rank is invalid - this generally means it's not between 1 and `RANK_COUNT`.
|
|
587
|
+
**/
|
|
588
|
+
InvalidRank: AugmentedError<ApiType>;
|
|
589
|
+
/**
|
|
590
|
+
* The origin does not have enough permission to do this operation.
|
|
591
|
+
**/
|
|
592
|
+
NoPermission: AugmentedError<ApiType>;
|
|
593
|
+
/**
|
|
594
|
+
* No work needs to be done at present for this member.
|
|
595
|
+
**/
|
|
596
|
+
NothingDoing: AugmentedError<ApiType>;
|
|
597
|
+
/**
|
|
598
|
+
* The candidate has not been inducted, so cannot be offboarded from this pallet.
|
|
599
|
+
**/
|
|
600
|
+
NotTracked: AugmentedError<ApiType>;
|
|
601
|
+
/**
|
|
602
|
+
* Member's rank is not zero.
|
|
603
|
+
**/
|
|
604
|
+
Ranked: AugmentedError<ApiType>;
|
|
605
|
+
/**
|
|
606
|
+
* Operation cannot be done yet since not enough time has passed.
|
|
607
|
+
**/
|
|
608
|
+
TooSoon: AugmentedError<ApiType>;
|
|
609
|
+
/**
|
|
610
|
+
* Member's rank is not as expected - generally means that the rank provided to the call
|
|
611
|
+
* does not agree with the state of the system.
|
|
612
|
+
**/
|
|
613
|
+
UnexpectedRank: AugmentedError<ApiType>;
|
|
614
|
+
/**
|
|
615
|
+
* Member's rank is too low.
|
|
616
|
+
**/
|
|
617
|
+
Unranked: AugmentedError<ApiType>;
|
|
618
|
+
/**
|
|
619
|
+
* Generic error
|
|
620
|
+
**/
|
|
621
|
+
[key: string]: AugmentedError<ApiType>;
|
|
622
|
+
};
|
|
567
623
|
council: {
|
|
568
624
|
/**
|
|
569
625
|
* Members are already initialized!
|
|
@@ -1210,6 +1266,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1210
1266
|
* Collection ID is already taken.
|
|
1211
1267
|
**/
|
|
1212
1268
|
CollectionIdInUse: AugmentedError<ApiType>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Can't delete non-empty collections.
|
|
1271
|
+
**/
|
|
1272
|
+
CollectionNotEmpty: AugmentedError<ApiType>;
|
|
1213
1273
|
/**
|
|
1214
1274
|
* The deadline has already expired.
|
|
1215
1275
|
**/
|
|
@@ -1405,6 +1465,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1405
1465
|
* The portion supplied is beyond the value of the receipt.
|
|
1406
1466
|
**/
|
|
1407
1467
|
PortionTooBig: AugmentedError<ApiType>;
|
|
1468
|
+
Release1: AugmentedError<ApiType>;
|
|
1469
|
+
Release2: AugmentedError<ApiType>;
|
|
1470
|
+
Tah: AugmentedError<ApiType>;
|
|
1408
1471
|
/**
|
|
1409
1472
|
* The thaw throttle has been reached for this period.
|
|
1410
1473
|
**/
|
|
@@ -1444,6 +1507,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1444
1507
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
1445
1508
|
**/
|
|
1446
1509
|
CannotWithdrawAny: AugmentedError<ApiType>;
|
|
1510
|
+
/**
|
|
1511
|
+
* The submitted changes to commission change rate are not allowed.
|
|
1512
|
+
**/
|
|
1513
|
+
CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
|
|
1514
|
+
/**
|
|
1515
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
1516
|
+
**/
|
|
1517
|
+
CommissionChangeThrottled: AugmentedError<ApiType>;
|
|
1518
|
+
/**
|
|
1519
|
+
* The supplied commission exceeds the max allowed commission.
|
|
1520
|
+
**/
|
|
1521
|
+
CommissionExceedsMaximum: AugmentedError<ApiType>;
|
|
1447
1522
|
/**
|
|
1448
1523
|
* Some error occurred that should never happen. This should be reported to the
|
|
1449
1524
|
* maintainers.
|
|
@@ -1462,6 +1537,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1462
1537
|
* Pool id provided is not correct/usable.
|
|
1463
1538
|
**/
|
|
1464
1539
|
InvalidPoolId: AugmentedError<ApiType>;
|
|
1540
|
+
/**
|
|
1541
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
1542
|
+
**/
|
|
1543
|
+
MaxCommissionRestricted: AugmentedError<ApiType>;
|
|
1465
1544
|
/**
|
|
1466
1545
|
* Too many members in the pool or system.
|
|
1467
1546
|
**/
|
|
@@ -1486,6 +1565,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1486
1565
|
* permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
|
|
1487
1566
|
**/
|
|
1488
1567
|
MinimumBondNotMet: AugmentedError<ApiType>;
|
|
1568
|
+
/**
|
|
1569
|
+
* No commission current has been set.
|
|
1570
|
+
**/
|
|
1571
|
+
NoCommissionCurrentSet: AugmentedError<ApiType>;
|
|
1572
|
+
/**
|
|
1573
|
+
* There is no pending commission to claim.
|
|
1574
|
+
**/
|
|
1575
|
+
NoPendingCommission: AugmentedError<ApiType>;
|
|
1489
1576
|
/**
|
|
1490
1577
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
1491
1578
|
* other members to be permissionlessly unbonded.
|
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -352,10 +352,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
352
352
|
/**
|
|
353
353
|
* A balance was set by root.
|
|
354
354
|
**/
|
|
355
|
-
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128
|
|
355
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
|
|
356
356
|
who: AccountId32;
|
|
357
357
|
free: u128;
|
|
358
|
-
|
|
358
|
+
}>;
|
|
359
|
+
/**
|
|
360
|
+
* Some amount was burned from an account.
|
|
361
|
+
**/
|
|
362
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
363
|
+
who: AccountId32;
|
|
364
|
+
amount: u128;
|
|
359
365
|
}>;
|
|
360
366
|
/**
|
|
361
367
|
* Some amount was deposited (e.g. for transaction fees).
|
|
@@ -379,6 +385,32 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
379
385
|
account: AccountId32;
|
|
380
386
|
freeBalance: u128;
|
|
381
387
|
}>;
|
|
388
|
+
/**
|
|
389
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
390
|
+
**/
|
|
391
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], {
|
|
392
|
+
amount: u128;
|
|
393
|
+
}>;
|
|
394
|
+
/**
|
|
395
|
+
* Some balance was locked.
|
|
396
|
+
**/
|
|
397
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
398
|
+
who: AccountId32;
|
|
399
|
+
amount: u128;
|
|
400
|
+
}>;
|
|
401
|
+
/**
|
|
402
|
+
* Some amount was minted into an account.
|
|
403
|
+
**/
|
|
404
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
405
|
+
who: AccountId32;
|
|
406
|
+
amount: u128;
|
|
407
|
+
}>;
|
|
408
|
+
/**
|
|
409
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
410
|
+
**/
|
|
411
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], {
|
|
412
|
+
amount: u128;
|
|
413
|
+
}>;
|
|
382
414
|
/**
|
|
383
415
|
* Some balance was reserved (moved from free to reserved).
|
|
384
416
|
**/
|
|
@@ -396,6 +428,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
396
428
|
amount: u128;
|
|
397
429
|
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
398
430
|
}>;
|
|
431
|
+
/**
|
|
432
|
+
* Some amount was restored into an account.
|
|
433
|
+
**/
|
|
434
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
435
|
+
who: AccountId32;
|
|
436
|
+
amount: u128;
|
|
437
|
+
}>;
|
|
399
438
|
/**
|
|
400
439
|
* Some amount was removed from the account (e.g. for misbehavior).
|
|
401
440
|
**/
|
|
@@ -403,6 +442,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
403
442
|
who: AccountId32;
|
|
404
443
|
amount: u128;
|
|
405
444
|
}>;
|
|
445
|
+
/**
|
|
446
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
447
|
+
**/
|
|
448
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
449
|
+
who: AccountId32;
|
|
450
|
+
amount: u128;
|
|
451
|
+
}>;
|
|
406
452
|
/**
|
|
407
453
|
* Transfer succeeded.
|
|
408
454
|
**/
|
|
@@ -411,6 +457,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
411
457
|
to: AccountId32;
|
|
412
458
|
amount: u128;
|
|
413
459
|
}>;
|
|
460
|
+
/**
|
|
461
|
+
* Some balance was unlocked.
|
|
462
|
+
**/
|
|
463
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
464
|
+
who: AccountId32;
|
|
465
|
+
amount: u128;
|
|
466
|
+
}>;
|
|
414
467
|
/**
|
|
415
468
|
* Some balance was unreserved (moved from reserved to free).
|
|
416
469
|
**/
|
|
@@ -418,6 +471,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
418
471
|
who: AccountId32;
|
|
419
472
|
amount: u128;
|
|
420
473
|
}>;
|
|
474
|
+
/**
|
|
475
|
+
* An account was upgraded.
|
|
476
|
+
**/
|
|
477
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
478
|
+
who: AccountId32;
|
|
479
|
+
}>;
|
|
421
480
|
/**
|
|
422
481
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
423
482
|
**/
|
|
@@ -611,6 +670,84 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
611
670
|
**/
|
|
612
671
|
[key: string]: AugmentedEvent<ApiType>;
|
|
613
672
|
};
|
|
673
|
+
coreFellowship: {
|
|
674
|
+
/**
|
|
675
|
+
* Member activity flag has been set.
|
|
676
|
+
**/
|
|
677
|
+
ActiveChanged: AugmentedEvent<ApiType, [who: AccountId32, isActive: bool], {
|
|
678
|
+
who: AccountId32;
|
|
679
|
+
isActive: bool;
|
|
680
|
+
}>;
|
|
681
|
+
/**
|
|
682
|
+
* Member has been demoted to the given (non-zero) rank.
|
|
683
|
+
**/
|
|
684
|
+
Demoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], {
|
|
685
|
+
who: AccountId32;
|
|
686
|
+
toRank: u16;
|
|
687
|
+
}>;
|
|
688
|
+
/**
|
|
689
|
+
* Some submitted evidence was judged and removed. There may or may not have been a change
|
|
690
|
+
* to the rank, but in any case, `last_proof` is reset.
|
|
691
|
+
**/
|
|
692
|
+
EvidenceJudged: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish, evidence: Bytes, oldRank: u16, newRank: Option<u16>], {
|
|
693
|
+
who: AccountId32;
|
|
694
|
+
wish: PalletCoreFellowshipWish;
|
|
695
|
+
evidence: Bytes;
|
|
696
|
+
oldRank: u16;
|
|
697
|
+
newRank: Option<u16>;
|
|
698
|
+
}>;
|
|
699
|
+
/**
|
|
700
|
+
* Pre-ranked account has been inducted at their current rank.
|
|
701
|
+
**/
|
|
702
|
+
Imported: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], {
|
|
703
|
+
who: AccountId32;
|
|
704
|
+
rank: u16;
|
|
705
|
+
}>;
|
|
706
|
+
/**
|
|
707
|
+
* Member has begun being tracked in this pallet.
|
|
708
|
+
**/
|
|
709
|
+
Inducted: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
710
|
+
who: AccountId32;
|
|
711
|
+
}>;
|
|
712
|
+
/**
|
|
713
|
+
* Member has been removed from being tracked in this pallet (i.e. because rank is now
|
|
714
|
+
* zero).
|
|
715
|
+
**/
|
|
716
|
+
Offboarded: AugmentedEvent<ApiType, [who: AccountId32], {
|
|
717
|
+
who: AccountId32;
|
|
718
|
+
}>;
|
|
719
|
+
/**
|
|
720
|
+
* Parameters for the pallet have changed.
|
|
721
|
+
**/
|
|
722
|
+
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], {
|
|
723
|
+
params: PalletCoreFellowshipParamsType;
|
|
724
|
+
}>;
|
|
725
|
+
/**
|
|
726
|
+
* Member has been promoted to the given rank.
|
|
727
|
+
**/
|
|
728
|
+
Promoted: AugmentedEvent<ApiType, [who: AccountId32, toRank: u16], {
|
|
729
|
+
who: AccountId32;
|
|
730
|
+
toRank: u16;
|
|
731
|
+
}>;
|
|
732
|
+
/**
|
|
733
|
+
* Member has been proven at their current rank, postponing auto-demotion.
|
|
734
|
+
**/
|
|
735
|
+
Proven: AugmentedEvent<ApiType, [who: AccountId32, atRank: u16], {
|
|
736
|
+
who: AccountId32;
|
|
737
|
+
atRank: u16;
|
|
738
|
+
}>;
|
|
739
|
+
/**
|
|
740
|
+
* Member has stated evidence of their efforts their request for rank.
|
|
741
|
+
**/
|
|
742
|
+
Requested: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish], {
|
|
743
|
+
who: AccountId32;
|
|
744
|
+
wish: PalletCoreFellowshipWish;
|
|
745
|
+
}>;
|
|
746
|
+
/**
|
|
747
|
+
* Generic event
|
|
748
|
+
**/
|
|
749
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
750
|
+
};
|
|
614
751
|
council: {
|
|
615
752
|
/**
|
|
616
753
|
* A motion was approved by the required threshold.
|
|
@@ -1502,11 +1639,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1502
1639
|
/**
|
|
1503
1640
|
* The management team changed.
|
|
1504
1641
|
**/
|
|
1505
|
-
TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: AccountId32
|
|
1642
|
+
TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: Option<AccountId32>, admin: Option<AccountId32>, freezer: Option<AccountId32>], {
|
|
1506
1643
|
collection: u32;
|
|
1507
|
-
issuer: AccountId32
|
|
1508
|
-
admin: AccountId32
|
|
1509
|
-
freezer: AccountId32
|
|
1644
|
+
issuer: Option<AccountId32>;
|
|
1645
|
+
admin: Option<AccountId32>;
|
|
1646
|
+
freezer: Option<AccountId32>;
|
|
1510
1647
|
}>;
|
|
1511
1648
|
/**
|
|
1512
1649
|
* A tip was sent.
|
|
@@ -1647,6 +1784,34 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1647
1784
|
poolId: u32;
|
|
1648
1785
|
payout: u128;
|
|
1649
1786
|
}>;
|
|
1787
|
+
/**
|
|
1788
|
+
* A pool's commission `change_rate` has been changed.
|
|
1789
|
+
**/
|
|
1790
|
+
PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], {
|
|
1791
|
+
poolId: u32;
|
|
1792
|
+
changeRate: PalletNominationPoolsCommissionChangeRate;
|
|
1793
|
+
}>;
|
|
1794
|
+
/**
|
|
1795
|
+
* Pool commission has been claimed.
|
|
1796
|
+
**/
|
|
1797
|
+
PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], {
|
|
1798
|
+
poolId: u32;
|
|
1799
|
+
commission: u128;
|
|
1800
|
+
}>;
|
|
1801
|
+
/**
|
|
1802
|
+
* A pool's commission setting has been changed.
|
|
1803
|
+
**/
|
|
1804
|
+
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], {
|
|
1805
|
+
poolId: u32;
|
|
1806
|
+
current: Option<ITuple<[Perbill, AccountId32]>>;
|
|
1807
|
+
}>;
|
|
1808
|
+
/**
|
|
1809
|
+
* A pool's maximum commission setting has been changed.
|
|
1810
|
+
**/
|
|
1811
|
+
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], {
|
|
1812
|
+
poolId: u32;
|
|
1813
|
+
maxCommission: Perbill;
|
|
1814
|
+
}>;
|
|
1650
1815
|
/**
|
|
1651
1816
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
1652
1817
|
**/
|
package/substrate/query.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/storage';
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
|
-
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
+
import type { BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeHoldReason, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -266,6 +266,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
266
266
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
267
267
|
**/
|
|
268
268
|
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
269
|
+
/**
|
|
270
|
+
* Freeze locks on account balances.
|
|
271
|
+
**/
|
|
272
|
+
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
273
|
+
/**
|
|
274
|
+
* Holds on account balances.
|
|
275
|
+
**/
|
|
276
|
+
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
|
|
277
|
+
readonly id: KitchensinkRuntimeHoldReason;
|
|
278
|
+
readonly amount: u128;
|
|
279
|
+
} & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
269
280
|
/**
|
|
270
281
|
* The total units of outstanding deactivated balance in the system.
|
|
271
282
|
**/
|
|
@@ -410,6 +421,24 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
410
421
|
**/
|
|
411
422
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
412
423
|
};
|
|
424
|
+
coreFellowship: {
|
|
425
|
+
/**
|
|
426
|
+
* The status of a claimant.
|
|
427
|
+
**/
|
|
428
|
+
member: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletCoreFellowshipMemberStatus>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
429
|
+
/**
|
|
430
|
+
* Some evidence together with the desired outcome for which it was presented.
|
|
431
|
+
**/
|
|
432
|
+
memberEvidence: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletCoreFellowshipWish, Bytes]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
433
|
+
/**
|
|
434
|
+
* The overall status of the system.
|
|
435
|
+
**/
|
|
436
|
+
params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsType>, []> & QueryableStorageEntry<ApiType, []>;
|
|
437
|
+
/**
|
|
438
|
+
* Generic query
|
|
439
|
+
**/
|
|
440
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
441
|
+
};
|
|
413
442
|
council: {
|
|
414
443
|
/**
|
|
415
444
|
* The current members of the collective. This is stored sorted (just by value).
|
|
@@ -1030,6 +1059,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1030
1059
|
* Counter for the related counted storage map
|
|
1031
1060
|
**/
|
|
1032
1061
|
counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1062
|
+
/**
|
|
1063
|
+
* The maximum commission that can be charged by a pool. Used on commission payouts to bound
|
|
1064
|
+
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
|
1065
|
+
* `GlobalMaxCommission` is lower than some current pool commissions.
|
|
1066
|
+
**/
|
|
1067
|
+
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1033
1068
|
/**
|
|
1034
1069
|
* Ever increasing number of all pools created so far.
|
|
1035
1070
|
**/
|
|
@@ -1081,13 +1116,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1081
1116
|
**/
|
|
1082
1117
|
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1083
1118
|
/**
|
|
1084
|
-
* Reward pools. This is where there rewards for each pool accumulate. When a members payout
|
|
1085
|
-
*
|
|
1119
|
+
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
|
1120
|
+
* claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
|
|
1086
1121
|
**/
|
|
1087
1122
|
rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1088
1123
|
/**
|
|
1089
|
-
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
1090
|
-
* hence the name sub-pools. Keyed by the bonded pools account.
|
|
1124
|
+
* Groups of unbonding pools. Each group of unbonding pools belongs to a
|
|
1125
|
+
* bonded pool, hence the name sub-pools. Keyed by the bonded pools account.
|
|
1091
1126
|
**/
|
|
1092
1127
|
subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1093
1128
|
/**
|