@parity/product-sdk-descriptors 0.1.0 → 0.2.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 (53) hide show
  1. package/README.md +1 -1
  2. package/chains/bulletin/generated/dist/bulletin.d.ts +27 -27
  3. package/chains/bulletin/generated/dist/bulletin_metadata-Btf7Dcxv.js +3 -0
  4. package/chains/bulletin/generated/dist/common-types.d.ts +95 -95
  5. package/chains/bulletin/generated/dist/descriptors-BP_sIh_J.js +25 -0
  6. package/chains/bulletin/generated/dist/index.js +65 -236
  7. package/chains/bulletin/generated/dist/metadataTypes-CAWBUdSH.js +3 -0
  8. package/chains/individuality/generated/dist/common-types.d.ts +245 -245
  9. package/chains/individuality/generated/dist/descriptors-D3unnGtJ.js +25 -0
  10. package/chains/individuality/generated/dist/index.js +65 -236
  11. package/chains/individuality/generated/dist/individuality.d.ts +71 -71
  12. package/chains/individuality/generated/dist/individuality_metadata-DRlJN3X6.js +3 -0
  13. package/chains/individuality/generated/dist/metadataTypes-DOUrKMCQ.js +3 -0
  14. package/chains/kusama-asset-hub/.papi/polkadot-api.json +1 -1
  15. package/chains/kusama-asset-hub/generated/dist/common-types.d.ts +255 -255
  16. package/chains/kusama-asset-hub/generated/dist/descriptors-DYyEriME.js +25 -0
  17. package/chains/kusama-asset-hub/generated/dist/index.js +93 -292
  18. package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub.d.ts +74 -74
  19. package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub_metadata-C4kQ8RaO.js +3 -0
  20. package/chains/kusama-asset-hub/generated/dist/metadataTypes-DU1nurc8.js +3 -0
  21. package/chains/paseo-asset-hub/generated/dist/common-types.d.ts +256 -256
  22. package/chains/paseo-asset-hub/generated/dist/descriptors-BQiUtMPR.js +25 -0
  23. package/chains/paseo-asset-hub/generated/dist/index.js +94 -294
  24. package/chains/paseo-asset-hub/generated/dist/metadataTypes-BB9mDcdX.js +3 -0
  25. package/chains/paseo-asset-hub/generated/dist/paseo_asset_hub.d.ts +69 -69
  26. package/chains/paseo-asset-hub/generated/dist/paseo_asset_hub_metadata-DPz-Byze.js +3 -0
  27. package/chains/polkadot-asset-hub/generated/dist/common-types.d.ts +256 -256
  28. package/chains/polkadot-asset-hub/generated/dist/descriptors-BLVA_gBo.js +25 -0
  29. package/chains/polkadot-asset-hub/generated/dist/index.js +94 -294
  30. package/chains/polkadot-asset-hub/generated/dist/metadataTypes-BAQsZ8u3.js +3 -0
  31. package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub.d.ts +69 -69
  32. package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub_metadata-CQQZadL1.js +3 -0
  33. package/package.json +8 -13
  34. package/chains/bulletin/generated/dist/bulletin_metadata-ZWUBSZT2.mjs +0 -6
  35. package/chains/bulletin/generated/dist/descriptors-6AYAE4ZU.mjs +0 -27
  36. package/chains/bulletin/generated/dist/index.mjs +0 -170
  37. package/chains/bulletin/generated/dist/metadataTypes-QQHZQ7NV.mjs +0 -6
  38. package/chains/individuality/generated/dist/descriptors-WSAVDU67.mjs +0 -27
  39. package/chains/individuality/generated/dist/index.mjs +0 -170
  40. package/chains/individuality/generated/dist/individuality_metadata-K52S3PRM.mjs +0 -6
  41. package/chains/individuality/generated/dist/metadataTypes-7J5JOTD4.mjs +0 -6
  42. package/chains/kusama-asset-hub/generated/dist/descriptors-LD24UXAS.mjs +0 -27
  43. package/chains/kusama-asset-hub/generated/dist/index.mjs +0 -226
  44. package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub_metadata-3SMOB25O.mjs +0 -6
  45. package/chains/kusama-asset-hub/generated/dist/metadataTypes-YAQTJRTG.mjs +0 -6
  46. package/chains/paseo-asset-hub/generated/dist/descriptors-SGZOCR6W.mjs +0 -27
  47. package/chains/paseo-asset-hub/generated/dist/index.mjs +0 -228
  48. package/chains/paseo-asset-hub/generated/dist/metadataTypes-FMC56OR6.mjs +0 -6
  49. package/chains/paseo-asset-hub/generated/dist/paseo_asset_hub_metadata-DYCTETUD.mjs +0 -6
  50. package/chains/polkadot-asset-hub/generated/dist/descriptors-YG75KGXS.mjs +0 -27
  51. package/chains/polkadot-asset-hub/generated/dist/index.mjs +0 -228
  52. package/chains/polkadot-asset-hub/generated/dist/metadataTypes-B4DAEUPM.mjs +0 -6
  53. package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub_metadata-CM4WGYCW.mjs +0 -6
