@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/polkadot/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 } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote,
|
|
8
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV5ExecutorParams, PolkadotPrimitivesV5InherentData, PolkadotPrimitivesV5PvfCheckStatement, PolkadotPrimitivesV5SlashingDisputeProof, PolkadotPrimitivesV5ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, 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>;
|
|
@@ -353,10 +353,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
353
353
|
* See [`Pallet::set_bypass_consistency_check`].
|
|
354
354
|
**/
|
|
355
355
|
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
356
|
/**
|
|
361
357
|
* See [`Pallet::set_code_retention_period`].
|
|
362
358
|
**/
|
|
@@ -372,7 +368,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
372
368
|
/**
|
|
373
369
|
* See [`Pallet::set_executor_params`].
|
|
374
370
|
**/
|
|
375
|
-
setExecutorParams: AugmentedSubmittable<(updated:
|
|
371
|
+
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV5ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5ExecutorParams]>;
|
|
376
372
|
/**
|
|
377
373
|
* See [`Pallet::set_group_rotation_frequency`].
|
|
378
374
|
**/
|
|
@@ -401,14 +397,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
401
397
|
* See [`Pallet::set_hrmp_max_parachain_outbound_channels`].
|
|
402
398
|
**/
|
|
403
399
|
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
400
|
/**
|
|
413
401
|
* See [`Pallet::set_hrmp_open_request_ttl`].
|
|
414
402
|
**/
|
|
@@ -478,17 +466,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
478
466
|
**/
|
|
479
467
|
setNoShowSlots: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
480
468
|
/**
|
|
481
|
-
* See [`Pallet::
|
|
469
|
+
* See [`Pallet::set_on_demand_base_fee`].
|
|
482
470
|
**/
|
|
483
|
-
|
|
471
|
+
setOnDemandBaseFee: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
484
472
|
/**
|
|
485
|
-
* See [`Pallet::
|
|
473
|
+
* See [`Pallet::set_on_demand_cores`].
|
|
486
474
|
**/
|
|
487
|
-
|
|
475
|
+
setOnDemandCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
488
476
|
/**
|
|
489
|
-
* See [`Pallet::
|
|
477
|
+
* See [`Pallet::set_on_demand_fee_variability`].
|
|
490
478
|
**/
|
|
491
|
-
|
|
479
|
+
setOnDemandFeeVariability: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
480
|
+
/**
|
|
481
|
+
* See [`Pallet::set_on_demand_queue_max_size`].
|
|
482
|
+
**/
|
|
483
|
+
setOnDemandQueueMaxSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
484
|
+
/**
|
|
485
|
+
* See [`Pallet::set_on_demand_retries`].
|
|
486
|
+
**/
|
|
487
|
+
setOnDemandRetries: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
488
|
+
/**
|
|
489
|
+
* See [`Pallet::set_on_demand_target_queue_utilization`].
|
|
490
|
+
**/
|
|
491
|
+
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
492
|
+
/**
|
|
493
|
+
* See [`Pallet::set_on_demand_ttl`].
|
|
494
|
+
**/
|
|
495
|
+
setOnDemandTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
496
|
+
/**
|
|
497
|
+
* See [`Pallet::set_paras_availability_period`].
|
|
498
|
+
**/
|
|
499
|
+
setParasAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
492
500
|
/**
|
|
493
501
|
* See [`Pallet::set_pvf_voting_ttl`].
|
|
494
502
|
**/
|
|
@@ -501,10 +509,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
501
509
|
* See [`Pallet::set_scheduling_lookahead`].
|
|
502
510
|
**/
|
|
503
511
|
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
512
|
/**
|
|
509
513
|
* See [`Pallet::set_validation_upgrade_cooldown`].
|
|
510
514
|
**/
|
|
@@ -588,39 +592,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
588
592
|
**/
|
|
589
593
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
590
594
|
};
|
|
591
|
-
council: {
|
|
592
|
-
/**
|
|
593
|
-
* See [`Pallet::close`].
|
|
594
|
-
**/
|
|
595
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
|
|
596
|
-
refTime?: any;
|
|
597
|
-
proofSize?: any;
|
|
598
|
-
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
599
|
-
/**
|
|
600
|
-
* See [`Pallet::disapprove_proposal`].
|
|
601
|
-
**/
|
|
602
|
-
disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
603
|
-
/**
|
|
604
|
-
* See [`Pallet::execute`].
|
|
605
|
-
**/
|
|
606
|
-
execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Compact<u32>]>;
|
|
607
|
-
/**
|
|
608
|
-
* See [`Pallet::propose`].
|
|
609
|
-
**/
|
|
610
|
-
propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
|
|
611
|
-
/**
|
|
612
|
-
* See [`Pallet::set_members`].
|
|
613
|
-
**/
|
|
614
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
|
|
615
|
-
/**
|
|
616
|
-
* See [`Pallet::vote`].
|
|
617
|
-
**/
|
|
618
|
-
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
|
|
619
|
-
/**
|
|
620
|
-
* Generic tx
|
|
621
|
-
**/
|
|
622
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
623
|
-
};
|
|
624
595
|
crowdloan: {
|
|
625
596
|
/**
|
|
626
597
|
* See [`Pallet::add_memo`].
|
|
@@ -687,152 +658,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
687
658
|
**/
|
|
688
659
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
689
660
|
};
|
|
690
|
-
democracy: {
|
|
691
|
-
/**
|
|
692
|
-
* See [`Pallet::blacklist`].
|
|
693
|
-
**/
|
|
694
|
-
blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [H256, Option<u32>]>;
|
|
695
|
-
/**
|
|
696
|
-
* See [`Pallet::cancel_proposal`].
|
|
697
|
-
**/
|
|
698
|
-
cancelProposal: AugmentedSubmittable<(propIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
699
|
-
/**
|
|
700
|
-
* See [`Pallet::cancel_referendum`].
|
|
701
|
-
**/
|
|
702
|
-
cancelReferendum: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
703
|
-
/**
|
|
704
|
-
* See [`Pallet::clear_public_proposals`].
|
|
705
|
-
**/
|
|
706
|
-
clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
707
|
-
/**
|
|
708
|
-
* See [`Pallet::delegate`].
|
|
709
|
-
**/
|
|
710
|
-
delegate: AugmentedSubmittable<(to: MultiAddress | {
|
|
711
|
-
Id: any;
|
|
712
|
-
} | {
|
|
713
|
-
Index: any;
|
|
714
|
-
} | {
|
|
715
|
-
Raw: any;
|
|
716
|
-
} | {
|
|
717
|
-
Address32: any;
|
|
718
|
-
} | {
|
|
719
|
-
Address20: any;
|
|
720
|
-
} | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
|
721
|
-
/**
|
|
722
|
-
* See [`Pallet::emergency_cancel`].
|
|
723
|
-
**/
|
|
724
|
-
emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
725
|
-
/**
|
|
726
|
-
* See [`Pallet::external_propose`].
|
|
727
|
-
**/
|
|
728
|
-
externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
729
|
-
Legacy: any;
|
|
730
|
-
} | {
|
|
731
|
-
Inline: any;
|
|
732
|
-
} | {
|
|
733
|
-
Lookup: any;
|
|
734
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
735
|
-
/**
|
|
736
|
-
* See [`Pallet::external_propose_default`].
|
|
737
|
-
**/
|
|
738
|
-
externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
739
|
-
Legacy: any;
|
|
740
|
-
} | {
|
|
741
|
-
Inline: any;
|
|
742
|
-
} | {
|
|
743
|
-
Lookup: any;
|
|
744
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
745
|
-
/**
|
|
746
|
-
* See [`Pallet::external_propose_majority`].
|
|
747
|
-
**/
|
|
748
|
-
externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
749
|
-
Legacy: any;
|
|
750
|
-
} | {
|
|
751
|
-
Inline: any;
|
|
752
|
-
} | {
|
|
753
|
-
Lookup: any;
|
|
754
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded]>;
|
|
755
|
-
/**
|
|
756
|
-
* See [`Pallet::fast_track`].
|
|
757
|
-
**/
|
|
758
|
-
fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32, u32]>;
|
|
759
|
-
/**
|
|
760
|
-
* See [`Pallet::propose`].
|
|
761
|
-
**/
|
|
762
|
-
propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | {
|
|
763
|
-
Legacy: any;
|
|
764
|
-
} | {
|
|
765
|
-
Inline: any;
|
|
766
|
-
} | {
|
|
767
|
-
Lookup: any;
|
|
768
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportPreimagesBounded, Compact<u128>]>;
|
|
769
|
-
/**
|
|
770
|
-
* See [`Pallet::remove_other_vote`].
|
|
771
|
-
**/
|
|
772
|
-
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | {
|
|
773
|
-
Id: any;
|
|
774
|
-
} | {
|
|
775
|
-
Index: any;
|
|
776
|
-
} | {
|
|
777
|
-
Raw: any;
|
|
778
|
-
} | {
|
|
779
|
-
Address32: any;
|
|
780
|
-
} | {
|
|
781
|
-
Address20: any;
|
|
782
|
-
} | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
|
783
|
-
/**
|
|
784
|
-
* See [`Pallet::remove_vote`].
|
|
785
|
-
**/
|
|
786
|
-
removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
787
|
-
/**
|
|
788
|
-
* See [`Pallet::second`].
|
|
789
|
-
**/
|
|
790
|
-
second: AugmentedSubmittable<(proposal: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
791
|
-
/**
|
|
792
|
-
* See [`Pallet::set_metadata`].
|
|
793
|
-
**/
|
|
794
|
-
setMetadata: AugmentedSubmittable<(owner: PalletDemocracyMetadataOwner | {
|
|
795
|
-
External: any;
|
|
796
|
-
} | {
|
|
797
|
-
Proposal: any;
|
|
798
|
-
} | {
|
|
799
|
-
Referendum: any;
|
|
800
|
-
} | string | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [PalletDemocracyMetadataOwner, Option<H256>]>;
|
|
801
|
-
/**
|
|
802
|
-
* See [`Pallet::undelegate`].
|
|
803
|
-
**/
|
|
804
|
-
undelegate: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
805
|
-
/**
|
|
806
|
-
* See [`Pallet::unlock`].
|
|
807
|
-
**/
|
|
808
|
-
unlock: AugmentedSubmittable<(target: MultiAddress | {
|
|
809
|
-
Id: any;
|
|
810
|
-
} | {
|
|
811
|
-
Index: any;
|
|
812
|
-
} | {
|
|
813
|
-
Raw: any;
|
|
814
|
-
} | {
|
|
815
|
-
Address32: any;
|
|
816
|
-
} | {
|
|
817
|
-
Address20: any;
|
|
818
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
819
|
-
/**
|
|
820
|
-
* See [`Pallet::veto_external`].
|
|
821
|
-
**/
|
|
822
|
-
vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
823
|
-
/**
|
|
824
|
-
* See [`Pallet::vote`].
|
|
825
|
-
**/
|
|
826
|
-
vote: AugmentedSubmittable<(refIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | {
|
|
827
|
-
Standard: any;
|
|
828
|
-
} | {
|
|
829
|
-
Split: any;
|
|
830
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletDemocracyVoteAccountVote]>;
|
|
831
|
-
/**
|
|
832
|
-
* Generic tx
|
|
833
|
-
**/
|
|
834
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
835
|
-
};
|
|
836
661
|
electionProviderMultiPhase: {
|
|
837
662
|
/**
|
|
838
663
|
* See [`Pallet::governance_fallback`].
|
|
@@ -1173,7 +998,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1173
998
|
**/
|
|
1174
999
|
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
1175
1000
|
blockNumber?: any;
|
|
1176
|
-
networkState?: any;
|
|
1177
1001
|
sessionIndex?: any;
|
|
1178
1002
|
authorityIndex?: any;
|
|
1179
1003
|
validatorsLen?: any;
|
|
@@ -1552,12 +1376,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1552
1376
|
/**
|
|
1553
1377
|
* See [`Pallet::enter`].
|
|
1554
1378
|
**/
|
|
1555
|
-
enter: AugmentedSubmittable<(data:
|
|
1379
|
+
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV5InherentData | {
|
|
1556
1380
|
bitfields?: any;
|
|
1557
1381
|
backedCandidates?: any;
|
|
1558
1382
|
disputes?: any;
|
|
1559
1383
|
parentHeader?: any;
|
|
1560
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1384
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5InherentData]>;
|
|
1561
1385
|
/**
|
|
1562
1386
|
* Generic tx
|
|
1563
1387
|
**/
|
|
@@ -1588,15 +1412,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1588
1412
|
* See [`Pallet::force_set_current_head`].
|
|
1589
1413
|
**/
|
|
1590
1414
|
forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
1415
|
+
/**
|
|
1416
|
+
* See [`Pallet::force_set_most_recent_context`].
|
|
1417
|
+
**/
|
|
1418
|
+
forceSetMostRecentContext: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, context: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
1591
1419
|
/**
|
|
1592
1420
|
* See [`Pallet::include_pvf_check_statement`].
|
|
1593
1421
|
**/
|
|
1594
|
-
includePvfCheckStatement: AugmentedSubmittable<(stmt:
|
|
1422
|
+
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV5PvfCheckStatement | {
|
|
1595
1423
|
accept?: any;
|
|
1596
1424
|
subject?: any;
|
|
1597
1425
|
sessionIndex?: any;
|
|
1598
1426
|
validatorIndex?: any;
|
|
1599
|
-
} | string | Uint8Array, signature:
|
|
1427
|
+
} | string | Uint8Array, signature: PolkadotPrimitivesV5ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5PvfCheckStatement, PolkadotPrimitivesV5ValidatorAppSignature]>;
|
|
1600
1428
|
/**
|
|
1601
1429
|
* See [`Pallet::poke_unused_validation_code`].
|
|
1602
1430
|
**/
|
|
@@ -1626,7 +1454,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1626
1454
|
/**
|
|
1627
1455
|
* See [`Pallet::report_dispute_lost_unsigned`].
|
|
1628
1456
|
**/
|
|
1629
|
-
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof:
|
|
1457
|
+
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV5SlashingDisputeProof | {
|
|
1630
1458
|
timeSlot?: any;
|
|
1631
1459
|
kind?: any;
|
|
1632
1460
|
validatorIndex?: any;
|
|
@@ -1635,53 +1463,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1635
1463
|
session?: any;
|
|
1636
1464
|
trieNodes?: any;
|
|
1637
1465
|
validatorCount?: any;
|
|
1638
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1639
|
-
/**
|
|
1640
|
-
* Generic tx
|
|
1641
|
-
**/
|
|
1642
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1643
|
-
};
|
|
1644
|
-
phragmenElection: {
|
|
1645
|
-
/**
|
|
1646
|
-
* See [`Pallet::clean_defunct_voters`].
|
|
1647
|
-
**/
|
|
1648
|
-
cleanDefunctVoters: AugmentedSubmittable<(numVoters: u32 | AnyNumber | Uint8Array, numDefunct: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
1649
|
-
/**
|
|
1650
|
-
* See [`Pallet::remove_member`].
|
|
1651
|
-
**/
|
|
1652
|
-
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
1653
|
-
Id: any;
|
|
1654
|
-
} | {
|
|
1655
|
-
Index: any;
|
|
1656
|
-
} | {
|
|
1657
|
-
Raw: any;
|
|
1658
|
-
} | {
|
|
1659
|
-
Address32: any;
|
|
1660
|
-
} | {
|
|
1661
|
-
Address20: any;
|
|
1662
|
-
} | string | Uint8Array, slashBond: bool | boolean | Uint8Array, rerunElection: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool, bool]>;
|
|
1663
|
-
/**
|
|
1664
|
-
* See [`Pallet::remove_voter`].
|
|
1665
|
-
**/
|
|
1666
|
-
removeVoter: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1667
|
-
/**
|
|
1668
|
-
* See [`Pallet::renounce_candidacy`].
|
|
1669
|
-
**/
|
|
1670
|
-
renounceCandidacy: AugmentedSubmittable<(renouncing: PalletElectionsPhragmenRenouncing | {
|
|
1671
|
-
Member: any;
|
|
1672
|
-
} | {
|
|
1673
|
-
RunnerUp: any;
|
|
1674
|
-
} | {
|
|
1675
|
-
Candidate: any;
|
|
1676
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletElectionsPhragmenRenouncing]>;
|
|
1677
|
-
/**
|
|
1678
|
-
* See [`Pallet::submit_candidacy`].
|
|
1679
|
-
**/
|
|
1680
|
-
submitCandidacy: AugmentedSubmittable<(candidateCount: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
1681
|
-
/**
|
|
1682
|
-
* See [`Pallet::vote`].
|
|
1683
|
-
**/
|
|
1684
|
-
vote: AugmentedSubmittable<(votes: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Compact<u128>]>;
|
|
1466
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV5SlashingDisputeProof, SpSessionMembershipProof]>;
|
|
1685
1467
|
/**
|
|
1686
1468
|
* Generic tx
|
|
1687
1469
|
**/
|
|
@@ -1885,10 +1667,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1885
1667
|
system: any;
|
|
1886
1668
|
} | {
|
|
1887
1669
|
Void: any;
|
|
1888
|
-
} | {
|
|
1889
|
-
Council: any;
|
|
1890
|
-
} | {
|
|
1891
|
-
TechnicalCommittee: any;
|
|
1892
1670
|
} | {
|
|
1893
1671
|
Origins: any;
|
|
1894
1672
|
} | {
|
|
@@ -2249,133 +2027,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2249
2027
|
**/
|
|
2250
2028
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2251
2029
|
};
|
|
2252
|
-
technicalCommittee: {
|
|
2253
|
-
/**
|
|
2254
|
-
* See [`Pallet::close`].
|
|
2255
|
-
**/
|
|
2256
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | {
|
|
2257
|
-
refTime?: any;
|
|
2258
|
-
proofSize?: any;
|
|
2259
|
-
} | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
|
|
2260
|
-
/**
|
|
2261
|
-
* See [`Pallet::disapprove_proposal`].
|
|
2262
|
-
**/
|
|
2263
|
-
disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2264
|
-
/**
|
|
2265
|
-
* See [`Pallet::execute`].
|
|
2266
|
-
**/
|
|
2267
|
-
execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Compact<u32>]>;
|
|
2268
|
-
/**
|
|
2269
|
-
* See [`Pallet::propose`].
|
|
2270
|
-
**/
|
|
2271
|
-
propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
|
|
2272
|
-
/**
|
|
2273
|
-
* See [`Pallet::set_members`].
|
|
2274
|
-
**/
|
|
2275
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
|
|
2276
|
-
/**
|
|
2277
|
-
* See [`Pallet::vote`].
|
|
2278
|
-
**/
|
|
2279
|
-
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
|
|
2280
|
-
/**
|
|
2281
|
-
* Generic tx
|
|
2282
|
-
**/
|
|
2283
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2284
|
-
};
|
|
2285
|
-
technicalMembership: {
|
|
2286
|
-
/**
|
|
2287
|
-
* See [`Pallet::add_member`].
|
|
2288
|
-
**/
|
|
2289
|
-
addMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
2290
|
-
Id: any;
|
|
2291
|
-
} | {
|
|
2292
|
-
Index: any;
|
|
2293
|
-
} | {
|
|
2294
|
-
Raw: any;
|
|
2295
|
-
} | {
|
|
2296
|
-
Address32: any;
|
|
2297
|
-
} | {
|
|
2298
|
-
Address20: any;
|
|
2299
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2300
|
-
/**
|
|
2301
|
-
* See [`Pallet::change_key`].
|
|
2302
|
-
**/
|
|
2303
|
-
changeKey: AugmentedSubmittable<(updated: MultiAddress | {
|
|
2304
|
-
Id: any;
|
|
2305
|
-
} | {
|
|
2306
|
-
Index: any;
|
|
2307
|
-
} | {
|
|
2308
|
-
Raw: any;
|
|
2309
|
-
} | {
|
|
2310
|
-
Address32: any;
|
|
2311
|
-
} | {
|
|
2312
|
-
Address20: any;
|
|
2313
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2314
|
-
/**
|
|
2315
|
-
* See [`Pallet::clear_prime`].
|
|
2316
|
-
**/
|
|
2317
|
-
clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2318
|
-
/**
|
|
2319
|
-
* See [`Pallet::remove_member`].
|
|
2320
|
-
**/
|
|
2321
|
-
removeMember: AugmentedSubmittable<(who: MultiAddress | {
|
|
2322
|
-
Id: any;
|
|
2323
|
-
} | {
|
|
2324
|
-
Index: any;
|
|
2325
|
-
} | {
|
|
2326
|
-
Raw: any;
|
|
2327
|
-
} | {
|
|
2328
|
-
Address32: any;
|
|
2329
|
-
} | {
|
|
2330
|
-
Address20: any;
|
|
2331
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2332
|
-
/**
|
|
2333
|
-
* See [`Pallet::reset_members`].
|
|
2334
|
-
**/
|
|
2335
|
-
resetMembers: AugmentedSubmittable<(members: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
2336
|
-
/**
|
|
2337
|
-
* See [`Pallet::set_prime`].
|
|
2338
|
-
**/
|
|
2339
|
-
setPrime: AugmentedSubmittable<(who: MultiAddress | {
|
|
2340
|
-
Id: any;
|
|
2341
|
-
} | {
|
|
2342
|
-
Index: any;
|
|
2343
|
-
} | {
|
|
2344
|
-
Raw: any;
|
|
2345
|
-
} | {
|
|
2346
|
-
Address32: any;
|
|
2347
|
-
} | {
|
|
2348
|
-
Address20: any;
|
|
2349
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2350
|
-
/**
|
|
2351
|
-
* See [`Pallet::swap_member`].
|
|
2352
|
-
**/
|
|
2353
|
-
swapMember: AugmentedSubmittable<(remove: MultiAddress | {
|
|
2354
|
-
Id: any;
|
|
2355
|
-
} | {
|
|
2356
|
-
Index: any;
|
|
2357
|
-
} | {
|
|
2358
|
-
Raw: any;
|
|
2359
|
-
} | {
|
|
2360
|
-
Address32: any;
|
|
2361
|
-
} | {
|
|
2362
|
-
Address20: any;
|
|
2363
|
-
} | string | Uint8Array, add: MultiAddress | {
|
|
2364
|
-
Id: any;
|
|
2365
|
-
} | {
|
|
2366
|
-
Index: any;
|
|
2367
|
-
} | {
|
|
2368
|
-
Raw: any;
|
|
2369
|
-
} | {
|
|
2370
|
-
Address32: any;
|
|
2371
|
-
} | {
|
|
2372
|
-
Address20: any;
|
|
2373
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
2374
|
-
/**
|
|
2375
|
-
* Generic tx
|
|
2376
|
-
**/
|
|
2377
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2378
|
-
};
|
|
2379
2030
|
timestamp: {
|
|
2380
2031
|
/**
|
|
2381
2032
|
* See [`Pallet::set`].
|
|
@@ -2386,56 +2037,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2386
2037
|
**/
|
|
2387
2038
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2388
2039
|
};
|
|
2389
|
-
tips: {
|
|
2390
|
-
/**
|
|
2391
|
-
* See [`Pallet::close_tip`].
|
|
2392
|
-
**/
|
|
2393
|
-
closeTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2394
|
-
/**
|
|
2395
|
-
* See [`Pallet::report_awesome`].
|
|
2396
|
-
**/
|
|
2397
|
-
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
2398
|
-
Id: any;
|
|
2399
|
-
} | {
|
|
2400
|
-
Index: any;
|
|
2401
|
-
} | {
|
|
2402
|
-
Raw: any;
|
|
2403
|
-
} | {
|
|
2404
|
-
Address32: any;
|
|
2405
|
-
} | {
|
|
2406
|
-
Address20: any;
|
|
2407
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
|
2408
|
-
/**
|
|
2409
|
-
* See [`Pallet::retract_tip`].
|
|
2410
|
-
**/
|
|
2411
|
-
retractTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2412
|
-
/**
|
|
2413
|
-
* See [`Pallet::slash_tip`].
|
|
2414
|
-
**/
|
|
2415
|
-
slashTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2416
|
-
/**
|
|
2417
|
-
* See [`Pallet::tip`].
|
|
2418
|
-
**/
|
|
2419
|
-
tip: AugmentedSubmittable<(hash: H256 | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u128>]>;
|
|
2420
|
-
/**
|
|
2421
|
-
* See [`Pallet::tip_new`].
|
|
2422
|
-
**/
|
|
2423
|
-
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | {
|
|
2424
|
-
Id: any;
|
|
2425
|
-
} | {
|
|
2426
|
-
Index: any;
|
|
2427
|
-
} | {
|
|
2428
|
-
Raw: any;
|
|
2429
|
-
} | {
|
|
2430
|
-
Address32: any;
|
|
2431
|
-
} | {
|
|
2432
|
-
Address20: any;
|
|
2433
|
-
} | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
|
2434
|
-
/**
|
|
2435
|
-
* Generic tx
|
|
2436
|
-
**/
|
|
2437
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2438
|
-
};
|
|
2439
2040
|
treasury: {
|
|
2440
2041
|
/**
|
|
2441
2042
|
* See [`Pallet::approve_proposal`].
|
|
@@ -2502,10 +2103,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2502
2103
|
system: any;
|
|
2503
2104
|
} | {
|
|
2504
2105
|
Void: any;
|
|
2505
|
-
} | {
|
|
2506
|
-
Council: any;
|
|
2507
|
-
} | {
|
|
2508
|
-
TechnicalCommittee: any;
|
|
2509
2106
|
} | {
|
|
2510
2107
|
Origins: any;
|
|
2511
2108
|
} | {
|
|
@@ -2618,6 +2215,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2618
2215
|
} | {
|
|
2619
2216
|
Address20: any;
|
|
2620
2217
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
2218
|
+
/**
|
|
2219
|
+
* See [`Pallet::put_in_front_of_other`].
|
|
2220
|
+
**/
|
|
2221
|
+
putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | {
|
|
2222
|
+
Id: any;
|
|
2223
|
+
} | {
|
|
2224
|
+
Index: any;
|
|
2225
|
+
} | {
|
|
2226
|
+
Raw: any;
|
|
2227
|
+
} | {
|
|
2228
|
+
Address32: any;
|
|
2229
|
+
} | {
|
|
2230
|
+
Address20: any;
|
|
2231
|
+
} | string | Uint8Array, lighter: MultiAddress | {
|
|
2232
|
+
Id: any;
|
|
2233
|
+
} | {
|
|
2234
|
+
Index: any;
|
|
2235
|
+
} | {
|
|
2236
|
+
Raw: any;
|
|
2237
|
+
} | {
|
|
2238
|
+
Address32: any;
|
|
2239
|
+
} | {
|
|
2240
|
+
Address20: any;
|
|
2241
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
|
2621
2242
|
/**
|
|
2622
2243
|
* See [`Pallet::rebag`].
|
|
2623
2244
|
**/
|