@polkadot/api-augment 9.3.1 → 9.3.2
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 +3 -3
- package/kusama/events.d.ts +18 -12
- package/kusama/query.d.ts +2 -2
- package/kusama/tx.d.ts +9 -9
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +3 -3
- package/polkadot/events.d.ts +18 -12
- package/polkadot/query.d.ts +2 -2
- package/polkadot/tx.d.ts +9 -9
- package/substrate/consts.d.ts +5 -5
- package/substrate/errors.d.ts +9 -1
- package/substrate/events.d.ts +20 -7
- package/substrate/query.d.ts +2 -2
- package/substrate/tx.d.ts +33 -19
package/cjs/packageInfo.js
CHANGED
package/kusama/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 { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -294,7 +294,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
294
294
|
* this pallet), then [`MinerConfig::solution_weight`] is used to compare against
|
|
295
295
|
* this value.
|
|
296
296
|
**/
|
|
297
|
-
signedMaxWeight:
|
|
297
|
+
signedMaxWeight: Weight & AugmentedConst<ApiType>;
|
|
298
298
|
/**
|
|
299
299
|
* Duration of the signed phase.
|
|
300
300
|
**/
|
|
@@ -642,7 +642,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
642
642
|
* The maximum weight that may be scheduled per block for any dispatchables of less
|
|
643
643
|
* priority than `schedule::HARD_DEADLINE`.
|
|
644
644
|
**/
|
|
645
|
-
maximumWeight:
|
|
645
|
+
maximumWeight: Weight & AugmentedConst<ApiType>;
|
|
646
646
|
/**
|
|
647
647
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
648
648
|
* Not strictly enforced, but used for weight estimation.
|
package/kusama/events.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
6
|
+
import type { AccountId32, H256, Weight } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -537,11 +537,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
537
537
|
};
|
|
538
538
|
electionProviderMultiPhase: {
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
541
|
-
*
|
|
540
|
+
* An election failed.
|
|
541
|
+
*
|
|
542
|
+
* Not much can be said about which computes failed in the process.
|
|
543
|
+
**/
|
|
544
|
+
ElectionFailed: AugmentedEvent<ApiType, []>;
|
|
545
|
+
/**
|
|
546
|
+
* The election has been finalized, with the given computation and score.
|
|
542
547
|
**/
|
|
543
|
-
ElectionFinalized: AugmentedEvent<ApiType, [
|
|
544
|
-
|
|
548
|
+
ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], {
|
|
549
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
550
|
+
score: SpNposElectionsElectionScore;
|
|
545
551
|
}>;
|
|
546
552
|
/**
|
|
547
553
|
* An account has been rewarded for their signed submission being finalized.
|
|
@@ -571,8 +577,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
571
577
|
*
|
|
572
578
|
* The `bool` is `true` when a previous solution was ejected to make room for this one.
|
|
573
579
|
**/
|
|
574
|
-
SolutionStored: AugmentedEvent<ApiType, [
|
|
575
|
-
|
|
580
|
+
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
|
|
581
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
576
582
|
prevEjected: bool;
|
|
577
583
|
}>;
|
|
578
584
|
/**
|
|
@@ -1760,14 +1766,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1760
1766
|
*
|
|
1761
1767
|
* \[ para, id, overweight_index, required \]
|
|
1762
1768
|
**/
|
|
1763
|
-
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64,
|
|
1769
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, Weight]>;
|
|
1764
1770
|
/**
|
|
1765
1771
|
* Upward message from the overweight queue was executed with the given actual weight
|
|
1766
1772
|
* used.
|
|
1767
1773
|
*
|
|
1768
1774
|
* \[ overweight_index, used \]
|
|
1769
1775
|
**/
|
|
1770
|
-
OverweightServiced: AugmentedEvent<ApiType, [u64,
|
|
1776
|
+
OverweightServiced: AugmentedEvent<ApiType, [u64, Weight]>;
|
|
1771
1777
|
/**
|
|
1772
1778
|
* Upward message is unsupported version of XCM.
|
|
1773
1779
|
* \[ id \]
|
|
@@ -1782,7 +1788,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1782
1788
|
* The weight limit for handling upward messages was reached.
|
|
1783
1789
|
* \[ id, remaining, required \]
|
|
1784
1790
|
**/
|
|
1785
|
-
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed,
|
|
1791
|
+
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, Weight, Weight]>;
|
|
1786
1792
|
/**
|
|
1787
1793
|
* Generic event
|
|
1788
1794
|
**/
|
|
@@ -1929,7 +1935,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1929
1935
|
*
|
|
1930
1936
|
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
1931
1937
|
**/
|
|
1932
|
-
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8,
|
|
1938
|
+
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, Weight, Weight]>;
|
|
1933
1939
|
/**
|
|
1934
1940
|
* A given location which had a version change subscription was dropped owing to an error
|
|
1935
1941
|
* migrating the location to our new XCM format.
|
package/kusama/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
|
|
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 {
|
|
8
|
+
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, 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, 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 declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -1743,7 +1743,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1743
1743
|
/**
|
|
1744
1744
|
* The current weight for the block.
|
|
1745
1745
|
**/
|
|
1746
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<
|
|
1746
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Digest of the current block, also part of the block header.
|
|
1749
1749
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportScheduleMaybeHashed, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
9
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
10
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
@@ -882,11 +882,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
882
882
|
/**
|
|
883
883
|
* Sets the maximum amount of weight any individual upward message may consume.
|
|
884
884
|
**/
|
|
885
|
-
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated:
|
|
885
|
+
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
|
|
886
886
|
/**
|
|
887
887
|
* Sets the soft limit for the phase of dispatching dispatchable upward messages.
|
|
888
888
|
**/
|
|
889
|
-
setUmpServiceTotalWeight: AugmentedSubmittable<(updated:
|
|
889
|
+
setUmpServiceTotalWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
|
|
890
890
|
/**
|
|
891
891
|
* Set the validation upgrade cooldown.
|
|
892
892
|
**/
|
|
@@ -939,7 +939,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
939
939
|
* - up to 3 events
|
|
940
940
|
* # </weight>
|
|
941
941
|
**/
|
|
942
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
942
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
943
943
|
/**
|
|
944
944
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
945
945
|
* state.
|
|
@@ -2404,7 +2404,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2404
2404
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2405
2405
|
height?: any;
|
|
2406
2406
|
index?: any;
|
|
2407
|
-
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight:
|
|
2407
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, Weight]>;
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
2410
2410
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -2455,7 +2455,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2455
2455
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2456
2456
|
height?: any;
|
|
2457
2457
|
index?: any;
|
|
2458
|
-
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight:
|
|
2458
|
+
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, Weight]>;
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
2461
2461
|
*
|
|
@@ -4745,7 +4745,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4745
4745
|
* - up to 3 events
|
|
4746
4746
|
* # </weight>
|
|
4747
4747
|
**/
|
|
4748
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
4748
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
4749
4749
|
/**
|
|
4750
4750
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
4751
4751
|
* state.
|
|
@@ -5266,7 +5266,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5266
5266
|
* Events:
|
|
5267
5267
|
* - `OverweightServiced`: On success.
|
|
5268
5268
|
**/
|
|
5269
|
-
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit:
|
|
5269
|
+
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Weight]>;
|
|
5270
5270
|
/**
|
|
5271
5271
|
* Generic tx
|
|
5272
5272
|
**/
|
|
@@ -5598,7 +5598,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5598
5598
|
V1: any;
|
|
5599
5599
|
} | {
|
|
5600
5600
|
V2: any;
|
|
5601
|
-
} | string | Uint8Array, maxWeight:
|
|
5601
|
+
} | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, Weight]>;
|
|
5602
5602
|
/**
|
|
5603
5603
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
5604
5604
|
* version a destination can accept is unknown).
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.3.
|
|
23
|
+
"version": "9.3.2",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
188
|
"@babel/runtime": "^7.18.9",
|
|
189
|
-
"@polkadot/api-base": "9.3.
|
|
190
|
-
"@polkadot/rpc-augment": "9.3.
|
|
191
|
-
"@polkadot/types": "9.3.
|
|
192
|
-
"@polkadot/types-augment": "9.3.
|
|
193
|
-
"@polkadot/types-codec": "9.3.
|
|
189
|
+
"@polkadot/api-base": "9.3.2",
|
|
190
|
+
"@polkadot/rpc-augment": "9.3.2",
|
|
191
|
+
"@polkadot/types": "9.3.2",
|
|
192
|
+
"@polkadot/types-augment": "9.3.2",
|
|
193
|
+
"@polkadot/types-codec": "9.3.2",
|
|
194
194
|
"@polkadot/util": "^10.1.7"
|
|
195
195
|
}
|
|
196
196
|
}
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-augment',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '9.3.
|
|
8
|
+
version: '9.3.2'
|
|
9
9
|
};
|
package/polkadot/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 { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -294,7 +294,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
294
294
|
* this pallet), then [`MinerConfig::solution_weight`] is used to compare against
|
|
295
295
|
* this value.
|
|
296
296
|
**/
|
|
297
|
-
signedMaxWeight:
|
|
297
|
+
signedMaxWeight: Weight & AugmentedConst<ApiType>;
|
|
298
298
|
/**
|
|
299
299
|
* Duration of the signed phase.
|
|
300
300
|
**/
|
|
@@ -553,7 +553,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
553
553
|
* The maximum weight that may be scheduled per block for any dispatchables of less
|
|
554
554
|
* priority than `schedule::HARD_DEADLINE`.
|
|
555
555
|
**/
|
|
556
|
-
maximumWeight:
|
|
556
|
+
maximumWeight: Weight & AugmentedConst<ApiType>;
|
|
557
557
|
/**
|
|
558
558
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
559
559
|
* Not strictly enforced, but used for weight estimation.
|
package/polkadot/events.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
6
|
+
import type { AccountId32, H256, Weight } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -537,11 +537,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
537
537
|
};
|
|
538
538
|
electionProviderMultiPhase: {
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
541
|
-
*
|
|
540
|
+
* An election failed.
|
|
541
|
+
*
|
|
542
|
+
* Not much can be said about which computes failed in the process.
|
|
543
|
+
**/
|
|
544
|
+
ElectionFailed: AugmentedEvent<ApiType, []>;
|
|
545
|
+
/**
|
|
546
|
+
* The election has been finalized, with the given computation and score.
|
|
542
547
|
**/
|
|
543
|
-
ElectionFinalized: AugmentedEvent<ApiType, [
|
|
544
|
-
|
|
548
|
+
ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], {
|
|
549
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
550
|
+
score: SpNposElectionsElectionScore;
|
|
545
551
|
}>;
|
|
546
552
|
/**
|
|
547
553
|
* An account has been rewarded for their signed submission being finalized.
|
|
@@ -571,8 +577,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
571
577
|
*
|
|
572
578
|
* The `bool` is `true` when a previous solution was ejected to make room for this one.
|
|
573
579
|
**/
|
|
574
|
-
SolutionStored: AugmentedEvent<ApiType, [
|
|
575
|
-
|
|
580
|
+
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
|
|
581
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
576
582
|
prevEjected: bool;
|
|
577
583
|
}>;
|
|
578
584
|
/**
|
|
@@ -1560,14 +1566,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1560
1566
|
*
|
|
1561
1567
|
* \[ para, id, overweight_index, required \]
|
|
1562
1568
|
**/
|
|
1563
|
-
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64,
|
|
1569
|
+
OverweightEnqueued: AugmentedEvent<ApiType, [u32, U8aFixed, u64, Weight]>;
|
|
1564
1570
|
/**
|
|
1565
1571
|
* Upward message from the overweight queue was executed with the given actual weight
|
|
1566
1572
|
* used.
|
|
1567
1573
|
*
|
|
1568
1574
|
* \[ overweight_index, used \]
|
|
1569
1575
|
**/
|
|
1570
|
-
OverweightServiced: AugmentedEvent<ApiType, [u64,
|
|
1576
|
+
OverweightServiced: AugmentedEvent<ApiType, [u64, Weight]>;
|
|
1571
1577
|
/**
|
|
1572
1578
|
* Upward message is unsupported version of XCM.
|
|
1573
1579
|
* \[ id \]
|
|
@@ -1582,7 +1588,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1582
1588
|
* The weight limit for handling upward messages was reached.
|
|
1583
1589
|
* \[ id, remaining, required \]
|
|
1584
1590
|
**/
|
|
1585
|
-
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed,
|
|
1591
|
+
WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, Weight, Weight]>;
|
|
1586
1592
|
/**
|
|
1587
1593
|
* Generic event
|
|
1588
1594
|
**/
|
|
@@ -1729,7 +1735,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1729
1735
|
*
|
|
1730
1736
|
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
1731
1737
|
**/
|
|
1732
|
-
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8,
|
|
1738
|
+
NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, Weight, Weight]>;
|
|
1733
1739
|
/**
|
|
1734
1740
|
* A given location which had a version change subscription was dropped owing to an error
|
|
1735
1741
|
* migrating the location to our new XCM format.
|
package/polkadot/query.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
|
|
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 {
|
|
8
|
+
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, 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 declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
11
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -1623,7 +1623,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1623
1623
|
/**
|
|
1624
1624
|
* The current weight for the block.
|
|
1625
1625
|
**/
|
|
1626
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<
|
|
1626
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Digest of the current block, also part of the block header.
|
|
1629
1629
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
7
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Weight } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
9
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
10
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
@@ -882,11 +882,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
882
882
|
/**
|
|
883
883
|
* Sets the maximum amount of weight any individual upward message may consume.
|
|
884
884
|
**/
|
|
885
|
-
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated:
|
|
885
|
+
setUmpMaxIndividualWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
|
|
886
886
|
/**
|
|
887
887
|
* Sets the soft limit for the phase of dispatching dispatchable upward messages.
|
|
888
888
|
**/
|
|
889
|
-
setUmpServiceTotalWeight: AugmentedSubmittable<(updated:
|
|
889
|
+
setUmpServiceTotalWeight: AugmentedSubmittable<(updated: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Weight]>;
|
|
890
890
|
/**
|
|
891
891
|
* Set the validation upgrade cooldown.
|
|
892
892
|
**/
|
|
@@ -939,7 +939,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
939
939
|
* - up to 3 events
|
|
940
940
|
* # </weight>
|
|
941
941
|
**/
|
|
942
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
942
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
943
943
|
/**
|
|
944
944
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
945
945
|
* state.
|
|
@@ -2353,7 +2353,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2353
2353
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2354
2354
|
height?: any;
|
|
2355
2355
|
index?: any;
|
|
2356
|
-
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight:
|
|
2356
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, Weight]>;
|
|
2357
2357
|
/**
|
|
2358
2358
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
2359
2359
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -2404,7 +2404,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2404
2404
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2405
2405
|
height?: any;
|
|
2406
2406
|
index?: any;
|
|
2407
|
-
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight:
|
|
2407
|
+
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, Weight]>;
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
2410
2410
|
*
|
|
@@ -4101,7 +4101,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4101
4101
|
* - up to 3 events
|
|
4102
4102
|
* # </weight>
|
|
4103
4103
|
**/
|
|
4104
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
4104
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
4105
4105
|
/**
|
|
4106
4106
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
4107
4107
|
* state.
|
|
@@ -4622,7 +4622,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4622
4622
|
* Events:
|
|
4623
4623
|
* - `OverweightServiced`: On success.
|
|
4624
4624
|
**/
|
|
4625
|
-
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit:
|
|
4625
|
+
serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Weight]>;
|
|
4626
4626
|
/**
|
|
4627
4627
|
* Generic tx
|
|
4628
4628
|
**/
|
|
@@ -4954,7 +4954,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4954
4954
|
V1: any;
|
|
4955
4955
|
} | {
|
|
4956
4956
|
V2: any;
|
|
4957
|
-
} | string | Uint8Array, maxWeight:
|
|
4957
|
+
} | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, Weight]>;
|
|
4958
4958
|
/**
|
|
4959
4959
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
4960
4960
|
* version a destination can accept is unknown).
|
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 } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -255,7 +255,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
255
255
|
*
|
|
256
256
|
* This is only relevant for parachains. Set to zero in case of a standalone chain.
|
|
257
257
|
**/
|
|
258
|
-
contractAccessWeight:
|
|
258
|
+
contractAccessWeight: Weight & AugmentedConst<ApiType>;
|
|
259
259
|
/**
|
|
260
260
|
* The maximum number of contracts that can be pending for deletion.
|
|
261
261
|
*
|
|
@@ -282,7 +282,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
282
282
|
* weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more
|
|
283
283
|
* information about the deletion queue.
|
|
284
284
|
**/
|
|
285
|
-
deletionWeightLimit:
|
|
285
|
+
deletionWeightLimit: Weight & AugmentedConst<ApiType>;
|
|
286
286
|
/**
|
|
287
287
|
* The amount of balance a caller has to pay for each byte of storage.
|
|
288
288
|
*
|
|
@@ -455,7 +455,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
455
455
|
* this pallet), then [`MinerConfig::solution_weight`] is used to compare against
|
|
456
456
|
* this value.
|
|
457
457
|
**/
|
|
458
|
-
signedMaxWeight:
|
|
458
|
+
signedMaxWeight: Weight & AugmentedConst<ApiType>;
|
|
459
459
|
/**
|
|
460
460
|
* Duration of the signed phase.
|
|
461
461
|
**/
|
|
@@ -851,7 +851,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
851
851
|
* The maximum weight that may be scheduled per block for any dispatchables of less
|
|
852
852
|
* priority than `schedule::HARD_DEADLINE`.
|
|
853
853
|
**/
|
|
854
|
-
maximumWeight:
|
|
854
|
+
maximumWeight: Weight & AugmentedConst<ApiType>;
|
|
855
855
|
/**
|
|
856
856
|
* The maximum number of scheduled calls in the queue for a single block.
|
|
857
857
|
* Not strictly enforced, but used for weight estimation.
|
package/substrate/errors.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
10
10
|
**/
|
|
11
11
|
AccountNonGrata: AugmentedError<ApiType>;
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The Alliance has been initialized, therefore cannot be initialized again.
|
|
14
14
|
**/
|
|
15
15
|
AllianceAlreadyInitialized: AugmentedError<ApiType>;
|
|
16
16
|
/**
|
|
@@ -33,6 +33,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
33
33
|
* Item is already listed as unscrupulous.
|
|
34
34
|
**/
|
|
35
35
|
AlreadyUnscrupulous: AugmentedError<ApiType>;
|
|
36
|
+
/**
|
|
37
|
+
* Invalid witness data given.
|
|
38
|
+
**/
|
|
39
|
+
BadWitness: AugmentedError<ApiType>;
|
|
40
|
+
/**
|
|
41
|
+
* Founders must be provided to initialize the Alliance.
|
|
42
|
+
**/
|
|
43
|
+
FoundersMissing: AugmentedError<ApiType>;
|
|
36
44
|
/**
|
|
37
45
|
* Balance is insufficient for the required deposit.
|
|
38
46
|
**/
|
package/substrate/events.d.ts
CHANGED
|
@@ -3,11 +3,18 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
10
10
|
alliance: {
|
|
11
|
+
/**
|
|
12
|
+
* Alliance disbanded.
|
|
13
|
+
**/
|
|
14
|
+
AllianceDisbanded: AugmentedEvent<ApiType, [members: Vec<AccountId32>, proposals: Vec<H256>], {
|
|
15
|
+
members: Vec<AccountId32>;
|
|
16
|
+
proposals: Vec<H256>;
|
|
17
|
+
}>;
|
|
11
18
|
/**
|
|
12
19
|
* An ally has been elevated to Fellow.
|
|
13
20
|
**/
|
|
@@ -771,11 +778,17 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
771
778
|
};
|
|
772
779
|
electionProviderMultiPhase: {
|
|
773
780
|
/**
|
|
774
|
-
*
|
|
775
|
-
*
|
|
781
|
+
* An election failed.
|
|
782
|
+
*
|
|
783
|
+
* Not much can be said about which computes failed in the process.
|
|
784
|
+
**/
|
|
785
|
+
ElectionFailed: AugmentedEvent<ApiType, []>;
|
|
786
|
+
/**
|
|
787
|
+
* The election has been finalized, with the given computation and score.
|
|
776
788
|
**/
|
|
777
|
-
ElectionFinalized: AugmentedEvent<ApiType, [
|
|
778
|
-
|
|
789
|
+
ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], {
|
|
790
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
791
|
+
score: SpNposElectionsElectionScore;
|
|
779
792
|
}>;
|
|
780
793
|
/**
|
|
781
794
|
* An account has been rewarded for their signed submission being finalized.
|
|
@@ -805,8 +818,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
805
818
|
*
|
|
806
819
|
* The `bool` is `true` when a previous solution was ejected to make room for this one.
|
|
807
820
|
**/
|
|
808
|
-
SolutionStored: AugmentedEvent<ApiType, [
|
|
809
|
-
|
|
821
|
+
SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, prevEjected: bool], {
|
|
822
|
+
compute: PalletElectionProviderMultiPhaseElectionCompute;
|
|
810
823
|
prevEjected: bool;
|
|
811
824
|
}>;
|
|
812
825
|
/**
|
package/substrate/query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type {
|
|
7
|
+
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -1529,7 +1529,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1529
1529
|
/**
|
|
1530
1530
|
* The current weight for the block.
|
|
1531
1531
|
**/
|
|
1532
|
-
blockWeight: AugmentedQuery<ApiType, () => Observable<
|
|
1532
|
+
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Digest of the current block, also part of the block header.
|
|
1535
1535
|
**/
|
package/substrate/tx.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
|
-
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
|
|
6
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
|
|
7
|
+
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceForceSetWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
|
|
8
8
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
9
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
10
|
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -32,7 +32,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
32
32
|
*
|
|
33
33
|
* Requires the sender to be a founder or fellow.
|
|
34
34
|
**/
|
|
35
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
35
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
36
36
|
/**
|
|
37
37
|
* Elevate an ally to fellow.
|
|
38
38
|
**/
|
|
@@ -47,17 +47,27 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
47
47
|
} | {
|
|
48
48
|
Address20: any;
|
|
49
49
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
50
|
+
/**
|
|
51
|
+
* Initialize the founders, fellows, and allies.
|
|
52
|
+
* Founders must be provided to initialize the Alliance.
|
|
53
|
+
*
|
|
54
|
+
* Provide witness data to disband current Alliance before initializing new.
|
|
55
|
+
* Alliance must be empty or disband first to initialize new.
|
|
56
|
+
*
|
|
57
|
+
* Alliance is only disbanded if new member set is not provided.
|
|
58
|
+
*
|
|
59
|
+
* Must be called by the Root origin.
|
|
60
|
+
**/
|
|
61
|
+
forceSetMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], witness: PalletAllianceForceSetWitness | {
|
|
62
|
+
proposals?: any;
|
|
63
|
+
votingMembers?: any;
|
|
64
|
+
allyMembers?: any;
|
|
65
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>, PalletAllianceForceSetWitness]>;
|
|
50
66
|
/**
|
|
51
67
|
* As a member, give a retirement notice and start a retirement period required to pass in
|
|
52
68
|
* order to retire.
|
|
53
69
|
**/
|
|
54
70
|
giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
55
|
-
/**
|
|
56
|
-
* Initialize the founders, fellows, and allies.
|
|
57
|
-
*
|
|
58
|
-
* This should only be called once, and must be called by the Root origin.
|
|
59
|
-
**/
|
|
60
|
-
initMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>]>;
|
|
61
71
|
/**
|
|
62
72
|
* Submit oneself for candidacy. A fixed deposit is reserved.
|
|
63
73
|
**/
|
|
@@ -179,7 +189,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
179
189
|
* - up to 3 events
|
|
180
190
|
* # </weight>
|
|
181
191
|
**/
|
|
182
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
192
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
183
193
|
/**
|
|
184
194
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
185
195
|
* state.
|
|
@@ -1617,7 +1627,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1617
1627
|
Address32: any;
|
|
1618
1628
|
} | {
|
|
1619
1629
|
Address20: any;
|
|
1620
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<
|
|
1630
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<Weight> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<Weight>, Option<Compact<u128>>, Bytes]>;
|
|
1621
1631
|
/**
|
|
1622
1632
|
* Instantiates a contract from a previously deployed wasm binary.
|
|
1623
1633
|
*
|
|
@@ -1625,7 +1635,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1625
1635
|
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
|
1626
1636
|
* must be supplied.
|
|
1627
1637
|
**/
|
|
1628
|
-
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<
|
|
1638
|
+
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<Weight> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<Weight>, Option<Compact<u128>>, H256, Bytes, Bytes]>;
|
|
1629
1639
|
/**
|
|
1630
1640
|
* Instantiates a new contract from the supplied `code` optionally transferring
|
|
1631
1641
|
* some balance.
|
|
@@ -1654,7 +1664,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1654
1664
|
* - The `value` is transferred to the new account.
|
|
1655
1665
|
* - The `deploy` function is executed in the context of the newly-created account.
|
|
1656
1666
|
**/
|
|
1657
|
-
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<
|
|
1667
|
+
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<Weight> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<Weight>, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
|
|
1658
1668
|
/**
|
|
1659
1669
|
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
1660
1670
|
*
|
|
@@ -1902,7 +1912,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1902
1912
|
* - up to 3 events
|
|
1903
1913
|
* # </weight>
|
|
1904
1914
|
**/
|
|
1905
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
1915
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
1906
1916
|
/**
|
|
1907
1917
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
1908
1918
|
* state.
|
|
@@ -3353,7 +3363,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3353
3363
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
3354
3364
|
height?: any;
|
|
3355
3365
|
index?: any;
|
|
3356
|
-
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight:
|
|
3366
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, Weight]>;
|
|
3357
3367
|
/**
|
|
3358
3368
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
3359
3369
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -3404,7 +3414,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3404
3414
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
3405
3415
|
height?: any;
|
|
3406
3416
|
index?: any;
|
|
3407
|
-
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight:
|
|
3417
|
+
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, Weight]>;
|
|
3408
3418
|
/**
|
|
3409
3419
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
3410
3420
|
*
|
|
@@ -5729,7 +5739,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5729
5739
|
* - The weight of this call is defined by the caller.
|
|
5730
5740
|
* # </weight>
|
|
5731
5741
|
**/
|
|
5732
|
-
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight:
|
|
5742
|
+
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Weight]>;
|
|
5733
5743
|
/**
|
|
5734
5744
|
* Generic tx
|
|
5735
5745
|
**/
|
|
@@ -5838,7 +5848,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5838
5848
|
* - up to 3 events
|
|
5839
5849
|
* # </weight>
|
|
5840
5850
|
**/
|
|
5841
|
-
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<
|
|
5851
|
+
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
|
5842
5852
|
/**
|
|
5843
5853
|
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
5844
5854
|
* state.
|
|
@@ -6393,6 +6403,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6393
6403
|
* - `item`: The item of the item to be approved for delegated transfer.
|
|
6394
6404
|
* - `delegate`: The account to delegate permission to transfer the item.
|
|
6395
6405
|
*
|
|
6406
|
+
* Important NOTE: The `approved` account gets reset after each transfer.
|
|
6407
|
+
*
|
|
6396
6408
|
* Emits `ApprovedTransfer` on success.
|
|
6397
6409
|
*
|
|
6398
6410
|
* Weight: `O(1)`
|
|
@@ -6915,6 +6927,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6915
6927
|
/**
|
|
6916
6928
|
* Move an item from the sender account to another.
|
|
6917
6929
|
*
|
|
6930
|
+
* This resets the approved account of the item.
|
|
6931
|
+
*
|
|
6918
6932
|
* Origin must be Signed and the signing account must be either:
|
|
6919
6933
|
* - the Admin of the `collection`;
|
|
6920
6934
|
* - the Owner of the `item`;
|
|
@@ -7224,7 +7238,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7224
7238
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
7225
7239
|
};
|
|
7226
7240
|
whitelist: {
|
|
7227
|
-
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness:
|
|
7241
|
+
dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callWeightWitness: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Weight]>;
|
|
7228
7242
|
dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
7229
7243
|
removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
7230
7244
|
whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|