@dedot/chaintypes 0.247.0 → 0.249.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.
Files changed (35) hide show
  1. package/package.json +2 -2
  2. package/paseo-asset-hub/consts.d.ts +87 -0
  3. package/paseo-asset-hub/errors.d.ts +170 -0
  4. package/paseo-asset-hub/events.d.ts +359 -6
  5. package/paseo-asset-hub/index.d.ts +3 -1
  6. package/paseo-asset-hub/query.d.ts +261 -17
  7. package/paseo-asset-hub/runtime.d.ts +11 -6
  8. package/paseo-asset-hub/tx.d.ts +729 -1
  9. package/paseo-asset-hub/types.d.ts +1426 -155
  10. package/paseo-asset-hub/view-functions.d.ts +195 -2
  11. package/polkadot/errors.d.ts +5 -0
  12. package/polkadot/events.d.ts +94 -16
  13. package/polkadot/index.d.ts +1 -1
  14. package/polkadot/query.d.ts +85 -46
  15. package/polkadot/runtime.d.ts +90 -79
  16. package/polkadot/tx.d.ts +81 -32
  17. package/polkadot/types.d.ts +278 -209
  18. package/polkadot-asset-hub/consts.d.ts +87 -0
  19. package/polkadot-asset-hub/errors.d.ts +170 -0
  20. package/polkadot-asset-hub/events.d.ts +359 -6
  21. package/polkadot-asset-hub/index.d.ts +3 -1
  22. package/polkadot-asset-hub/query.d.ts +261 -17
  23. package/polkadot-asset-hub/runtime.d.ts +11 -6
  24. package/polkadot-asset-hub/tx.d.ts +729 -1
  25. package/polkadot-asset-hub/types.d.ts +1426 -155
  26. package/polkadot-asset-hub/view-functions.d.ts +195 -2
  27. package/polkadot-people/consts.d.ts +75 -0
  28. package/polkadot-people/errors.d.ts +170 -0
  29. package/polkadot-people/events.d.ts +377 -3
  30. package/polkadot-people/index.d.ts +5 -4
  31. package/polkadot-people/query.d.ts +169 -16
  32. package/polkadot-people/runtime.d.ts +9 -5
  33. package/polkadot-people/tx.d.ts +1316 -2
  34. package/polkadot-people/types.d.ts +1857 -182
  35. package/polkadot-people/view-functions.d.ts +46 -1
@@ -1,9 +1,54 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
4
- import type { PeoplePolkadotRuntimeRuntimeCallLike, PeoplePolkadotRuntimeProxyType } from './types.js';
4
+ import type { AccountId32Like } from 'dedot/codecs';
5
+ import type {
6
+ StagingXcmV5Location,
7
+ PalletAssetsAssetDetails,
8
+ PalletAssetsAssetMetadata,
9
+ PeoplePolkadotRuntimeRuntimeCallLike,
10
+ PeoplePolkadotRuntimeProxyType,
11
+ } from './types.js';
5
12
 
6
13
  export interface ChainViewFunctions extends GenericChainViewFunctions {
14
+ /**
15
+ * Pallet `Assets`'s view functions
16
+ **/
17
+ assets: {
18
+ /**
19
+ * Provide the asset details for asset `id`.
20
+ *
21
+ * @param {StagingXcmV5Location} id
22
+ **/
23
+ assetDetails: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetDetails | undefined>>;
24
+
25
+ /**
26
+ * Provide the balance of `who` for asset `id`.
27
+ *
28
+ * @param {AccountId32Like} who
29
+ * @param {StagingXcmV5Location} id
30
+ **/
31
+ balanceOf: GenericViewFunction<(who: AccountId32Like, id: StagingXcmV5Location) => Promise<bigint | undefined>>;
32
+
33
+ /**
34
+ * Provide the configured metadata for asset `id`.
35
+ *
36
+ * @param {StagingXcmV5Location} id
37
+ **/
38
+ getMetadata: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetMetadata | undefined>>;
39
+
40
+ /**
41
+ * Provide the configured reserves data for asset `id`.
42
+ *
43
+ * @param {StagingXcmV5Location} id
44
+ **/
45
+ getReservesData: GenericViewFunction<(id: StagingXcmV5Location) => Promise<Array<[]>>>;
46
+
47
+ /**
48
+ * Generic pallet view function
49
+ **/
50
+ [name: string]: GenericViewFunction;
51
+ };
7
52
  /**
8
53
  * Pallet `Proxy`'s view functions
9
54
  **/