@dedot/chaintypes 0.193.0 → 0.195.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/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -4
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainViewFunctions, GenericViewFunction
|
|
3
|
+
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
4
|
import type { Result, AccountId32Like } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
AssetHubWestendRuntimeRuntimeCallLike,
|
|
@@ -9,7 +9,7 @@ import type {
|
|
|
9
9
|
PalletAssetConversionError,
|
|
10
10
|
} from './types.js';
|
|
11
11
|
|
|
12
|
-
export interface ChainViewFunctions
|
|
12
|
+
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
13
13
|
/**
|
|
14
14
|
* Pallet `Proxy`'s view functions
|
|
15
15
|
**/
|
|
@@ -21,7 +21,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
21
21
|
* @param {AssetHubWestendRuntimeProxyType} proxyType
|
|
22
22
|
**/
|
|
23
23
|
checkPermissions: GenericViewFunction<
|
|
24
|
-
Rv,
|
|
25
24
|
(call: AssetHubWestendRuntimeRuntimeCallLike, proxyType: AssetHubWestendRuntimeProxyType) => Promise<boolean>
|
|
26
25
|
>;
|
|
27
26
|
|
|
@@ -32,14 +31,13 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
32
31
|
* @param {AssetHubWestendRuntimeProxyType} against
|
|
33
32
|
**/
|
|
34
33
|
isSuperset: GenericViewFunction<
|
|
35
|
-
Rv,
|
|
36
34
|
(toCheck: AssetHubWestendRuntimeProxyType, against: AssetHubWestendRuntimeProxyType) => Promise<boolean>
|
|
37
35
|
>;
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* Generic pallet view function
|
|
41
39
|
**/
|
|
42
|
-
[name: string]: GenericViewFunction
|
|
40
|
+
[name: string]: GenericViewFunction;
|
|
43
41
|
};
|
|
44
42
|
/**
|
|
45
43
|
* Pallet `AssetConversion`'s view functions
|
|
@@ -53,7 +51,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
53
51
|
* @param {StagingXcmV5Location} asset2
|
|
54
52
|
**/
|
|
55
53
|
getReserves: GenericViewFunction<
|
|
56
|
-
Rv,
|
|
57
54
|
(
|
|
58
55
|
asset1: StagingXcmV5Location,
|
|
59
56
|
asset2: StagingXcmV5Location,
|
|
@@ -75,7 +72,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
75
72
|
* @param {boolean} includeFee
|
|
76
73
|
**/
|
|
77
74
|
quotePriceExactTokensForTokens: GenericViewFunction<
|
|
78
|
-
Rv,
|
|
79
75
|
(
|
|
80
76
|
asset1: StagingXcmV5Location,
|
|
81
77
|
asset2: StagingXcmV5Location,
|
|
@@ -99,7 +95,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
99
95
|
* @param {boolean} includeFee
|
|
100
96
|
**/
|
|
101
97
|
quotePriceTokensForExactTokens: GenericViewFunction<
|
|
102
|
-
Rv,
|
|
103
98
|
(
|
|
104
99
|
asset1: StagingXcmV5Location,
|
|
105
100
|
asset2: StagingXcmV5Location,
|
|
@@ -111,7 +106,7 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
111
106
|
/**
|
|
112
107
|
* Generic pallet view function
|
|
113
108
|
**/
|
|
114
|
-
[name: string]: GenericViewFunction
|
|
109
|
+
[name: string]: GenericViewFunction;
|
|
115
110
|
};
|
|
116
111
|
/**
|
|
117
112
|
* Pallet `VoterList`'s view functions
|
|
@@ -128,12 +123,12 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
128
123
|
*
|
|
129
124
|
* @param {AccountId32Like} who
|
|
130
125
|
**/
|
|
131
|
-
scores: GenericViewFunction<
|
|
126
|
+
scores: GenericViewFunction<(who: AccountId32Like) => Promise<[bigint | undefined, bigint | undefined]>>;
|
|
132
127
|
|
|
133
128
|
/**
|
|
134
129
|
* Generic pallet view function
|
|
135
130
|
**/
|
|
136
|
-
[name: string]: GenericViewFunction
|
|
131
|
+
[name: string]: GenericViewFunction;
|
|
137
132
|
};
|
|
138
133
|
/**
|
|
139
134
|
* Pallet `MultiBlockElectionSigned`'s view functions
|
|
@@ -149,11 +144,11 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
149
144
|
* @param {AccountId32Like} who
|
|
150
145
|
* @param {number} pages
|
|
151
146
|
**/
|
|
152
|
-
depositFor: GenericViewFunction<
|
|
147
|
+
depositFor: GenericViewFunction<(who: AccountId32Like, pages: number) => Promise<bigint>>;
|
|
153
148
|
|
|
154
149
|
/**
|
|
155
150
|
* Generic pallet view function
|
|
156
151
|
**/
|
|
157
|
-
[name: string]: GenericViewFunction
|
|
152
|
+
[name: string]: GenericViewFunction;
|
|
158
153
|
};
|
|
159
154
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericChainConsts
|
|
3
|
+
import type { GenericChainConsts } from 'dedot/types';
|
|
4
4
|
import type { RuntimeVersion, AccountId32 } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
SpWeightsWeightV2Weight,
|
|
13
13
|
} from './types.js';
|
|
14
14
|
|
|
15
|
-
export interface ChainConsts
|
|
15
|
+
export interface ChainConsts extends GenericChainConsts {
|
|
16
16
|
/**
|
|
17
17
|
* Pallet `System`'s constants
|
|
18
18
|
**/
|