@dedot/chaintypes 0.134.0 → 0.136.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/astar/consts.d.ts +63 -0
- package/astar/errors.d.ts +74 -0
- package/astar/events.d.ts +73 -0
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +48 -0
- package/astar/tx.d.ts +316 -0
- package/astar/types.d.ts +371 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-people/consts.d.ts +38 -1
- package/kusama-people/errors.d.ts +18 -12
- package/kusama-people/events.d.ts +110 -2
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +36 -6
- package/kusama-people/runtime.d.ts +1 -1
- package/kusama-people/tx.d.ts +204 -0
- package/kusama-people/types.d.ts +315 -24
- package/moonbeam/consts.d.ts +125 -0
- package/moonbeam/errors.d.ts +219 -50
- package/moonbeam/events.d.ts +331 -0
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +267 -17
- package/moonbeam/runtime.d.ts +117 -1
- package/moonbeam/tx.d.ts +564 -88
- package/moonbeam/types.d.ts +1376 -239
- package/package.json +2 -2
package/moonbeam/query.d.ts
CHANGED
|
@@ -65,7 +65,6 @@ import type {
|
|
|
65
65
|
PalletIdentityUsernameInformation,
|
|
66
66
|
PalletIdentityProvider,
|
|
67
67
|
PalletMultisigMultisig,
|
|
68
|
-
PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus,
|
|
69
68
|
MoonbeamRuntimeRuntimeParamsRuntimeParametersValue,
|
|
70
69
|
MoonbeamRuntimeRuntimeParamsRuntimeParametersKey,
|
|
71
70
|
PalletEvmCodeMetadata,
|
|
@@ -110,6 +109,20 @@ import type {
|
|
|
110
109
|
PalletRandomnessRequestState,
|
|
111
110
|
PalletRandomnessRandomnessResult,
|
|
112
111
|
PalletRandomnessRequestType,
|
|
112
|
+
BpRuntimeHeaderId,
|
|
113
|
+
BpHeaderChainStoredHeaderData,
|
|
114
|
+
PalletBridgeGrandpaStorageTypesStoredAuthoritySet,
|
|
115
|
+
BpRuntimeBasicOperatingMode,
|
|
116
|
+
BpParachainsParaInfo,
|
|
117
|
+
BpPolkadotCoreParachainsParaId,
|
|
118
|
+
BpParachainsParaStoredHeaderData,
|
|
119
|
+
BpMessagesMessagesOperatingMode,
|
|
120
|
+
BpMessagesInboundLaneData,
|
|
121
|
+
BpMessagesLaneHashedLaneId,
|
|
122
|
+
BpMessagesOutboundLaneData,
|
|
123
|
+
BpMessagesMessageKey,
|
|
124
|
+
BpXcmBridgeHubBridge,
|
|
125
|
+
BpXcmBridgeHubBridgeId,
|
|
113
126
|
} from './types.js';
|
|
114
127
|
|
|
115
128
|
export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
|
|
@@ -1269,22 +1282,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1269
1282
|
* Pallet `MoonbeamLazyMigrations`'s storage queries
|
|
1270
1283
|
**/
|
|
1271
1284
|
moonbeamLazyMigrations: {
|
|
1272
|
-
/**
|
|
1273
|
-
*
|
|
1274
|
-
* @param {Callback<PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus> =} callback
|
|
1275
|
-
**/
|
|
1276
|
-
foreignAssetMigrationStatusValue: GenericStorageQuery<
|
|
1277
|
-
Rv,
|
|
1278
|
-
() => PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus
|
|
1279
|
-
>;
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
*
|
|
1283
|
-
* @param {bigint} arg
|
|
1284
|
-
* @param {Callback<[] | undefined> =} callback
|
|
1285
|
-
**/
|
|
1286
|
-
approvedForeignAssets: GenericStorageQuery<Rv, (arg: bigint) => [] | undefined, bigint>;
|
|
1287
|
-
|
|
1288
1285
|
/**
|
|
1289
1286
|
* Generic pallet storage query
|
|
1290
1287
|
**/
|
|
@@ -2533,6 +2530,259 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2533
2530
|
**/
|
|
2534
2531
|
previousLocalVrfOutput: GenericStorageQuery<Rv, () => H256>;
|
|
2535
2532
|
|
|
2533
|
+
/**
|
|
2534
|
+
* Generic pallet storage query
|
|
2535
|
+
**/
|
|
2536
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2537
|
+
};
|
|
2538
|
+
/**
|
|
2539
|
+
* Pallet `BridgeKusamaGrandpa`'s storage queries
|
|
2540
|
+
**/
|
|
2541
|
+
bridgeKusamaGrandpa: {
|
|
2542
|
+
/**
|
|
2543
|
+
* Number of free header submissions that we may yet accept in the current block.
|
|
2544
|
+
*
|
|
2545
|
+
* If the `FreeHeadersRemaining` hits zero, all following mandatory headers in the
|
|
2546
|
+
* current block are accepted with fee (`Pays::Yes` is returned).
|
|
2547
|
+
*
|
|
2548
|
+
* The `FreeHeadersRemaining` is an ephemeral value that is set to
|
|
2549
|
+
* `MaxFreeHeadersPerBlock` at each block initialization and is killed on block
|
|
2550
|
+
* finalization. So it never ends up in the storage trie.
|
|
2551
|
+
*
|
|
2552
|
+
* @param {Callback<number | undefined> =} callback
|
|
2553
|
+
**/
|
|
2554
|
+
freeHeadersRemaining: GenericStorageQuery<Rv, () => number | undefined>;
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Hash of the header used to bootstrap the pallet.
|
|
2558
|
+
*
|
|
2559
|
+
* @param {Callback<H256> =} callback
|
|
2560
|
+
**/
|
|
2561
|
+
initialHash: GenericStorageQuery<Rv, () => H256>;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Hash of the best finalized header.
|
|
2565
|
+
*
|
|
2566
|
+
* @param {Callback<BpRuntimeHeaderId | undefined> =} callback
|
|
2567
|
+
**/
|
|
2568
|
+
bestFinalized: GenericStorageQuery<Rv, () => BpRuntimeHeaderId | undefined>;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* A ring buffer of imported hashes. Ordered by the insertion time.
|
|
2572
|
+
*
|
|
2573
|
+
* @param {number} arg
|
|
2574
|
+
* @param {Callback<H256 | undefined> =} callback
|
|
2575
|
+
**/
|
|
2576
|
+
importedHashes: GenericStorageQuery<Rv, (arg: number) => H256 | undefined, number>;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Current ring buffer position.
|
|
2580
|
+
*
|
|
2581
|
+
* @param {Callback<number> =} callback
|
|
2582
|
+
**/
|
|
2583
|
+
importedHashesPointer: GenericStorageQuery<Rv, () => number>;
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* Relevant fields of imported headers.
|
|
2587
|
+
*
|
|
2588
|
+
* @param {H256} arg
|
|
2589
|
+
* @param {Callback<BpHeaderChainStoredHeaderData | undefined> =} callback
|
|
2590
|
+
**/
|
|
2591
|
+
importedHeaders: GenericStorageQuery<Rv, (arg: H256) => BpHeaderChainStoredHeaderData | undefined, H256>;
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* The current GRANDPA Authority set.
|
|
2595
|
+
*
|
|
2596
|
+
* @param {Callback<PalletBridgeGrandpaStorageTypesStoredAuthoritySet> =} callback
|
|
2597
|
+
**/
|
|
2598
|
+
currentAuthoritySet: GenericStorageQuery<Rv, () => PalletBridgeGrandpaStorageTypesStoredAuthoritySet>;
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* Optional pallet owner.
|
|
2602
|
+
*
|
|
2603
|
+
* Pallet owner has a right to halt all pallet operations and then resume it. If it is
|
|
2604
|
+
* `None`, then there are no direct ways to halt/resume pallet operations, but other
|
|
2605
|
+
* runtime methods may still be used to do that (i.e. democracy::referendum to update halt
|
|
2606
|
+
* flag directly or call the `set_operating_mode`).
|
|
2607
|
+
*
|
|
2608
|
+
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2609
|
+
**/
|
|
2610
|
+
palletOwner: GenericStorageQuery<Rv, () => AccountId20 | undefined>;
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* The current operating mode of the pallet.
|
|
2614
|
+
*
|
|
2615
|
+
* Depending on the mode either all, or no transactions will be allowed.
|
|
2616
|
+
*
|
|
2617
|
+
* @param {Callback<BpRuntimeBasicOperatingMode> =} callback
|
|
2618
|
+
**/
|
|
2619
|
+
palletOperatingMode: GenericStorageQuery<Rv, () => BpRuntimeBasicOperatingMode>;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Generic pallet storage query
|
|
2623
|
+
**/
|
|
2624
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2625
|
+
};
|
|
2626
|
+
/**
|
|
2627
|
+
* Pallet `BridgeKusamaParachains`'s storage queries
|
|
2628
|
+
**/
|
|
2629
|
+
bridgeKusamaParachains: {
|
|
2630
|
+
/**
|
|
2631
|
+
* Optional pallet owner.
|
|
2632
|
+
*
|
|
2633
|
+
* Pallet owner has a right to halt all pallet operations and then resume them. If it is
|
|
2634
|
+
* `None`, then there are no direct ways to halt/resume pallet operations, but other
|
|
2635
|
+
* runtime methods may still be used to do that (i.e. democracy::referendum to update halt
|
|
2636
|
+
* flag directly or call the `set_operating_mode`).
|
|
2637
|
+
*
|
|
2638
|
+
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2639
|
+
**/
|
|
2640
|
+
palletOwner: GenericStorageQuery<Rv, () => AccountId20 | undefined>;
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* The current operating mode of the pallet.
|
|
2644
|
+
*
|
|
2645
|
+
* Depending on the mode either all, or no transactions will be allowed.
|
|
2646
|
+
*
|
|
2647
|
+
* @param {Callback<BpRuntimeBasicOperatingMode> =} callback
|
|
2648
|
+
**/
|
|
2649
|
+
palletOperatingMode: GenericStorageQuery<Rv, () => BpRuntimeBasicOperatingMode>;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Parachains info.
|
|
2653
|
+
*
|
|
2654
|
+
* Contains the following info:
|
|
2655
|
+
* - best parachain head hash
|
|
2656
|
+
* - the head of the `ImportedParaHashes` ring buffer
|
|
2657
|
+
*
|
|
2658
|
+
* @param {BpPolkadotCoreParachainsParaId} arg
|
|
2659
|
+
* @param {Callback<BpParachainsParaInfo | undefined> =} callback
|
|
2660
|
+
**/
|
|
2661
|
+
parasInfo: GenericStorageQuery<
|
|
2662
|
+
Rv,
|
|
2663
|
+
(arg: BpPolkadotCoreParachainsParaId) => BpParachainsParaInfo | undefined,
|
|
2664
|
+
BpPolkadotCoreParachainsParaId
|
|
2665
|
+
>;
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* State roots of parachain heads which have been imported into the pallet.
|
|
2669
|
+
*
|
|
2670
|
+
* @param {[BpPolkadotCoreParachainsParaId, H256]} arg
|
|
2671
|
+
* @param {Callback<BpParachainsParaStoredHeaderData | undefined> =} callback
|
|
2672
|
+
**/
|
|
2673
|
+
importedParaHeads: GenericStorageQuery<
|
|
2674
|
+
Rv,
|
|
2675
|
+
(arg: [BpPolkadotCoreParachainsParaId, H256]) => BpParachainsParaStoredHeaderData | undefined,
|
|
2676
|
+
[BpPolkadotCoreParachainsParaId, H256]
|
|
2677
|
+
>;
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* A ring buffer of imported parachain head hashes. Ordered by the insertion time.
|
|
2681
|
+
*
|
|
2682
|
+
* @param {[BpPolkadotCoreParachainsParaId, number]} arg
|
|
2683
|
+
* @param {Callback<H256 | undefined> =} callback
|
|
2684
|
+
**/
|
|
2685
|
+
importedParaHashes: GenericStorageQuery<
|
|
2686
|
+
Rv,
|
|
2687
|
+
(arg: [BpPolkadotCoreParachainsParaId, number]) => H256 | undefined,
|
|
2688
|
+
[BpPolkadotCoreParachainsParaId, number]
|
|
2689
|
+
>;
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Generic pallet storage query
|
|
2693
|
+
**/
|
|
2694
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2695
|
+
};
|
|
2696
|
+
/**
|
|
2697
|
+
* Pallet `BridgeKusamaMessages`'s storage queries
|
|
2698
|
+
**/
|
|
2699
|
+
bridgeKusamaMessages: {
|
|
2700
|
+
/**
|
|
2701
|
+
* Optional pallet owner.
|
|
2702
|
+
*
|
|
2703
|
+
* Pallet owner has a right to halt all pallet operations and then resume it. If it is
|
|
2704
|
+
* `None`, then there are no direct ways to halt/resume pallet operations, but other
|
|
2705
|
+
* runtime methods may still be used to do that (i.e. democracy::referendum to update halt
|
|
2706
|
+
* flag directly or call the `set_operating_mode`).
|
|
2707
|
+
*
|
|
2708
|
+
* @param {Callback<AccountId20 | undefined> =} callback
|
|
2709
|
+
**/
|
|
2710
|
+
palletOwner: GenericStorageQuery<Rv, () => AccountId20 | undefined>;
|
|
2711
|
+
|
|
2712
|
+
/**
|
|
2713
|
+
* The current operating mode of the pallet.
|
|
2714
|
+
*
|
|
2715
|
+
* Depending on the mode either all, some, or no transactions will be allowed.
|
|
2716
|
+
*
|
|
2717
|
+
* @param {Callback<BpMessagesMessagesOperatingMode> =} callback
|
|
2718
|
+
**/
|
|
2719
|
+
palletOperatingMode: GenericStorageQuery<Rv, () => BpMessagesMessagesOperatingMode>;
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* Map of lane id => inbound lane data.
|
|
2723
|
+
*
|
|
2724
|
+
* @param {BpMessagesLaneHashedLaneId} arg
|
|
2725
|
+
* @param {Callback<BpMessagesInboundLaneData | undefined> =} callback
|
|
2726
|
+
**/
|
|
2727
|
+
inboundLanes: GenericStorageQuery<
|
|
2728
|
+
Rv,
|
|
2729
|
+
(arg: BpMessagesLaneHashedLaneId) => BpMessagesInboundLaneData | undefined,
|
|
2730
|
+
BpMessagesLaneHashedLaneId
|
|
2731
|
+
>;
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* Map of lane id => outbound lane data.
|
|
2735
|
+
*
|
|
2736
|
+
* @param {BpMessagesLaneHashedLaneId} arg
|
|
2737
|
+
* @param {Callback<BpMessagesOutboundLaneData | undefined> =} callback
|
|
2738
|
+
**/
|
|
2739
|
+
outboundLanes: GenericStorageQuery<
|
|
2740
|
+
Rv,
|
|
2741
|
+
(arg: BpMessagesLaneHashedLaneId) => BpMessagesOutboundLaneData | undefined,
|
|
2742
|
+
BpMessagesLaneHashedLaneId
|
|
2743
|
+
>;
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* All queued outbound messages.
|
|
2747
|
+
*
|
|
2748
|
+
* @param {BpMessagesMessageKey} arg
|
|
2749
|
+
* @param {Callback<Bytes | undefined> =} callback
|
|
2750
|
+
**/
|
|
2751
|
+
outboundMessages: GenericStorageQuery<Rv, (arg: BpMessagesMessageKey) => Bytes | undefined, BpMessagesMessageKey>;
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Generic pallet storage query
|
|
2755
|
+
**/
|
|
2756
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
2757
|
+
};
|
|
2758
|
+
/**
|
|
2759
|
+
* Pallet `BridgeXcmOverMoonriver`'s storage queries
|
|
2760
|
+
**/
|
|
2761
|
+
bridgeXcmOverMoonriver: {
|
|
2762
|
+
/**
|
|
2763
|
+
* All registered bridges.
|
|
2764
|
+
*
|
|
2765
|
+
* @param {BpXcmBridgeHubBridgeId} arg
|
|
2766
|
+
* @param {Callback<BpXcmBridgeHubBridge | undefined> =} callback
|
|
2767
|
+
**/
|
|
2768
|
+
bridges: GenericStorageQuery<
|
|
2769
|
+
Rv,
|
|
2770
|
+
(arg: BpXcmBridgeHubBridgeId) => BpXcmBridgeHubBridge | undefined,
|
|
2771
|
+
BpXcmBridgeHubBridgeId
|
|
2772
|
+
>;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* All registered `lane_id` and `bridge_id` mappings.
|
|
2776
|
+
*
|
|
2777
|
+
* @param {BpMessagesLaneHashedLaneId} arg
|
|
2778
|
+
* @param {Callback<BpXcmBridgeHubBridgeId | undefined> =} callback
|
|
2779
|
+
**/
|
|
2780
|
+
laneToBridge: GenericStorageQuery<
|
|
2781
|
+
Rv,
|
|
2782
|
+
(arg: BpMessagesLaneHashedLaneId) => BpXcmBridgeHubBridgeId | undefined,
|
|
2783
|
+
BpMessagesLaneHashedLaneId
|
|
2784
|
+
>;
|
|
2785
|
+
|
|
2536
2786
|
/**
|
|
2537
2787
|
* Generic pallet storage query
|
|
2538
2788
|
**/
|
package/moonbeam/runtime.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import type { GenericRuntimeApis, GenericRuntimeApiMethod, RpcVersion } from 'de
|
|
|
4
4
|
import type {
|
|
5
5
|
Result,
|
|
6
6
|
H256,
|
|
7
|
+
BytesLike,
|
|
7
8
|
RuntimeVersion,
|
|
8
9
|
Header,
|
|
9
10
|
DispatchError,
|
|
10
11
|
Bytes,
|
|
11
|
-
BytesLike,
|
|
12
12
|
AccountId20Like,
|
|
13
13
|
H160,
|
|
14
14
|
U256,
|
|
@@ -21,6 +21,11 @@ import type {
|
|
|
21
21
|
SpRuntimeTransactionValidityTransactionSource,
|
|
22
22
|
FpSelfContainedUncheckedExtrinsic,
|
|
23
23
|
SpConsensusSlotsSlot,
|
|
24
|
+
BpRuntimeHeaderId,
|
|
25
|
+
BpHeaderChainHeaderFinalityInfo,
|
|
26
|
+
BpMessagesOutboundMessageDetails,
|
|
27
|
+
BpMessagesLaneHashedLaneId,
|
|
28
|
+
BpMessagesInboundMessageDetails,
|
|
24
29
|
SpRuntimeBlock,
|
|
25
30
|
SpRuntimeExtrinsicInclusionMode,
|
|
26
31
|
SpCoreOpaqueMetadata,
|
|
@@ -118,6 +123,117 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
118
123
|
**/
|
|
119
124
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
120
125
|
};
|
|
126
|
+
/**
|
|
127
|
+
* @runtimeapi: KusamaFinalityApi - 0xdd5c5617e520964d
|
|
128
|
+
**/
|
|
129
|
+
kusamaFinalityApi: {
|
|
130
|
+
/**
|
|
131
|
+
* Returns number and hash of the best finalized header known to the bridge module.
|
|
132
|
+
*
|
|
133
|
+
* @callname: KusamaFinalityApi_best_finalized
|
|
134
|
+
**/
|
|
135
|
+
bestFinalized: GenericRuntimeApiMethod<Rv, () => Promise<BpRuntimeHeaderId | undefined>>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Returns free headers interval, if it is configured in the runtime.
|
|
139
|
+
* The caller expects that if his transaction improves best known header
|
|
140
|
+
* at least by the free_headers_interval`, it will be fee-free.
|
|
141
|
+
*
|
|
142
|
+
* See [`pallet_bridge_grandpa::Config::FreeHeadersInterval`] for details.
|
|
143
|
+
*
|
|
144
|
+
* @callname: KusamaFinalityApi_free_headers_interval
|
|
145
|
+
**/
|
|
146
|
+
freeHeadersInterval: GenericRuntimeApiMethod<Rv, () => Promise<number | undefined>>;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Returns the justifications accepted in the current block.
|
|
150
|
+
*
|
|
151
|
+
* @callname: KusamaFinalityApi_synced_headers_grandpa_info
|
|
152
|
+
**/
|
|
153
|
+
syncedHeadersGrandpaInfo: GenericRuntimeApiMethod<Rv, () => Promise<Array<BpHeaderChainHeaderFinalityInfo>>>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Generic runtime api call
|
|
157
|
+
**/
|
|
158
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @runtimeapi: MoonriverKusamaFinalityApi - 0x597206dd17637029
|
|
162
|
+
**/
|
|
163
|
+
moonriverKusamaFinalityApi: {
|
|
164
|
+
/**
|
|
165
|
+
* Returns number and hash of the best finalized header known to the bridge module.
|
|
166
|
+
*
|
|
167
|
+
* @callname: MoonriverKusamaFinalityApi_best_finalized
|
|
168
|
+
**/
|
|
169
|
+
bestFinalized: GenericRuntimeApiMethod<Rv, () => Promise<BpRuntimeHeaderId | undefined>>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Returns free headers interval, if it is configured in the runtime.
|
|
173
|
+
* The caller expects that if his transaction improves best known header
|
|
174
|
+
* at least by the free_headers_interval`, it will be fee-free.
|
|
175
|
+
*
|
|
176
|
+
* See [`pallet_bridge_grandpa::Config::FreeHeadersInterval`] for details.
|
|
177
|
+
*
|
|
178
|
+
* @callname: MoonriverKusamaFinalityApi_free_headers_interval
|
|
179
|
+
**/
|
|
180
|
+
freeHeadersInterval: GenericRuntimeApiMethod<Rv, () => Promise<number | undefined>>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Generic runtime api call
|
|
184
|
+
**/
|
|
185
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @runtimeapi: ToMoonriverKusamaOutboundLaneApi - 0xad8e997e04156ad4
|
|
189
|
+
**/
|
|
190
|
+
toMoonriverKusamaOutboundLaneApi: {
|
|
191
|
+
/**
|
|
192
|
+
* Returns dispatch weight, encoded payload size and delivery+dispatch fee of all
|
|
193
|
+
* messages in given inclusive range.
|
|
194
|
+
*
|
|
195
|
+
* If some (or all) messages are missing from the storage, they'll also will
|
|
196
|
+
* be missing from the resulting vector. The vector is ordered by the nonce.
|
|
197
|
+
*
|
|
198
|
+
* @callname: ToMoonriverKusamaOutboundLaneApi_message_details
|
|
199
|
+
* @param {BpMessagesLaneHashedLaneId} lane
|
|
200
|
+
* @param {bigint} begin
|
|
201
|
+
* @param {bigint} end
|
|
202
|
+
**/
|
|
203
|
+
messageDetails: GenericRuntimeApiMethod<
|
|
204
|
+
Rv,
|
|
205
|
+
(lane: BpMessagesLaneHashedLaneId, begin: bigint, end: bigint) => Promise<Array<BpMessagesOutboundMessageDetails>>
|
|
206
|
+
>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Generic runtime api call
|
|
210
|
+
**/
|
|
211
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @runtimeapi: FromMoonriverKusamaInboundLaneApi - 0xaceed5723e524773
|
|
215
|
+
**/
|
|
216
|
+
fromMoonriverKusamaInboundLaneApi: {
|
|
217
|
+
/**
|
|
218
|
+
* Return details of given inbound messages.
|
|
219
|
+
*
|
|
220
|
+
* @callname: FromMoonriverKusamaInboundLaneApi_message_details
|
|
221
|
+
* @param {BpMessagesLaneHashedLaneId} lane
|
|
222
|
+
* @param {Array<[BytesLike, BpMessagesOutboundMessageDetails]>} messages
|
|
223
|
+
**/
|
|
224
|
+
messageDetails: GenericRuntimeApiMethod<
|
|
225
|
+
Rv,
|
|
226
|
+
(
|
|
227
|
+
lane: BpMessagesLaneHashedLaneId,
|
|
228
|
+
messages: Array<[BytesLike, BpMessagesOutboundMessageDetails]>,
|
|
229
|
+
) => Promise<Array<BpMessagesInboundMessageDetails>>
|
|
230
|
+
>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Generic runtime api call
|
|
234
|
+
**/
|
|
235
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
236
|
+
};
|
|
121
237
|
/**
|
|
122
238
|
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
123
239
|
**/
|