@dedot/chaintypes 0.194.0 → 0.196.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 +15 -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 +15 -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 +15 -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 +16 -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 +15 -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 +16 -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 +15 -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 +15 -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 +16 -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 +17 -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 +16 -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 +16 -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 +15 -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 +16 -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 +15 -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 +16 -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 +16 -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 +15 -17
- package/westend/json-rpc.d.ts +3 -3
- 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 +16 -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 +15 -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
|
@@ -22057,6 +22057,13 @@ export type SpRuntimeTransactionValidityValidTransaction = {
|
|
|
22057
22057
|
propagate: boolean;
|
|
22058
22058
|
};
|
|
22059
22059
|
|
|
22060
|
+
export type FrameSupportViewFunctionsViewFunctionId = { prefix: FixedBytes<16>; suffix: FixedBytes<16> };
|
|
22061
|
+
|
|
22062
|
+
export type FrameSupportViewFunctionsViewFunctionDispatchError =
|
|
22063
|
+
| { type: 'NotImplemented' }
|
|
22064
|
+
| { type: 'NotFound'; value: FrameSupportViewFunctionsViewFunctionId }
|
|
22065
|
+
| { type: 'Codec' };
|
|
22066
|
+
|
|
22060
22067
|
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
22061
22068
|
weight: SpWeightsWeightV2Weight;
|
|
22062
22069
|
class: FrameSupportDispatchDispatchClass;
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { AccountId32Like } from 'dedot/codecs';
|
|
5
5
|
import type { AssetHubPaseoRuntimeRuntimeCallLike, AssetHubPaseoRuntimeProxyType } from './types.js';
|
|
6
6
|
|
|
7
|
-
export interface ChainViewFunctions
|
|
7
|
+
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
8
8
|
/**
|
|
9
9
|
* Pallet `Proxy`'s view functions
|
|
10
10
|
**/
|
|
@@ -16,7 +16,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
16
16
|
* @param {AssetHubPaseoRuntimeProxyType} proxyType
|
|
17
17
|
**/
|
|
18
18
|
checkPermissions: GenericViewFunction<
|
|
19
|
-
Rv,
|
|
20
19
|
(call: AssetHubPaseoRuntimeRuntimeCallLike, proxyType: AssetHubPaseoRuntimeProxyType) => Promise<boolean>
|
|
21
20
|
>;
|
|
22
21
|
|
|
@@ -27,14 +26,13 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
27
26
|
* @param {AssetHubPaseoRuntimeProxyType} against
|
|
28
27
|
**/
|
|
29
28
|
isSuperset: GenericViewFunction<
|
|
30
|
-
Rv,
|
|
31
29
|
(toCheck: AssetHubPaseoRuntimeProxyType, against: AssetHubPaseoRuntimeProxyType) => Promise<boolean>
|
|
32
30
|
>;
|
|
33
31
|
|
|
34
32
|
/**
|
|
35
33
|
* Generic pallet view function
|
|
36
34
|
**/
|
|
37
|
-
[name: string]: GenericViewFunction
|
|
35
|
+
[name: string]: GenericViewFunction;
|
|
38
36
|
};
|
|
39
37
|
/**
|
|
40
38
|
* Pallet `VoterList`'s view functions
|
|
@@ -51,12 +49,12 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
51
49
|
*
|
|
52
50
|
* @param {AccountId32Like} who
|
|
53
51
|
**/
|
|
54
|
-
scores: GenericViewFunction<
|
|
52
|
+
scores: GenericViewFunction<(who: AccountId32Like) => Promise<[bigint | undefined, bigint | undefined]>>;
|
|
55
53
|
|
|
56
54
|
/**
|
|
57
55
|
* Generic pallet view function
|
|
58
56
|
**/
|
|
59
|
-
[name: string]: GenericViewFunction
|
|
57
|
+
[name: string]: GenericViewFunction;
|
|
60
58
|
};
|
|
61
59
|
/**
|
|
62
60
|
* Pallet `MultiBlockElectionSigned`'s view functions
|
|
@@ -72,11 +70,11 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
72
70
|
* @param {AccountId32Like} who
|
|
73
71
|
* @param {number} pages
|
|
74
72
|
**/
|
|
75
|
-
depositFor: GenericViewFunction<
|
|
73
|
+
depositFor: GenericViewFunction<(who: AccountId32Like, pages: number) => Promise<bigint>>;
|
|
76
74
|
|
|
77
75
|
/**
|
|
78
76
|
* Generic pallet view function
|
|
79
77
|
**/
|
|
80
|
-
[name: string]: GenericViewFunction
|
|
78
|
+
[name: string]: GenericViewFunction;
|
|
81
79
|
};
|
|
82
80
|
}
|
|
@@ -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, Permill, AccountId32, FixedBytes, Perbill, FixedU128, H160, Percent } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
StagingXcmV4Location,
|
|
17
17
|
} from './types.js';
|
|
18
18
|
|
|
19
|
-
export interface ChainConsts
|
|
19
|
+
export interface ChainConsts extends GenericChainConsts {
|
|
20
20
|
/**
|
|
21
21
|
* Pallet `System`'s constants
|
|
22
22
|
**/
|
|
@@ -768,7 +768,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
768
768
|
**/
|
|
769
769
|
duster: {
|
|
770
770
|
/**
|
|
771
|
-
* Duster for accounts with AToken dusts
|
|
772
771
|
* Treasury account, which receives the dust.
|
|
773
772
|
**/
|
|
774
773
|
treasuryAccountId: AccountId32;
|
|
@@ -1773,6 +1772,17 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1773
1772
|
**/
|
|
1774
1773
|
[name: string]: any;
|
|
1775
1774
|
};
|
|
1775
|
+
/**
|
|
1776
|
+
* Pallet `IsmpOracle`'s constants
|
|
1777
|
+
**/
|
|
1778
|
+
ismpOracle: {
|
|
1779
|
+
requestsTimeout: bigint;
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* Generic pallet constant
|
|
1783
|
+
**/
|
|
1784
|
+
[name: string]: any;
|
|
1785
|
+
};
|
|
1776
1786
|
/**
|
|
1777
1787
|
* Pallet `EmaOracle`'s constants
|
|
1778
1788
|
**/
|