@dedot/chaintypes 0.233.0 → 0.234.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/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
|
@@ -19,7 +19,7 @@ import type {
|
|
|
19
19
|
} from 'dedot/codecs';
|
|
20
20
|
import type {
|
|
21
21
|
SpConsensusSlotsSlotDuration,
|
|
22
|
-
|
|
22
|
+
SpConsensusAuraEd25519AppEd25519Public,
|
|
23
23
|
SpConsensusSlotsSlot,
|
|
24
24
|
SpRuntimeBlock,
|
|
25
25
|
SpRuntimeExtrinsicInclusionMode,
|
|
@@ -35,7 +35,7 @@ import type {
|
|
|
35
35
|
PalletTransactionPaymentRuntimeDispatchInfo,
|
|
36
36
|
PalletTransactionPaymentFeeDetails,
|
|
37
37
|
SpWeightsWeightV2Weight,
|
|
38
|
-
|
|
38
|
+
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
39
39
|
XcmVersionedAssetId,
|
|
40
40
|
XcmRuntimeApisFeesError,
|
|
41
41
|
XcmVersionedXcm,
|
|
@@ -43,7 +43,7 @@ import type {
|
|
|
43
43
|
XcmVersionedLocation,
|
|
44
44
|
XcmRuntimeApisDryRunCallDryRunEffects,
|
|
45
45
|
XcmRuntimeApisDryRunError,
|
|
46
|
-
|
|
46
|
+
AssetHubPolkadotRuntimeOriginCaller,
|
|
47
47
|
XcmRuntimeApisDryRunXcmDryRunEffects,
|
|
48
48
|
XcmRuntimeApisConversionsError,
|
|
49
49
|
XcmRuntimeApisTrustedQueryError,
|
|
@@ -90,7 +90,7 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
90
90
|
*
|
|
91
91
|
* @callname: AuraApi_authorities
|
|
92
92
|
**/
|
|
93
|
-
authorities: GenericRuntimeApiMethod<() => Promise<Array<
|
|
93
|
+
authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraEd25519AppEd25519Public>>>;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Generic runtime api call
|
|
@@ -438,22 +438,25 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
438
438
|
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
|
439
439
|
*
|
|
440
440
|
* @callname: TransactionPaymentCallApi_query_call_info
|
|
441
|
-
* @param {
|
|
441
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
442
442
|
* @param {number} len
|
|
443
443
|
**/
|
|
444
444
|
queryCallInfo: GenericRuntimeApiMethod<
|
|
445
|
-
(
|
|
445
|
+
(
|
|
446
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
447
|
+
len: number,
|
|
448
|
+
) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
446
449
|
>;
|
|
447
450
|
|
|
448
451
|
/**
|
|
449
452
|
* Query fee details of a given encoded `Call`.
|
|
450
453
|
*
|
|
451
454
|
* @callname: TransactionPaymentCallApi_query_call_fee_details
|
|
452
|
-
* @param {
|
|
455
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
453
456
|
* @param {number} len
|
|
454
457
|
**/
|
|
455
458
|
queryCallFeeDetails: GenericRuntimeApiMethod<
|
|
456
|
-
(call:
|
|
459
|
+
(call: AssetHubPolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
457
460
|
>;
|
|
458
461
|
|
|
459
462
|
/**
|
|
@@ -559,14 +562,14 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
559
562
|
* Dry run call V2.
|
|
560
563
|
*
|
|
561
564
|
* @callname: DryRunApi_dry_run_call
|
|
562
|
-
* @param {
|
|
563
|
-
* @param {
|
|
565
|
+
* @param {AssetHubPolkadotRuntimeOriginCaller} origin
|
|
566
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
564
567
|
* @param {number} result_xcms_version
|
|
565
568
|
**/
|
|
566
569
|
dryRunCall: GenericRuntimeApiMethod<
|
|
567
570
|
(
|
|
568
|
-
origin:
|
|
569
|
-
call:
|
|
571
|
+
origin: AssetHubPolkadotRuntimeOriginCaller,
|
|
572
|
+
call: AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
570
573
|
resultXcmsVersion: number,
|
|
571
574
|
) => Promise<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>
|
|
572
575
|
>;
|