@polkadot/api-augment 9.8.2 → 9.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +12 -1
- package/kusama/errors.d.ts +2 -2
- package/kusama/events.d.ts +1 -8
- package/kusama/query.d.ts +2 -2
- package/kusama/runtime.d.ts +2 -2
- package/kusama/tx.d.ts +4 -8
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +12 -1
- package/polkadot/errors.d.ts +2 -2
- package/polkadot/events.d.ts +1 -8
- package/polkadot/query.d.ts +2 -2
- package/polkadot/runtime.d.ts +2 -2
- package/polkadot/tx.d.ts +4 -8
- package/substrate/consts.d.ts +18 -1
- package/substrate/errors.d.ts +18 -1
- package/substrate/events.d.ts +23 -8
- package/substrate/query.d.ts +2 -2
- package/substrate/runtime.d.ts +2 -2
- package/substrate/tx.d.ts +61 -24
package/cjs/packageInfo.js
CHANGED
package/kusama/consts.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from
|
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
|
-
export
|
|
7
|
+
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
10
10
|
auctions: {
|
|
@@ -346,6 +346,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
346
346
|
**/
|
|
347
347
|
[key: string]: Codec;
|
|
348
348
|
};
|
|
349
|
+
fastUnstake: {
|
|
350
|
+
/**
|
|
351
|
+
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
|
|
352
|
+
* the costs of resources on unsuccessful unstake.
|
|
353
|
+
**/
|
|
354
|
+
deposit: u128 & AugmentedConst<ApiType>;
|
|
355
|
+
/**
|
|
356
|
+
* Generic const
|
|
357
|
+
**/
|
|
358
|
+
[key: string]: Codec;
|
|
359
|
+
};
|
|
349
360
|
fellowshipReferenda: {
|
|
350
361
|
/**
|
|
351
362
|
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
package/kusama/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/errors';
|
|
2
2
|
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
-
export
|
|
3
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
5
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
6
|
auctions: {
|
|
@@ -107,7 +107,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
107
107
|
**/
|
|
108
108
|
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
109
109
|
/**
|
|
110
|
-
* Balance too low to send value
|
|
110
|
+
* Balance too low to send value.
|
|
111
111
|
**/
|
|
112
112
|
InsufficientBalance: AugmentedError<ApiType>;
|
|
113
113
|
/**
|
package/kusama/events.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { ITuple } from '@polkadot/types-codec/types';
|
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
-
export
|
|
8
|
+
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
11
11
|
auctions: {
|
|
@@ -573,13 +573,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
573
573
|
* of the batch. A new batch will be created upon next block.
|
|
574
574
|
**/
|
|
575
575
|
BatchFinished: AugmentedEvent<ApiType, []>;
|
|
576
|
-
/**
|
|
577
|
-
* Some internal error happened while migrating stash. They are removed as head as a
|
|
578
|
-
* consequence.
|
|
579
|
-
**/
|
|
580
|
-
Errored: AugmentedEvent<ApiType, [stash: AccountId32], {
|
|
581
|
-
stash: AccountId32;
|
|
582
|
-
}>;
|
|
583
576
|
/**
|
|
584
577
|
* An internal error happened. Operations will be paused now.
|
|
585
578
|
**/
|
package/kusama/query.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, 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
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
|
+
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
12
12
|
declare module '@polkadot/api-base/types/storage' {
|
|
13
13
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
14
14
|
auctions: {
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
|
19
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
20
20
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
21
21
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
22
|
-
export
|
|
23
|
-
export
|
|
22
|
+
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
23
|
+
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
24
24
|
declare module '@polkadot/api-base/types/calls' {
|
|
25
25
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
26
26
|
/** 0xbc9d89904f5b923f/1 */
|
package/kusama/tx.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, 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,
|
|
7
|
+
import type { AccountId32, Call, H256, MultiAddress, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, 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, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
|
+
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
|
+
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
12
12
|
declare module '@polkadot/api-base/types/submittable' {
|
|
13
13
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
14
14
|
auctions: {
|
|
@@ -5136,10 +5136,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5136
5136
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
5137
5137
|
};
|
|
5138
5138
|
system: {
|
|
5139
|
-
/**
|
|
5140
|
-
* A dispatch that will fill the block weight up to the given ratio.
|
|
5141
|
-
**/
|
|
5142
|
-
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
5143
5139
|
/**
|
|
5144
5140
|
* Kill all storage items with a key that starts with the given prefix.
|
|
5145
5141
|
*
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.9.1",
|
|
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.20.1",
|
|
189
|
-
"@polkadot/api-base": "9.
|
|
190
|
-
"@polkadot/rpc-augment": "9.
|
|
191
|
-
"@polkadot/types": "9.
|
|
192
|
-
"@polkadot/types-augment": "9.
|
|
193
|
-
"@polkadot/types-codec": "9.
|
|
194
|
-
"@polkadot/util": "^10.1.
|
|
189
|
+
"@polkadot/api-base": "9.9.1",
|
|
190
|
+
"@polkadot/rpc-augment": "9.9.1",
|
|
191
|
+
"@polkadot/types": "9.9.1",
|
|
192
|
+
"@polkadot/types-augment": "9.9.1",
|
|
193
|
+
"@polkadot/types-codec": "9.9.1",
|
|
194
|
+
"@polkadot/util": "^10.1.13"
|
|
195
195
|
}
|
|
196
196
|
}
|
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@polkadot/api-augment',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '9.
|
|
10
|
+
version: '9.9.1'
|
|
11
11
|
};
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from
|
|
|
4
4
|
import type { Codec } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
|
-
export
|
|
7
|
+
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
10
10
|
auctions: {
|
|
@@ -326,6 +326,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
326
326
|
**/
|
|
327
327
|
[key: string]: Codec;
|
|
328
328
|
};
|
|
329
|
+
fastUnstake: {
|
|
330
|
+
/**
|
|
331
|
+
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
|
|
332
|
+
* the costs of resources on unsuccessful unstake.
|
|
333
|
+
**/
|
|
334
|
+
deposit: u128 & AugmentedConst<ApiType>;
|
|
335
|
+
/**
|
|
336
|
+
* Generic const
|
|
337
|
+
**/
|
|
338
|
+
[key: string]: Codec;
|
|
339
|
+
};
|
|
329
340
|
grandpa: {
|
|
330
341
|
/**
|
|
331
342
|
* Max Authorities in use
|
package/polkadot/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/errors';
|
|
2
2
|
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
-
export
|
|
3
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
5
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
6
|
auctions: {
|
|
@@ -107,7 +107,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
107
107
|
**/
|
|
108
108
|
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
109
109
|
/**
|
|
110
|
-
* Balance too low to send value
|
|
110
|
+
* Balance too low to send value.
|
|
111
111
|
**/
|
|
112
112
|
InsufficientBalance: AugmentedError<ApiType>;
|
|
113
113
|
/**
|
package/polkadot/events.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { ITuple } from '@polkadot/types-codec/types';
|
|
|
5
5
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
6
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
|
-
export
|
|
8
|
+
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
10
10
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
11
11
|
auctions: {
|
|
@@ -559,13 +559,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
559
559
|
* of the batch. A new batch will be created upon next block.
|
|
560
560
|
**/
|
|
561
561
|
BatchFinished: AugmentedEvent<ApiType, []>;
|
|
562
|
-
/**
|
|
563
|
-
* Some internal error happened while migrating stash. They are removed as head as a
|
|
564
|
-
* consequence.
|
|
565
|
-
**/
|
|
566
|
-
Errored: AugmentedEvent<ApiType, [stash: AccountId32], {
|
|
567
|
-
stash: AccountId32;
|
|
568
|
-
}>;
|
|
569
562
|
/**
|
|
570
563
|
* An internal error happened. Operations will be paused now.
|
|
571
564
|
**/
|
package/polkadot/query.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
|
7
7
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
9
9
|
import type { Observable } from '@polkadot/types/types';
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
11
|
+
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
12
12
|
declare module '@polkadot/api-base/types/storage' {
|
|
13
13
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
14
14
|
auctions: {
|
package/polkadot/runtime.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
|
19
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
20
20
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
21
21
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
22
|
-
export
|
|
23
|
-
export
|
|
22
|
+
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
23
|
+
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
24
24
|
declare module '@polkadot/api-base/types/calls' {
|
|
25
25
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
26
26
|
/** 0xbc9d89904f5b923f/1 */
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, 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,
|
|
7
|
+
import type { AccountId32, Call, H256, MultiAddress, Percent } from '@polkadot/types/interfaces/runtime';
|
|
8
8
|
import type { FrameSupportPreimagesBounded, 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, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
10
|
+
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
11
|
+
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
12
12
|
declare module '@polkadot/api-base/types/submittable' {
|
|
13
13
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
14
14
|
auctions: {
|
|
@@ -4022,10 +4022,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4022
4022
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4023
4023
|
};
|
|
4024
4024
|
system: {
|
|
4025
|
-
/**
|
|
4026
|
-
* A dispatch that will fill the block weight up to the given ratio.
|
|
4027
|
-
**/
|
|
4028
|
-
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
4029
4025
|
/**
|
|
4030
4026
|
* Kill all storage items with a key that starts with the given prefix.
|
|
4031
4027
|
*
|
package/substrate/consts.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polk
|
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
|
-
export
|
|
7
|
+
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
9
9
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
10
10
|
alliance: {
|
|
@@ -57,6 +57,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
57
57
|
* metadata.
|
|
58
58
|
**/
|
|
59
59
|
metadataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
|
60
|
+
/**
|
|
61
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
62
|
+
*
|
|
63
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
64
|
+
**/
|
|
65
|
+
removeItemsLimit: u32 & AugmentedConst<ApiType>;
|
|
60
66
|
/**
|
|
61
67
|
* The maximum length of a name or symbol stored on-chain.
|
|
62
68
|
**/
|
|
@@ -468,6 +474,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
468
474
|
**/
|
|
469
475
|
[key: string]: Codec;
|
|
470
476
|
};
|
|
477
|
+
fastUnstake: {
|
|
478
|
+
/**
|
|
479
|
+
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
|
|
480
|
+
* the costs of resources on unsuccessful unstake.
|
|
481
|
+
**/
|
|
482
|
+
deposit: u128 & AugmentedConst<ApiType>;
|
|
483
|
+
/**
|
|
484
|
+
* Generic const
|
|
485
|
+
**/
|
|
486
|
+
[key: string]: Codec;
|
|
487
|
+
};
|
|
471
488
|
gilt: {
|
|
472
489
|
/**
|
|
473
490
|
* Portion of the queue which is free from ordering and just a FIFO.
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/errors';
|
|
2
2
|
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
-
export
|
|
3
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
5
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
6
|
alliance: {
|
|
@@ -165,6 +165,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
165
165
|
* The asset-account already exists.
|
|
166
166
|
**/
|
|
167
167
|
AlreadyExists: AugmentedError<ApiType>;
|
|
168
|
+
/**
|
|
169
|
+
* The asset is not live, and likely being destroyed.
|
|
170
|
+
**/
|
|
171
|
+
AssetNotLive: AugmentedError<ApiType>;
|
|
168
172
|
/**
|
|
169
173
|
* Invalid metadata given.
|
|
170
174
|
**/
|
|
@@ -181,10 +185,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
181
185
|
* The origin account is frozen.
|
|
182
186
|
**/
|
|
183
187
|
Frozen: AugmentedError<ApiType>;
|
|
188
|
+
/**
|
|
189
|
+
* The asset status is not the expected status.
|
|
190
|
+
**/
|
|
191
|
+
IncorrectStatus: AugmentedError<ApiType>;
|
|
184
192
|
/**
|
|
185
193
|
* The asset ID is already taken.
|
|
186
194
|
**/
|
|
187
195
|
InUse: AugmentedError<ApiType>;
|
|
196
|
+
/**
|
|
197
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
198
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
199
|
+
**/
|
|
200
|
+
LiveAsset: AugmentedError<ApiType>;
|
|
188
201
|
/**
|
|
189
202
|
* Minimum balance should be non-zero.
|
|
190
203
|
**/
|
|
@@ -207,6 +220,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
207
220
|
* maximum number of consumers has been reached.
|
|
208
221
|
**/
|
|
209
222
|
NoProvider: AugmentedError<ApiType>;
|
|
223
|
+
/**
|
|
224
|
+
* The asset should be frozen before the given operation.
|
|
225
|
+
**/
|
|
226
|
+
NotFrozen: AugmentedError<ApiType>;
|
|
210
227
|
/**
|
|
211
228
|
* No approval exists that would allow the transfer.
|
|
212
229
|
**/
|
package/substrate/events.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, 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
|
-
export
|
|
7
|
+
export 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: {
|
|
@@ -155,6 +155,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
155
155
|
[key: string]: AugmentedEvent<ApiType>;
|
|
156
156
|
};
|
|
157
157
|
assets: {
|
|
158
|
+
/**
|
|
159
|
+
* Accounts were destroyed for given asset.
|
|
160
|
+
**/
|
|
161
|
+
AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u32, accountsDestroyed: u32, accountsRemaining: u32], {
|
|
162
|
+
assetId: u32;
|
|
163
|
+
accountsDestroyed: u32;
|
|
164
|
+
accountsRemaining: u32;
|
|
165
|
+
}>;
|
|
158
166
|
/**
|
|
159
167
|
* An approval for account `delegate` was cancelled by `owner`.
|
|
160
168
|
**/
|
|
@@ -163,6 +171,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
163
171
|
owner: AccountId32;
|
|
164
172
|
delegate: AccountId32;
|
|
165
173
|
}>;
|
|
174
|
+
/**
|
|
175
|
+
* Approvals were destroyed for given asset.
|
|
176
|
+
**/
|
|
177
|
+
ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32], {
|
|
178
|
+
assetId: u32;
|
|
179
|
+
approvalsDestroyed: u32;
|
|
180
|
+
approvalsRemaining: u32;
|
|
181
|
+
}>;
|
|
166
182
|
/**
|
|
167
183
|
* (Additional) funds have been approved for transfer to a destination account.
|
|
168
184
|
**/
|
|
@@ -212,6 +228,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
212
228
|
Destroyed: AugmentedEvent<ApiType, [assetId: u32], {
|
|
213
229
|
assetId: u32;
|
|
214
230
|
}>;
|
|
231
|
+
/**
|
|
232
|
+
* An asset class is in the process of being destroyed.
|
|
233
|
+
**/
|
|
234
|
+
DestructionStarted: AugmentedEvent<ApiType, [assetId: u32], {
|
|
235
|
+
assetId: u32;
|
|
236
|
+
}>;
|
|
215
237
|
/**
|
|
216
238
|
* Some asset class was force-created.
|
|
217
239
|
**/
|
|
@@ -861,13 +883,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
861
883
|
* of the batch. A new batch will be created upon next block.
|
|
862
884
|
**/
|
|
863
885
|
BatchFinished: AugmentedEvent<ApiType, []>;
|
|
864
|
-
/**
|
|
865
|
-
* Some internal error happened while migrating stash. They are removed as head as a
|
|
866
|
-
* consequence.
|
|
867
|
-
**/
|
|
868
|
-
Errored: AugmentedEvent<ApiType, [stash: AccountId32], {
|
|
869
|
-
stash: AccountId32;
|
|
870
|
-
}>;
|
|
871
886
|
/**
|
|
872
887
|
* An internal error happened. Operations will be paused now.
|
|
873
888
|
**/
|
package/substrate/query.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, 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
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
|
+
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
11
11
|
declare module '@polkadot/api-base/types/storage' {
|
|
12
12
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
13
13
|
alliance: {
|
package/substrate/runtime.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
|
17
17
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
18
18
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
19
19
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
21
|
+
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
22
22
|
declare module '@polkadot/api-base/types/calls' {
|
|
23
23
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
24
24
|
/** 0xbc9d89904f5b923f/1 */
|
package/substrate/tx.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, 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 { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem,
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, 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, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
8
|
+
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
|
+
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
|
+
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
11
11
|
declare module '@polkadot/api-base/types/submittable' {
|
|
12
12
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
13
13
|
alliance: {
|
|
@@ -492,30 +492,47 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
492
492
|
Address20: any;
|
|
493
493
|
} | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u128]>;
|
|
494
494
|
/**
|
|
495
|
-
* Destroy
|
|
495
|
+
* Destroy all accounts associated with a given asset.
|
|
496
|
+
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
|
|
497
|
+
* asset is in a `Destroying` state
|
|
496
498
|
*
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
+
* Due to weight restrictions, this function may need to be called multiple
|
|
500
|
+
* times to fully destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a
|
|
501
|
+
* time.
|
|
499
502
|
*
|
|
500
503
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
501
504
|
* asset.
|
|
502
505
|
*
|
|
503
|
-
* Emits `
|
|
506
|
+
* Each call Emits the `Event::DestroyedAccounts` event.
|
|
507
|
+
**/
|
|
508
|
+
destroyAccounts: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
509
|
+
/**
|
|
510
|
+
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit),
|
|
511
|
+
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
|
|
512
|
+
* asset is in a `Destroying` state
|
|
513
|
+
*
|
|
514
|
+
* Due to weight restrictions, this function may need to be called multiple
|
|
515
|
+
* times to fully destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a
|
|
516
|
+
* time.
|
|
517
|
+
*
|
|
518
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
519
|
+
* asset.
|
|
504
520
|
*
|
|
505
|
-
*
|
|
506
|
-
|
|
507
|
-
|
|
521
|
+
* Each call Emits the `Event::DestroyedApprovals` event.
|
|
522
|
+
**/
|
|
523
|
+
destroyApprovals: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
524
|
+
/**
|
|
525
|
+
* Complete destroying asset and unreserve currency.
|
|
526
|
+
* `finish_destroy` should only be called after `start_destroy` has been called, and the
|
|
527
|
+
* asset is in a `Destroying` state. All accounts or approvals should be destroyed before
|
|
528
|
+
* hand.
|
|
529
|
+
*
|
|
530
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
531
|
+
* asset.
|
|
508
532
|
*
|
|
509
|
-
*
|
|
510
|
-
* - `c = (witness.accounts - witness.sufficients)`
|
|
511
|
-
* - `s = witness.sufficients`
|
|
512
|
-
* - `a = witness.approvals`
|
|
533
|
+
* Each successful call Emits the `Event::Destroyed` event.
|
|
513
534
|
**/
|
|
514
|
-
|
|
515
|
-
accounts?: any;
|
|
516
|
-
sufficients?: any;
|
|
517
|
-
approvals?: any;
|
|
518
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletAssetsDestroyWitness]>;
|
|
535
|
+
finishDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
519
536
|
/**
|
|
520
537
|
* Alter the attributes of a given asset.
|
|
521
538
|
*
|
|
@@ -857,6 +874,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
857
874
|
} | {
|
|
858
875
|
Address20: any;
|
|
859
876
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress]>;
|
|
877
|
+
/**
|
|
878
|
+
* Start the process of destroying a class of fungible asset
|
|
879
|
+
* start_destroy is the first in a series of extrinsics that should be called, to allow
|
|
880
|
+
* destroying an asset.
|
|
881
|
+
*
|
|
882
|
+
* The origin must conform to `ForceOrigin` or must be Signed and the sender must be the
|
|
883
|
+
* owner of the asset `id`.
|
|
884
|
+
*
|
|
885
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
886
|
+
* asset.
|
|
887
|
+
*
|
|
888
|
+
* Assets must be freezed before calling start_destroy.
|
|
889
|
+
**/
|
|
890
|
+
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
|
860
891
|
/**
|
|
861
892
|
* Allow unprivileged transfers from an account again.
|
|
862
893
|
*
|
|
@@ -4664,6 +4695,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4664
4695
|
**/
|
|
4665
4696
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4666
4697
|
};
|
|
4698
|
+
rootTesting: {
|
|
4699
|
+
/**
|
|
4700
|
+
* A dispatch that will fill the block weight up to the given ratio.
|
|
4701
|
+
**/
|
|
4702
|
+
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
4703
|
+
/**
|
|
4704
|
+
* Generic tx
|
|
4705
|
+
**/
|
|
4706
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4707
|
+
};
|
|
4667
4708
|
scheduler: {
|
|
4668
4709
|
/**
|
|
4669
4710
|
* Cancel an anonymously scheduled task.
|
|
@@ -5783,10 +5824,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5783
5824
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
5784
5825
|
};
|
|
5785
5826
|
system: {
|
|
5786
|
-
/**
|
|
5787
|
-
* A dispatch that will fill the block weight up to the given ratio.
|
|
5788
|
-
**/
|
|
5789
|
-
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
|
5790
5827
|
/**
|
|
5791
5828
|
* Kill all storage items with a key that starts with the given prefix.
|
|
5792
5829
|
*
|