package/README.md CHANGED
@@ -17,7 +17,7 @@ PAPI-generated chain descriptors for the Polkadot ecosystem. These provide fully
17
17
  ```typescript
18
18
  import { polkadot_asset_hub } from "@parity/product-sdk-descriptors/polkadot-asset-hub";
19
19
  import { createClient } from "polkadot-api";
20
- import { getWsProvider } from "polkadot-api/ws-provider/web";
20
+ import { getWsProvider } from "polkadot-api/ws";
21
21
 
22
22
  // Create a typed client for Polkadot Asset Hub
23
23
  const client = createClient(
@@ -1,11 +1,11 @@
1
- import { StorageDescriptor, PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeBinary, Binary, FixedSizeArray } from "polkadot-api";
2
- import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, Ibn2t84v0qbqml, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I4q39t5hn830vp, I1v7jbnil3tjns, I8jgj1nhcr2dg8, Ifn6q3equiq9qi, Ia3sb0vgvovhtg, Iav8k1edbj86k7, Itom7fk49o0c9, I4i91h98n3cv1b, I4iumukclgj8ej, Iqnbvitf7a7l3, I48i407regf59r, I6r5cbv8ttrb09, I1q8tnt1cluu5j, I8ds64oj6581v0, Ia7pdug7cdsg8g, Iafsev9pf8ur2h, I9bin2jc70qt6q, TransactionPaymentReleases, I52552vmt51a1m, Icd998p53cb80u, Ianratlvp36bb8, Ia2lhg7l2hilo3, Ifi4da1gej1fri, Ifvgo9568rpmqc, I82jm9g7pufuel, Ic5m5lp1oioo8r, I6cs1itejju2vv, Icgljjb6j82uhn, Ib77b0fp1a6mjr, I5g2vv0ckl2m8b, Ifup3lg9ro8a0f, I5qfubnuvrnqn6, I8t3u2dv73ahbd, I7vlvrrl2pnbgk, Ie0rpl5bahldfk, XcmPalletVersionMigrationStage, I7e5oaj2qi4kl1, Ie849h3gncgvok, Iat62vud7hlod2, Ict03eedr8de9s, Ibkm2gcn4pji30, XcmVersionedLocation, Idh2ug6ou4a8og, Iejeo53sea6n4q, I53esa2ms463bk, Ib4jhb8tt3uung, In7a38730s6qs, Ibtil0ss5munbk, I9s0ave7t0vnrk, I4fo08joqmcqnm, XcmV5Junctions, Iasb8k6ash5mjn, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Ib51vk42m1po4n, Ial23jn8hp0aen, Ifpj261e8s63m3, Idcr6u6361oad9, I4m23d919gtr5d, I7esubsve8jvbp, I69p6pkv67dei3, I13j8trtusi7dq, I74eam70qc8398, I4ktuaksf5i1gk, I9bqtpv2ii35mp, I9j7pagd6d4bda, I2h9pmio37r7fb, Ibmr18suc9ikh9, I9iq22t0burs89, I5u8olqbbvfnvf, I5utcetro501ir, Itrlf5b2o2l8q, Icegg8a2cqf1gu, I4vj3ndsquheo1, I7h5kud22qmfsg, I2i8iea6e4ne1j, I4jotama61aldv, I4cbvqmqadhrea, I3rfugj0vt1ug5, Ifccifqltb5obi, Iadtsfv699cq8b, Ialpmgmhr3gk5r, I3sdol54kg5jaq, I8fougodaj6di6, I81vt5eq60l4b6, I3vh014cqgmrfd, Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, I40pqum1mu8qg3, I1r4c2ghbtvjuc, I2hedg0a6u185f, I8k3rnvpeeh4hv, I550f2tngqhbp1, Ia82mnkmeo2rhc, Icsa46bnbuohqc, Icbccs0ug47ilf, I855j4i3kr8ko1, I67n6mbhp91nlg, Idd7hd99u0ho0n, Iafscmv8tjf0ou, I100l07kaehdlp, I6gnbnvip5vvdi, I368e0tjmrcvlt, I6akqkga7li13u, I133qpg6ru2jqi, I3bp93psani87u, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, Id5fm4p8lj5qgi, I8tjvj9uq4b7hi, I3qt1hgg4djhgb, I4fooe9dun9o0t, I8mvf14goplnni, Ie09mpthond7d6, I1ispultrc7caq, Iph9c4rn81ub2, Ier2cke86dqbr2, Ibi0s841005et5, I395h9meqpi2hf, I66jdpl6lile9j, I39t01nnod9109, I6v8sm60vvkmk7, I1qmtmbe5so8r3, Ih99m6ehpcar7, Idgorhsbgdq2ap, I9ubb2kqevnu6t, I2hq50pu2kdjpo, I9acqruh7322g2, I137t1cld92pod, I61d51nv4cou88, If8u5kl4h8070m, Ibmuil6p3vl83l, I7lul91g50ae87, Icl7nl1rfeog3i, Iasr6pj6shs0fl, I2uqmls7kcdnii, Idg69klialbkb8, I7r6b7145022pp, I30pg328m00nr3, Icmrn7bogp28cs, I7m9b5plj4h5ot, I9onhk772nfs4f, I3l6bnksrmt56r, Idh09k0l2pmdcg, I7uoiphbm0tj4r, I512p1n7qt24l8, I6s1nbislhk619, I3gghqnh2mj0is, I6iv852roh6t3h, I9oc2o6itbiopq, Ibslgga81p36aa, I1rvj4ubaplho0, Ia3uu7lqcc1q1i, I7crucfnonitkn, I7tmrp94r9sq4n, I4kigljjkan2n6, I5rtkmhm2dng4u, I5r8t4iaend96p, Iaqet9jc3ihboe, Ic952bubvq4k7d, I2v50gu3s1aqk6, Iabpgqcjikia83, Ieeb2u9t56qdcr, If7uv525tdvv7a, I2an1fs2eiebjp, TransactionValidityTransactionSource, I9ask1o4tfvcvs, I4ph3d1eepnmr1, Icerf8h8pdu8ss, I6spmpef2c7svf, Iei2mvq0mjvt81, Icd41grt22tk3v, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, Iek7ha36da9mf5, I9cqlcs1cfiqgk, Ia0qb5p8rcp095, I7f06kkvfvbvn3, Ieh6nis3hdbtgi, XcmVersionedAsset, Icujp6hmv35vbn, I4tjame31218k9, I5gif8vomct5i8, Ic1d4u2opv3fst, Ie9sr1iqcg3cgm, I1mqgk2tmnn9i2, I6lr8sctk0bi4e, Id3cclc8rha27v } from "./common-types";
1
+ import { StorageDescriptor, PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, SizedHex, FixedSizeArray } from "polkadot-api";
2
+ import type { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, Ibn2t84v0qbqml, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I4q39t5hn830vp, I1v7jbnil3tjns, I8jgj1nhcr2dg8, Ifn6q3equiq9qi, Ia3sb0vgvovhtg, Iav8k1edbj86k7, Itom7fk49o0c9, I4i91h98n3cv1b, I4iumukclgj8ej, Iqnbvitf7a7l3, I48i407regf59r, I6r5cbv8ttrb09, I1q8tnt1cluu5j, I8ds64oj6581v0, Ia7pdug7cdsg8g, Iafsev9pf8ur2h, I9bin2jc70qt6q, TransactionPaymentReleases, I52552vmt51a1m, Icd998p53cb80u, Ianratlvp36bb8, Ia2lhg7l2hilo3, Ifi4da1gej1fri, Ifvgo9568rpmqc, I82jm9g7pufuel, Ic5m5lp1oioo8r, I6cs1itejju2vv, Icgljjb6j82uhn, Ib77b0fp1a6mjr, I5g2vv0ckl2m8b, Ifup3lg9ro8a0f, I5qfubnuvrnqn6, I8t3u2dv73ahbd, I7vlvrrl2pnbgk, Ie0rpl5bahldfk, XcmPalletVersionMigrationStage, I7e5oaj2qi4kl1, Ie849h3gncgvok, Iat62vud7hlod2, Ict03eedr8de9s, Ibkm2gcn4pji30, XcmVersionedLocation, Idh2ug6ou4a8og, Iejeo53sea6n4q, I53esa2ms463bk, Ib4jhb8tt3uung, In7a38730s6qs, Ibtil0ss5munbk, I9s0ave7t0vnrk, I4fo08joqmcqnm, XcmV5Junctions, Iasb8k6ash5mjn, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Ib51vk42m1po4n, Ial23jn8hp0aen, Ifpj261e8s63m3, Idcr6u6361oad9, I4m23d919gtr5d, I7esubsve8jvbp, I69p6pkv67dei3, I13j8trtusi7dq, I74eam70qc8398, I4ktuaksf5i1gk, I9bqtpv2ii35mp, I9j7pagd6d4bda, I2h9pmio37r7fb, Ibmr18suc9ikh9, I9iq22t0burs89, I5u8olqbbvfnvf, I5utcetro501ir, Itrlf5b2o2l8q, Icegg8a2cqf1gu, I4vj3ndsquheo1, I7h5kud22qmfsg, I2i8iea6e4ne1j, I4jotama61aldv, I4cbvqmqadhrea, I3rfugj0vt1ug5, Ifccifqltb5obi, Iadtsfv699cq8b, Ialpmgmhr3gk5r, I3sdol54kg5jaq, I8fougodaj6di6, I81vt5eq60l4b6, I3vh014cqgmrfd, Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, I40pqum1mu8qg3, I1r4c2ghbtvjuc, I2hedg0a6u185f, I8k3rnvpeeh4hv, I550f2tngqhbp1, Ia82mnkmeo2rhc, Icsa46bnbuohqc, Icbccs0ug47ilf, I855j4i3kr8ko1, I67n6mbhp91nlg, Idd7hd99u0ho0n, Iafscmv8tjf0ou, I100l07kaehdlp, I6gnbnvip5vvdi, I368e0tjmrcvlt, I6akqkga7li13u, I133qpg6ru2jqi, I3bp93psani87u, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, Id5fm4p8lj5qgi, I8tjvj9uq4b7hi, I3qt1hgg4djhgb, I4fooe9dun9o0t, I8mvf14goplnni, Ie09mpthond7d6, I1ispultrc7caq, Iph9c4rn81ub2, Ier2cke86dqbr2, Ibi0s841005et5, I395h9meqpi2hf, I66jdpl6lile9j, I39t01nnod9109, I6v8sm60vvkmk7, I1qmtmbe5so8r3, Ih99m6ehpcar7, Idgorhsbgdq2ap, I9ubb2kqevnu6t, I2hq50pu2kdjpo, I9acqruh7322g2, I137t1cld92pod, I61d51nv4cou88, If8u5kl4h8070m, Ibmuil6p3vl83l, I7lul91g50ae87, Icl7nl1rfeog3i, Iasr6pj6shs0fl, I2uqmls7kcdnii, Idg69klialbkb8, I7r6b7145022pp, I30pg328m00nr3, Icmrn7bogp28cs, I7m9b5plj4h5ot, I9onhk772nfs4f, I3l6bnksrmt56r, Idh09k0l2pmdcg, I7uoiphbm0tj4r, I512p1n7qt24l8, I6s1nbislhk619, I3gghqnh2mj0is, I6iv852roh6t3h, I9oc2o6itbiopq, Ibslgga81p36aa, I1rvj4ubaplho0, Ia3uu7lqcc1q1i, I7crucfnonitkn, I7tmrp94r9sq4n, I4kigljjkan2n6, I5rtkmhm2dng4u, I5r8t4iaend96p, Iaqet9jc3ihboe, Ic952bubvq4k7d, I2v50gu3s1aqk6, Iabpgqcjikia83, Ieeb2u9t56qdcr, If7uv525tdvv7a, I2an1fs2eiebjp, TransactionValidityTransactionSource, I9ask1o4tfvcvs, I4ph3d1eepnmr1, Icerf8h8pdu8ss, I6spmpef2c7svf, Iei2mvq0mjvt81, Icd41grt22tk3v, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, Iek7ha36da9mf5, I9cqlcs1cfiqgk, Ia0qb5p8rcp095, I7f06kkvfvbvn3, Ieh6nis3hdbtgi, XcmVersionedAsset, Icujp6hmv35vbn, I4tjame31218k9, I5gif8vomct5i8, Ic1d4u2opv3fst, Ie9sr1iqcg3cgm, I1mqgk2tmnn9i2, I6lr8sctk0bi4e, Id3cclc8rha27v } from "./common-types";
3
3
  type AnonymousEnum<T extends {}> = T & {
4
4
  __anonymous: true;
5
5
  };
6
6
  type MyTuple<T> = [T, ...T[]];
7
7
  type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
- type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
8
+ type Anonymize<T> = SeparateUndefined<T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
9
  [K in keyof T]: T[K];
10
10
  } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
11
  [K in keyof T & string]: T[K];
@@ -37,11 +37,11 @@ type IStorage = {
37
37
  /**
38
38
  * Map of block numbers to block hashes.
39
39
  */
40
- BlockHash: StorageDescriptor<[Key: number], FixedSizeBinary<32>, false, never>;
40
+ BlockHash: StorageDescriptor<[Key: number], SizedHex<32>, false, never>;
41
41
  /**
42
42
  * Extrinsics data for the current block (maps an extrinsic's index to its data).
43
43
  */
44
- ExtrinsicData: StorageDescriptor<[Key: number], Binary, false, never>;
44
+ ExtrinsicData: StorageDescriptor<[Key: number], Uint8Array, false, never>;
45
45
  /**
46
46
  * The current block number being processed. Set by `execute_block`.
47
47
  */
@@ -49,7 +49,7 @@ type IStorage = {
49
49
  /**
50
50
  * Hash of the previous block.
51
51
  */
52
- ParentHash: StorageDescriptor<[], FixedSizeBinary<32>, false, never>;
52
+ ParentHash: StorageDescriptor<[], SizedHex<32>, false, never>;
53
53
  /**
54
54
  * Digest of the current block, also part of the block header.
55
55
  */
@@ -80,7 +80,7 @@ type IStorage = {
80
80
  * the `EventIndex` then in case if the topic has the same contents on the next block
81
81
  * no notification will be triggered thus the event might be lost.
82
82
  */
83
- EventTopics: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I95g6i7ilua7lq>, false, never>;
83
+ EventTopics: StorageDescriptor<[Key: SizedHex<32>], Anonymize<I95g6i7ilua7lq>, false, never>;
84
84
  /**
85
85
  * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
86
86
  */
@@ -137,7 +137,7 @@ type IStorage = {
137
137
  * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
138
138
  * with the new validation code. This concludes the upgrade process.
139
139
  */
140
- PendingValidationCode: StorageDescriptor<[], Binary, false, never>;
140
+ PendingValidationCode: StorageDescriptor<[], Uint8Array, false, never>;
141
141
  /**
142
142
  * Validation code that is set by the parachain and is to be communicated to collator and
143
143
  * consequently the relay-chain.
@@ -145,7 +145,7 @@ type IStorage = {
145
145
  * This will be cleared in `on_initialize` of each new block if no other pallet already set
146
146
  * the value.
147
147
  */
148
- NewValidationCode: StorageDescriptor<[], Binary, true, never>;
148
+ NewValidationCode: StorageDescriptor<[], Uint8Array, true, never>;
149
149
  /**
150
150
  * The [`PersistedValidationData`] set for this block.
151
151
  *
@@ -214,7 +214,7 @@ type IStorage = {
214
214
  * This value is loaded before and saved after processing inbound downward messages carried
215
215
  * by the system inherent.
216
216
  */
217
- LastDmqMqcHead: StorageDescriptor<[], FixedSizeBinary<32>, false, never>;
217
+ LastDmqMqcHead: StorageDescriptor<[], SizedHex<32>, false, never>;
218
218
  /**
219
219
  * The message queue chain heads we have observed per each channel incoming channel.
220
220
  *
@@ -290,7 +290,7 @@ type IStorage = {
290
290
  *
291
291
  * See `Pallet::set_custom_validation_head_data` for more information.
292
292
  */
293
- CustomValidationHeadData: StorageDescriptor<[], Binary, true, never>;
293
+ CustomValidationHeadData: StorageDescriptor<[], Uint8Array, true, never>;
294
294
  };
295
295
  Timestamp: {
296
296
  /**
@@ -485,7 +485,7 @@ type IStorage = {
485
485
  /**
486
486
  * The next session keys for a validator.
487
487
  */
488
- NextKeys: StorageDescriptor<[Key: SS58String], FixedSizeBinary<32>, true, never>;
488
+ NextKeys: StorageDescriptor<[Key: SS58String], SizedHex<32>, true, never>;
489
489
  /**
490
490
  * The owner of a key. The key is the `KeyTypeId` + the encoded key.
491
491
  */
@@ -551,11 +551,11 @@ type IStorage = {
551
551
  /**
552
552
  * The messages outbound in a given XCMP channel.
553
553
  */
554
- OutboundXcmpMessages: StorageDescriptor<Anonymize<I5g2vv0ckl2m8b>, Binary, false, never>;
554
+ OutboundXcmpMessages: StorageDescriptor<Anonymize<I5g2vv0ckl2m8b>, Uint8Array, false, never>;
555
555
  /**
556
556
  * Any signal messages waiting to be sent.
557
557
  */
558
- SignalMessages: StorageDescriptor<[Key: number], Binary, false, never>;
558
+ SignalMessages: StorageDescriptor<[Key: number], Uint8Array, false, never>;
559
559
  /**
560
560
  * The configuration which controls the dynamics of the outbound queue.
561
561
  */
@@ -584,7 +584,7 @@ type IStorage = {
584
584
  * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of
585
585
  * times this pair has been trapped (usually just 1 if it exists at all).
586
586
  */
587
- AssetTraps: StorageDescriptor<[Key: FixedSizeBinary<32>], number, false, never>;
587
+ AssetTraps: StorageDescriptor<[Key: SizedHex<32>], number, false, never>;
588
588
  /**
589
589
  * Default version to encode XCM when latest version of destination is unknown. If `None`,
590
590
  * then the destinations whose XCM version is unknown are considered unreachable.
@@ -2124,12 +2124,12 @@ type IEvent = {
2124
2124
  * Downward message is invalid XCM.
2125
2125
  * \[ id \]
2126
2126
  */
2127
- InvalidFormat: PlainDescriptor<FixedSizeBinary<32>>;
2127
+ InvalidFormat: PlainDescriptor<SizedHex<32>>;
2128
2128
  /**
2129
2129
  * Downward message is unsupported version of XCM.
2130
2130
  * \[ id \]
2131
2131
  */
2132
- UnsupportedVersion: PlainDescriptor<FixedSizeBinary<32>>;
2132
+ UnsupportedVersion: PlainDescriptor<SizedHex<32>>;
2133
2133
  /**
2134
2134
  * Downward message executed with the given outcome.
2135
2135
  * \[ id, outcome \]
@@ -2784,7 +2784,7 @@ type IConstants = {
2784
2784
  /**
2785
2785
  * Account Identifier from which the internal Pot is generated.
2786
2786
  */
2787
- PotId: PlainDescriptor<FixedSizeBinary<8>>;
2787
+ PotId: PlainDescriptor<SizedHex<8>>;
2788
2788
  /**
2789
2789
  * Maximum number of candidates that we should have.
2790
2790
  *
@@ -2965,7 +2965,7 @@ type IRuntimeCalls = {
2965
2965
  * whose state we are querying against, this must always return `true` as long as the slot
2966
2966
  * is more recent than the included block itself.
2967
2967
  */
2968
- can_build_upon: RuntimeDescriptor<[included_hash: FixedSizeBinary<32>, slot: bigint], boolean>;
2968
+ can_build_upon: RuntimeDescriptor<[included_hash: SizedHex<32>, slot: bigint], boolean>;
2969
2969
  };
2970
2970
  /**
2971
2971
  * The `Core` runtime api that every Substrate runtime needs to implement.
@@ -2991,7 +2991,7 @@ type IRuntimeCalls = {
2991
2991
  /**
2992
2992
  * Returns the metadata of a runtime.
2993
2993
  */
2994
- metadata: RuntimeDescriptor<[], Binary>;
2994
+ metadata: RuntimeDescriptor<[], Uint8Array>;
2995
2995
  /**
2996
2996
  * Returns the metadata at a given version.
2997
2997
  *
@@ -3016,7 +3016,7 @@ type IRuntimeCalls = {
3016
3016
  * Returns an inclusion outcome which specifies if this extrinsic is included in
3017
3017
  * this block or not.
3018
3018
  */
3019
- apply_extrinsic: RuntimeDescriptor<[extrinsic: Binary], Anonymize<Ieeb2u9t56qdcr>>;
3019
+ apply_extrinsic: RuntimeDescriptor<[extrinsic: Uint8Array], Anonymize<Ieeb2u9t56qdcr>>;
3020
3020
  /**
3021
3021
  * Finish the current block.
3022
3022
  */
@@ -3045,7 +3045,7 @@ type IRuntimeCalls = {
3045
3045
  * Note that this call may be performed by the pool multiple times and transactions
3046
3046
  * might be verified in any possible order.
3047
3047
  */
3048
- validate_transaction: RuntimeDescriptor<[source: TransactionValidityTransactionSource, tx: Binary, block_hash: FixedSizeBinary<32>], Anonymize<I9ask1o4tfvcvs>>;
3048
+ validate_transaction: RuntimeDescriptor<[source: TransactionValidityTransactionSource, tx: Uint8Array, block_hash: SizedHex<32>], Anonymize<I9ask1o4tfvcvs>>;
3049
3049
  };
3050
3050
  /**
3051
3051
  * The offchain worker api.
@@ -3069,13 +3069,13 @@ type IRuntimeCalls = {
3069
3069
  *
3070
3070
  * Returns the concatenated SCALE encoded public keys.
3071
3071
  */
3072
- generate_session_keys: RuntimeDescriptor<[owner: Binary, seed: Anonymize<Iabpgqcjikia83>], Anonymize<I4ph3d1eepnmr1>>;
3072
+ generate_session_keys: RuntimeDescriptor<[owner: Uint8Array, seed: Anonymize<Iabpgqcjikia83>], Anonymize<I4ph3d1eepnmr1>>;
3073
3073
  /**
3074
3074
  * Decode the given public session keys.
3075
3075
  *
3076
3076
  * Returns the list of public raw public keys + key type.
3077
3077
  */
3078
- decode_session_keys: RuntimeDescriptor<[encoded: Binary], Anonymize<Icerf8h8pdu8ss>>;
3078
+ decode_session_keys: RuntimeDescriptor<[encoded: Uint8Array], Anonymize<Icerf8h8pdu8ss>>;
3079
3079
  };
3080
3080
  /**
3081
3081
  * The API to query account nonce.
@@ -3093,11 +3093,11 @@ type IRuntimeCalls = {
3093
3093
  /**
3094
3094
 
3095
3095
  */
3096
- query_info: RuntimeDescriptor<[uxt: Binary, len: number], Anonymize<I6spmpef2c7svf>>;
3096
+ query_info: RuntimeDescriptor<[uxt: Uint8Array, len: number], Anonymize<I6spmpef2c7svf>>;
3097
3097
  /**
3098
3098
 
3099
3099
  */
3100
- query_fee_details: RuntimeDescriptor<[uxt: Binary, len: number], Anonymize<Iei2mvq0mjvt81>>;
3100
+ query_fee_details: RuntimeDescriptor<[uxt: Uint8Array, len: number], Anonymize<Iei2mvq0mjvt81>>;
3101
3101
  /**
3102
3102
 
3103
3103
  */
@@ -3286,7 +3286,7 @@ type IRuntimeCalls = {
3286
3286
  * Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no
3287
3287
  * defaults will be used.
3288
3288
  */
3289
- build_state: RuntimeDescriptor<[json: Binary], Anonymize<Ie9sr1iqcg3cgm>>;
3289
+ build_state: RuntimeDescriptor<[json: Uint8Array], Anonymize<Ie9sr1iqcg3cgm>>;
3290
3290
  /**
3291
3291
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
3292
3292
  * `id`.