@dedot/chaintypes 0.267.0 → 0.268.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/paseo-asset-hub/consts.d.ts +21 -31
- package/paseo-asset-hub/errors.d.ts +50 -105
- package/paseo-asset-hub/events.d.ts +93 -229
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-asset-hub/query.d.ts +114 -112
- package/paseo-asset-hub/runtime.d.ts +29 -2
- package/paseo-asset-hub/tx.d.ts +32 -647
- package/paseo-asset-hub/types.d.ts +575 -1377
- package/paseo-asset-hub/view-functions.d.ts +38 -2
- package/paseo-people/json-rpc.d.ts +1 -0
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
|
-
import type { AccountId32Like, Result } from 'dedot/codecs';
|
|
4
|
+
import type { Bytes, AccountId32Like, Result } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
|
+
PalletMigrationsMbmIsOngoing,
|
|
7
|
+
PalletMigrationsMbmProgress,
|
|
8
|
+
PalletMigrationsMbmStatus,
|
|
6
9
|
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
7
10
|
AssetHubPolkadotRuntimeProxyType,
|
|
8
11
|
PalletAssetsAssetDetails,
|
|
@@ -13,6 +16,40 @@ import type {
|
|
|
13
16
|
} from './types.js';
|
|
14
17
|
|
|
15
18
|
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
19
|
+
/**
|
|
20
|
+
* Pallet `MultiBlockMigrations`'s view functions
|
|
21
|
+
**/
|
|
22
|
+
multiBlockMigrations: {
|
|
23
|
+
/**
|
|
24
|
+
* Returns the ongoing status of migrations.
|
|
25
|
+
**/
|
|
26
|
+
ongoingStatus: GenericViewFunction<() => Promise<PalletMigrationsMbmIsOngoing>>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns progress information about the current migration, if any.
|
|
30
|
+
*
|
|
31
|
+
* This function provides detailed information about the current migration's progress,
|
|
32
|
+
* including the number of steps completed and the maximum allowed steps.
|
|
33
|
+
**/
|
|
34
|
+
progress: GenericViewFunction<() => Promise<PalletMigrationsMbmProgress | undefined>>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Returns the storage prefixes affected by the current migration.
|
|
38
|
+
*
|
|
39
|
+
* Can be empty if the migration does not know or there are no prefixes.
|
|
40
|
+
**/
|
|
41
|
+
affectedPrefixes: GenericViewFunction<() => Promise<Array<Bytes>>>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Returns the comprehensive status of multi-block migrations.
|
|
45
|
+
**/
|
|
46
|
+
status: GenericViewFunction<() => Promise<PalletMigrationsMbmStatus>>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generic pallet view function
|
|
50
|
+
**/
|
|
51
|
+
[name: string]: GenericViewFunction;
|
|
52
|
+
};
|
|
16
53
|
/**
|
|
17
54
|
* Pallet `Proxy`'s view functions
|
|
18
55
|
**/
|
|
@@ -237,7 +274,6 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
|
237
274
|
* Returns `(current, real_score)`, the former being the current score that this pallet is
|
|
238
275
|
* aware of, which may or may not be up to date, and the latter being the real score, as
|
|
239
276
|
* provided by
|
|
240
|
-
*
|
|
241
277
|
* If the two differ, it means this node is eligible for [`Call::rebag`].
|
|
242
278
|
*
|
|
243
279
|
* @param {AccountId32Like} who
|