@dedot/chaintypes 0.179.0 → 0.181.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.
@@ -58,7 +58,7 @@ export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends Gener
58
58
 
59
59
  /**
60
60
  * @name: KusamaAssetHubApi
61
- * @specVersion: 2000001
61
+ * @specVersion: 2000002
62
62
  **/
63
63
  export interface KusamaAssetHubApi {
64
64
  legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
@@ -54,6 +54,7 @@ import type {
54
54
  AssetsCommonRuntimeApiFungiblesAccessError,
55
55
  CumulusPrimitivesCoreCollationInfo,
56
56
  PolkadotParachainPrimitivesPrimitivesId,
57
+ SystemParachainsCommonApisInflationInfo,
57
58
  PalletRevivePrimitivesContractResult,
58
59
  PalletRevivePrimitivesContractResultInstantiateReturnValue,
59
60
  PalletRevivePrimitivesCode,
@@ -1025,6 +1026,28 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1025
1026
  **/
1026
1027
  [method: string]: GenericRuntimeApiMethod<Rv>;
1027
1028
  };
1029
+ /**
1030
+ * @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
1031
+ **/
1032
+ inflation: {
1033
+ /**
1034
+ * Return the current estimates of the issuance amount.
1035
+ *
1036
+ * This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly
1037
+ * recommended over trying to read-storage, or re-create the onchain logic.
1038
+ *
1039
+ * @callname: Inflation_experimental_issuance_prediction_info
1040
+ **/
1041
+ experimentalIssuancePredictionInfo: GenericRuntimeApiMethod<
1042
+ Rv,
1043
+ () => Promise<SystemParachainsCommonApisInflationInfo>
1044
+ >;
1045
+
1046
+ /**
1047
+ * Generic runtime api call
1048
+ **/
1049
+ [method: string]: GenericRuntimeApiMethod<Rv>;
1050
+ };
1028
1051
  /**
1029
1052
  * @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
1030
1053
  **/
@@ -23571,6 +23571,8 @@ export type CumulusPrimitivesCoreCollationInfo = {
23571
23571
 
23572
23572
  export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
23573
23573
 
23574
+ export type SystemParachainsCommonApisInflationInfo = { issuance: Perquintill; nextMint: [bigint, bigint] };
23575
+
23574
23576
  export type PalletRevivePrimitivesContractResult = {
23575
23577
  gasConsumed: SpWeightsWeightV2Weight;
23576
23578
  gasRequired: SpWeightsWeightV2Weight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.179.0",
3
+ "version": "0.181.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -25,7 +25,7 @@
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "d2bf6a19ee522c5bf28478033641ffa895e1e9a8",
28
+ "gitHead": "61153b0e601e4c1d0ae02a46ba225807b7e759b0",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {
@@ -60,7 +60,7 @@ export interface VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubs
60
60
 
61
61
  /**
62
62
  * @name: PolkadotApi
63
- * @specVersion: 2000000
63
+ * @specVersion: 2000001
64
64
  **/
65
65
  export interface PolkadotApi {
66
66
  legacy: VersionedPolkadotApi<RpcLegacy>;
@@ -58,7 +58,7 @@ export interface VersionedPolkadotAssetHubApi<Rv extends RpcVersion> extends Gen
58
58
 
59
59
  /**
60
60
  * @name: PolkadotAssetHubApi
61
- * @specVersion: 2000000
61
+ * @specVersion: 2000001
62
62
  **/
63
63
  export interface PolkadotAssetHubApi {
64
64
  legacy: VersionedPolkadotAssetHubApi<RpcLegacy>;