@polkadot/api-augment 9.10.2 → 9.10.4
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 +83 -50
- package/kusama/errors.d.ts +105 -39
- package/kusama/events.d.ts +173 -42
- package/kusama/query.d.ts +89 -33
- package/kusama/tx.d.ts +245 -56
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/events.d.ts +11 -2
- package/polkadot/query.d.ts +13 -7
- package/polkadot/tx.d.ts +14 -2
- package/substrate/consts.d.ts +96 -50
- package/substrate/errors.d.ts +103 -39
- package/substrate/events.d.ts +138 -43
- package/substrate/query.d.ts +61 -33
- package/substrate/tx.d.ts +133 -62
package/polkadot/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32
|
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock,
|
|
8
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
9
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
10
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -188,6 +188,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
188
188
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
|
189
189
|
**/
|
|
190
190
|
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
191
|
+
/**
|
|
192
|
+
* The total units of outstanding deactivated balance in the system.
|
|
193
|
+
**/
|
|
194
|
+
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
191
195
|
/**
|
|
192
196
|
* Any liquidity locks on some account balances.
|
|
193
197
|
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
|
@@ -197,12 +201,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
197
201
|
* Named reserves on some account balances.
|
|
198
202
|
**/
|
|
199
203
|
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
200
|
-
/**
|
|
201
|
-
* Storage version of the pallet.
|
|
202
|
-
*
|
|
203
|
-
* This is set to v2.0.0 for new networks.
|
|
204
|
-
**/
|
|
205
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
206
204
|
/**
|
|
207
205
|
* The total units issued in the system.
|
|
208
206
|
**/
|
|
@@ -1520,6 +1518,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1520
1518
|
* If set to `0`, no limit exists.
|
|
1521
1519
|
**/
|
|
1522
1520
|
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1521
|
+
/**
|
|
1522
|
+
* The minimum active nominator stake of the last successful election.
|
|
1523
|
+
**/
|
|
1524
|
+
minimumActiveStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1523
1525
|
/**
|
|
1524
1526
|
* Minimum number of staking participants before emergency conditions are imposed.
|
|
1525
1527
|
**/
|
|
@@ -1789,6 +1791,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1789
1791
|
* Proposal indices that have been approved but not yet awarded.
|
|
1790
1792
|
**/
|
|
1791
1793
|
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1794
|
+
/**
|
|
1795
|
+
* The amount which has been reported as inactive to Currency.
|
|
1796
|
+
**/
|
|
1797
|
+
inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1792
1798
|
/**
|
|
1793
1799
|
* Number of proposals that have been made.
|
|
1794
1800
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -292,7 +292,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
292
292
|
* Approve a bounty proposal. At a later time, the bounty will be funded and become active
|
|
293
293
|
* and the original deposit will be returned.
|
|
294
294
|
*
|
|
295
|
-
* May only be called from `T::
|
|
295
|
+
* May only be called from `T::SpendOrigin`.
|
|
296
296
|
*
|
|
297
297
|
* # <weight>
|
|
298
298
|
* - O(1).
|
|
@@ -379,7 +379,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
379
379
|
/**
|
|
380
380
|
* Assign a curator to a funded bounty.
|
|
381
381
|
*
|
|
382
|
-
* May only be called from `T::
|
|
382
|
+
* May only be called from `T::SpendOrigin`.
|
|
383
383
|
*
|
|
384
384
|
* # <weight>
|
|
385
385
|
* - O(1).
|
|
@@ -4786,6 +4786,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4786
4786
|
* # </weight>
|
|
4787
4787
|
**/
|
|
4788
4788
|
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
4789
|
+
/**
|
|
4790
|
+
* Dispatch a function call with a specified weight.
|
|
4791
|
+
*
|
|
4792
|
+
* This function does not check the weight of the call, and instead allows the
|
|
4793
|
+
* Root origin to specify the weight of the call.
|
|
4794
|
+
*
|
|
4795
|
+
* The dispatch origin for this call must be _Root_.
|
|
4796
|
+
**/
|
|
4797
|
+
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
4798
|
+
refTime?: any;
|
|
4799
|
+
proofSize?: any;
|
|
4800
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
4789
4801
|
/**
|
|
4790
4802
|
* Generic tx
|
|
4791
4803
|
**/
|
package/substrate/consts.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import '@polkadot/api-base/types/consts';
|
|
|
2
2
|
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
|
-
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { Perbill, Percent, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, 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' {
|
|
@@ -237,6 +237,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
237
237
|
* a wasm binary below this maximum size.
|
|
238
238
|
**/
|
|
239
239
|
maxCodeLen: u32 & AugmentedConst<ApiType>;
|
|
240
|
+
/**
|
|
241
|
+
* The maximum length of the debug buffer in bytes.
|
|
242
|
+
**/
|
|
243
|
+
maxDebugBufferLen: u32 & AugmentedConst<ApiType>;
|
|
240
244
|
/**
|
|
241
245
|
* The maximum allowable length in bytes for storage keys.
|
|
242
246
|
**/
|
|
@@ -506,55 +510,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
506
510
|
**/
|
|
507
511
|
[key: string]: Codec;
|
|
508
512
|
};
|
|
509
|
-
gilt: {
|
|
510
|
-
/**
|
|
511
|
-
* Portion of the queue which is free from ordering and just a FIFO.
|
|
512
|
-
*
|
|
513
|
-
* Must be no greater than `MaxQueueLen`.
|
|
514
|
-
**/
|
|
515
|
-
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
516
|
-
/**
|
|
517
|
-
* The number of blocks between consecutive attempts to issue more gilts in an effort to
|
|
518
|
-
* get to the target amount to be frozen.
|
|
519
|
-
*
|
|
520
|
-
* A larger value results in fewer storage hits each block, but a slower period to get to
|
|
521
|
-
* the target.
|
|
522
|
-
**/
|
|
523
|
-
intakePeriod: u32 & AugmentedConst<ApiType>;
|
|
524
|
-
/**
|
|
525
|
-
* The maximum amount of bids that can be turned into issued gilts each block. A larger
|
|
526
|
-
* value here means less of the block available for transactions should there be a glut of
|
|
527
|
-
* bids to make into gilts to reach the target.
|
|
528
|
-
**/
|
|
529
|
-
maxIntakeBids: u32 & AugmentedConst<ApiType>;
|
|
530
|
-
/**
|
|
531
|
-
* Maximum number of items that may be in each duration queue.
|
|
532
|
-
**/
|
|
533
|
-
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
|
534
|
-
/**
|
|
535
|
-
* The minimum amount of funds that may be offered to freeze for a gilt. Note that this
|
|
536
|
-
* does not actually limit the amount which may be frozen in a gilt since gilts may be
|
|
537
|
-
* split up in order to satisfy the desired amount of funds under gilts.
|
|
538
|
-
*
|
|
539
|
-
* It should be at least big enough to ensure that there is no possible storage spam attack
|
|
540
|
-
* or queue-filling attack.
|
|
541
|
-
**/
|
|
542
|
-
minFreeze: u128 & AugmentedConst<ApiType>;
|
|
543
|
-
/**
|
|
544
|
-
* The base period for the duration queues. This is the common multiple across all
|
|
545
|
-
* supported freezing durations that can be bid upon.
|
|
546
|
-
**/
|
|
547
|
-
period: u32 & AugmentedConst<ApiType>;
|
|
548
|
-
/**
|
|
549
|
-
* Number of duration queues in total. This sets the maximum duration supported, which is
|
|
550
|
-
* this value multiplied by `Period`.
|
|
551
|
-
**/
|
|
552
|
-
queueCount: u32 & AugmentedConst<ApiType>;
|
|
553
|
-
/**
|
|
554
|
-
* Generic const
|
|
555
|
-
**/
|
|
556
|
-
[key: string]: Codec;
|
|
557
|
-
};
|
|
558
513
|
grandpa: {
|
|
559
514
|
/**
|
|
560
515
|
* Max Authorities in use
|
|
@@ -642,6 +597,34 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
642
597
|
**/
|
|
643
598
|
[key: string]: Codec;
|
|
644
599
|
};
|
|
600
|
+
messageQueue: {
|
|
601
|
+
/**
|
|
602
|
+
* The size of the page; this implies the maximum message size which can be sent.
|
|
603
|
+
*
|
|
604
|
+
* A good value depends on the expected message sizes, their weights, the weight that is
|
|
605
|
+
* available for processing them and the maximal needed message size. The maximal message
|
|
606
|
+
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
|
607
|
+
**/
|
|
608
|
+
heapSize: u32 & AugmentedConst<ApiType>;
|
|
609
|
+
/**
|
|
610
|
+
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
|
611
|
+
* can happen. Once there are more stale pages than this, then historical pages may be
|
|
612
|
+
* dropped, even if they contain unprocessed overweight messages.
|
|
613
|
+
**/
|
|
614
|
+
maxStale: u32 & AugmentedConst<ApiType>;
|
|
615
|
+
/**
|
|
616
|
+
* The amount of weight (if any) which should be provided to the message queue for
|
|
617
|
+
* servicing enqueued items.
|
|
618
|
+
*
|
|
619
|
+
* This may be legitimately `None` in the case that you will call
|
|
620
|
+
* `ServiceQueues::service_queues` manually.
|
|
621
|
+
**/
|
|
622
|
+
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
|
623
|
+
/**
|
|
624
|
+
* Generic const
|
|
625
|
+
**/
|
|
626
|
+
[key: string]: Codec;
|
|
627
|
+
};
|
|
645
628
|
multisig: {
|
|
646
629
|
/**
|
|
647
630
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
|
@@ -667,6 +650,69 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
667
650
|
**/
|
|
668
651
|
[key: string]: Codec;
|
|
669
652
|
};
|
|
653
|
+
nis: {
|
|
654
|
+
/**
|
|
655
|
+
* The base period for the duration queues. This is the common multiple across all
|
|
656
|
+
* supported freezing durations that can be bid upon.
|
|
657
|
+
**/
|
|
658
|
+
basePeriod: u32 & AugmentedConst<ApiType>;
|
|
659
|
+
/**
|
|
660
|
+
* Portion of the queue which is free from ordering and just a FIFO.
|
|
661
|
+
*
|
|
662
|
+
* Must be no greater than `MaxQueueLen`.
|
|
663
|
+
**/
|
|
664
|
+
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
665
|
+
/**
|
|
666
|
+
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
|
667
|
+
*
|
|
668
|
+
* A larger value results in fewer storage hits each block, but a slower period to get to
|
|
669
|
+
* the target.
|
|
670
|
+
**/
|
|
671
|
+
intakePeriod: u32 & AugmentedConst<ApiType>;
|
|
672
|
+
/**
|
|
673
|
+
* The maximum amount of bids that can consolidated into receipts in a single intake. A
|
|
674
|
+
* larger value here means less of the block available for transactions should there be a
|
|
675
|
+
* glut of bids.
|
|
676
|
+
**/
|
|
677
|
+
maxIntakeWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
678
|
+
/**
|
|
679
|
+
* Maximum number of items that may be in each duration queue.
|
|
680
|
+
*
|
|
681
|
+
* Must be larger than zero.
|
|
682
|
+
**/
|
|
683
|
+
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
|
684
|
+
/**
|
|
685
|
+
* The minimum amount of funds that may be placed in a bid. Note that this
|
|
686
|
+
* does not actually limit the amount which may be represented in a receipt since bids may
|
|
687
|
+
* be split up by the system.
|
|
688
|
+
*
|
|
689
|
+
* It should be at least big enough to ensure that there is no possible storage spam attack
|
|
690
|
+
* or queue-filling attack.
|
|
691
|
+
**/
|
|
692
|
+
minBid: u128 & AugmentedConst<ApiType>;
|
|
693
|
+
/**
|
|
694
|
+
* The minimum amount of funds which may intentionally be left remaining under a single
|
|
695
|
+
* receipt.
|
|
696
|
+
**/
|
|
697
|
+
minReceipt: Perquintill & AugmentedConst<ApiType>;
|
|
698
|
+
/**
|
|
699
|
+
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
700
|
+
**/
|
|
701
|
+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
702
|
+
/**
|
|
703
|
+
* Number of duration queues in total. This sets the maximum duration supported, which is
|
|
704
|
+
* this value multiplied by `Period`.
|
|
705
|
+
**/
|
|
706
|
+
queueCount: u32 & AugmentedConst<ApiType>;
|
|
707
|
+
/**
|
|
708
|
+
* The maximum proportion which may be thawed and the period over which it is reset.
|
|
709
|
+
**/
|
|
710
|
+
thawThrottle: ITuple<[Perquintill, u32]> & AugmentedConst<ApiType>;
|
|
711
|
+
/**
|
|
712
|
+
* Generic const
|
|
713
|
+
**/
|
|
714
|
+
[key: string]: Codec;
|
|
715
|
+
};
|
|
670
716
|
nominationPools: {
|
|
671
717
|
/**
|
|
672
718
|
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
package/substrate/errors.d.ts
CHANGED
|
@@ -440,6 +440,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
440
440
|
* Contract trapped during execution.
|
|
441
441
|
**/
|
|
442
442
|
ContractTrapped: AugmentedError<ApiType>;
|
|
443
|
+
/**
|
|
444
|
+
* The debug buffer size used during contract execution exceeded the limit determined by
|
|
445
|
+
* the `MaxDebugBufferLen` pallet config parameter.
|
|
446
|
+
**/
|
|
447
|
+
DebugBufferExhausted: AugmentedError<ApiType>;
|
|
443
448
|
/**
|
|
444
449
|
* The debug message specified to `seal_debug_message` does contain invalid UTF-8.
|
|
445
450
|
**/
|
|
@@ -916,45 +921,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
916
921
|
**/
|
|
917
922
|
[key: string]: AugmentedError<ApiType>;
|
|
918
923
|
};
|
|
919
|
-
gilt: {
|
|
920
|
-
/**
|
|
921
|
-
* The amount of the bid is less than the minimum allowed.
|
|
922
|
-
**/
|
|
923
|
-
AmountTooSmall: AugmentedError<ApiType>;
|
|
924
|
-
/**
|
|
925
|
-
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
926
|
-
* through replacing an existing bid.
|
|
927
|
-
**/
|
|
928
|
-
BidTooLow: AugmentedError<ApiType>;
|
|
929
|
-
/**
|
|
930
|
-
* The duration is the bid is greater than the number of queues.
|
|
931
|
-
**/
|
|
932
|
-
DurationTooBig: AugmentedError<ApiType>;
|
|
933
|
-
/**
|
|
934
|
-
* The duration of the bid is less than one.
|
|
935
|
-
**/
|
|
936
|
-
DurationTooSmall: AugmentedError<ApiType>;
|
|
937
|
-
/**
|
|
938
|
-
* Gilt not yet at expiry date.
|
|
939
|
-
**/
|
|
940
|
-
NotExpired: AugmentedError<ApiType>;
|
|
941
|
-
/**
|
|
942
|
-
* The given bid for retraction is not found.
|
|
943
|
-
**/
|
|
944
|
-
NotFound: AugmentedError<ApiType>;
|
|
945
|
-
/**
|
|
946
|
-
* Not the owner of the gilt.
|
|
947
|
-
**/
|
|
948
|
-
NotOwner: AugmentedError<ApiType>;
|
|
949
|
-
/**
|
|
950
|
-
* Gilt index is unknown.
|
|
951
|
-
**/
|
|
952
|
-
Unknown: AugmentedError<ApiType>;
|
|
953
|
-
/**
|
|
954
|
-
* Generic error
|
|
955
|
-
**/
|
|
956
|
-
[key: string]: AugmentedError<ApiType>;
|
|
957
|
-
};
|
|
958
924
|
grandpa: {
|
|
959
925
|
/**
|
|
960
926
|
* Attempt to signal GRANDPA change with one already pending.
|
|
@@ -1143,6 +1109,37 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1143
1109
|
**/
|
|
1144
1110
|
[key: string]: AugmentedError<ApiType>;
|
|
1145
1111
|
};
|
|
1112
|
+
messageQueue: {
|
|
1113
|
+
/**
|
|
1114
|
+
* The message was already processed and cannot be processed again.
|
|
1115
|
+
**/
|
|
1116
|
+
AlreadyProcessed: AugmentedError<ApiType>;
|
|
1117
|
+
/**
|
|
1118
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
1119
|
+
**/
|
|
1120
|
+
InsufficientWeight: AugmentedError<ApiType>;
|
|
1121
|
+
/**
|
|
1122
|
+
* The referenced message could not be found.
|
|
1123
|
+
**/
|
|
1124
|
+
NoMessage: AugmentedError<ApiType>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Page to be reaped does not exist.
|
|
1127
|
+
**/
|
|
1128
|
+
NoPage: AugmentedError<ApiType>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
1131
|
+
* enough.
|
|
1132
|
+
**/
|
|
1133
|
+
NotReapable: AugmentedError<ApiType>;
|
|
1134
|
+
/**
|
|
1135
|
+
* The message is queued for future execution.
|
|
1136
|
+
**/
|
|
1137
|
+
Queued: AugmentedError<ApiType>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Generic error
|
|
1140
|
+
**/
|
|
1141
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1142
|
+
};
|
|
1146
1143
|
multisig: {
|
|
1147
1144
|
/**
|
|
1148
1145
|
* Call is already approved by this signatory.
|
|
@@ -1205,6 +1202,65 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1205
1202
|
**/
|
|
1206
1203
|
[key: string]: AugmentedError<ApiType>;
|
|
1207
1204
|
};
|
|
1205
|
+
nis: {
|
|
1206
|
+
/**
|
|
1207
|
+
* The amount of the bid is less than the minimum allowed.
|
|
1208
|
+
**/
|
|
1209
|
+
AmountTooSmall: AugmentedError<ApiType>;
|
|
1210
|
+
/**
|
|
1211
|
+
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
1212
|
+
* through replacing an existing bid.
|
|
1213
|
+
**/
|
|
1214
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
1215
|
+
/**
|
|
1216
|
+
* The duration is the bid is greater than the number of queues.
|
|
1217
|
+
**/
|
|
1218
|
+
DurationTooBig: AugmentedError<ApiType>;
|
|
1219
|
+
/**
|
|
1220
|
+
* The duration of the bid is less than one.
|
|
1221
|
+
**/
|
|
1222
|
+
DurationTooSmall: AugmentedError<ApiType>;
|
|
1223
|
+
/**
|
|
1224
|
+
* There are enough funds for what is required.
|
|
1225
|
+
**/
|
|
1226
|
+
Funded: AugmentedError<ApiType>;
|
|
1227
|
+
/**
|
|
1228
|
+
* The operation would result in a receipt worth an insignficant value.
|
|
1229
|
+
**/
|
|
1230
|
+
MakesDust: AugmentedError<ApiType>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Bond not yet at expiry date.
|
|
1233
|
+
**/
|
|
1234
|
+
NotExpired: AugmentedError<ApiType>;
|
|
1235
|
+
/**
|
|
1236
|
+
* The given bid for retraction is not found.
|
|
1237
|
+
**/
|
|
1238
|
+
NotFound: AugmentedError<ApiType>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Not the owner of the receipt.
|
|
1241
|
+
**/
|
|
1242
|
+
NotOwner: AugmentedError<ApiType>;
|
|
1243
|
+
/**
|
|
1244
|
+
* The thaw throttle has been reached for this period.
|
|
1245
|
+
**/
|
|
1246
|
+
Throttled: AugmentedError<ApiType>;
|
|
1247
|
+
/**
|
|
1248
|
+
* The portion supplied is beyond the value of the receipt.
|
|
1249
|
+
**/
|
|
1250
|
+
TooMuch: AugmentedError<ApiType>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Not enough funds are held to pay out.
|
|
1253
|
+
**/
|
|
1254
|
+
Unfunded: AugmentedError<ApiType>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Bond index is unknown.
|
|
1257
|
+
**/
|
|
1258
|
+
Unknown: AugmentedError<ApiType>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Generic error
|
|
1261
|
+
**/
|
|
1262
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1263
|
+
};
|
|
1208
1264
|
nominationPools: {
|
|
1209
1265
|
/**
|
|
1210
1266
|
* An account is already delegating in another pool. An account may only belong to one
|
|
@@ -1426,6 +1482,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1426
1482
|
* The referendum index provided is invalid in this context.
|
|
1427
1483
|
**/
|
|
1428
1484
|
BadReferendum: AugmentedError<ApiType>;
|
|
1485
|
+
/**
|
|
1486
|
+
* The referendum status is invalid for this operation.
|
|
1487
|
+
**/
|
|
1488
|
+
BadStatus: AugmentedError<ApiType>;
|
|
1429
1489
|
/**
|
|
1430
1490
|
* The track identifier given was invalid.
|
|
1431
1491
|
**/
|
|
@@ -1546,6 +1606,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1546
1606
|
* The referendum index provided is invalid in this context.
|
|
1547
1607
|
**/
|
|
1548
1608
|
BadReferendum: AugmentedError<ApiType>;
|
|
1609
|
+
/**
|
|
1610
|
+
* The referendum status is invalid for this operation.
|
|
1611
|
+
**/
|
|
1612
|
+
BadStatus: AugmentedError<ApiType>;
|
|
1549
1613
|
/**
|
|
1550
1614
|
* The track identifier given was invalid.
|
|
1551
1615
|
**/
|