@polkadot/api-augment 8.11.2 → 8.12.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/kusama/consts.js +3 -1
- package/cjs/kusama/errors.js +3 -1
- package/cjs/kusama/events.js +3 -1
- package/cjs/kusama/query.js +3 -1
- package/cjs/kusama/runtime.js +3 -1
- package/cjs/kusama/tx.js +3 -1
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.js +3 -1
- package/cjs/polkadot/errors.js +3 -1
- package/cjs/polkadot/events.js +3 -1
- package/cjs/polkadot/query.js +3 -1
- package/cjs/polkadot/runtime.js +3 -1
- package/cjs/polkadot/tx.js +3 -1
- package/cjs/substrate/consts.js +3 -1
- package/cjs/substrate/errors.js +3 -1
- package/cjs/substrate/events.js +3 -1
- package/cjs/substrate/query.js +3 -1
- package/cjs/substrate/runtime.js +3 -1
- package/cjs/substrate/tx.js +3 -1
- package/kusama/consts.d.ts +3 -1
- package/kusama/consts.js +6 -1
- package/kusama/errors.d.ts +3 -1
- package/kusama/errors.js +6 -1
- package/kusama/events.d.ts +3 -1
- package/kusama/events.js +6 -1
- package/kusama/query.d.ts +4 -1
- package/kusama/query.js +6 -1
- package/kusama/runtime.d.ts +5 -2
- package/kusama/runtime.js +6 -1
- package/kusama/tx.d.ts +61 -23
- package/kusama/tx.js +6 -1
- package/package.json +7 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +3 -1
- package/polkadot/consts.js +6 -1
- package/polkadot/errors.d.ts +3 -1
- package/polkadot/errors.js +6 -1
- package/polkadot/events.d.ts +3 -1
- package/polkadot/events.js +6 -1
- package/polkadot/query.d.ts +4 -1
- package/polkadot/query.js +6 -1
- package/polkadot/runtime.d.ts +5 -2
- package/polkadot/runtime.js +6 -1
- package/polkadot/tx.d.ts +61 -23
- package/polkadot/tx.js +6 -1
- package/substrate/consts.d.ts +3 -1
- package/substrate/consts.js +6 -1
- package/substrate/errors.d.ts +3 -1
- package/substrate/errors.js +6 -1
- package/substrate/events.d.ts +3 -1
- package/substrate/events.js +6 -1
- package/substrate/query.d.ts +5 -2
- package/substrate/query.js +6 -1
- package/substrate/runtime.d.ts +8 -5
- package/substrate/runtime.js +6 -1
- package/substrate/tx.d.ts +63 -26
- package/substrate/tx.js +6 -1
- package/mod.d.ts +0 -1
package/polkadot/events.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/events'; // declare module
|
package/polkadot/query.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/storage';
|
|
2
|
+
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Data } from '@polkadot/types';
|
|
3
4
|
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u32, u64 } from '@polkadot/types-codec';
|
|
4
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
@@ -6,6 +7,8 @@ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
|
6
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
8
|
import type { FrameSupportWeightsPerDispatchClassU64, 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, 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';
|
|
8
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
|
+
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
|
+
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
9
12
|
declare module '@polkadot/api-base/types/storage' {
|
|
10
13
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
11
14
|
auctions: {
|
package/polkadot/query.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/storage'; // declare module
|
package/polkadot/runtime.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/calls';
|
|
2
|
+
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
|
3
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
@@ -18,6 +19,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
|
18
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
19
20
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
20
21
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
22
|
+
export declare type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
23
|
+
export declare type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
21
24
|
declare module '@polkadot/api-base/types/calls' {
|
|
22
25
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
23
26
|
/** 0xbc9d89904f5b923f/1 */
|
|
@@ -352,7 +355,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
352
355
|
/**
|
|
353
356
|
* Generate a set of session keys with optionally using the given seed.
|
|
354
357
|
**/
|
|
355
|
-
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null |
|
|
358
|
+
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
|
356
359
|
/**
|
|
357
360
|
* Generic call
|
|
358
361
|
**/
|
package/polkadot/runtime.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/calls'; // declare module
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/submittable';
|
|
2
|
+
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Data } from '@polkadot/types';
|
|
3
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
6
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
7
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
8
|
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, 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
|
+
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
|
+
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
|
+
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
8
12
|
declare module '@polkadot/api-base/types/submittable' {
|
|
9
13
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
10
14
|
auctions: {
|
|
@@ -701,8 +705,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
701
705
|
* Total Complexity: O(1)
|
|
702
706
|
* </weight>
|
|
703
707
|
**/
|
|
704
|
-
mintClaim: AugmentedSubmittable<(who: EthereumAddress | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null |
|
|
705
|
-
moveClaim: AugmentedSubmittable<(old: EthereumAddress | string | Uint8Array, updated: EthereumAddress | string | Uint8Array, maybePreclaim: Option<AccountId32> | null |
|
|
708
|
+
mintClaim: AugmentedSubmittable<(who: EthereumAddress | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PolkadotRuntimeCommonClaimsStatementKind> | null | Uint8Array | PolkadotRuntimeCommonClaimsStatementKind | 'Regular' | 'Saft' | number) => SubmittableExtrinsic<ApiType>, [EthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PolkadotRuntimeCommonClaimsStatementKind>]>;
|
|
709
|
+
moveClaim: AugmentedSubmittable<(old: EthereumAddress | string | Uint8Array, updated: EthereumAddress | string | Uint8Array, maybePreclaim: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [EthereumAddress, EthereumAddress, Option<AccountId32>]>;
|
|
706
710
|
/**
|
|
707
711
|
* Generic tx
|
|
708
712
|
**/
|
|
@@ -822,11 +826,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
822
826
|
/**
|
|
823
827
|
* Set the maximum number of validators to use in parachain consensus.
|
|
824
828
|
**/
|
|
825
|
-
setMaxValidators: AugmentedSubmittable<(updated: Option<u32> | null |
|
|
829
|
+
setMaxValidators: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
826
830
|
/**
|
|
827
831
|
* Set the maximum number of validators to assign to any core.
|
|
828
832
|
**/
|
|
829
|
-
setMaxValidatorsPerCore: AugmentedSubmittable<(updated: Option<u32> | null |
|
|
833
|
+
setMaxValidatorsPerCore: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
830
834
|
/**
|
|
831
835
|
* Sets the minimum delay between announcing the upgrade block for a parachain until the
|
|
832
836
|
* upgrade taking place.
|
|
@@ -1031,7 +1035,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1031
1035
|
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
|
|
1032
1036
|
* # </weight>
|
|
1033
1037
|
**/
|
|
1034
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null |
|
|
1038
|
+
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]>;
|
|
1035
1039
|
/**
|
|
1036
1040
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
1037
1041
|
*
|
|
@@ -1066,19 +1070,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1066
1070
|
* Contribute to a crowd sale. This will transfer some balance over to fund a parachain
|
|
1067
1071
|
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
|
|
1068
1072
|
**/
|
|
1069
|
-
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null |
|
|
1073
|
+
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
|
|
1074
|
+
Ed25519: any;
|
|
1075
|
+
} | {
|
|
1076
|
+
Sr25519: any;
|
|
1077
|
+
} | {
|
|
1078
|
+
Ecdsa: any;
|
|
1079
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
|
|
1070
1080
|
/**
|
|
1071
1081
|
* Contribute your entire balance to a crowd sale. This will transfer the entire balance of a user over to fund a parachain
|
|
1072
1082
|
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
|
|
1073
1083
|
**/
|
|
1074
|
-
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null |
|
|
1084
|
+
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | {
|
|
1085
|
+
Ed25519: any;
|
|
1086
|
+
} | {
|
|
1087
|
+
Sr25519: any;
|
|
1088
|
+
} | {
|
|
1089
|
+
Ecdsa: any;
|
|
1090
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
|
|
1075
1091
|
/**
|
|
1076
1092
|
* Create a new crowdloaning campaign for a parachain slot with the given lease period range.
|
|
1077
1093
|
*
|
|
1078
1094
|
* This applies a lock to your parachain configuration, ensuring that it cannot be changed
|
|
1079
1095
|
* by the parachain manager.
|
|
1080
1096
|
**/
|
|
1081
|
-
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null |
|
|
1097
|
+
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | {
|
|
1098
|
+
Ed25519: any;
|
|
1099
|
+
} | {
|
|
1100
|
+
Sr25519: any;
|
|
1101
|
+
} | {
|
|
1102
|
+
Ecdsa: any;
|
|
1103
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
|
|
1082
1104
|
/**
|
|
1083
1105
|
* Remove a fund after the retirement period has ended and all funds have been returned.
|
|
1084
1106
|
**/
|
|
@@ -1088,7 +1110,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1088
1110
|
*
|
|
1089
1111
|
* Can only be called by Root origin.
|
|
1090
1112
|
**/
|
|
1091
|
-
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null |
|
|
1113
|
+
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | {
|
|
1114
|
+
Ed25519: any;
|
|
1115
|
+
} | {
|
|
1116
|
+
Sr25519: any;
|
|
1117
|
+
} | {
|
|
1118
|
+
Ecdsa: any;
|
|
1119
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
|
|
1092
1120
|
/**
|
|
1093
1121
|
* Poke the fund into `NewRaise`
|
|
1094
1122
|
*
|
|
@@ -1146,7 +1174,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1146
1174
|
* Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a
|
|
1147
1175
|
* reasonable value).
|
|
1148
1176
|
**/
|
|
1149
|
-
blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null |
|
|
1177
|
+
blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [H256, Option<u32>]>;
|
|
1150
1178
|
/**
|
|
1151
1179
|
* Remove a proposal.
|
|
1152
1180
|
*
|
|
@@ -1482,7 +1510,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1482
1510
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
1483
1511
|
* calling [`Call::set_emergency_election_result`].
|
|
1484
1512
|
**/
|
|
1485
|
-
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null |
|
|
1513
|
+
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
|
1486
1514
|
/**
|
|
1487
1515
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
|
1488
1516
|
* call to `ElectionProvider::elect`.
|
|
@@ -1504,7 +1532,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1504
1532
|
*
|
|
1505
1533
|
* This check can be turned off by setting the value to `None`.
|
|
1506
1534
|
**/
|
|
1507
|
-
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null |
|
|
1535
|
+
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | {
|
|
1536
|
+
minimalStake?: any;
|
|
1537
|
+
sumStake?: any;
|
|
1538
|
+
sumStakeSquared?: any;
|
|
1539
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
|
|
1508
1540
|
/**
|
|
1509
1541
|
* Submit a solution for the signed phase.
|
|
1510
1542
|
*
|
|
@@ -2248,7 +2280,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2248
2280
|
* - Write: Multisig Storage, [Caller Account]
|
|
2249
2281
|
* # </weight>
|
|
2250
2282
|
**/
|
|
2251
|
-
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null |
|
|
2283
|
+
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2284
|
+
height?: any;
|
|
2285
|
+
index?: any;
|
|
2286
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, u64]>;
|
|
2252
2287
|
/**
|
|
2253
2288
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
2254
2289
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -2296,7 +2331,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2296
2331
|
* - Plus Call Weight
|
|
2297
2332
|
* # </weight>
|
|
2298
2333
|
**/
|
|
2299
|
-
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null |
|
|
2334
|
+
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
2335
|
+
height?: any;
|
|
2336
|
+
index?: any;
|
|
2337
|
+
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, u64]>;
|
|
2300
2338
|
/**
|
|
2301
2339
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
2302
2340
|
*
|
|
@@ -2711,7 +2749,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2711
2749
|
* Weight is a function of the number of proxies the user has (P).
|
|
2712
2750
|
* # </weight>
|
|
2713
2751
|
**/
|
|
2714
|
-
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null |
|
|
2752
|
+
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<PolkadotRuntimeProxyType>, Call]>;
|
|
2715
2753
|
/**
|
|
2716
2754
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
2717
2755
|
* `add_proxy`.
|
|
@@ -2731,7 +2769,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2731
2769
|
* - P: the number of proxies the user has.
|
|
2732
2770
|
* # </weight>
|
|
2733
2771
|
**/
|
|
2734
|
-
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null |
|
|
2772
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<PolkadotRuntimeProxyType>, Call]>;
|
|
2735
2773
|
/**
|
|
2736
2774
|
* Remove the given announcement of a delegate.
|
|
2737
2775
|
*
|
|
@@ -2890,7 +2928,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2890
2928
|
/**
|
|
2891
2929
|
* Anonymously schedule a task.
|
|
2892
2930
|
**/
|
|
2893
|
-
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
2931
|
+
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
2894
2932
|
Value: any;
|
|
2895
2933
|
} | {
|
|
2896
2934
|
Hash: any;
|
|
@@ -2902,7 +2940,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2902
2940
|
* Same as [`schedule`].
|
|
2903
2941
|
* # </weight>
|
|
2904
2942
|
**/
|
|
2905
|
-
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
2943
|
+
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
2906
2944
|
Value: any;
|
|
2907
2945
|
} | {
|
|
2908
2946
|
Hash: any;
|
|
@@ -2910,7 +2948,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2910
2948
|
/**
|
|
2911
2949
|
* Schedule a named task.
|
|
2912
2950
|
**/
|
|
2913
|
-
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
2951
|
+
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
2914
2952
|
Value: any;
|
|
2915
2953
|
} | {
|
|
2916
2954
|
Hash: any;
|
|
@@ -2922,7 +2960,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2922
2960
|
* Same as [`schedule_named`](Self::schedule_named).
|
|
2923
2961
|
* # </weight>
|
|
2924
2962
|
**/
|
|
2925
|
-
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
2963
|
+
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
2926
2964
|
Value: any;
|
|
2927
2965
|
} | {
|
|
2928
2966
|
Hash: any;
|
|
@@ -3711,7 +3749,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3711
3749
|
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
|
|
3712
3750
|
* # </weight>
|
|
3713
3751
|
**/
|
|
3714
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null |
|
|
3752
|
+
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]>;
|
|
3715
3753
|
/**
|
|
3716
3754
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
3717
3755
|
*
|
|
@@ -4376,7 +4414,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4376
4414
|
* - `origin`: Must be Root.
|
|
4377
4415
|
* - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
|
|
4378
4416
|
**/
|
|
4379
|
-
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null |
|
|
4417
|
+
forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
4380
4418
|
/**
|
|
4381
4419
|
* Ask a location to notify us regarding their XCM version and any changes to it.
|
|
4382
4420
|
*
|
package/polkadot/tx.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/submittable'; // declare module
|
package/substrate/consts.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/consts';
|
|
2
|
+
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { Codec } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
6
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
7
|
+
export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
6
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
7
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
8
10
|
alliance: {
|
package/substrate/consts.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/consts'; // declare module
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/errors';
|
|
2
|
+
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
+
export declare type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
2
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
3
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
4
6
|
alliance: {
|
package/substrate/errors.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/errors'; // declare module
|
package/substrate/events.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/events';
|
|
2
|
+
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
5
6
|
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, NodeRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
|
7
|
+
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
6
8
|
declare module '@polkadot/api-base/types/events' {
|
|
7
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
8
10
|
alliance: {
|
package/substrate/events.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/events'; // declare module
|
package/substrate/query.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/storage';
|
|
2
|
+
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Data } from '@polkadot/types';
|
|
3
4
|
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
6
7
|
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, 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';
|
|
7
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
|
+
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
|
+
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
8
11
|
declare module '@polkadot/api-base/types/storage' {
|
|
9
12
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
10
13
|
alliance: {
|
|
@@ -1746,7 +1749,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1746
1749
|
/**
|
|
1747
1750
|
* Attributes of a collection.
|
|
1748
1751
|
**/
|
|
1749
|
-
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null |
|
|
1752
|
+
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, u128]>>>, [u32, Option<u32>, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, Bytes]>;
|
|
1750
1753
|
/**
|
|
1751
1754
|
* Details of a collection.
|
|
1752
1755
|
**/
|
package/substrate/query.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/storage'; // declare module
|
package/substrate/runtime.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/calls';
|
|
2
|
+
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Bytes, Null, Option, Result, Vec, u32, u64 } from '@polkadot/types-codec';
|
|
3
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
@@ -16,6 +17,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
|
16
17
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
17
18
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
18
19
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
20
|
+
export declare type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
21
|
+
export declare type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
19
22
|
declare module '@polkadot/api-base/types/calls' {
|
|
20
23
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
21
24
|
/** 0xbc9d89904f5b923f/1 */
|
|
@@ -111,7 +114,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
111
114
|
/**
|
|
112
115
|
* Perform a call from a specified account to a given contract.
|
|
113
116
|
**/
|
|
114
|
-
call: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, dest: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null |
|
|
117
|
+
call: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, dest: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, inputData: Bytes | string | Uint8Array) => Observable<ContractExecResult>>;
|
|
115
118
|
/**
|
|
116
119
|
* Query a given storage key in a given contract.
|
|
117
120
|
**/
|
|
@@ -119,11 +122,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
119
122
|
/**
|
|
120
123
|
* Instantiate a new contract.
|
|
121
124
|
**/
|
|
122
|
-
instantiate: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null |
|
|
125
|
+
instantiate: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable<ContractInstantiateResult>>;
|
|
123
126
|
/**
|
|
124
127
|
* Upload new code without instantiating a contract from it.
|
|
125
128
|
**/
|
|
126
|
-
uploadCode: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, code: Bytes | string | Uint8Array, storageDepositLimit: Option<Balance> | null |
|
|
129
|
+
uploadCode: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, code: Bytes | string | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber) => Observable<CodeUploadResult>>;
|
|
127
130
|
/**
|
|
128
131
|
* Generic call
|
|
129
132
|
**/
|
|
@@ -271,7 +274,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
271
274
|
/**
|
|
272
275
|
* Generate a set of session keys with optionally using the given seed.
|
|
273
276
|
**/
|
|
274
|
-
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null |
|
|
277
|
+
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
|
275
278
|
/**
|
|
276
279
|
* Generic call
|
|
277
280
|
**/
|
package/substrate/runtime.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/calls'; // declare module
|