@polkadot/api-augment 9.0.1 → 9.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/substrate/errors.d.ts +12 -6
- package/substrate/events.d.ts +32 -8
- package/substrate/query.d.ts +8 -3
- package/substrate/runtime.d.ts +17 -2
- package/substrate/tx.d.ts +33 -21
package/cjs/packageInfo.js
CHANGED
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.2.2",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
188
|
"@babel/runtime": "^7.18.9",
|
|
189
|
-
"@polkadot/api-base": "9.
|
|
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.2.2",
|
|
190
|
+
"@polkadot/rpc-augment": "9.2.2",
|
|
191
|
+
"@polkadot/types": "9.2.2",
|
|
192
|
+
"@polkadot/types-augment": "9.2.2",
|
|
193
|
+
"@polkadot/types-codec": "9.2.2",
|
|
194
|
+
"@polkadot/util": "^10.1.4"
|
|
195
195
|
}
|
|
196
196
|
}
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-augment',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '9.
|
|
8
|
+
version: '9.2.2'
|
|
9
9
|
};
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1783,7 +1783,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1783
1783
|
};
|
|
1784
1784
|
stateTrieMigration: {
|
|
1785
1785
|
/**
|
|
1786
|
-
*
|
|
1786
|
+
* Bad child root provided.
|
|
1787
|
+
**/
|
|
1788
|
+
BadChildRoot: AugmentedError<ApiType>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Bad witness data provided.
|
|
1787
1791
|
**/
|
|
1788
1792
|
BadWitness: AugmentedError<ApiType>;
|
|
1789
1793
|
/**
|
|
@@ -1797,7 +1801,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1797
1801
|
**/
|
|
1798
1802
|
KeyTooLong: AugmentedError<ApiType>;
|
|
1799
1803
|
/**
|
|
1800
|
-
*
|
|
1804
|
+
* Max signed limits not respected.
|
|
1801
1805
|
**/
|
|
1802
1806
|
MaxSignedLimits: AugmentedError<ApiType>;
|
|
1803
1807
|
/**
|
|
@@ -1808,10 +1812,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1808
1812
|
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1809
1813
|
**/
|
|
1810
1814
|
SignedMigrationNotAllowed: AugmentedError<ApiType>;
|
|
1811
|
-
/**
|
|
1812
|
-
* upper bound of size is exceeded,
|
|
1813
|
-
**/
|
|
1814
|
-
SizeUpperBoundExceeded: AugmentedError<ApiType>;
|
|
1815
1815
|
/**
|
|
1816
1816
|
* Generic error
|
|
1817
1817
|
**/
|
|
@@ -2077,6 +2077,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2077
2077
|
* The provided max supply is less to the amount of items a collection already has.
|
|
2078
2078
|
**/
|
|
2079
2079
|
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
|
2080
|
+
/**
|
|
2081
|
+
* The `CollectionId` in `NextCollectionId` is not being used.
|
|
2082
|
+
*
|
|
2083
|
+
* This means that you can directly proceed to call `create`.
|
|
2084
|
+
**/
|
|
2085
|
+
NextIdNotUsed: AugmentedError<ApiType>;
|
|
2080
2086
|
/**
|
|
2081
2087
|
* There is no delegate approved.
|
|
2082
2088
|
**/
|
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo,
|
|
6
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
|
7
7
|
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -284,6 +284,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
284
284
|
**/
|
|
285
285
|
[key: string]: AugmentedEvent<ApiType>;
|
|
286
286
|
};
|
|
287
|
+
assetTxPayment: {
|
|
288
|
+
/**
|
|
289
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
290
|
+
* has been paid by `who` in an asset `asset_id`.
|
|
291
|
+
**/
|
|
292
|
+
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: Option<u32>], {
|
|
293
|
+
who: AccountId32;
|
|
294
|
+
actualFee: u128;
|
|
295
|
+
tip: u128;
|
|
296
|
+
assetId: Option<u32>;
|
|
297
|
+
}>;
|
|
298
|
+
/**
|
|
299
|
+
* Generic event
|
|
300
|
+
**/
|
|
301
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
302
|
+
};
|
|
287
303
|
bagsList: {
|
|
288
304
|
/**
|
|
289
305
|
* Moved an account from one bag to another.
|
|
@@ -1271,19 +1287,19 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1271
1287
|
* Anonymous account has been created by new proxy with given
|
|
1272
1288
|
* disambiguation index and proxy type.
|
|
1273
1289
|
**/
|
|
1274
|
-
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType:
|
|
1290
|
+
AnonymousCreated: AugmentedEvent<ApiType, [anonymous: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], {
|
|
1275
1291
|
anonymous: AccountId32;
|
|
1276
1292
|
who: AccountId32;
|
|
1277
|
-
proxyType:
|
|
1293
|
+
proxyType: KitchensinkRuntimeProxyType;
|
|
1278
1294
|
disambiguationIndex: u16;
|
|
1279
1295
|
}>;
|
|
1280
1296
|
/**
|
|
1281
1297
|
* A proxy was added.
|
|
1282
1298
|
**/
|
|
1283
|
-
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType:
|
|
1299
|
+
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, delay: u32], {
|
|
1284
1300
|
delegator: AccountId32;
|
|
1285
1301
|
delegatee: AccountId32;
|
|
1286
|
-
proxyType:
|
|
1302
|
+
proxyType: KitchensinkRuntimeProxyType;
|
|
1287
1303
|
delay: u32;
|
|
1288
1304
|
}>;
|
|
1289
1305
|
/**
|
|
@@ -1295,10 +1311,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1295
1311
|
/**
|
|
1296
1312
|
* A proxy was removed.
|
|
1297
1313
|
**/
|
|
1298
|
-
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType:
|
|
1314
|
+
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: KitchensinkRuntimeProxyType, delay: u32], {
|
|
1299
1315
|
delegator: AccountId32;
|
|
1300
1316
|
delegatee: AccountId32;
|
|
1301
|
-
proxyType:
|
|
1317
|
+
proxyType: KitchensinkRuntimeProxyType;
|
|
1302
1318
|
delay: u32;
|
|
1303
1319
|
}>;
|
|
1304
1320
|
/**
|
|
@@ -1825,7 +1841,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1825
1841
|
/**
|
|
1826
1842
|
* Migration got halted due to an error or miss-configuration.
|
|
1827
1843
|
**/
|
|
1828
|
-
Halted: AugmentedEvent<ApiType, []
|
|
1844
|
+
Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], {
|
|
1845
|
+
error: PalletStateTrieMigrationError;
|
|
1846
|
+
}>;
|
|
1829
1847
|
/**
|
|
1830
1848
|
* Given number of `(top, child)` keys were migrated respectively, with the given
|
|
1831
1849
|
* `compute`.
|
|
@@ -2303,6 +2321,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2303
2321
|
data: Bytes;
|
|
2304
2322
|
isFrozen: bool;
|
|
2305
2323
|
}>;
|
|
2324
|
+
/**
|
|
2325
|
+
* Event gets emmited when the `NextCollectionId` gets incremented.
|
|
2326
|
+
**/
|
|
2327
|
+
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: u32], {
|
|
2328
|
+
nextId: u32;
|
|
2329
|
+
}>;
|
|
2306
2330
|
/**
|
|
2307
2331
|
* The owner changed.
|
|
2308
2332
|
**/
|
package/substrate/query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase,
|
|
7
|
+
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -1145,7 +1145,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1145
1145
|
/**
|
|
1146
1146
|
* The next session keys for a validator.
|
|
1147
1147
|
**/
|
|
1148
|
-
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
1148
|
+
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<KitchensinkRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
1149
1149
|
/**
|
|
1150
1150
|
* True if the underlying economic identities or weighting behind the validators
|
|
1151
1151
|
* has changed in the queued validator set.
|
|
@@ -1155,7 +1155,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1155
1155
|
* The queued keys for the next session. When the next session begins, these keys
|
|
1156
1156
|
* will be used to determine the validator's session keys.
|
|
1157
1157
|
**/
|
|
1158
|
-
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32,
|
|
1158
|
+
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, KitchensinkRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1159
1159
|
/**
|
|
1160
1160
|
* The current set of validators.
|
|
1161
1161
|
**/
|
|
@@ -1771,6 +1771,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1771
1771
|
* Price of an asset instance.
|
|
1772
1772
|
**/
|
|
1773
1773
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1774
|
+
/**
|
|
1775
|
+
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
1776
|
+
* This gets incremented by 1 whenever a new collection is created.
|
|
1777
|
+
**/
|
|
1778
|
+
nextCollectionId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1774
1779
|
/**
|
|
1775
1780
|
* The collection, if any, of which an account is willing to take ownership.
|
|
1776
1781
|
**/
|
package/substrate/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/calls';
|
|
2
2
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Null, Option, Result, Vec, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
6
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
7
7
|
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
|
13
13
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
|
14
14
|
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
|
15
15
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
16
|
-
import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
|
|
16
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot } from '@polkadot/types/interfaces/runtime';
|
|
17
17
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
18
18
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
19
19
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
@@ -318,5 +318,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
318
318
|
**/
|
|
319
319
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
320
320
|
};
|
|
321
|
+
/** 0xf3ff14d5ab527059/1 */
|
|
322
|
+
transactionPaymentCallApi: {
|
|
323
|
+
/**
|
|
324
|
+
* The call fee details
|
|
325
|
+
**/
|
|
326
|
+
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
|
327
|
+
/**
|
|
328
|
+
* The call info
|
|
329
|
+
**/
|
|
330
|
+
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
331
|
+
/**
|
|
332
|
+
* Generic call
|
|
333
|
+
**/
|
|
334
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
335
|
+
};
|
|
321
336
|
}
|
|
322
337
|
}
|
package/substrate/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed,
|
|
7
|
+
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
|
|
8
8
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
9
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
10
|
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -3615,7 +3615,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3615
3615
|
* Weight is a function of the number of proxies the user has (P).
|
|
3616
3616
|
* # </weight>
|
|
3617
3617
|
**/
|
|
3618
|
-
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType:
|
|
3618
|
+
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u32]>;
|
|
3619
3619
|
/**
|
|
3620
3620
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
3621
3621
|
*
|
|
@@ -3665,7 +3665,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3665
3665
|
* # </weight>
|
|
3666
3666
|
* TODO: Might be over counting 1 read
|
|
3667
3667
|
**/
|
|
3668
|
-
anonymous: AugmentedSubmittable<(proxyType:
|
|
3668
|
+
anonymous: AugmentedSubmittable<(proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeProxyType, u32, u16]>;
|
|
3669
3669
|
/**
|
|
3670
3670
|
* Removes a previously spawned anonymous proxy.
|
|
3671
3671
|
*
|
|
@@ -3688,7 +3688,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3688
3688
|
* Weight is a function of the number of proxies the user has (P).
|
|
3689
3689
|
* # </weight>
|
|
3690
3690
|
**/
|
|
3691
|
-
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType:
|
|
3691
|
+
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
3692
3692
|
/**
|
|
3693
3693
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
3694
3694
|
* `add_proxy`.
|
|
@@ -3706,7 +3706,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3706
3706
|
* Weight is a function of the number of proxies the user has (P).
|
|
3707
3707
|
* # </weight>
|
|
3708
3708
|
**/
|
|
3709
|
-
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<
|
|
3709
|
+
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<KitchensinkRuntimeProxyType>, Call]>;
|
|
3710
3710
|
/**
|
|
3711
3711
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3712
3712
|
* `add_proxy`.
|
|
@@ -3726,7 +3726,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3726
3726
|
* - P: the number of proxies the user has.
|
|
3727
3727
|
* # </weight>
|
|
3728
3728
|
**/
|
|
3729
|
-
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<
|
|
3729
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<KitchensinkRuntimeProxyType>, Call]>;
|
|
3730
3730
|
/**
|
|
3731
3731
|
* Remove the given announcement of a delegate.
|
|
3732
3732
|
*
|
|
@@ -3791,7 +3791,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3791
3791
|
* Weight is a function of the number of proxies the user has (P).
|
|
3792
3792
|
* # </weight>
|
|
3793
3793
|
**/
|
|
3794
|
-
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType:
|
|
3794
|
+
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u32]>;
|
|
3795
3795
|
/**
|
|
3796
3796
|
* Generic tx
|
|
3797
3797
|
**/
|
|
@@ -3939,7 +3939,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3939
3939
|
*
|
|
3940
3940
|
* Emits `Submitted`.
|
|
3941
3941
|
**/
|
|
3942
|
-
submit: AugmentedSubmittable<(proposalOrigin:
|
|
3942
|
+
submit: AugmentedSubmittable<(proposalOrigin: KitchensinkRuntimeOriginCaller | {
|
|
3943
3943
|
system: any;
|
|
3944
3944
|
} | {
|
|
3945
3945
|
Void: any;
|
|
@@ -3953,7 +3953,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3953
3953
|
At: any;
|
|
3954
3954
|
} | {
|
|
3955
3955
|
After: any;
|
|
3956
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3956
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeOriginCaller, H256, FrameSupportScheduleDispatchTime]>;
|
|
3957
3957
|
/**
|
|
3958
3958
|
* Generic tx
|
|
3959
3959
|
**/
|
|
@@ -4155,7 +4155,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4155
4155
|
*
|
|
4156
4156
|
* Emits `Submitted`.
|
|
4157
4157
|
**/
|
|
4158
|
-
submit: AugmentedSubmittable<(proposalOrigin:
|
|
4158
|
+
submit: AugmentedSubmittable<(proposalOrigin: KitchensinkRuntimeOriginCaller | {
|
|
4159
4159
|
system: any;
|
|
4160
4160
|
} | {
|
|
4161
4161
|
Void: any;
|
|
@@ -4169,7 +4169,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4169
4169
|
At: any;
|
|
4170
4170
|
} | {
|
|
4171
4171
|
After: any;
|
|
4172
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4172
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeOriginCaller, H256, FrameSupportScheduleDispatchTime]>;
|
|
4173
4173
|
/**
|
|
4174
4174
|
* Generic tx
|
|
4175
4175
|
**/
|
|
@@ -4275,12 +4275,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4275
4275
|
* - DbWrites per key id: `KeyOwner`
|
|
4276
4276
|
* # </weight>
|
|
4277
4277
|
**/
|
|
4278
|
-
setKeys: AugmentedSubmittable<(keys:
|
|
4278
|
+
setKeys: AugmentedSubmittable<(keys: KitchensinkRuntimeSessionKeys | {
|
|
4279
4279
|
grandpa?: any;
|
|
4280
4280
|
babe?: any;
|
|
4281
4281
|
imOnline?: any;
|
|
4282
4282
|
authorityDiscovery?: any;
|
|
4283
|
-
} | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4283
|
+
} | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeSessionKeys, Bytes]>;
|
|
4284
4284
|
/**
|
|
4285
4285
|
* Generic tx
|
|
4286
4286
|
**/
|
|
@@ -6017,7 +6017,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6017
6017
|
* `ItemDeposit` funds of sender are reserved.
|
|
6018
6018
|
*
|
|
6019
6019
|
* Parameters:
|
|
6020
|
-
* - `collection`: The identifier of the new collection. This must not be currently in use.
|
|
6021
6020
|
* - `admin`: The admin of this collection. The admin is the initial address of each
|
|
6022
6021
|
* member of the collection's admin team.
|
|
6023
6022
|
*
|
|
@@ -6025,7 +6024,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6025
6024
|
*
|
|
6026
6025
|
* Weight: `O(1)`
|
|
6027
6026
|
**/
|
|
6028
|
-
create: AugmentedSubmittable<(
|
|
6027
|
+
create: AugmentedSubmittable<(admin: MultiAddress | {
|
|
6029
6028
|
Id: any;
|
|
6030
6029
|
} | {
|
|
6031
6030
|
Index: any;
|
|
@@ -6035,7 +6034,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6035
6034
|
Address32: any;
|
|
6036
6035
|
} | {
|
|
6037
6036
|
Address20: any;
|
|
6038
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6037
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
6039
6038
|
/**
|
|
6040
6039
|
* Destroy a collection of fungible items.
|
|
6041
6040
|
*
|
|
@@ -6067,7 +6066,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6067
6066
|
*
|
|
6068
6067
|
* Unlike `create`, no funds are reserved.
|
|
6069
6068
|
*
|
|
6070
|
-
* - `collection`: The identifier of the new item. This must not be currently in use.
|
|
6071
6069
|
* - `owner`: The owner of this collection of items. The owner has full superuser
|
|
6072
6070
|
* permissions
|
|
6073
6071
|
* over this item, but may later change and configure the permissions using
|
|
@@ -6077,7 +6075,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6077
6075
|
*
|
|
6078
6076
|
* Weight: `O(1)`
|
|
6079
6077
|
**/
|
|
6080
|
-
forceCreate: AugmentedSubmittable<(
|
|
6078
|
+
forceCreate: AugmentedSubmittable<(owner: MultiAddress | {
|
|
6081
6079
|
Id: any;
|
|
6082
6080
|
} | {
|
|
6083
6081
|
Index: any;
|
|
@@ -6087,7 +6085,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6087
6085
|
Address32: any;
|
|
6088
6086
|
} | {
|
|
6089
6087
|
Address20: any;
|
|
6090
|
-
} | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6088
|
+
} | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
6091
6089
|
/**
|
|
6092
6090
|
* Alter the attributes of a given item.
|
|
6093
6091
|
*
|
|
@@ -6448,6 +6446,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6448
6446
|
} | {
|
|
6449
6447
|
Address20: any;
|
|
6450
6448
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
|
6449
|
+
/**
|
|
6450
|
+
* Increments the `CollectionId` stored in `NextCollectionId`.
|
|
6451
|
+
*
|
|
6452
|
+
* This is only callable when the next `CollectionId` is already being
|
|
6453
|
+
* used for some other collection.
|
|
6454
|
+
*
|
|
6455
|
+
* The origin must be Signed and the sender must have sufficient funds
|
|
6456
|
+
* free.
|
|
6457
|
+
*
|
|
6458
|
+
* Emits `NextCollectionIdIncremented` event when successful.
|
|
6459
|
+
*
|
|
6460
|
+
* Weight: `O(1)`
|
|
6461
|
+
**/
|
|
6462
|
+
tryIncrementId: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
6451
6463
|
/**
|
|
6452
6464
|
* Generic tx
|
|
6453
6465
|
**/
|
|
@@ -6521,7 +6533,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6521
6533
|
* - Weight of derivative `call` execution + T::WeightInfo::dispatch_as().
|
|
6522
6534
|
* # </weight>
|
|
6523
6535
|
**/
|
|
6524
|
-
dispatchAs: AugmentedSubmittable<(asOrigin:
|
|
6536
|
+
dispatchAs: AugmentedSubmittable<(asOrigin: KitchensinkRuntimeOriginCaller | {
|
|
6525
6537
|
system: any;
|
|
6526
6538
|
} | {
|
|
6527
6539
|
Void: any;
|
|
@@ -6531,7 +6543,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6531
6543
|
TechnicalCommittee: any;
|
|
6532
6544
|
} | {
|
|
6533
6545
|
AllianceMotion: any;
|
|
6534
|
-
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6546
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeOriginCaller, Call]>;
|
|
6535
6547
|
/**
|
|
6536
6548
|
* Send a batch of dispatch calls.
|
|
6537
6549
|
* Unlike `batch`, it allows errors and won't interrupt.
|