@polkadot/api-augment 10.9.1 → 10.11.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 +82 -34
- package/kusama/errors.d.ts +150 -26
- package/kusama/events.d.ts +66 -19
- package/kusama/query.d.ts +206 -87
- package/kusama/runtime.d.ts +36 -4
- package/kusama/tx.d.ts +192 -53
- package/package.json +9 -9
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +15 -198
- package/polkadot/errors.d.ts +37 -340
- package/polkadot/events.d.ts +24 -376
- package/polkadot/query.d.ts +63 -272
- package/polkadot/runtime.d.ts +20 -3
- package/polkadot/tx.d.ts +62 -441
- package/substrate/consts.d.ts +118 -34
- package/substrate/errors.d.ts +303 -8
- package/substrate/events.d.ts +379 -25
- package/substrate/query.d.ts +160 -44
- package/substrate/runtime.d.ts +21 -1
- package/substrate/tx.d.ts +252 -29
package/kusama/runtime.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-b
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
|
-
import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
|
6
|
+
import type { BeefyAuthoritySet, BeefyEquivocationProof, BeefyNextAuthoritySet, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
|
7
7
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
8
8
|
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
9
9
|
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
|
@@ -12,7 +12,7 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
|
|
|
12
12
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
13
13
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
|
|
14
14
|
import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
|
|
15
|
-
import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
|
15
|
+
import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
|
16
16
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
17
17
|
import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
|
18
18
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
@@ -82,7 +82,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
82
82
|
**/
|
|
83
83
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
84
84
|
};
|
|
85
|
-
/** 0x49eaaf1b548a0cb0/
|
|
85
|
+
/** 0x49eaaf1b548a0cb0/3 */
|
|
86
86
|
beefyApi: {
|
|
87
87
|
/**
|
|
88
88
|
* Return the block number where BEEFY consensus is enabled/started
|
|
@@ -108,6 +108,21 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
108
108
|
**/
|
|
109
109
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
110
110
|
};
|
|
111
|
+
/** 0x2a5e924655399e60/1 */
|
|
112
|
+
beefyMmrApi: {
|
|
113
|
+
/**
|
|
114
|
+
* Return the currently active BEEFY authority set proof.
|
|
115
|
+
**/
|
|
116
|
+
authoritySetProof: AugmentedCall<ApiType, () => Observable<BeefyAuthoritySet>>;
|
|
117
|
+
/**
|
|
118
|
+
* Return the next/queued BEEFY authority set proof.
|
|
119
|
+
**/
|
|
120
|
+
nextAuthoritySetProof: AugmentedCall<ApiType, () => Observable<BeefyNextAuthoritySet>>;
|
|
121
|
+
/**
|
|
122
|
+
* Generic call
|
|
123
|
+
**/
|
|
124
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
125
|
+
};
|
|
111
126
|
/** 0x40fe3ad401f8959a/6 */
|
|
112
127
|
blockBuilder: {
|
|
113
128
|
/**
|
|
@@ -278,7 +293,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
278
293
|
**/
|
|
279
294
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
280
295
|
};
|
|
281
|
-
/** 0xaf2c0297a23e6d3d/
|
|
296
|
+
/** 0xaf2c0297a23e6d3d/5 */
|
|
282
297
|
parachainHost: {
|
|
283
298
|
/**
|
|
284
299
|
* Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
|
|
@@ -319,6 +334,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
319
334
|
* Get the contents of all channels addressed to the given recipient.
|
|
320
335
|
**/
|
|
321
336
|
inboundHrmpChannelsContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundHrmpMessage>>>;
|
|
337
|
+
/**
|
|
338
|
+
* Returns a merkle proof of a validator session key
|
|
339
|
+
**/
|
|
340
|
+
keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
|
|
322
341
|
/**
|
|
323
342
|
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
|
324
343
|
**/
|
|
@@ -352,6 +371,19 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
352
371
|
sessionIndex?: any;
|
|
353
372
|
validatorIndex?: any;
|
|
354
373
|
} | string | Uint8Array, signature: ValidatorSignature | string | Uint8Array) => Observable<Null>>;
|
|
374
|
+
/**
|
|
375
|
+
* Submit an unsigned extrinsic to slash validators who lost a dispute about a candidate of a past session
|
|
376
|
+
**/
|
|
377
|
+
submitReportDisputeLost: AugmentedCall<ApiType, (disputeProof: DisputeProof | {
|
|
378
|
+
timeSlot?: any;
|
|
379
|
+
kind?: any;
|
|
380
|
+
validatorIndex?: any;
|
|
381
|
+
validatorId?: any;
|
|
382
|
+
} | string | Uint8Array, keyOwnershipProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
|
383
|
+
/**
|
|
384
|
+
* Returns a list of validators that lost a past session dispute and need to be slashed
|
|
385
|
+
**/
|
|
386
|
+
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[SessionIndex, CandidateHash, PendingSlashes]>>>>;
|
|
355
387
|
/**
|
|
356
388
|
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
|
357
389
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
|
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
7
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState,
|
|
8
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5ExecutorParams, PolkadotPrimitivesV5InherentData, PolkadotPrimitivesV5PvfCheckStatement, PolkadotPrimitivesV5SlashingDisputeProof, PolkadotPrimitivesV5ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV3MultiLocation, XcmV3WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
9
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
10
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
11
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -199,6 +199,34 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
199
199
|
**/
|
|
200
200
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
201
201
|
};
|
|
202
|
+
beefy: {
|
|
203
|
+
/**
|
|
204
|
+
* See [`Pallet::report_equivocation`].
|
|
205
|
+
**/
|
|
206
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | {
|
|
207
|
+
first?: any;
|
|
208
|
+
second?: any;
|
|
209
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
210
|
+
session?: any;
|
|
211
|
+
trieNodes?: any;
|
|
212
|
+
validatorCount?: any;
|
|
213
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
|
214
|
+
/**
|
|
215
|
+
* See [`Pallet::report_equivocation_unsigned`].
|
|
216
|
+
**/
|
|
217
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | {
|
|
218
|
+
first?: any;
|
|
219
|
+
second?: any;
|
|
220
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
221
|
+
session?: any;
|
|
222
|
+
trieNodes?: any;
|
|
223
|
+
validatorCount?: any;
|
|
224
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
|
225
|
+
/**
|
|
226
|
+
* Generic tx
|
|
227
|
+
**/
|
|
228
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
229
|
+
};
|
|
202
230
|
bounties: {
|
|
203
231
|
/**
|
|
204
232
|
* See [`Pallet::accept_curator`].
|
|
@@ -353,10 +381,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
353
381
|
* See [`Pallet::set_bypass_consistency_check`].
|
|
354
382
|
**/
|
|
355
383
|
setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
356
|
-
/**
|
|
357
|
-
* See [`Pallet::set_chain_availability_period`].
|
|
358
|
-
**/
|
|
359
|
-
setChainAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
360
384
|
/**
|
|
361
385
|
* See [`Pallet::set_code_retention_period`].
|
|
362
386
|
**/
|
|
@@ -372,7 +396,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
372
396
|
/**
|
|
373
397
|
* See [`Pallet::set_executor_params`].
|
|
374
398
|
**/
|
|
375
|
-
setExecutorParams: AugmentedSubmittable<(updated:
|
|
399
|
+
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV5ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5ExecutorParams]>;
|
|
376
400
|
/**
|
|
377
401
|
* See [`Pallet::set_group_rotation_frequency`].
|
|
378
402
|
**/
|
|
@@ -401,14 +425,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
401
425
|
* See [`Pallet::set_hrmp_max_parachain_outbound_channels`].
|
|
402
426
|
**/
|
|
403
427
|
setHrmpMaxParachainOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
404
|
-
/**
|
|
405
|
-
* See [`Pallet::set_hrmp_max_parathread_inbound_channels`].
|
|
406
|
-
**/
|
|
407
|
-
setHrmpMaxParathreadInboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
408
|
-
/**
|
|
409
|
-
* See [`Pallet::set_hrmp_max_parathread_outbound_channels`].
|
|
410
|
-
**/
|
|
411
|
-
setHrmpMaxParathreadOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
412
428
|
/**
|
|
413
429
|
* See [`Pallet::set_hrmp_open_request_ttl`].
|
|
414
430
|
**/
|
|
@@ -478,17 +494,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
478
494
|
**/
|
|
479
495
|
setNoShowSlots: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
480
496
|
/**
|
|
481
|
-
* See [`Pallet::
|
|
497
|
+
* See [`Pallet::set_on_demand_base_fee`].
|
|
482
498
|
**/
|
|
483
|
-
|
|
499
|
+
setOnDemandBaseFee: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
484
500
|
/**
|
|
485
|
-
* See [`Pallet::
|
|
501
|
+
* See [`Pallet::set_on_demand_cores`].
|
|
486
502
|
**/
|
|
487
|
-
|
|
503
|
+
setOnDemandCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
488
504
|
/**
|
|
489
|
-
* See [`Pallet::
|
|
505
|
+
* See [`Pallet::set_on_demand_fee_variability`].
|
|
490
506
|
**/
|
|
491
|
-
|
|
507
|
+
setOnDemandFeeVariability: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
508
|
+
/**
|
|
509
|
+
* See [`Pallet::set_on_demand_queue_max_size`].
|
|
510
|
+
**/
|
|
511
|
+
setOnDemandQueueMaxSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
512
|
+
/**
|
|
513
|
+
* See [`Pallet::set_on_demand_retries`].
|
|
514
|
+
**/
|
|
515
|
+
setOnDemandRetries: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
516
|
+
/**
|
|
517
|
+
* See [`Pallet::set_on_demand_target_queue_utilization`].
|
|
518
|
+
**/
|
|
519
|
+
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
520
|
+
/**
|
|
521
|
+
* See [`Pallet::set_on_demand_ttl`].
|
|
522
|
+
**/
|
|
523
|
+
setOnDemandTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
524
|
+
/**
|
|
525
|
+
* See [`Pallet::set_paras_availability_period`].
|
|
526
|
+
**/
|
|
527
|
+
setParasAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
492
528
|
/**
|
|
493
529
|
* See [`Pallet::set_pvf_voting_ttl`].
|
|
494
530
|
**/
|
|
@@ -501,10 +537,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
501
537
|
* See [`Pallet::set_scheduling_lookahead`].
|
|
502
538
|
**/
|
|
503
539
|
setSchedulingLookahead: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
504
|
-
/**
|
|
505
|
-
* See [`Pallet::set_thread_availability_period`].
|
|
506
|
-
**/
|
|
507
|
-
setThreadAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
508
540
|
/**
|
|
509
541
|
* See [`Pallet::set_validation_upgrade_cooldown`].
|
|
510
542
|
**/
|
|
@@ -1126,7 +1158,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1126
1158
|
**/
|
|
1127
1159
|
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
1128
1160
|
blockNumber?: any;
|
|
1129
|
-
networkState?: any;
|
|
1130
1161
|
sessionIndex?: any;
|
|
1131
1162
|
authorityIndex?: any;
|
|
1132
1163
|
validatorsLen?: any;
|
|
@@ -1671,12 +1702,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1671
1702
|
/**
|
|
1672
1703
|
* See [`Pallet::enter`].
|
|
1673
1704
|
**/
|
|
1674
|
-
enter: AugmentedSubmittable<(data:
|
|
1705
|
+
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV5InherentData | {
|
|
1675
1706
|
bitfields?: any;
|
|
1676
1707
|
backedCandidates?: any;
|
|
1677
1708
|
disputes?: any;
|
|
1678
1709
|
parentHeader?: any;
|
|
1679
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1710
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5InherentData]>;
|
|
1680
1711
|
/**
|
|
1681
1712
|
* Generic tx
|
|
1682
1713
|
**/
|
|
@@ -1707,15 +1738,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1707
1738
|
* See [`Pallet::force_set_current_head`].
|
|
1708
1739
|
**/
|
|
1709
1740
|
forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
1741
|
+
/**
|
|
1742
|
+
* See [`Pallet::force_set_most_recent_context`].
|
|
1743
|
+
**/
|
|
1744
|
+
forceSetMostRecentContext: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, context: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
1710
1745
|
/**
|
|
1711
1746
|
* See [`Pallet::include_pvf_check_statement`].
|
|
1712
1747
|
**/
|
|
1713
|
-
includePvfCheckStatement: AugmentedSubmittable<(stmt:
|
|
1748
|
+
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV5PvfCheckStatement | {
|
|
1714
1749
|
accept?: any;
|
|
1715
1750
|
subject?: any;
|
|
1716
1751
|
sessionIndex?: any;
|
|
1717
1752
|
validatorIndex?: any;
|
|
1718
|
-
} | string | Uint8Array, signature:
|
|
1753
|
+
} | string | Uint8Array, signature: PolkadotPrimitivesV5ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5PvfCheckStatement, PolkadotPrimitivesV5ValidatorAppSignature]>;
|
|
1719
1754
|
/**
|
|
1720
1755
|
* See [`Pallet::poke_unused_validation_code`].
|
|
1721
1756
|
**/
|
|
@@ -1745,7 +1780,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1745
1780
|
/**
|
|
1746
1781
|
* See [`Pallet::report_dispute_lost_unsigned`].
|
|
1747
1782
|
**/
|
|
1748
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
1783
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV5SlashingDisputeProof | {
|
|
1749
1784
|
timeSlot?: any;
|
|
1750
1785
|
kind?: any;
|
|
1751
1786
|
validatorIndex?: any;
|
|
@@ -1754,7 +1789,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1754
1789
|
session?: any;
|
|
1755
1790
|
trieNodes?: any;
|
|
1756
1791
|
validatorCount?: any;
|
|
1757
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1792
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5SlashingDisputeProof, SpSessionMembershipProof]>;
|
|
1758
1793
|
/**
|
|
1759
1794
|
* Generic tx
|
|
1760
1795
|
**/
|
|
@@ -2199,6 +2234,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2199
2234
|
paraValidator?: any;
|
|
2200
2235
|
paraAssignment?: any;
|
|
2201
2236
|
authorityDiscovery?: any;
|
|
2237
|
+
beefy?: any;
|
|
2202
2238
|
} | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KusamaRuntimeSessionKeys, Bytes]>;
|
|
2203
2239
|
/**
|
|
2204
2240
|
* Generic tx
|
|
@@ -2224,32 +2260,42 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2224
2260
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2225
2261
|
};
|
|
2226
2262
|
society: {
|
|
2263
|
+
/**
|
|
2264
|
+
* See [`Pallet::bestow_membership`].
|
|
2265
|
+
**/
|
|
2266
|
+
bestowMembership: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
2227
2267
|
/**
|
|
2228
2268
|
* See [`Pallet::bid`].
|
|
2229
2269
|
**/
|
|
2230
2270
|
bid: AugmentedSubmittable<(value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
2271
|
+
/**
|
|
2272
|
+
* See [`Pallet::claim_membership`].
|
|
2273
|
+
**/
|
|
2274
|
+
claimMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2275
|
+
/**
|
|
2276
|
+
* See [`Pallet::cleanup_candidacy`].
|
|
2277
|
+
**/
|
|
2278
|
+
cleanupCandidacy: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
|
2279
|
+
/**
|
|
2280
|
+
* See [`Pallet::cleanup_challenge`].
|
|
2281
|
+
**/
|
|
2282
|
+
cleanupChallenge: AugmentedSubmittable<(challengeRound: u32 | AnyNumber | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
2231
2283
|
/**
|
|
2232
2284
|
* See [`Pallet::defender_vote`].
|
|
2233
2285
|
**/
|
|
2234
2286
|
defenderVote: AugmentedSubmittable<(approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
2235
2287
|
/**
|
|
2236
|
-
* See [`Pallet::
|
|
2288
|
+
* See [`Pallet::dissolve`].
|
|
2237
2289
|
**/
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
Raw: any;
|
|
2244
|
-
} | {
|
|
2245
|
-
Address32: any;
|
|
2246
|
-
} | {
|
|
2247
|
-
Address20: any;
|
|
2248
|
-
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
|
2290
|
+
dissolve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2291
|
+
/**
|
|
2292
|
+
* See [`Pallet::drop_candidate`].
|
|
2293
|
+
**/
|
|
2294
|
+
dropCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
2249
2295
|
/**
|
|
2250
|
-
* See [`Pallet::
|
|
2296
|
+
* See [`Pallet::found_society`].
|
|
2251
2297
|
**/
|
|
2252
|
-
|
|
2298
|
+
foundSociety: AugmentedSubmittable<(founder: MultiAddress | {
|
|
2253
2299
|
Id: any;
|
|
2254
2300
|
} | {
|
|
2255
2301
|
Index: any;
|
|
@@ -2259,7 +2305,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2259
2305
|
Address32: any;
|
|
2260
2306
|
} | {
|
|
2261
2307
|
Address20: any;
|
|
2262
|
-
} | string | Uint8Array,
|
|
2308
|
+
} | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, u32, u32, u128, Bytes]>;
|
|
2263
2309
|
/**
|
|
2264
2310
|
* See [`Pallet::judge_suspended_member`].
|
|
2265
2311
|
**/
|
|
@@ -2274,26 +2320,34 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2274
2320
|
} | {
|
|
2275
2321
|
Address20: any;
|
|
2276
2322
|
} | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
2323
|
+
/**
|
|
2324
|
+
* See [`Pallet::kick_candidate`].
|
|
2325
|
+
**/
|
|
2326
|
+
kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
2277
2327
|
/**
|
|
2278
2328
|
* See [`Pallet::payout`].
|
|
2279
2329
|
**/
|
|
2280
2330
|
payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2281
2331
|
/**
|
|
2282
|
-
* See [`Pallet::
|
|
2332
|
+
* See [`Pallet::punish_skeptic`].
|
|
2283
2333
|
**/
|
|
2284
|
-
|
|
2334
|
+
punishSkeptic: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2285
2335
|
/**
|
|
2286
|
-
* See [`Pallet::
|
|
2336
|
+
* See [`Pallet::resign_candidacy`].
|
|
2287
2337
|
**/
|
|
2288
|
-
|
|
2338
|
+
resignCandidacy: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2289
2339
|
/**
|
|
2290
|
-
* See [`Pallet::
|
|
2340
|
+
* See [`Pallet::set_parameters`].
|
|
2291
2341
|
**/
|
|
2292
|
-
|
|
2342
|
+
setParameters: AugmentedSubmittable<(maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u128]>;
|
|
2343
|
+
/**
|
|
2344
|
+
* See [`Pallet::unbid`].
|
|
2345
|
+
**/
|
|
2346
|
+
unbid: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2293
2347
|
/**
|
|
2294
2348
|
* See [`Pallet::unvouch`].
|
|
2295
2349
|
**/
|
|
2296
|
-
unvouch: AugmentedSubmittable<(
|
|
2350
|
+
unvouch: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2297
2351
|
/**
|
|
2298
2352
|
* See [`Pallet::vote`].
|
|
2299
2353
|
**/
|
|
@@ -2322,6 +2376,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2322
2376
|
} | {
|
|
2323
2377
|
Address20: any;
|
|
2324
2378
|
} | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
|
2379
|
+
/**
|
|
2380
|
+
* See [`Pallet::waive_repay`].
|
|
2381
|
+
**/
|
|
2382
|
+
waiveRepay: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
2325
2383
|
/**
|
|
2326
2384
|
* Generic tx
|
|
2327
2385
|
**/
|
|
@@ -2516,6 +2574,63 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2516
2574
|
**/
|
|
2517
2575
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2518
2576
|
};
|
|
2577
|
+
stateTrieMigration: {
|
|
2578
|
+
/**
|
|
2579
|
+
* See [`Pallet::continue_migrate`].
|
|
2580
|
+
**/
|
|
2581
|
+
continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
|
|
2582
|
+
size_?: any;
|
|
2583
|
+
item?: any;
|
|
2584
|
+
} | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | {
|
|
2585
|
+
progressTop?: any;
|
|
2586
|
+
progressChild?: any;
|
|
2587
|
+
size_?: any;
|
|
2588
|
+
topItems?: any;
|
|
2589
|
+
childItems?: any;
|
|
2590
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>;
|
|
2591
|
+
/**
|
|
2592
|
+
* See [`Pallet::control_auto_migration`].
|
|
2593
|
+
**/
|
|
2594
|
+
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | {
|
|
2595
|
+
size_?: any;
|
|
2596
|
+
item?: any;
|
|
2597
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
|
|
2598
|
+
/**
|
|
2599
|
+
* See [`Pallet::force_set_progress`].
|
|
2600
|
+
**/
|
|
2601
|
+
forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | {
|
|
2602
|
+
ToStart: any;
|
|
2603
|
+
} | {
|
|
2604
|
+
LastKey: any;
|
|
2605
|
+
} | {
|
|
2606
|
+
Complete: any;
|
|
2607
|
+
} | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | {
|
|
2608
|
+
ToStart: any;
|
|
2609
|
+
} | {
|
|
2610
|
+
LastKey: any;
|
|
2611
|
+
} | {
|
|
2612
|
+
Complete: any;
|
|
2613
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
|
|
2614
|
+
/**
|
|
2615
|
+
* See [`Pallet::migrate_custom_child`].
|
|
2616
|
+
**/
|
|
2617
|
+
migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
|
|
2618
|
+
/**
|
|
2619
|
+
* See [`Pallet::migrate_custom_top`].
|
|
2620
|
+
**/
|
|
2621
|
+
migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
|
|
2622
|
+
/**
|
|
2623
|
+
* See [`Pallet::set_signed_max_limits`].
|
|
2624
|
+
**/
|
|
2625
|
+
setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
|
|
2626
|
+
size_?: any;
|
|
2627
|
+
item?: any;
|
|
2628
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Generic tx
|
|
2631
|
+
**/
|
|
2632
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2633
|
+
};
|
|
2519
2634
|
system: {
|
|
2520
2635
|
/**
|
|
2521
2636
|
* See [`Pallet::kill_prefix`].
|
|
@@ -2742,6 +2857,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2742
2857
|
} | {
|
|
2743
2858
|
Address20: any;
|
|
2744
2859
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2860
|
+
/**
|
|
2861
|
+
* See [`Pallet::put_in_front_of_other`].
|
|
2862
|
+
**/
|
|
2863
|
+
putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | {
|
|
2864
|
+
Id: any;
|
|
2865
|
+
} | {
|
|
2866
|
+
Index: any;
|
|
2867
|
+
} | {
|
|
2868
|
+
Raw: any;
|
|
2869
|
+
} | {
|
|
2870
|
+
Address32: any;
|
|
2871
|
+
} | {
|
|
2872
|
+
Address20: any;
|
|
2873
|
+
} | string | Uint8Array, lighter: MultiAddress | {
|
|
2874
|
+
Id: any;
|
|
2875
|
+
} | {
|
|
2876
|
+
Index: any;
|
|
2877
|
+
} | {
|
|
2878
|
+
Raw: any;
|
|
2879
|
+
} | {
|
|
2880
|
+
Address32: any;
|
|
2881
|
+
} | {
|
|
2882
|
+
Address20: any;
|
|
2883
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
2745
2884
|
/**
|
|
2746
2885
|
* See [`Pallet::rebag`].
|
|
2747
2886
|
**/
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bugs": "https://github.com/polkadot-js/api/issues",
|
|
4
4
|
"description": "API generated augmentation",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=18"
|
|
7
7
|
},
|
|
8
8
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-augment#readme",
|
|
9
9
|
"license": "Apache-2.0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/detectPackage.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.11.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -217,12 +217,12 @@
|
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
"dependencies": {
|
|
220
|
-
"@polkadot/api-base": "10.
|
|
221
|
-
"@polkadot/rpc-augment": "10.
|
|
222
|
-
"@polkadot/types": "10.
|
|
223
|
-
"@polkadot/types-augment": "10.
|
|
224
|
-
"@polkadot/types-codec": "10.
|
|
225
|
-
"@polkadot/util": "^12.
|
|
226
|
-
"tslib": "^2.
|
|
220
|
+
"@polkadot/api-base": "10.11.1",
|
|
221
|
+
"@polkadot/rpc-augment": "10.11.1",
|
|
222
|
+
"@polkadot/types": "10.11.1",
|
|
223
|
+
"@polkadot/types-augment": "10.11.1",
|
|
224
|
+
"@polkadot/types-codec": "10.11.1",
|
|
225
|
+
"@polkadot/util": "^12.6.1",
|
|
226
|
+
"tslib": "^2.6.2"
|
|
227
227
|
}
|
|
228
228
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.11.1' };
|