@paraspell/descriptors 14.2.2 → 14.3.3

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.
@@ -1,5 +1,5 @@
1
- import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, FixedSizeArray } from "polkadot-api";
2
- import type { Ibqjcgmcid3dll, I88k319klqj4fv } from "./common-types";
1
+ import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SizedHex, FixedSizeArray } from "polkadot-api";
2
+ import type { Ibqjcgmcid3dll, I88k319klqj4fv, ExtensionsCheckMortality, I87rnrnks7g0hm, I4s6vifaf8k998 } from "./common-types";
3
3
  type AnonymousEnum<T extends {}> = T & {
4
4
  __anonymous: true;
5
5
  };
@@ -25,8 +25,32 @@ type IConstants = {};
25
25
  type IViewFns = {};
26
26
  type IRuntimeCalls = {};
27
27
  export type BridgeHubDispatchError = unknown;
28
- type IAsset = PlainDescriptor<void>;
29
- export type BridgeHubExtensions = {};
28
+ export type BridgeHubExtensions = {
29
+ "CheckSpecVersion": {
30
+ additionalSigned: number;
31
+ };
32
+ "CheckTxVersion": {
33
+ additionalSigned: number;
34
+ };
35
+ "CheckGenesis": {
36
+ additionalSigned: SizedHex<32>;
37
+ };
38
+ "CheckMortality": {
39
+ value: ExtensionsCheckMortality;
40
+ additionalSigned: SizedHex<32>;
41
+ };
42
+ "CheckNonce": {
43
+ value: number;
44
+ };
45
+ "ChargeTransactionPayment": {
46
+ value: bigint;
47
+ };
48
+ "CheckMetadataHash": {
49
+ value: Anonymize<I87rnrnks7g0hm>;
50
+ additionalSigned: Anonymize<I4s6vifaf8k998>;
51
+ };
52
+ };
53
+ type IRequiredExtensions = PlainDescriptor<"CheckSpecVersion" | "CheckTxVersion" | "CheckGenesis" | "CheckMortality" | "CheckNonce" | "ChargeTransactionPayment" | "CheckMetadataHash">;
30
54
  type PalletsTypedef = {
31
55
  __storage: IStorage;
32
56
  __tx: ICalls;
@@ -41,8 +65,8 @@ export type BridgeHub = {
41
65
  apis: IRuntimeCalls;
42
66
  } & Promise<any>;
43
67
  metadataTypes: Promise<Uint8Array>;
44
- asset: IAsset;
45
68
  extensions: BridgeHubExtensions;
69
+ requiredExtensions: IRequiredExtensions;
46
70
  getMetadata: () => Promise<Uint8Array>;
47
71
  genesis: string | undefined;
48
72
  };