@dedot/chaintypes 0.265.0 → 0.267.0
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/kusama-asset-hub/consts.d.ts +26 -36
- package/kusama-asset-hub/errors.d.ts +50 -105
- package/kusama-asset-hub/events.d.ts +93 -229
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +114 -112
- package/kusama-asset-hub/runtime.d.ts +29 -2
- package/kusama-asset-hub/tx.d.ts +32 -683
- package/kusama-asset-hub/types.d.ts +592 -1490
- package/kusama-asset-hub/view-functions.d.ts +38 -2
- package/kusama-people/consts.d.ts +2 -1
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +45 -4
- package/kusama-people/runtime.d.ts +6 -2
- package/kusama-people/tx.d.ts +22 -13
- package/kusama-people/types.d.ts +84 -27
- package/kusama-people/view-functions.d.ts +42 -1
- package/package.json +2 -2
- package/paseo-hydration/consts.d.ts +0 -10
- package/paseo-hydration/errors.d.ts +57 -4
- package/paseo-hydration/events.d.ts +90 -14
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +48 -0
- package/paseo-hydration/tx.d.ts +344 -1
- package/paseo-hydration/types.d.ts +11772 -11274
- package/paseo-hydration/view-functions.d.ts +32 -1
- package/polkadot/consts.d.ts +0 -9
- package/polkadot/errors.d.ts +25 -108
- package/polkadot/events.d.ts +0 -308
- package/polkadot/index.d.ts +3 -1
- package/polkadot/query.d.ts +82 -275
- package/polkadot/runtime.d.ts +73 -2
- package/polkadot/tx.d.ts +60 -375
- package/polkadot/types.d.ts +160 -908
- package/polkadot/view-functions.d.ts +0 -1
- package/polkadot-asset-hub/consts.d.ts +21 -31
- package/polkadot-asset-hub/errors.d.ts +50 -105
- package/polkadot-asset-hub/events.d.ts +93 -229
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +114 -112
- package/polkadot-asset-hub/runtime.d.ts +29 -2
- package/polkadot-asset-hub/tx.d.ts +32 -647
- package/polkadot-asset-hub/types.d.ts +575 -1377
- package/polkadot-asset-hub/view-functions.d.ts +38 -2
- package/polkadot-people/consts.d.ts +2 -1
- package/polkadot-people/events.d.ts +20 -0
- package/polkadot-people/index.d.ts +3 -1
- package/polkadot-people/query.d.ts +45 -4
- package/polkadot-people/runtime.d.ts +6 -2
- package/polkadot-people/tx.d.ts +22 -13
- package/polkadot-people/types.d.ts +104 -28
- package/polkadot-people/view-functions.d.ts +38 -1
|
@@ -14,6 +14,7 @@ import type {
|
|
|
14
14
|
EthereumAddress,
|
|
15
15
|
EthereumAddressLike,
|
|
16
16
|
H160,
|
|
17
|
+
U256,
|
|
17
18
|
Perbill,
|
|
18
19
|
Percent,
|
|
19
20
|
} from 'dedot/codecs';
|
|
@@ -24,6 +25,7 @@ import type {
|
|
|
24
25
|
FrameSystemLastRuntimeUpgradeInfo,
|
|
25
26
|
FrameSystemCodeUpgradeAuthorization,
|
|
26
27
|
SpWeightsWeightV2Weight,
|
|
28
|
+
CumulusPalletParachainSystemBlockWeightBlockWeightMode,
|
|
27
29
|
CumulusPalletParachainSystemUnincludedSegmentAncestor,
|
|
28
30
|
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
|
|
29
31
|
PolkadotPrimitivesV9PersistedValidationData,
|
|
@@ -36,6 +38,7 @@ import type {
|
|
|
36
38
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
37
39
|
CumulusPalletParachainSystemParachainInherentInboundMessageId,
|
|
38
40
|
PolkadotCorePrimitivesOutboundHrmpMessage,
|
|
41
|
+
CumulusPalletParachainSystemPoVMessages,
|
|
39
42
|
PalletMigrationsMigrationCursor,
|
|
40
43
|
PalletPreimageOldRequestStatus,
|
|
41
44
|
PalletPreimageRequestStatus,
|
|
@@ -46,7 +49,7 @@ import type {
|
|
|
46
49
|
PalletBalancesAccountData,
|
|
47
50
|
PalletBalancesBalanceLock,
|
|
48
51
|
PalletBalancesReserveData,
|
|
49
|
-
|
|
52
|
+
FrameSupportTokensMiscIdAmount,
|
|
50
53
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
51
54
|
PalletTransactionPaymentReleases,
|
|
52
55
|
FrameSupportStorageNoDrop,
|
|
@@ -73,7 +76,7 @@ import type {
|
|
|
73
76
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
74
77
|
PalletMessageQueuePage,
|
|
75
78
|
PalletMultisigMultisig,
|
|
76
|
-
|
|
79
|
+
PalletProxyProxyDefinition,
|
|
77
80
|
PalletProxyAnnouncement,
|
|
78
81
|
PalletAssetsAssetDetails,
|
|
79
82
|
PalletAssetsAssetAccount,
|
|
@@ -151,17 +154,13 @@ import type {
|
|
|
151
154
|
PalletTreasuryProposal,
|
|
152
155
|
PalletTreasurySpendStatus,
|
|
153
156
|
PalletConvictionVotingVoteVoting,
|
|
154
|
-
|
|
157
|
+
PalletReferendaReferendumInfo,
|
|
155
158
|
PalletBountiesBounty,
|
|
156
159
|
PalletChildBountiesChildBounty,
|
|
157
160
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
158
161
|
PalletMultiAssetBountiesBounty,
|
|
159
162
|
PalletMultiAssetBountiesChildBounty,
|
|
160
163
|
FrameSupportTokensFungibleHoldConsideration,
|
|
161
|
-
PalletRcMigratorAccountsAccount,
|
|
162
|
-
PalletAhMigratorMigrationStage,
|
|
163
|
-
PalletAhMigratorBalancesBefore,
|
|
164
|
-
PalletRcMigratorQueuePriority,
|
|
165
164
|
} from './types.js';
|
|
166
165
|
|
|
167
166
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -199,11 +198,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
199
198
|
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
200
199
|
|
|
201
200
|
/**
|
|
202
|
-
* Total
|
|
201
|
+
* Total size (in bytes) of the current block.
|
|
202
|
+
*
|
|
203
|
+
* Tracks the size of the header and all extrinsics.
|
|
203
204
|
*
|
|
204
205
|
* @param {Callback<number | undefined> =} callback
|
|
205
206
|
**/
|
|
206
|
-
|
|
207
|
+
blockSize: GenericStorageQuery<() => number | undefined>;
|
|
207
208
|
|
|
208
209
|
/**
|
|
209
210
|
* Map of block numbers to block hashes.
|
|
@@ -286,6 +287,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
286
287
|
**/
|
|
287
288
|
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
288
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
292
|
+
*
|
|
293
|
+
* @param {Callback<number | undefined> =} callback
|
|
294
|
+
**/
|
|
295
|
+
blocksTillUpgrade: GenericStorageQuery<() => number | undefined>;
|
|
296
|
+
|
|
289
297
|
/**
|
|
290
298
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
291
299
|
*
|
|
@@ -337,6 +345,27 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
337
345
|
* Pallet `ParachainSystem`'s storage queries
|
|
338
346
|
**/
|
|
339
347
|
parachainSystem: {
|
|
348
|
+
/**
|
|
349
|
+
* The current block weight mode.
|
|
350
|
+
*
|
|
351
|
+
* This is used to determine what is the maximum allowed block weight, for more information see
|
|
352
|
+
* [`block_weight`].
|
|
353
|
+
*
|
|
354
|
+
* Killed in [`Self::on_initialize`] and set by the [`block_weight`] logic.
|
|
355
|
+
*
|
|
356
|
+
* @param {Callback<CumulusPalletParachainSystemBlockWeightBlockWeightMode | undefined> =} callback
|
|
357
|
+
**/
|
|
358
|
+
blockWeightMode: GenericStorageQuery<() => CumulusPalletParachainSystemBlockWeightBlockWeightMode | undefined>;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The core count available to the parachain in the previous block.
|
|
362
|
+
*
|
|
363
|
+
* This is mainly used for offchain functionality to calculate the correct target block weight.
|
|
364
|
+
*
|
|
365
|
+
* @param {Callback<number | undefined> =} callback
|
|
366
|
+
**/
|
|
367
|
+
previousCoreCount: GenericStorageQuery<() => number | undefined>;
|
|
368
|
+
|
|
340
369
|
/**
|
|
341
370
|
* Latest included block descendants the runtime accepted. In other words, these are
|
|
342
371
|
* ancestors of the currently executing block which have not been included in the observed
|
|
@@ -365,8 +394,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
365
394
|
* applied.
|
|
366
395
|
*
|
|
367
396
|
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the
|
|
368
|
-
* [`:
|
|
369
|
-
* with the new validation code. This concludes the upgrade process.
|
|
397
|
+
* [`:pending_code`][sp_core::storage::well_known_keys::PENDING_CODE] which will result the
|
|
398
|
+
* next block to be processed with the new validation code. This concludes the upgrade process.
|
|
370
399
|
*
|
|
371
400
|
* @param {Callback<Bytes> =} callback
|
|
372
401
|
**/
|
|
@@ -605,6 +634,15 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
605
634
|
**/
|
|
606
635
|
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
607
636
|
|
|
637
|
+
/**
|
|
638
|
+
* Tracks cumulative `UMP` and `HRMP` messages sent across blocks in the current `PoV`.
|
|
639
|
+
*
|
|
640
|
+
* Across different candidates/PoVs the budgets are tracked by [`AggregatedUnincludedSegment`].
|
|
641
|
+
*
|
|
642
|
+
* @param {Callback<CumulusPalletParachainSystemPoVMessages | undefined> =} callback
|
|
643
|
+
**/
|
|
644
|
+
poVMessagesTracker: GenericStorageQuery<() => CumulusPalletParachainSystemPoVMessages | undefined>;
|
|
645
|
+
|
|
608
646
|
/**
|
|
609
647
|
* Generic pallet storage query
|
|
610
648
|
**/
|
|
@@ -851,12 +889,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
851
889
|
* Holds on account balances.
|
|
852
890
|
*
|
|
853
891
|
* @param {AccountId32Like} arg
|
|
854
|
-
* @param {Callback<Array<
|
|
892
|
+
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
855
893
|
**/
|
|
856
|
-
holds: GenericStorageQuery<
|
|
857
|
-
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
858
|
-
AccountId32
|
|
859
|
-
>;
|
|
894
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
860
895
|
|
|
861
896
|
/**
|
|
862
897
|
* Freeze locks on account balances.
|
|
@@ -1517,12 +1552,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1517
1552
|
* which are being delegated to, together with the amount held on deposit.
|
|
1518
1553
|
*
|
|
1519
1554
|
* @param {AccountId32Like} arg
|
|
1520
|
-
* @param {Callback<[Array<
|
|
1555
|
+
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1521
1556
|
**/
|
|
1522
|
-
proxies: GenericStorageQuery<
|
|
1523
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinitionProxyType>, bigint],
|
|
1524
|
-
AccountId32
|
|
1525
|
-
>;
|
|
1557
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1526
1558
|
|
|
1527
1559
|
/**
|
|
1528
1560
|
* The announcements made by the proxy (key).
|
|
@@ -2451,6 +2483,65 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2451
2483
|
**/
|
|
2452
2484
|
[storage: string]: GenericStorageQuery;
|
|
2453
2485
|
};
|
|
2486
|
+
/**
|
|
2487
|
+
* Pallet `AssetsPrecompiles`'s storage queries
|
|
2488
|
+
**/
|
|
2489
|
+
assetsPrecompiles: {
|
|
2490
|
+
/**
|
|
2491
|
+
* The next available asset index for foreign assets.
|
|
2492
|
+
* This is incremented each time a new foreign asset mapping is created.
|
|
2493
|
+
*
|
|
2494
|
+
* @param {Callback<number> =} callback
|
|
2495
|
+
**/
|
|
2496
|
+
nextAssetIndex: GenericStorageQuery<() => number>;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* Mapping an asset index (derived from the precompile address) to a `ForeignAssetId`.
|
|
2500
|
+
*
|
|
2501
|
+
* @param {number} arg
|
|
2502
|
+
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
2503
|
+
**/
|
|
2504
|
+
assetIndexToForeignAssetId: GenericStorageQuery<(arg: number) => StagingXcmV5Location | undefined, number>;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* Mapping a `ForeignAssetId` to an asset index (used for deriving precompile addresses).
|
|
2508
|
+
*
|
|
2509
|
+
* @param {StagingXcmV5Location} arg
|
|
2510
|
+
* @param {Callback<number | undefined> =} callback
|
|
2511
|
+
**/
|
|
2512
|
+
foreignAssetIdToAssetIndex: GenericStorageQuery<
|
|
2513
|
+
(arg: StagingXcmV5Location) => number | undefined,
|
|
2514
|
+
StagingXcmV5Location
|
|
2515
|
+
>;
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Generic pallet storage query
|
|
2519
|
+
**/
|
|
2520
|
+
[storage: string]: GenericStorageQuery;
|
|
2521
|
+
};
|
|
2522
|
+
/**
|
|
2523
|
+
* Pallet `AssetsPrecompilesPermit`'s storage queries
|
|
2524
|
+
**/
|
|
2525
|
+
assetsPrecompilesPermit: {
|
|
2526
|
+
/**
|
|
2527
|
+
* Nonces for permit signatures.
|
|
2528
|
+
* Mapping: (verifying_contract, owner_address) => nonce
|
|
2529
|
+
*
|
|
2530
|
+
* Uses Blake2_128Concat for the first key to prevent storage collision attacks
|
|
2531
|
+
* when the verifying_contract address could be influenced by an attacker.
|
|
2532
|
+
*
|
|
2533
|
+
* Note: EIP-2612 specifies uint256 nonce. We store as U256 for compatibility.
|
|
2534
|
+
*
|
|
2535
|
+
* @param {[H160, H160]} arg
|
|
2536
|
+
* @param {Callback<U256> =} callback
|
|
2537
|
+
**/
|
|
2538
|
+
nonces: GenericStorageQuery<(arg: [H160, H160]) => U256, [H160, H160]>;
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Generic pallet storage query
|
|
2542
|
+
**/
|
|
2543
|
+
[storage: string]: GenericStorageQuery;
|
|
2544
|
+
};
|
|
2454
2545
|
/**
|
|
2455
2546
|
* Pallet `StateTrieMigration`'s storage queries
|
|
2456
2547
|
**/
|
|
@@ -3083,15 +3174,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3083
3174
|
**/
|
|
3084
3175
|
validatorCount: GenericStorageQuery<() => number>;
|
|
3085
3176
|
|
|
3086
|
-
/**
|
|
3087
|
-
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
3088
|
-
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
3089
|
-
* invulnerables) and restricted to testnets.
|
|
3090
|
-
*
|
|
3091
|
-
* @param {Callback<Array<AccountId32>> =} callback
|
|
3092
|
-
**/
|
|
3093
|
-
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3094
|
-
|
|
3095
3177
|
/**
|
|
3096
3178
|
* Map from all locked "stash" accounts to the controller account.
|
|
3097
3179
|
*
|
|
@@ -3705,12 +3787,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3705
3787
|
* Information concerning any given referendum.
|
|
3706
3788
|
*
|
|
3707
3789
|
* @param {number} arg
|
|
3708
|
-
* @param {Callback<
|
|
3790
|
+
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
3709
3791
|
**/
|
|
3710
|
-
referendumInfoFor: GenericStorageQuery<
|
|
3711
|
-
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
3712
|
-
number
|
|
3713
|
-
>;
|
|
3792
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
3714
3793
|
|
|
3715
3794
|
/**
|
|
3716
3795
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -4059,83 +4138,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
4059
4138
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
4060
4139
|
>;
|
|
4061
4140
|
|
|
4062
|
-
/**
|
|
4063
|
-
* Generic pallet storage query
|
|
4064
|
-
**/
|
|
4065
|
-
[storage: string]: GenericStorageQuery;
|
|
4066
|
-
};
|
|
4067
|
-
/**
|
|
4068
|
-
* Pallet `AhMigrator`'s storage queries
|
|
4069
|
-
**/
|
|
4070
|
-
ahMigrator: {
|
|
4071
|
-
/**
|
|
4072
|
-
* RC accounts that failed to migrate when were received on the Asset Hub.
|
|
4073
|
-
*
|
|
4074
|
-
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
|
4075
|
-
*
|
|
4076
|
-
* @param {AccountId32Like} arg
|
|
4077
|
-
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
4078
|
-
**/
|
|
4079
|
-
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined, AccountId32>;
|
|
4080
|
-
|
|
4081
|
-
/**
|
|
4082
|
-
* The Asset Hub migration state.
|
|
4083
|
-
*
|
|
4084
|
-
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
4085
|
-
**/
|
|
4086
|
-
ahMigrationStage: GenericStorageQuery<() => PalletAhMigratorMigrationStage>;
|
|
4087
|
-
|
|
4088
|
-
/**
|
|
4089
|
-
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
4090
|
-
* of the migration. Since teleports are disabled during migration, the total issuance will not
|
|
4091
|
-
* change for other reason than the migration itself.
|
|
4092
|
-
*
|
|
4093
|
-
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
4094
|
-
**/
|
|
4095
|
-
ahBalancesBefore: GenericStorageQuery<() => PalletAhMigratorBalancesBefore>;
|
|
4096
|
-
|
|
4097
|
-
/**
|
|
4098
|
-
* The priority of the DMP queue during migration.
|
|
4099
|
-
*
|
|
4100
|
-
* Controls how the DMP (Downward Message Passing) queue is processed relative to other queues
|
|
4101
|
-
* during the migration process. This helps ensure timely processing of migration messages.
|
|
4102
|
-
* The default priority pattern is defined in the pallet configuration, but can be overridden
|
|
4103
|
-
* by a storage value of this type.
|
|
4104
|
-
*
|
|
4105
|
-
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
4106
|
-
**/
|
|
4107
|
-
dmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
4108
|
-
|
|
4109
|
-
/**
|
|
4110
|
-
* An optional account id of a manager.
|
|
4111
|
-
*
|
|
4112
|
-
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
4113
|
-
* can not set the manager account id via `set_manager` call.
|
|
4114
|
-
*
|
|
4115
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
4116
|
-
**/
|
|
4117
|
-
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
4118
|
-
|
|
4119
|
-
/**
|
|
4120
|
-
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
4121
|
-
*
|
|
4122
|
-
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
4123
|
-
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
4124
|
-
*
|
|
4125
|
-
* @param {Callback<number | undefined> =} callback
|
|
4126
|
-
**/
|
|
4127
|
-
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
4128
|
-
|
|
4129
|
-
/**
|
|
4130
|
-
* Block number when migration finished and extrinsics were unlocked.
|
|
4131
|
-
*
|
|
4132
|
-
* This is set when entering the `MigrationDone` stage hence when
|
|
4133
|
-
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
4134
|
-
*
|
|
4135
|
-
* @param {Callback<number | undefined> =} callback
|
|
4136
|
-
**/
|
|
4137
|
-
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
4138
|
-
|
|
4139
4141
|
/**
|
|
4140
4142
|
* Generic pallet storage query
|
|
4141
4143
|
**/
|
|
@@ -9,8 +9,8 @@ import type {
|
|
|
9
9
|
Result,
|
|
10
10
|
UncheckedExtrinsicLike,
|
|
11
11
|
UncheckedExtrinsic,
|
|
12
|
-
Bytes,
|
|
13
12
|
BytesLike,
|
|
13
|
+
Bytes,
|
|
14
14
|
AccountId32Like,
|
|
15
15
|
AccountId32,
|
|
16
16
|
U256,
|
|
@@ -29,6 +29,7 @@ import type {
|
|
|
29
29
|
SpInherentsCheckInherentsResult,
|
|
30
30
|
SpRuntimeTransactionValidityValidTransaction,
|
|
31
31
|
SpRuntimeTransactionValidityTransactionSource,
|
|
32
|
+
SpSessionRuntimeApiOpaqueGeneratedSessionKeys,
|
|
32
33
|
SpCoreCryptoKeyTypeId,
|
|
33
34
|
FrameSupportViewFunctionsViewFunctionDispatchError,
|
|
34
35
|
FrameSupportViewFunctionsViewFunctionId,
|
|
@@ -327,9 +328,12 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
327
328
|
* Returns the concatenated SCALE encoded public keys.
|
|
328
329
|
*
|
|
329
330
|
* @callname: SessionKeys_generate_session_keys
|
|
331
|
+
* @param {BytesLike} owner
|
|
330
332
|
* @param {BytesLike | undefined} seed
|
|
331
333
|
**/
|
|
332
|
-
generateSessionKeys: GenericRuntimeApiMethod<
|
|
334
|
+
generateSessionKeys: GenericRuntimeApiMethod<
|
|
335
|
+
(owner: BytesLike, seed?: BytesLike | undefined) => Promise<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>
|
|
336
|
+
>;
|
|
333
337
|
|
|
334
338
|
/**
|
|
335
339
|
* Decode the given public session keys.
|
|
@@ -852,6 +856,29 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
852
856
|
**/
|
|
853
857
|
[method: string]: GenericRuntimeApiMethod;
|
|
854
858
|
};
|
|
859
|
+
/**
|
|
860
|
+
* @runtimeapi: AssetHubMigrationApi - 0xc1b8f0c037f97de8
|
|
861
|
+
**/
|
|
862
|
+
assetHubMigrationApi: {
|
|
863
|
+
/**
|
|
864
|
+
* Returns the block number when the migration started.
|
|
865
|
+
*
|
|
866
|
+
* @callname: AssetHubMigrationApi_migration_start_block
|
|
867
|
+
**/
|
|
868
|
+
migrationStartBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Returns the block number when the migration ended.
|
|
872
|
+
*
|
|
873
|
+
* @callname: AssetHubMigrationApi_migration_end_block
|
|
874
|
+
**/
|
|
875
|
+
migrationEndBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Generic runtime api call
|
|
879
|
+
**/
|
|
880
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
881
|
+
};
|
|
855
882
|
/**
|
|
856
883
|
* @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
|
|
857
884
|
**/
|