@dedot/chaintypes 0.194.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 -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 +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
package/paseo/types.d.ts
CHANGED
|
@@ -16624,6 +16624,13 @@ export type SpConsensusBabeEpoch = {
|
|
|
16624
16624
|
|
|
16625
16625
|
export type SpConsensusBabeOpaqueKeyOwnershipProof = Bytes;
|
|
16626
16626
|
|
|
16627
|
+
export type FrameSupportViewFunctionsViewFunctionId = { prefix: FixedBytes<16>; suffix: FixedBytes<16> };
|
|
16628
|
+
|
|
16629
|
+
export type FrameSupportViewFunctionsViewFunctionDispatchError =
|
|
16630
|
+
| { type: 'NotImplemented' }
|
|
16631
|
+
| { type: 'NotFound'; value: FrameSupportViewFunctionsViewFunctionId }
|
|
16632
|
+
| { type: 'Codec' };
|
|
16633
|
+
|
|
16627
16634
|
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
16628
16635
|
weight: SpWeightsWeightV2Weight;
|
|
16629
16636
|
class: FrameSupportDispatchDispatchClass;
|
|
@@ -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 { AccountId32Like } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
PaseoRuntimeRuntimeCallLike,
|
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
9
9
|
} from './types.js';
|
|
10
10
|
|
|
11
|
-
export interface ChainViewFunctions
|
|
11
|
+
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
12
12
|
/**
|
|
13
13
|
* Pallet `Proxy`'s view functions
|
|
14
14
|
**/
|
|
@@ -20,7 +20,6 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
20
20
|
* @param {PaseoRuntimeConstantsProxyProxyType} proxyType
|
|
21
21
|
**/
|
|
22
22
|
checkPermissions: GenericViewFunction<
|
|
23
|
-
Rv,
|
|
24
23
|
(call: PaseoRuntimeRuntimeCallLike, proxyType: PaseoRuntimeConstantsProxyProxyType) => Promise<boolean>
|
|
25
24
|
>;
|
|
26
25
|
|
|
@@ -31,14 +30,13 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
31
30
|
* @param {PaseoRuntimeConstantsProxyProxyType} against
|
|
32
31
|
**/
|
|
33
32
|
isSuperset: GenericViewFunction<
|
|
34
|
-
Rv,
|
|
35
33
|
(toCheck: PaseoRuntimeConstantsProxyProxyType, against: PaseoRuntimeConstantsProxyProxyType) => Promise<boolean>
|
|
36
34
|
>;
|
|
37
35
|
|
|
38
36
|
/**
|
|
39
37
|
* Generic pallet view function
|
|
40
38
|
**/
|
|
41
|
-
[name: string]: GenericViewFunction
|
|
39
|
+
[name: string]: GenericViewFunction;
|
|
42
40
|
};
|
|
43
41
|
/**
|
|
44
42
|
* Pallet `VoterList`'s view functions
|
|
@@ -55,12 +53,12 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
55
53
|
*
|
|
56
54
|
* @param {AccountId32Like} who
|
|
57
55
|
**/
|
|
58
|
-
scores: GenericViewFunction<
|
|
56
|
+
scores: GenericViewFunction<(who: AccountId32Like) => Promise<[bigint | undefined, bigint | undefined]>>;
|
|
59
57
|
|
|
60
58
|
/**
|
|
61
59
|
* Generic pallet view function
|
|
62
60
|
**/
|
|
63
|
-
[name: string]: GenericViewFunction
|
|
61
|
+
[name: string]: GenericViewFunction;
|
|
64
62
|
};
|
|
65
63
|
/**
|
|
66
64
|
* Pallet `Paras`'s view functions
|
|
@@ -71,14 +69,11 @@ export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainV
|
|
|
71
69
|
*
|
|
72
70
|
* @param {PolkadotParachainPrimitivesPrimitivesId} para
|
|
73
71
|
**/
|
|
74
|
-
removeUpgradeCooldownCost: GenericViewFunction<
|
|
75
|
-
Rv,
|
|
76
|
-
(para: PolkadotParachainPrimitivesPrimitivesId) => Promise<bigint>
|
|
77
|
-
>;
|
|
72
|
+
removeUpgradeCooldownCost: GenericViewFunction<(para: PolkadotParachainPrimitivesPrimitivesId) => Promise<bigint>>;
|
|
78
73
|
|
|
79
74
|
/**
|
|
80
75
|
* Generic pallet view function
|
|
81
76
|
**/
|
|
82
|
-
[name: string]: GenericViewFunction
|
|
77
|
+
[name: string]: GenericViewFunction;
|
|
83
78
|
};
|
|
84
79
|
}
|
|
@@ -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, Bytes, AccountId32, Permill, Perbill } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
@@ -15,7 +15,7 @@ import type {
|
|
|
15
15
|
PalletReferendaTrackDetails,
|
|
16
16
|
} from './types.js';
|
|
17
17
|
|
|
18
|
-
export interface ChainConsts
|
|
18
|
+
export interface ChainConsts extends GenericChainConsts {
|
|
19
19
|
/**
|
|
20
20
|
* Pallet `System`'s constants
|
|
21
21
|
**/
|