@dedot/chaintypes 0.266.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/package.json +2 -2
- 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
|
@@ -16,6 +16,7 @@ import type {
|
|
|
16
16
|
Perbill,
|
|
17
17
|
Percent,
|
|
18
18
|
H160,
|
|
19
|
+
U256,
|
|
19
20
|
} from 'dedot/codecs';
|
|
20
21
|
import type {
|
|
21
22
|
FrameSystemAccountInfo,
|
|
@@ -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
|
PalletPreimageOldRequestStatus,
|
|
40
43
|
PalletPreimageRequestStatus,
|
|
41
44
|
PalletSchedulerScheduled,
|
|
@@ -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,
|
|
@@ -74,7 +77,7 @@ import type {
|
|
|
74
77
|
PalletMessageQueuePage,
|
|
75
78
|
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
76
79
|
PalletMultisigMultisig,
|
|
77
|
-
|
|
80
|
+
PalletProxyProxyDefinition,
|
|
78
81
|
PalletProxyAnnouncement,
|
|
79
82
|
PalletAssetsAssetDetails,
|
|
80
83
|
PalletAssetsAssetAccount,
|
|
@@ -100,7 +103,7 @@ import type {
|
|
|
100
103
|
PalletTreasuryProposal,
|
|
101
104
|
PalletTreasurySpendStatus,
|
|
102
105
|
PalletConvictionVotingVoteVoting,
|
|
103
|
-
|
|
106
|
+
PalletReferendaReferendumInfo,
|
|
104
107
|
PalletBountiesBounty,
|
|
105
108
|
PalletChildBountiesChildBounty,
|
|
106
109
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
@@ -148,10 +151,6 @@ import type {
|
|
|
148
151
|
PalletReviveEvmBlockHashReceiptGasInfo,
|
|
149
152
|
PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR,
|
|
150
153
|
PalletReviveDebugDebugSettings,
|
|
151
|
-
PalletRcMigratorAccountsAccount,
|
|
152
|
-
PalletAhMigratorMigrationStage,
|
|
153
|
-
PalletAhMigratorBalancesBefore,
|
|
154
|
-
PalletRcMigratorQueuePriority,
|
|
155
154
|
} from './types.js';
|
|
156
155
|
|
|
157
156
|
export interface ChainStorage extends GenericChainStorage {
|
|
@@ -189,11 +188,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
189
188
|
blockWeight: GenericStorageQuery<() => FrameSupportDispatchPerDispatchClass>;
|
|
190
189
|
|
|
191
190
|
/**
|
|
192
|
-
* Total
|
|
191
|
+
* Total size (in bytes) of the current block.
|
|
192
|
+
*
|
|
193
|
+
* Tracks the size of the header and all extrinsics.
|
|
193
194
|
*
|
|
194
195
|
* @param {Callback<number | undefined> =} callback
|
|
195
196
|
**/
|
|
196
|
-
|
|
197
|
+
blockSize: GenericStorageQuery<() => number | undefined>;
|
|
197
198
|
|
|
198
199
|
/**
|
|
199
200
|
* Map of block numbers to block hashes.
|
|
@@ -276,6 +277,13 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
276
277
|
**/
|
|
277
278
|
lastRuntimeUpgrade: GenericStorageQuery<() => FrameSystemLastRuntimeUpgradeInfo | undefined>;
|
|
278
279
|
|
|
280
|
+
/**
|
|
281
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
282
|
+
*
|
|
283
|
+
* @param {Callback<number | undefined> =} callback
|
|
284
|
+
**/
|
|
285
|
+
blocksTillUpgrade: GenericStorageQuery<() => number | undefined>;
|
|
286
|
+
|
|
279
287
|
/**
|
|
280
288
|
* True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.
|
|
281
289
|
*
|
|
@@ -327,6 +335,27 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
327
335
|
* Pallet `ParachainSystem`'s storage queries
|
|
328
336
|
**/
|
|
329
337
|
parachainSystem: {
|
|
338
|
+
/**
|
|
339
|
+
* The current block weight mode.
|
|
340
|
+
*
|
|
341
|
+
* This is used to determine what is the maximum allowed block weight, for more information see
|
|
342
|
+
* [`block_weight`].
|
|
343
|
+
*
|
|
344
|
+
* Killed in [`Self::on_initialize`] and set by the [`block_weight`] logic.
|
|
345
|
+
*
|
|
346
|
+
* @param {Callback<CumulusPalletParachainSystemBlockWeightBlockWeightMode | undefined> =} callback
|
|
347
|
+
**/
|
|
348
|
+
blockWeightMode: GenericStorageQuery<() => CumulusPalletParachainSystemBlockWeightBlockWeightMode | undefined>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The core count available to the parachain in the previous block.
|
|
352
|
+
*
|
|
353
|
+
* This is mainly used for offchain functionality to calculate the correct target block weight.
|
|
354
|
+
*
|
|
355
|
+
* @param {Callback<number | undefined> =} callback
|
|
356
|
+
**/
|
|
357
|
+
previousCoreCount: GenericStorageQuery<() => number | undefined>;
|
|
358
|
+
|
|
330
359
|
/**
|
|
331
360
|
* Latest included block descendants the runtime accepted. In other words, these are
|
|
332
361
|
* ancestors of the currently executing block which have not been included in the observed
|
|
@@ -355,8 +384,8 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
355
384
|
* applied.
|
|
356
385
|
*
|
|
357
386
|
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the
|
|
358
|
-
* [`:
|
|
359
|
-
* with the new validation code. This concludes the upgrade process.
|
|
387
|
+
* [`:pending_code`][sp_core::storage::well_known_keys::PENDING_CODE] which will result the
|
|
388
|
+
* next block to be processed with the new validation code. This concludes the upgrade process.
|
|
360
389
|
*
|
|
361
390
|
* @param {Callback<Bytes> =} callback
|
|
362
391
|
**/
|
|
@@ -595,6 +624,15 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
595
624
|
**/
|
|
596
625
|
customValidationHeadData: GenericStorageQuery<() => Bytes | undefined>;
|
|
597
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Tracks cumulative `UMP` and `HRMP` messages sent across blocks in the current `PoV`.
|
|
629
|
+
*
|
|
630
|
+
* Across different candidates/PoVs the budgets are tracked by [`AggregatedUnincludedSegment`].
|
|
631
|
+
*
|
|
632
|
+
* @param {Callback<CumulusPalletParachainSystemPoVMessages | undefined> =} callback
|
|
633
|
+
**/
|
|
634
|
+
poVMessagesTracker: GenericStorageQuery<() => CumulusPalletParachainSystemPoVMessages | undefined>;
|
|
635
|
+
|
|
598
636
|
/**
|
|
599
637
|
* Generic pallet storage query
|
|
600
638
|
**/
|
|
@@ -841,12 +879,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
841
879
|
* Holds on account balances.
|
|
842
880
|
*
|
|
843
881
|
* @param {AccountId32Like} arg
|
|
844
|
-
* @param {Callback<Array<
|
|
882
|
+
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
845
883
|
**/
|
|
846
|
-
holds: GenericStorageQuery<
|
|
847
|
-
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
848
|
-
AccountId32
|
|
849
|
-
>;
|
|
884
|
+
holds: GenericStorageQuery<(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
850
885
|
|
|
851
886
|
/**
|
|
852
887
|
* Freeze locks on account balances.
|
|
@@ -1526,12 +1561,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1526
1561
|
* which are being delegated to, together with the amount held on deposit.
|
|
1527
1562
|
*
|
|
1528
1563
|
* @param {AccountId32Like} arg
|
|
1529
|
-
* @param {Callback<[Array<
|
|
1564
|
+
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1530
1565
|
**/
|
|
1531
|
-
proxies: GenericStorageQuery<
|
|
1532
|
-
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinitionProxyType>, bigint],
|
|
1533
|
-
AccountId32
|
|
1534
|
-
>;
|
|
1566
|
+
proxies: GenericStorageQuery<(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint], AccountId32>;
|
|
1535
1567
|
|
|
1536
1568
|
/**
|
|
1537
1569
|
* The announcements made by the proxy (key).
|
|
@@ -2181,12 +2213,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2181
2213
|
* Information concerning any given referendum.
|
|
2182
2214
|
*
|
|
2183
2215
|
* @param {number} arg
|
|
2184
|
-
* @param {Callback<
|
|
2216
|
+
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
2185
2217
|
**/
|
|
2186
|
-
referendumInfoFor: GenericStorageQuery<
|
|
2187
|
-
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
2188
|
-
number
|
|
2189
|
-
>;
|
|
2218
|
+
referendumInfoFor: GenericStorageQuery<(arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
2190
2219
|
|
|
2191
2220
|
/**
|
|
2192
2221
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -3098,15 +3127,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3098
3127
|
**/
|
|
3099
3128
|
validatorCount: GenericStorageQuery<() => number>;
|
|
3100
3129
|
|
|
3101
|
-
/**
|
|
3102
|
-
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
|
|
3103
|
-
* easy to initialize and the performance hit is minimal (we expect no more than four
|
|
3104
|
-
* invulnerables) and restricted to testnets.
|
|
3105
|
-
*
|
|
3106
|
-
* @param {Callback<Array<AccountId32>> =} callback
|
|
3107
|
-
**/
|
|
3108
|
-
invulnerables: GenericStorageQuery<() => Array<AccountId32>>;
|
|
3109
|
-
|
|
3110
3130
|
/**
|
|
3111
3131
|
* Map from all locked "stash" accounts to the controller account.
|
|
3112
3132
|
*
|
|
@@ -3741,6 +3761,65 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3741
3761
|
**/
|
|
3742
3762
|
[storage: string]: GenericStorageQuery;
|
|
3743
3763
|
};
|
|
3764
|
+
/**
|
|
3765
|
+
* Pallet `AssetsPrecompiles`'s storage queries
|
|
3766
|
+
**/
|
|
3767
|
+
assetsPrecompiles: {
|
|
3768
|
+
/**
|
|
3769
|
+
* The next available asset index for foreign assets.
|
|
3770
|
+
* This is incremented each time a new foreign asset mapping is created.
|
|
3771
|
+
*
|
|
3772
|
+
* @param {Callback<number> =} callback
|
|
3773
|
+
**/
|
|
3774
|
+
nextAssetIndex: GenericStorageQuery<() => number>;
|
|
3775
|
+
|
|
3776
|
+
/**
|
|
3777
|
+
* Mapping an asset index (derived from the precompile address) to a `ForeignAssetId`.
|
|
3778
|
+
*
|
|
3779
|
+
* @param {number} arg
|
|
3780
|
+
* @param {Callback<StagingXcmV5Location | undefined> =} callback
|
|
3781
|
+
**/
|
|
3782
|
+
assetIndexToForeignAssetId: GenericStorageQuery<(arg: number) => StagingXcmV5Location | undefined, number>;
|
|
3783
|
+
|
|
3784
|
+
/**
|
|
3785
|
+
* Mapping a `ForeignAssetId` to an asset index (used for deriving precompile addresses).
|
|
3786
|
+
*
|
|
3787
|
+
* @param {StagingXcmV5Location} arg
|
|
3788
|
+
* @param {Callback<number | undefined> =} callback
|
|
3789
|
+
**/
|
|
3790
|
+
foreignAssetIdToAssetIndex: GenericStorageQuery<
|
|
3791
|
+
(arg: StagingXcmV5Location) => number | undefined,
|
|
3792
|
+
StagingXcmV5Location
|
|
3793
|
+
>;
|
|
3794
|
+
|
|
3795
|
+
/**
|
|
3796
|
+
* Generic pallet storage query
|
|
3797
|
+
**/
|
|
3798
|
+
[storage: string]: GenericStorageQuery;
|
|
3799
|
+
};
|
|
3800
|
+
/**
|
|
3801
|
+
* Pallet `AssetsPrecompilesPermit`'s storage queries
|
|
3802
|
+
**/
|
|
3803
|
+
assetsPrecompilesPermit: {
|
|
3804
|
+
/**
|
|
3805
|
+
* Nonces for permit signatures.
|
|
3806
|
+
* Mapping: (verifying_contract, owner_address) => nonce
|
|
3807
|
+
*
|
|
3808
|
+
* Uses Blake2_128Concat for the first key to prevent storage collision attacks
|
|
3809
|
+
* when the verifying_contract address could be influenced by an attacker.
|
|
3810
|
+
*
|
|
3811
|
+
* Note: EIP-2612 specifies uint256 nonce. We store as U256 for compatibility.
|
|
3812
|
+
*
|
|
3813
|
+
* @param {[H160, H160]} arg
|
|
3814
|
+
* @param {Callback<U256> =} callback
|
|
3815
|
+
**/
|
|
3816
|
+
nonces: GenericStorageQuery<(arg: [H160, H160]) => U256, [H160, H160]>;
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* Generic pallet storage query
|
|
3820
|
+
**/
|
|
3821
|
+
[storage: string]: GenericStorageQuery;
|
|
3822
|
+
};
|
|
3744
3823
|
/**
|
|
3745
3824
|
* Pallet `AhOps`'s storage queries
|
|
3746
3825
|
**/
|
|
@@ -3810,83 +3889,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3810
3889
|
[number, PolkadotParachainPrimitivesPrimitivesId, AccountId32]
|
|
3811
3890
|
>;
|
|
3812
3891
|
|
|
3813
|
-
/**
|
|
3814
|
-
* Generic pallet storage query
|
|
3815
|
-
**/
|
|
3816
|
-
[storage: string]: GenericStorageQuery;
|
|
3817
|
-
};
|
|
3818
|
-
/**
|
|
3819
|
-
* Pallet `AhMigrator`'s storage queries
|
|
3820
|
-
**/
|
|
3821
|
-
ahMigrator: {
|
|
3822
|
-
/**
|
|
3823
|
-
* RC accounts that failed to migrate when were received on the Asset Hub.
|
|
3824
|
-
*
|
|
3825
|
-
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
|
3826
|
-
*
|
|
3827
|
-
* @param {AccountId32Like} arg
|
|
3828
|
-
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
3829
|
-
**/
|
|
3830
|
-
rcAccounts: GenericStorageQuery<(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined, AccountId32>;
|
|
3831
|
-
|
|
3832
|
-
/**
|
|
3833
|
-
* The Asset Hub migration state.
|
|
3834
|
-
*
|
|
3835
|
-
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
3836
|
-
**/
|
|
3837
|
-
ahMigrationStage: GenericStorageQuery<() => PalletAhMigratorMigrationStage>;
|
|
3838
|
-
|
|
3839
|
-
/**
|
|
3840
|
-
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
3841
|
-
* of the migration. Since teleports are disabled during migration, the total issuance will not
|
|
3842
|
-
* change for other reason than the migration itself.
|
|
3843
|
-
*
|
|
3844
|
-
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
3845
|
-
**/
|
|
3846
|
-
ahBalancesBefore: GenericStorageQuery<() => PalletAhMigratorBalancesBefore>;
|
|
3847
|
-
|
|
3848
|
-
/**
|
|
3849
|
-
* The priority of the DMP queue during migration.
|
|
3850
|
-
*
|
|
3851
|
-
* Controls how the DMP (Downward Message Passing) queue is processed relative to other queues
|
|
3852
|
-
* during the migration process. This helps ensure timely processing of migration messages.
|
|
3853
|
-
* The default priority pattern is defined in the pallet configuration, but can be overridden
|
|
3854
|
-
* by a storage value of this type.
|
|
3855
|
-
*
|
|
3856
|
-
* @param {Callback<PalletRcMigratorQueuePriority> =} callback
|
|
3857
|
-
**/
|
|
3858
|
-
dmpQueuePriorityConfig: GenericStorageQuery<() => PalletRcMigratorQueuePriority>;
|
|
3859
|
-
|
|
3860
|
-
/**
|
|
3861
|
-
* An optional account id of a manager.
|
|
3862
|
-
*
|
|
3863
|
-
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
|
3864
|
-
* can not set the manager account id via `set_manager` call.
|
|
3865
|
-
*
|
|
3866
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3867
|
-
**/
|
|
3868
|
-
manager: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3869
|
-
|
|
3870
|
-
/**
|
|
3871
|
-
* The block number at which the migration began and the pallet's extrinsics were locked.
|
|
3872
|
-
*
|
|
3873
|
-
* This value is set when entering the `WaitingForAh` stage, i.e., when
|
|
3874
|
-
* `RcMigrationStage::is_ongoing()` becomes `true`.
|
|
3875
|
-
*
|
|
3876
|
-
* @param {Callback<number | undefined> =} callback
|
|
3877
|
-
**/
|
|
3878
|
-
migrationStartBlock: GenericStorageQuery<() => number | undefined>;
|
|
3879
|
-
|
|
3880
|
-
/**
|
|
3881
|
-
* Block number when migration finished and extrinsics were unlocked.
|
|
3882
|
-
*
|
|
3883
|
-
* This is set when entering the `MigrationDone` stage hence when
|
|
3884
|
-
* `RcMigrationStage::is_finished()` becomes `true`.
|
|
3885
|
-
*
|
|
3886
|
-
* @param {Callback<number | undefined> =} callback
|
|
3887
|
-
**/
|
|
3888
|
-
migrationEndBlock: GenericStorageQuery<() => number | undefined>;
|
|
3889
|
-
|
|
3890
3892
|
/**
|
|
3891
3893
|
* Generic pallet storage query
|
|
3892
3894
|
**/
|
|
@@ -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.
|
|
@@ -793,6 +797,29 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
793
797
|
**/
|
|
794
798
|
[method: string]: GenericRuntimeApiMethod;
|
|
795
799
|
};
|
|
800
|
+
/**
|
|
801
|
+
* @runtimeapi: AssetHubMigrationApi - 0xc1b8f0c037f97de8
|
|
802
|
+
**/
|
|
803
|
+
assetHubMigrationApi: {
|
|
804
|
+
/**
|
|
805
|
+
* Returns the block number when the migration started.
|
|
806
|
+
*
|
|
807
|
+
* @callname: AssetHubMigrationApi_migration_start_block
|
|
808
|
+
**/
|
|
809
|
+
migrationStartBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Returns the block number when the migration ended.
|
|
813
|
+
*
|
|
814
|
+
* @callname: AssetHubMigrationApi_migration_end_block
|
|
815
|
+
**/
|
|
816
|
+
migrationEndBlock: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Generic runtime api call
|
|
820
|
+
**/
|
|
821
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
822
|
+
};
|
|
796
823
|
/**
|
|
797
824
|
* @runtimeapi: AssetConversionApi - 0x8a8047a53a8277ec
|
|
798
825
|
**/
|