@akashnetwork/chain-sdk 1.0.0-alpha.24 → 1.0.0-alpha.25

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 (176) hide show
  1. package/README.md +25 -0
  2. package/dist/cjs/generated/createCosmosSDK.cjs +237 -237
  3. package/dist/cjs/generated/createCosmosSDK.cjs.map +2 -2
  4. package/dist/cjs/generated/createIbc-goSDK.cjs +91 -91
  5. package/dist/cjs/generated/createIbc-goSDK.cjs.map +2 -2
  6. package/dist/cjs/generated/createNodeSDK.cjs +68 -61
  7. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  8. package/dist/cjs/generated/createProviderSDK.cjs +18 -11
  9. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  10. package/dist/cjs/generated/patches/providerCustomTypePatches.cjs +34 -0
  11. package/dist/cjs/generated/patches/providerCustomTypePatches.cjs.map +7 -0
  12. package/dist/cjs/generated/patches/providerPatchMessage.cjs +38 -0
  13. package/dist/cjs/generated/patches/providerPatchMessage.cjs.map +7 -0
  14. package/dist/cjs/generated/protos/akash/bme/v1/filters.cjs +125 -0
  15. package/dist/cjs/generated/protos/akash/bme/v1/filters.cjs.map +7 -0
  16. package/dist/cjs/generated/protos/akash/bme/v1/params.cjs +26 -10
  17. package/dist/cjs/generated/protos/akash/bme/v1/params.cjs.map +2 -2
  18. package/dist/cjs/generated/protos/akash/bme/v1/query.cjs +233 -0
  19. package/dist/cjs/generated/protos/akash/bme/v1/query.cjs.map +2 -2
  20. package/dist/cjs/generated/protos/akash/bme/v1/query_akash.cjs +9 -0
  21. package/dist/cjs/generated/protos/akash/bme/v1/query_akash.cjs.map +2 -2
  22. package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs +67 -2
  23. package/dist/cjs/generated/protos/akash/manifest/v2beta3/service.cjs.map +2 -2
  24. package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs +17 -2
  25. package/dist/cjs/generated/protos/akash/market/v1beta5/params.cjs.map +2 -2
  26. package/dist/cjs/generated/protos/akash/market/v1beta5/resourcesoffer.cjs +266 -3
  27. package/dist/cjs/generated/protos/akash/market/v1beta5/resourcesoffer.cjs.map +2 -2
  28. package/dist/cjs/generated/protos/akash/oracle/v1/params.cjs +53 -1
  29. package/dist/cjs/generated/protos/akash/oracle/v1/params.cjs.map +2 -2
  30. package/dist/cjs/generated/protos/akash/provider/v1/service_akash.cjs +9 -0
  31. package/dist/cjs/generated/protos/akash/provider/v1/service_akash.cjs.map +2 -2
  32. package/dist/cjs/generated/protos/akash/provider/v1/validation.cjs +195 -0
  33. package/dist/cjs/generated/protos/akash/provider/v1/validation.cjs.map +7 -0
  34. package/dist/cjs/generated/protos/google/protobuf/descriptor.cjs +6 -0
  35. package/dist/cjs/generated/protos/google/protobuf/descriptor.cjs.map +2 -2
  36. package/dist/cjs/generated/protos/index.akash.v1.cjs +11 -5
  37. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  38. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +4 -1
  39. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  40. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +3 -0
  41. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  42. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
  43. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
  44. package/dist/cjs/sdk/chain/createChainNodeSDK.cjs +2 -1
  45. package/dist/cjs/sdk/chain/createChainNodeSDK.cjs.map +2 -2
  46. package/dist/cjs/sdk/chain/createChainNodeWebSDK.cjs +2 -1
  47. package/dist/cjs/sdk/chain/createChainNodeWebSDK.cjs.map +2 -2
  48. package/dist/cjs/sdk/chain/helpers.cjs +56 -0
  49. package/dist/cjs/sdk/chain/helpers.cjs.map +7 -0
  50. package/dist/cjs/sdk/client/sdkMetadata.cjs.map +2 -2
  51. package/dist/cjs/sdk/index.cjs.map +2 -2
  52. package/dist/cjs/sdk/index.shared.cjs +4 -1
  53. package/dist/cjs/sdk/index.shared.cjs.map +2 -2
  54. package/dist/cjs/sdk/index.web.cjs.map +2 -2
  55. package/dist/cjs/sdk/transport/tx/createTxTransport.cjs +1 -1
  56. package/dist/cjs/sdk/transport/tx/createTxTransport.cjs.map +2 -2
  57. package/dist/cjs/sdl/manifest/generateManifest.cjs +8 -6
  58. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  59. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  60. package/dist/cjs/sdl/manifest/manifestUtils.cjs +16 -9
  61. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  62. package/dist/cjs/utils/yaml.cjs +10 -3
  63. package/dist/cjs/utils/yaml.cjs.map +2 -2
  64. package/dist/esm/{chunk-BYQF33C6.js → chunk-5YIS3XNX.js} +2 -2
  65. package/dist/esm/{chunk-JISXXX24.js → chunk-6CIH635G.js} +2 -2
  66. package/dist/esm/{chunk-GUNMCW7A.js → chunk-BWGYKJLS.js} +2 -2
  67. package/dist/esm/{chunk-MQPC6TDF.js → chunk-C3DBWOZD.js} +53 -1
  68. package/dist/esm/{chunk-MQPC6TDF.js.map → chunk-C3DBWOZD.js.map} +2 -2
  69. package/dist/esm/{chunk-TCVGOF7L.js → chunk-DJASDN6A.js} +2 -2
  70. package/dist/esm/{chunk-5DCYIWCG.js → chunk-E76SLJJ3.js} +3 -1
  71. package/dist/esm/{chunk-4D3QNKFB.js → chunk-EKFJV4QU.js} +6 -4
  72. package/dist/esm/{chunk-4D3QNKFB.js.map → chunk-EKFJV4QU.js.map} +1 -1
  73. package/dist/esm/{chunk-XFCN5LRY.js → chunk-H5WUFEMM.js} +2 -2
  74. package/dist/esm/{chunk-YSMDEW4E.js → chunk-JZTFWLSX.js} +178 -2
  75. package/dist/esm/{chunk-YSMDEW4E.js.map → chunk-JZTFWLSX.js.map} +4 -4
  76. package/dist/esm/{chunk-C7UQYVYH.js → chunk-KFWTFROT.js} +21 -79
  77. package/dist/esm/chunk-KFWTFROT.js.map +7 -0
  78. package/dist/esm/{chunk-IZQCYKLD.js → chunk-LGAXM6RX.js} +27 -11
  79. package/dist/esm/chunk-LGAXM6RX.js.map +7 -0
  80. package/dist/esm/{chunk-VRE72ZD5.js → chunk-M2ZK7HEC.js} +69 -4
  81. package/dist/esm/chunk-M2ZK7HEC.js.map +7 -0
  82. package/dist/esm/{chunk-Z5KZUB7X.js → chunk-MVADLHLI.js} +2 -2
  83. package/dist/esm/chunk-OL4JUIQC.js +702 -0
  84. package/dist/esm/chunk-OL4JUIQC.js.map +7 -0
  85. package/dist/esm/{chunk-5YECXI3P.js → chunk-RUC3LXDX.js} +2 -2
  86. package/dist/esm/{chunk-SA4SEZ6F.js → chunk-TXQ2BR6G.js} +5 -3
  87. package/dist/esm/{chunk-SA4SEZ6F.js.map → chunk-TXQ2BR6G.js.map} +1 -1
  88. package/dist/esm/{chunk-IJSLZIPC.js → chunk-UFJRY3ID.js} +2 -2
  89. package/dist/esm/chunk-Y7JCYDLU.js +346 -0
  90. package/dist/esm/chunk-Y7JCYDLU.js.map +7 -0
  91. package/dist/esm/{chunk-RON4KFMD.js → chunk-ZQDAXUFL.js} +6 -1
  92. package/dist/esm/chunk-ZQDAXUFL.js.map +7 -0
  93. package/dist/esm/{chunk-RIIYZIXM.js → chunk-ZRM47VCZ.js} +398 -338
  94. package/dist/esm/{chunk-RIIYZIXM.js.map → chunk-ZRM47VCZ.js.map} +4 -4
  95. package/dist/esm/generated/protos/index.akash.v1.js +18 -8
  96. package/dist/esm/generated/protos/index.akash.v1.js.map +1 -1
  97. package/dist/esm/generated/protos/index.akash.v1beta4.js +5 -5
  98. package/dist/esm/generated/protos/index.akash.v1beta5.js +16 -8
  99. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  100. package/dist/esm/generated/protos/index.cosmos.v1.js +1 -1
  101. package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -4
  102. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -2
  103. package/dist/esm/index.js +33 -21
  104. package/dist/esm/index.js.map +2 -2
  105. package/dist/esm/index.web.js +13 -8
  106. package/dist/esm/index.web.js.map +2 -2
  107. package/dist/esm/{query_akash-RGYTHUNZ.js → query_akash-745M5I3X.js} +3 -3
  108. package/dist/esm/{query_akash-N2BNNOTD.js → query_akash-EHAEDYOH.js} +15 -3
  109. package/dist/esm/query_akash-EHAEDYOH.js.map +7 -0
  110. package/dist/esm/{query_akash-DJ7LTLRE.js → query_akash-FYNRLU72.js} +6 -5
  111. package/dist/esm/{query_akash-DJ7LTLRE.js.map → query_akash-FYNRLU72.js.map} +1 -1
  112. package/dist/esm/{query_akash-4CTLBKZR.js → query_akash-LW3YJGS6.js} +4 -4
  113. package/dist/esm/{reflection_akash-WUBSNT7I.js → reflection_akash-YHEVUIB6.js} +2 -2
  114. package/dist/esm/{service_akash-KPU6LPVP.js → service_akash-2VS4VW6P.js} +3 -3
  115. package/dist/esm/{service_akash-AZFAYT7H.js → service_akash-5JSE44LJ.js} +4 -4
  116. package/dist/esm/{service_akash-VMU3LNBA.js → service_akash-FI6WXDZP.js} +4 -4
  117. package/dist/esm/{service_akash-WRGOVR7I.js → service_akash-QEN5EQUY.js} +5 -4
  118. package/dist/esm/{service_akash-WRGOVR7I.js.map → service_akash-QEN5EQUY.js.map} +1 -1
  119. package/dist/esm/{service_akash-CQVYVSHE.js → service_akash-UDPD4GFX.js} +18 -2
  120. package/dist/esm/service_akash-UDPD4GFX.js.map +7 -0
  121. package/dist/esm/{service_akash-RQDCQLQH.js → service_akash-VFDQVHZD.js} +3 -3
  122. package/dist/tsconfig.build.tsbuildinfo +1 -1
  123. package/dist/types/generated/createNodeSDK.d.ts +11 -0
  124. package/dist/types/generated/createProviderSDK.d.ts +11 -0
  125. package/dist/types/generated/patches/providerCustomTypePatches.d.ts +7 -0
  126. package/dist/types/generated/patches/providerPatchMessage.d.ts +2 -0
  127. package/dist/types/generated/protos/akash/bme/v1/filters.d.ts +17 -0
  128. package/dist/types/generated/protos/akash/bme/v1/params.d.ts +6 -1
  129. package/dist/types/generated/protos/akash/bme/v1/query.d.ts +31 -1
  130. package/dist/types/generated/protos/akash/bme/v1/query_akash.d.ts +8 -1
  131. package/dist/types/generated/protos/akash/manifest/v2beta3/service.d.ts +10 -0
  132. package/dist/types/generated/protos/akash/market/v1beta5/params.d.ts +6 -1
  133. package/dist/types/generated/protos/akash/market/v1beta5/resourcesoffer.d.ts +91 -0
  134. package/dist/types/generated/protos/akash/oracle/v1/params.d.ts +14 -0
  135. package/dist/types/generated/protos/akash/provider/v1/service_akash.d.ts +7 -0
  136. package/dist/types/generated/protos/akash/provider/v1/validation.d.ts +30 -0
  137. package/dist/types/generated/protos/google/protobuf/descriptor.d.ts +2 -0
  138. package/dist/types/generated/protos/index.akash.v1.d.ts +3 -2
  139. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  140. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  141. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  142. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +3 -0
  143. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +3 -0
  144. package/dist/types/sdk/chain/helpers.d.ts +14 -0
  145. package/dist/types/sdk/client/sdkMetadata.d.ts +5 -2
  146. package/dist/types/sdk/index.d.ts +2 -0
  147. package/dist/types/sdk/index.shared.d.ts +2 -0
  148. package/dist/types/sdk/index.web.d.ts +2 -0
  149. package/dist/types/sdl/manifest/generateManifest.d.ts +3 -3
  150. package/dist/types/sdl/manifest/generateManifestVersion.d.ts +2 -2
  151. package/dist/types/utils/yaml.d.ts +3 -0
  152. package/package.json +1 -1
  153. package/dist/esm/chunk-C7UQYVYH.js.map +0 -7
  154. package/dist/esm/chunk-IZQCYKLD.js.map +0 -7
  155. package/dist/esm/chunk-RON4KFMD.js.map +0 -7
  156. package/dist/esm/chunk-VRE72ZD5.js.map +0 -7
  157. package/dist/esm/chunk-XPIWBE65.js +0 -362
  158. package/dist/esm/chunk-XPIWBE65.js.map +0 -7
  159. package/dist/esm/query_akash-N2BNNOTD.js.map +0 -7
  160. package/dist/esm/service_akash-CQVYVSHE.js.map +0 -7
  161. /package/dist/esm/{chunk-BYQF33C6.js.map → chunk-5YIS3XNX.js.map} +0 -0
  162. /package/dist/esm/{chunk-JISXXX24.js.map → chunk-6CIH635G.js.map} +0 -0
  163. /package/dist/esm/{chunk-GUNMCW7A.js.map → chunk-BWGYKJLS.js.map} +0 -0
  164. /package/dist/esm/{chunk-TCVGOF7L.js.map → chunk-DJASDN6A.js.map} +0 -0
  165. /package/dist/esm/{chunk-5DCYIWCG.js.map → chunk-E76SLJJ3.js.map} +0 -0
  166. /package/dist/esm/{chunk-XFCN5LRY.js.map → chunk-H5WUFEMM.js.map} +0 -0
  167. /package/dist/esm/{chunk-Z5KZUB7X.js.map → chunk-MVADLHLI.js.map} +0 -0
  168. /package/dist/esm/{chunk-5YECXI3P.js.map → chunk-RUC3LXDX.js.map} +0 -0
  169. /package/dist/esm/{chunk-IJSLZIPC.js.map → chunk-UFJRY3ID.js.map} +0 -0
  170. /package/dist/esm/{query_akash-RGYTHUNZ.js.map → query_akash-745M5I3X.js.map} +0 -0
  171. /package/dist/esm/{query_akash-4CTLBKZR.js.map → query_akash-LW3YJGS6.js.map} +0 -0
  172. /package/dist/esm/{reflection_akash-WUBSNT7I.js.map → reflection_akash-YHEVUIB6.js.map} +0 -0
  173. /package/dist/esm/{service_akash-KPU6LPVP.js.map → service_akash-2VS4VW6P.js.map} +0 -0
  174. /package/dist/esm/{service_akash-AZFAYT7H.js.map → service_akash-5JSE44LJ.js.map} +0 -0
  175. /package/dist/esm/{service_akash-VMU3LNBA.js.map → service_akash-FI6WXDZP.js.map} +0 -0
  176. /package/dist/esm/{service_akash-RQDCQLQH.js.map → service_akash-VFDQVHZD.js.map} +0 -0
@@ -6,14 +6,14 @@ import {
6
6
  ServiceExposeHTTPOptions,
7
7
  ServiceParams,
8
8
  StorageParams
9
- } from "./chunk-VRE72ZD5.js";
9
+ } from "./chunk-M2ZK7HEC.js";
10
10
  import {
11
11
  TxRaw
12
12
  } from "./chunk-XIHNXIBW.js";
13
13
  import {
14
14
  GroupSpec,
15
15
  ResourceUnit
16
- } from "./chunk-5YECXI3P.js";
16
+ } from "./chunk-RUC3LXDX.js";
17
17
  import {
18
18
  CPU,
19
19
  Endpoint,
@@ -21,7 +21,7 @@ import {
21
21
  Memory,
22
22
  Resources,
23
23
  Storage
24
- } from "./chunk-5DCYIWCG.js";
24
+ } from "./chunk-E76SLJJ3.js";
25
25
  import {
26
26
  PlacementRequirements,
27
27
  SignedBy
@@ -4162,14 +4162,18 @@ function isIngress(proto, global, externalPort, port) {
4162
4162
  function transformGpuAttributes(attributes) {
4163
4163
  const vendor = attributes.vendor;
4164
4164
  if (!vendor) return [];
4165
- return Object.entries(vendor).flatMap(
4166
- ([vendorName, models]) => models ? models.map((model) => {
4165
+ return Object.keys(vendor).sort((a, b) => a.localeCompare(b)).flatMap((vendorName) => {
4166
+ const models = vendor[vendorName];
4167
+ if (!models) {
4168
+ return [{ key: `vendor/${vendorName}/model/*`, value: "true" }];
4169
+ }
4170
+ return models.map((model) => {
4167
4171
  let key = `vendor/${vendorName}/model/${model.model}`;
4168
4172
  if (model.ram) key += `/ram/${model.ram}`;
4169
4173
  if (model.interface) key += `/interface/${model.interface}`;
4170
4174
  return { key, value: "true" };
4171
- }) : [{ key: `vendor/${vendorName}/model/*`, value: "true" }]
4172
- );
4175
+ });
4176
+ });
4173
4177
  }
4174
4178
  function buildHttpOptions(httpOptions) {
4175
4179
  return ServiceExposeHTTPOptions.fromPartial({
@@ -4206,11 +4210,14 @@ function buildServiceEndpoints(service, endpointSequenceNumbers) {
4206
4210
  kind,
4207
4211
  sequenceNumber: 0
4208
4212
  });
4209
- const leasedEp = to.ip && to.ip.length > 0 ? Endpoint.fromPartial({
4213
+ if (!to.ip?.length) {
4214
+ return [defaultEp];
4215
+ }
4216
+ const leasedEp = Endpoint.fromPartial({
4210
4217
  kind: 2 /* LEASED_IP */,
4211
- sequenceNumber: endpointSequenceNumbers[to.ip]
4212
- }) : void 0;
4213
- return leasedEp ? [defaultEp, leasedEp] : [defaultEp];
4218
+ sequenceNumber: endpointSequenceNumbers[to.ip] ?? 0
4219
+ });
4220
+ return [defaultEp, leasedEp];
4214
4221
  })
4215
4222
  );
4216
4223
  }
@@ -4230,7 +4237,7 @@ function parseGpuUnits(gpu) {
4230
4237
  }
4231
4238
  function buildResourceAttributes(attributes) {
4232
4239
  if (!attributes) return void 0;
4233
- return Object.entries(attributes).sort(([a], [b]) => a.localeCompare(b)).map(([key, value]) => ({ key, value: String(value) }));
4240
+ return Object.keys(attributes).sort((a, b) => a.localeCompare(b)).map((key) => ({ key, value: String(attributes[key]) }));
4234
4241
  }
4235
4242
 
4236
4243
  // src/sdl/manifest/generateManifest.ts
@@ -4271,7 +4278,7 @@ function generateManifest(sdl, networkId = MAINNET_ID) {
4271
4278
  name: placementName,
4272
4279
  resources: [],
4273
4280
  requirements: PlacementRequirements.fromPartial({
4274
- attributes: buildResourceAttributes(infra.attributes) ?? [],
4281
+ attributes: buildResourceAttributes(infra.attributes),
4275
4282
  signedBy: SignedBy.fromPartial({
4276
4283
  allOf: infra.signedBy?.allOf,
4277
4284
  anyOf: infra.signedBy?.anyOf
@@ -4398,15 +4405,17 @@ function buildManifestService(resourceId, name, service, compute, count, endpoin
4398
4405
  }
4399
4406
  function buildParams(service) {
4400
4407
  if (!service.params) return void 0;
4401
- const storageEntries = Object.entries(service.params.storage ?? {});
4408
+ const storage = service.params.storage || {};
4409
+ const storageNames = service.params.storage ? Object.keys(storage).sort() : [];
4402
4410
  const result = ServiceParams.fromPartial({
4403
- storage: storageEntries.map(
4404
- ([name, config]) => StorageParams.fromPartial({
4411
+ storage: storageNames.map((name) => {
4412
+ const config = storage[name];
4413
+ return StorageParams.fromPartial({
4405
4414
  name,
4406
4415
  mount: config.mount || "",
4407
4416
  readOnly: config.readOnly || false
4408
- })
4409
- )
4417
+ });
4418
+ })
4410
4419
  });
4411
4420
  if (service.params.permissions) {
4412
4421
  result.permissions = service.params.permissions;
@@ -4492,10 +4501,17 @@ function escapeHtml(raw) {
4492
4501
  import { load } from "js-yaml";
4493
4502
  function yaml(chunks, ...args) {
4494
4503
  const str = chunks.reduce((acc, chunk, i) => {
4495
- const value = args[i];
4496
4504
  const intermediateResult = acc + chunk;
4497
- if (value === void 0) return intermediateResult;
4498
- return intermediateResult + JSON.stringify(value);
4505
+ if (i >= args.length) return intermediateResult;
4506
+ const value = args[i];
4507
+ if (value !== void 0) {
4508
+ return intermediateResult + JSON.stringify(value);
4509
+ }
4510
+ const lastNewlineIndex = intermediateResult.lastIndexOf("\n");
4511
+ if (lastNewlineIndex !== -1) {
4512
+ return intermediateResult.slice(0, lastNewlineIndex);
4513
+ }
4514
+ return intermediateResult;
4499
4515
  }, "");
4500
4516
  return load(str);
4501
4517
  }
@@ -6462,6 +6478,47 @@ var JwtTokenManager = class {
6462
6478
  }
6463
6479
  };
6464
6480
 
6481
+ // src/sdk/client/sdkMetadata.ts
6482
+ var SDK_METHOD_METADATA = /* @__PURE__ */ new Map();
6483
+ function withMetadata(fn, metadata) {
6484
+ SDK_METHOD_METADATA.set(fn, metadata);
6485
+ return fn;
6486
+ }
6487
+ function getMetadata(fn) {
6488
+ return SDK_METHOD_METADATA.get(fn);
6489
+ }
6490
+
6491
+ // src/sdk/chain/helpers.ts
6492
+ function msg(tx, data) {
6493
+ return {
6494
+ tx,
6495
+ data
6496
+ };
6497
+ }
6498
+ var SIGNER_KEY = Symbol("signer");
6499
+ async function transaction(sdk, messages, options) {
6500
+ const signer = sdk[SIGNER_KEY];
6501
+ if (!signer) {
6502
+ throw new Error("Transaction signer is not available in the SDK instance");
6503
+ }
6504
+ const encodedObjects = await Promise.all(messages.map(async (msg2) => {
6505
+ const meta = getMetadata(msg2.tx);
6506
+ if (!meta) {
6507
+ throw new Error(`No metadata found for method SDK method ${msg2.tx.name}`);
6508
+ }
6509
+ const serviceDesc = await meta.serviceLoader.loadAt(meta.path[0]);
6510
+ const method = serviceDesc.methods[meta.path[1]];
6511
+ if (!method) {
6512
+ throw new Error(`No method found at path [${meta.path[0]}, ${meta.path[1]}] in "${serviceDesc.typeName}"`);
6513
+ }
6514
+ return {
6515
+ typeUrl: `/${method.input.$type}`,
6516
+ value: method.input.fromPartial(msg2.data ?? {})
6517
+ };
6518
+ }));
6519
+ return await signer.signAndBroadcast(encodedObjects, options);
6520
+ }
6521
+
6465
6522
  // src/sdk/client/createServiceLoader.ts
6466
6523
  function createServiceLoader(fns) {
6467
6524
  const loadedTypes = {};
@@ -6620,13 +6677,6 @@ function createClientFactory(transport) {
6620
6677
  };
6621
6678
  }
6622
6679
 
6623
- // src/sdk/client/sdkMetadata.ts
6624
- var SDK_METHOD_METADATA = /* @__PURE__ */ new Map();
6625
- function withMetadata(fn, metadata) {
6626
- SDK_METHOD_METADATA.set(fn, metadata);
6627
- return fn;
6628
- }
6629
-
6630
6680
  // src/generated/createCosmosSDK.ts
6631
6681
  var serviceLoader = createServiceLoader([
6632
6682
  () => import("./query_akash-YR4WN3VM.js").then((m) => m.Query),
@@ -6670,7 +6720,7 @@ var serviceLoader = createServiceLoader([
6670
6720
  () => import("./query_akash-U6FTSX7A.js").then((m) => m.Query),
6671
6721
  () => import("./query_akash-QCNQA3ZB.js").then((m) => m.Query),
6672
6722
  () => import("./tx_akash-MFMRS2ID.js").then((m) => m.Msg),
6673
- () => import("./reflection_akash-WUBSNT7I.js").then((m) => m.ReflectionService),
6723
+ () => import("./reflection_akash-YHEVUIB6.js").then((m) => m.ReflectionService),
6674
6724
  () => import("./query_akash-RNOEMF2J.js").then((m) => m.Query),
6675
6725
  () => import("./tx_akash-PJAUGODB.js").then((m) => m.Msg),
6676
6726
  () => import("./query_akash-LQWOK2TQ.js").then((m) => m.Query),
@@ -6695,7 +6745,7 @@ function createSDK(queryTransport, txTransport) {
6695
6745
  getConfig: withMetadata(async function getConfig(input = {}, options) {
6696
6746
  const service = await serviceLoader.loadAt(0);
6697
6747
  return getClient(service).config(input, options);
6698
- }, { path: [0, 0] })
6748
+ }, { path: [0, "config"], serviceLoader })
6699
6749
  }
6700
6750
  },
6701
6751
  auth: {
@@ -6709,70 +6759,70 @@ function createSDK(queryTransport, txTransport) {
6709
6759
  getAccounts: withMetadata(async function getAccounts(input, options) {
6710
6760
  const service = await serviceLoader.loadAt(1);
6711
6761
  return getClient(service).accounts(input, options);
6712
- }, { path: [1, 0] }),
6762
+ }, { path: [1, "accounts"], serviceLoader }),
6713
6763
  /**
6714
6764
  * getAccount returns account details based on address.
6715
6765
  */
6716
6766
  getAccount: withMetadata(async function getAccount(input, options) {
6717
6767
  const service = await serviceLoader.loadAt(1);
6718
6768
  return getClient(service).account(input, options);
6719
- }, { path: [1, 1] }),
6769
+ }, { path: [1, "account"], serviceLoader }),
6720
6770
  /**
6721
6771
  * getAccountAddressByID returns account address based on account number.
6722
6772
  */
6723
6773
  getAccountAddressByID: withMetadata(async function getAccountAddressByID(input, options) {
6724
6774
  const service = await serviceLoader.loadAt(1);
6725
6775
  return getClient(service).accountAddressByID(input, options);
6726
- }, { path: [1, 2] }),
6776
+ }, { path: [1, "accountAddressByID"], serviceLoader }),
6727
6777
  /**
6728
6778
  * getParams queries all parameters.
6729
6779
  */
6730
6780
  getParams: withMetadata(async function getParams(input = {}, options) {
6731
6781
  const service = await serviceLoader.loadAt(1);
6732
6782
  return getClient(service).params(input, options);
6733
- }, { path: [1, 3] }),
6783
+ }, { path: [1, "params"], serviceLoader }),
6734
6784
  /**
6735
6785
  * getModuleAccounts returns all the existing module accounts.
6736
6786
  */
6737
6787
  getModuleAccounts: withMetadata(async function getModuleAccounts(input = {}, options) {
6738
6788
  const service = await serviceLoader.loadAt(1);
6739
6789
  return getClient(service).moduleAccounts(input, options);
6740
- }, { path: [1, 4] }),
6790
+ }, { path: [1, "moduleAccounts"], serviceLoader }),
6741
6791
  /**
6742
6792
  * getModuleAccountByName returns the module account info by module name
6743
6793
  */
6744
6794
  getModuleAccountByName: withMetadata(async function getModuleAccountByName(input, options) {
6745
6795
  const service = await serviceLoader.loadAt(1);
6746
6796
  return getClient(service).moduleAccountByName(input, options);
6747
- }, { path: [1, 5] }),
6797
+ }, { path: [1, "moduleAccountByName"], serviceLoader }),
6748
6798
  /**
6749
6799
  * getBech32Prefix queries bech32Prefix
6750
6800
  */
6751
6801
  getBech32Prefix: withMetadata(async function getBech32Prefix(input = {}, options) {
6752
6802
  const service = await serviceLoader.loadAt(1);
6753
6803
  return getClient(service).bech32Prefix(input, options);
6754
- }, { path: [1, 6] }),
6804
+ }, { path: [1, "bech32Prefix"], serviceLoader }),
6755
6805
  /**
6756
6806
  * getAddressBytesToString converts Account Address bytes to string
6757
6807
  */
6758
6808
  getAddressBytesToString: withMetadata(async function getAddressBytesToString(input, options) {
6759
6809
  const service = await serviceLoader.loadAt(1);
6760
6810
  return getClient(service).addressBytesToString(input, options);
6761
- }, { path: [1, 7] }),
6811
+ }, { path: [1, "addressBytesToString"], serviceLoader }),
6762
6812
  /**
6763
6813
  * getAddressStringToBytes converts Address string to bytes
6764
6814
  */
6765
6815
  getAddressStringToBytes: withMetadata(async function getAddressStringToBytes(input, options) {
6766
6816
  const service = await serviceLoader.loadAt(1);
6767
6817
  return getClient(service).addressStringToBytes(input, options);
6768
- }, { path: [1, 8] }),
6818
+ }, { path: [1, "addressStringToBytes"], serviceLoader }),
6769
6819
  /**
6770
6820
  * getAccountInfo queries account info which is common to all account types.
6771
6821
  */
6772
6822
  getAccountInfo: withMetadata(async function getAccountInfo(input, options) {
6773
6823
  const service = await serviceLoader.loadAt(1);
6774
6824
  return getClient(service).accountInfo(input, options);
6775
- }, { path: [1, 9] }),
6825
+ }, { path: [1, "accountInfo"], serviceLoader }),
6776
6826
  /**
6777
6827
  * updateParams defines a (governance) operation for updating the x/auth module
6778
6828
  * parameters. The authority defaults to the x/gov module account.
@@ -6780,7 +6830,7 @@ function createSDK(queryTransport, txTransport) {
6780
6830
  updateParams: withMetadata(async function updateParams(input, options) {
6781
6831
  const service = await serviceLoader.loadAt(2);
6782
6832
  return getMsgClient(service).updateParams(input, options);
6783
- }, { path: [2, 0] })
6833
+ }, { path: [2, "updateParams"], serviceLoader })
6784
6834
  }
6785
6835
  },
6786
6836
  authz: {
@@ -6791,21 +6841,21 @@ function createSDK(queryTransport, txTransport) {
6791
6841
  getGrants: withMetadata(async function getGrants(input, options) {
6792
6842
  const service = await serviceLoader.loadAt(3);
6793
6843
  return getClient(service).grants(input, options);
6794
- }, { path: [3, 0] }),
6844
+ }, { path: [3, "grants"], serviceLoader }),
6795
6845
  /**
6796
6846
  * getGranterGrants returns list of `GrantAuthorization`, granted by granter.
6797
6847
  */
6798
6848
  getGranterGrants: withMetadata(async function getGranterGrants(input, options) {
6799
6849
  const service = await serviceLoader.loadAt(3);
6800
6850
  return getClient(service).granterGrants(input, options);
6801
- }, { path: [3, 1] }),
6851
+ }, { path: [3, "granterGrants"], serviceLoader }),
6802
6852
  /**
6803
6853
  * getGranteeGrants returns a list of `GrantAuthorization` by grantee.
6804
6854
  */
6805
6855
  getGranteeGrants: withMetadata(async function getGranteeGrants(input, options) {
6806
6856
  const service = await serviceLoader.loadAt(3);
6807
6857
  return getClient(service).granteeGrants(input, options);
6808
- }, { path: [3, 2] }),
6858
+ }, { path: [3, "granteeGrants"], serviceLoader }),
6809
6859
  /**
6810
6860
  * grant grants the provided authorization to the grantee on the granter's
6811
6861
  * account with the provided expiration time. If there is already a grant
@@ -6815,7 +6865,7 @@ function createSDK(queryTransport, txTransport) {
6815
6865
  grant: withMetadata(async function grant(input, options) {
6816
6866
  const service = await serviceLoader.loadAt(4);
6817
6867
  return getMsgClient(service).grant(input, options);
6818
- }, { path: [4, 0] }),
6868
+ }, { path: [4, "grant"], serviceLoader }),
6819
6869
  /**
6820
6870
  * exec attempts to execute the provided messages using
6821
6871
  * authorizations granted to the grantee. Each message should have only
@@ -6824,7 +6874,7 @@ function createSDK(queryTransport, txTransport) {
6824
6874
  exec: withMetadata(async function exec(input, options) {
6825
6875
  const service = await serviceLoader.loadAt(4);
6826
6876
  return getMsgClient(service).exec(input, options);
6827
- }, { path: [4, 1] }),
6877
+ }, { path: [4, "exec"], serviceLoader }),
6828
6878
  /**
6829
6879
  * revoke revokes any authorization corresponding to the provided method name on the
6830
6880
  * granter's account that has been granted to the grantee.
@@ -6832,7 +6882,7 @@ function createSDK(queryTransport, txTransport) {
6832
6882
  revoke: withMetadata(async function revoke(input, options) {
6833
6883
  const service = await serviceLoader.loadAt(4);
6834
6884
  return getMsgClient(service).revoke(input, options);
6835
- }, { path: [4, 2] })
6885
+ }, { path: [4, "revoke"], serviceLoader })
6836
6886
  }
6837
6887
  },
6838
6888
  autocli: {
@@ -6843,7 +6893,7 @@ function createSDK(queryTransport, txTransport) {
6843
6893
  getAppOptions: withMetadata(async function getAppOptions(input = {}, options) {
6844
6894
  const service = await serviceLoader.loadAt(5);
6845
6895
  return getClient(service).appOptions(input, options);
6846
- }, { path: [5, 0] })
6896
+ }, { path: [5, "appOptions"], serviceLoader })
6847
6897
  }
6848
6898
  },
6849
6899
  bank: {
@@ -6854,7 +6904,7 @@ function createSDK(queryTransport, txTransport) {
6854
6904
  getBalance: withMetadata(async function getBalance(input, options) {
6855
6905
  const service = await serviceLoader.loadAt(6);
6856
6906
  return getClient(service).balance(input, options);
6857
- }, { path: [6, 0] }),
6907
+ }, { path: [6, "balance"], serviceLoader }),
6858
6908
  /**
6859
6909
  * getAllBalances queries the balance of all coins for a single account.
6860
6910
  *
@@ -6864,7 +6914,7 @@ function createSDK(queryTransport, txTransport) {
6864
6914
  getAllBalances: withMetadata(async function getAllBalances(input, options) {
6865
6915
  const service = await serviceLoader.loadAt(6);
6866
6916
  return getClient(service).allBalances(input, options);
6867
- }, { path: [6, 1] }),
6917
+ }, { path: [6, "allBalances"], serviceLoader }),
6868
6918
  /**
6869
6919
  * getSpendableBalances queries the spendable balance of all coins for a single
6870
6920
  * account.
@@ -6875,7 +6925,7 @@ function createSDK(queryTransport, txTransport) {
6875
6925
  getSpendableBalances: withMetadata(async function getSpendableBalances(input, options) {
6876
6926
  const service = await serviceLoader.loadAt(6);
6877
6927
  return getClient(service).spendableBalances(input, options);
6878
- }, { path: [6, 2] }),
6928
+ }, { path: [6, "spendableBalances"], serviceLoader }),
6879
6929
  /**
6880
6930
  * getSpendableBalanceByDenom queries the spendable balance of a single denom for
6881
6931
  * a single account.
@@ -6886,7 +6936,7 @@ function createSDK(queryTransport, txTransport) {
6886
6936
  getSpendableBalanceByDenom: withMetadata(async function getSpendableBalanceByDenom(input, options) {
6887
6937
  const service = await serviceLoader.loadAt(6);
6888
6938
  return getClient(service).spendableBalanceByDenom(input, options);
6889
- }, { path: [6, 3] }),
6939
+ }, { path: [6, "spendableBalanceByDenom"], serviceLoader }),
6890
6940
  /**
6891
6941
  * getTotalSupply queries the total supply of all coins.
6892
6942
  *
@@ -6896,7 +6946,7 @@ function createSDK(queryTransport, txTransport) {
6896
6946
  getTotalSupply: withMetadata(async function getTotalSupply(input, options) {
6897
6947
  const service = await serviceLoader.loadAt(6);
6898
6948
  return getClient(service).totalSupply(input, options);
6899
- }, { path: [6, 4] }),
6949
+ }, { path: [6, "totalSupply"], serviceLoader }),
6900
6950
  /**
6901
6951
  * getSupplyOf queries the supply of a single coin.
6902
6952
  *
@@ -6906,14 +6956,14 @@ function createSDK(queryTransport, txTransport) {
6906
6956
  getSupplyOf: withMetadata(async function getSupplyOf(input, options) {
6907
6957
  const service = await serviceLoader.loadAt(6);
6908
6958
  return getClient(service).supplyOf(input, options);
6909
- }, { path: [6, 5] }),
6959
+ }, { path: [6, "supplyOf"], serviceLoader }),
6910
6960
  /**
6911
6961
  * getParams queries the parameters of x/bank module.
6912
6962
  */
6913
6963
  getParams: withMetadata(async function getParams(input = {}, options) {
6914
6964
  const service = await serviceLoader.loadAt(6);
6915
6965
  return getClient(service).params(input, options);
6916
- }, { path: [6, 6] }),
6966
+ }, { path: [6, "params"], serviceLoader }),
6917
6967
  /**
6918
6968
  * getDenomsMetadata queries the client metadata for all registered coin
6919
6969
  * denominations.
@@ -6921,21 +6971,21 @@ function createSDK(queryTransport, txTransport) {
6921
6971
  getDenomsMetadata: withMetadata(async function getDenomsMetadata(input, options) {
6922
6972
  const service = await serviceLoader.loadAt(6);
6923
6973
  return getClient(service).denomsMetadata(input, options);
6924
- }, { path: [6, 7] }),
6974
+ }, { path: [6, "denomsMetadata"], serviceLoader }),
6925
6975
  /**
6926
6976
  * getDenomMetadata queries the client metadata of a given coin denomination.
6927
6977
  */
6928
6978
  getDenomMetadata: withMetadata(async function getDenomMetadata(input, options) {
6929
6979
  const service = await serviceLoader.loadAt(6);
6930
6980
  return getClient(service).denomMetadata(input, options);
6931
- }, { path: [6, 8] }),
6981
+ }, { path: [6, "denomMetadata"], serviceLoader }),
6932
6982
  /**
6933
6983
  * getDenomMetadataByQueryString queries the client metadata of a given coin denomination.
6934
6984
  */
6935
6985
  getDenomMetadataByQueryString: withMetadata(async function getDenomMetadataByQueryString(input, options) {
6936
6986
  const service = await serviceLoader.loadAt(6);
6937
6987
  return getClient(service).denomMetadataByQueryString(input, options);
6938
- }, { path: [6, 9] }),
6988
+ }, { path: [6, "denomMetadataByQueryString"], serviceLoader }),
6939
6989
  /**
6940
6990
  * getDenomOwners queries for all account addresses that own a particular token
6941
6991
  * denomination.
@@ -6946,7 +6996,7 @@ function createSDK(queryTransport, txTransport) {
6946
6996
  getDenomOwners: withMetadata(async function getDenomOwners(input, options) {
6947
6997
  const service = await serviceLoader.loadAt(6);
6948
6998
  return getClient(service).denomOwners(input, options);
6949
- }, { path: [6, 10] }),
6999
+ }, { path: [6, "denomOwners"], serviceLoader }),
6950
7000
  /**
6951
7001
  * getDenomOwnersByQuery queries for all account addresses that own a particular token
6952
7002
  * denomination.
@@ -6954,7 +7004,7 @@ function createSDK(queryTransport, txTransport) {
6954
7004
  getDenomOwnersByQuery: withMetadata(async function getDenomOwnersByQuery(input, options) {
6955
7005
  const service = await serviceLoader.loadAt(6);
6956
7006
  return getClient(service).denomOwnersByQuery(input, options);
6957
- }, { path: [6, 11] }),
7007
+ }, { path: [6, "denomOwnersByQuery"], serviceLoader }),
6958
7008
  /**
6959
7009
  * getSendEnabled queries for getSendEnabled entries.
6960
7010
  *
@@ -6965,21 +7015,21 @@ function createSDK(queryTransport, txTransport) {
6965
7015
  getSendEnabled: withMetadata(async function getSendEnabled(input, options) {
6966
7016
  const service = await serviceLoader.loadAt(6);
6967
7017
  return getClient(service).sendEnabled(input, options);
6968
- }, { path: [6, 12] }),
7018
+ }, { path: [6, "sendEnabled"], serviceLoader }),
6969
7019
  /**
6970
7020
  * send defines a method for sending coins from one account to another account.
6971
7021
  */
6972
7022
  send: withMetadata(async function send(input, options) {
6973
7023
  const service = await serviceLoader.loadAt(7);
6974
7024
  return getMsgClient(service).send(input, options);
6975
- }, { path: [7, 0] }),
7025
+ }, { path: [7, "send"], serviceLoader }),
6976
7026
  /**
6977
7027
  * multiSend defines a method for sending coins from some accounts to other accounts.
6978
7028
  */
6979
7029
  multiSend: withMetadata(async function multiSend(input, options) {
6980
7030
  const service = await serviceLoader.loadAt(7);
6981
7031
  return getMsgClient(service).multiSend(input, options);
6982
- }, { path: [7, 1] }),
7032
+ }, { path: [7, "multiSend"], serviceLoader }),
6983
7033
  /**
6984
7034
  * updateParams defines a governance operation for updating the x/bank module parameters.
6985
7035
  * The authority is defined in the keeper.
@@ -6987,7 +7037,7 @@ function createSDK(queryTransport, txTransport) {
6987
7037
  updateParams: withMetadata(async function updateParams(input, options) {
6988
7038
  const service = await serviceLoader.loadAt(7);
6989
7039
  return getMsgClient(service).updateParams(input, options);
6990
- }, { path: [7, 2] }),
7040
+ }, { path: [7, "updateParams"], serviceLoader }),
6991
7041
  /**
6992
7042
  * setSendEnabled is a governance operation for setting the SendEnabled flag
6993
7043
  * on any number of Denoms. Only the entries to add or update should be
@@ -6997,7 +7047,7 @@ function createSDK(queryTransport, txTransport) {
6997
7047
  setSendEnabled: withMetadata(async function setSendEnabled(input, options) {
6998
7048
  const service = await serviceLoader.loadAt(7);
6999
7049
  return getMsgClient(service).setSendEnabled(input, options);
7000
- }, { path: [7, 3] })
7050
+ }, { path: [7, "setSendEnabled"], serviceLoader })
7001
7051
  }
7002
7052
  },
7003
7053
  base: {
@@ -7009,14 +7059,14 @@ function createSDK(queryTransport, txTransport) {
7009
7059
  getConfig: withMetadata(async function getConfig(input = {}, options) {
7010
7060
  const service = await serviceLoader.loadAt(9);
7011
7061
  return getClient(service).config(input, options);
7012
- }, { path: [9, 0] }),
7062
+ }, { path: [9, "config"], serviceLoader }),
7013
7063
  /**
7014
7064
  * getStatus queries for the node status.
7015
7065
  */
7016
7066
  getStatus: withMetadata(async function getStatus(input = {}, options) {
7017
7067
  const service = await serviceLoader.loadAt(9);
7018
7068
  return getClient(service).status(input, options);
7019
- }, { path: [9, 1] })
7069
+ }, { path: [9, "status"], serviceLoader })
7020
7070
  }
7021
7071
  },
7022
7072
  reflection: {
@@ -7028,7 +7078,7 @@ function createSDK(queryTransport, txTransport) {
7028
7078
  getListAllInterfaces: withMetadata(async function getListAllInterfaces(input = {}, options) {
7029
7079
  const service = await serviceLoader.loadAt(10);
7030
7080
  return getClient(service).listAllInterfaces(input, options);
7031
- }, { path: [10, 0] }),
7081
+ }, { path: [10, "listAllInterfaces"], serviceLoader }),
7032
7082
  /**
7033
7083
  * getListImplementations list all the concrete types that implement a given
7034
7084
  * interface.
@@ -7036,7 +7086,7 @@ function createSDK(queryTransport, txTransport) {
7036
7086
  getListImplementations: withMetadata(async function getListImplementations(input, options) {
7037
7087
  const service = await serviceLoader.loadAt(10);
7038
7088
  return getClient(service).listImplementations(input, options);
7039
- }, { path: [10, 1] })
7089
+ }, { path: [10, "listImplementations"], serviceLoader })
7040
7090
  },
7041
7091
  v2alpha1: {
7042
7092
  /**
@@ -7047,42 +7097,42 @@ function createSDK(queryTransport, txTransport) {
7047
7097
  getAuthnDescriptor: withMetadata(async function getAuthnDescriptor(input = {}, options) {
7048
7098
  const service = await serviceLoader.loadAt(11);
7049
7099
  return getClient(service).getAuthnDescriptor(input, options);
7050
- }, { path: [11, 0] }),
7100
+ }, { path: [11, "getAuthnDescriptor"], serviceLoader }),
7051
7101
  /**
7052
7102
  * getChainDescriptor returns the description of the chain
7053
7103
  */
7054
7104
  getChainDescriptor: withMetadata(async function getChainDescriptor(input = {}, options) {
7055
7105
  const service = await serviceLoader.loadAt(11);
7056
7106
  return getClient(service).getChainDescriptor(input, options);
7057
- }, { path: [11, 1] }),
7107
+ }, { path: [11, "getChainDescriptor"], serviceLoader }),
7058
7108
  /**
7059
7109
  * getCodecDescriptor returns the descriptor of the codec of the application
7060
7110
  */
7061
7111
  getCodecDescriptor: withMetadata(async function getCodecDescriptor(input = {}, options) {
7062
7112
  const service = await serviceLoader.loadAt(11);
7063
7113
  return getClient(service).getCodecDescriptor(input, options);
7064
- }, { path: [11, 2] }),
7114
+ }, { path: [11, "getCodecDescriptor"], serviceLoader }),
7065
7115
  /**
7066
7116
  * getConfigurationDescriptor returns the descriptor for the sdk.Config of the application
7067
7117
  */
7068
7118
  getConfigurationDescriptor: withMetadata(async function getConfigurationDescriptor(input = {}, options) {
7069
7119
  const service = await serviceLoader.loadAt(11);
7070
7120
  return getClient(service).getConfigurationDescriptor(input, options);
7071
- }, { path: [11, 3] }),
7121
+ }, { path: [11, "getConfigurationDescriptor"], serviceLoader }),
7072
7122
  /**
7073
7123
  * getQueryServicesDescriptor returns the available gRPC queryable services of the application
7074
7124
  */
7075
7125
  getQueryServicesDescriptor: withMetadata(async function getQueryServicesDescriptor(input = {}, options) {
7076
7126
  const service = await serviceLoader.loadAt(11);
7077
7127
  return getClient(service).getQueryServicesDescriptor(input, options);
7078
- }, { path: [11, 4] }),
7128
+ }, { path: [11, "getQueryServicesDescriptor"], serviceLoader }),
7079
7129
  /**
7080
7130
  * getTxDescriptor returns information on the used transaction object and available msgs that can be used
7081
7131
  */
7082
7132
  getTxDescriptor: withMetadata(async function getTxDescriptor(input = {}, options) {
7083
7133
  const service = await serviceLoader.loadAt(11);
7084
7134
  return getClient(service).getTxDescriptor(input, options);
7085
- }, { path: [11, 5] })
7135
+ }, { path: [11, "getTxDescriptor"], serviceLoader })
7086
7136
  }
7087
7137
  },
7088
7138
  tendermint: {
@@ -7093,42 +7143,42 @@ function createSDK(queryTransport, txTransport) {
7093
7143
  getNodeInfo: withMetadata(async function getNodeInfo(input = {}, options) {
7094
7144
  const service = await serviceLoader.loadAt(12);
7095
7145
  return getClient(service).getNodeInfo(input, options);
7096
- }, { path: [12, 0] }),
7146
+ }, { path: [12, "getNodeInfo"], serviceLoader }),
7097
7147
  /**
7098
7148
  * getSyncing queries node syncing.
7099
7149
  */
7100
7150
  getSyncing: withMetadata(async function getSyncing(input = {}, options) {
7101
7151
  const service = await serviceLoader.loadAt(12);
7102
7152
  return getClient(service).getSyncing(input, options);
7103
- }, { path: [12, 1] }),
7153
+ }, { path: [12, "getSyncing"], serviceLoader }),
7104
7154
  /**
7105
7155
  * getLatestBlock returns the latest block.
7106
7156
  */
7107
7157
  getLatestBlock: withMetadata(async function getLatestBlock(input = {}, options) {
7108
7158
  const service = await serviceLoader.loadAt(12);
7109
7159
  return getClient(service).getLatestBlock(input, options);
7110
- }, { path: [12, 2] }),
7160
+ }, { path: [12, "getLatestBlock"], serviceLoader }),
7111
7161
  /**
7112
7162
  * getBlockByHeight queries block for given height.
7113
7163
  */
7114
7164
  getBlockByHeight: withMetadata(async function getBlockByHeight(input, options) {
7115
7165
  const service = await serviceLoader.loadAt(12);
7116
7166
  return getClient(service).getBlockByHeight(input, options);
7117
- }, { path: [12, 3] }),
7167
+ }, { path: [12, "getBlockByHeight"], serviceLoader }),
7118
7168
  /**
7119
7169
  * getLatestValidatorSet queries latest validator-set.
7120
7170
  */
7121
7171
  getLatestValidatorSet: withMetadata(async function getLatestValidatorSet(input, options) {
7122
7172
  const service = await serviceLoader.loadAt(12);
7123
7173
  return getClient(service).getLatestValidatorSet(input, options);
7124
- }, { path: [12, 4] }),
7174
+ }, { path: [12, "getLatestValidatorSet"], serviceLoader }),
7125
7175
  /**
7126
7176
  * getValidatorSetByHeight queries validator-set at a given height.
7127
7177
  */
7128
7178
  getValidatorSetByHeight: withMetadata(async function getValidatorSetByHeight(input, options) {
7129
7179
  const service = await serviceLoader.loadAt(12);
7130
7180
  return getClient(service).getValidatorSetByHeight(input, options);
7131
- }, { path: [12, 5] }),
7181
+ }, { path: [12, "getValidatorSetByHeight"], serviceLoader }),
7132
7182
  /**
7133
7183
  * getABCIQuery defines a query handler that supports ABCI queries directly to the
7134
7184
  * application, bypassing Tendermint completely. The ABCI query must contain
@@ -7137,7 +7187,7 @@ function createSDK(queryTransport, txTransport) {
7137
7187
  getABCIQuery: withMetadata(async function getABCIQuery(input, options) {
7138
7188
  const service = await serviceLoader.loadAt(12);
7139
7189
  return getClient(service).aBCIQuery(input, options);
7140
- }, { path: [12, 6] })
7190
+ }, { path: [12, "aBCIQuery"], serviceLoader })
7141
7191
  }
7142
7192
  }
7143
7193
  },
@@ -7149,7 +7199,7 @@ function createSDK(queryTransport, txTransport) {
7149
7199
  loadTest: withMetadata(async function loadTest(input, options) {
7150
7200
  const service = await serviceLoader.loadAt(13);
7151
7201
  return getMsgClient(service).loadTest(input, options);
7152
- }, { path: [13, 0] })
7202
+ }, { path: [13, "loadTest"], serviceLoader })
7153
7203
  }
7154
7204
  },
7155
7205
  circuit: {
@@ -7160,21 +7210,21 @@ function createSDK(queryTransport, txTransport) {
7160
7210
  getAccount: withMetadata(async function getAccount(input, options) {
7161
7211
  const service = await serviceLoader.loadAt(14);
7162
7212
  return getClient(service).account(input, options);
7163
- }, { path: [14, 0] }),
7213
+ }, { path: [14, "account"], serviceLoader }),
7164
7214
  /**
7165
7215
  * Account returns account permissions.
7166
7216
  */
7167
7217
  getAccounts: withMetadata(async function getAccounts(input, options) {
7168
7218
  const service = await serviceLoader.loadAt(14);
7169
7219
  return getClient(service).accounts(input, options);
7170
- }, { path: [14, 1] }),
7220
+ }, { path: [14, "accounts"], serviceLoader }),
7171
7221
  /**
7172
7222
  * getDisabledList returns a list of disabled message urls
7173
7223
  */
7174
7224
  getDisabledList: withMetadata(async function getDisabledList(input = {}, options) {
7175
7225
  const service = await serviceLoader.loadAt(14);
7176
7226
  return getClient(service).disabledList(input, options);
7177
- }, { path: [14, 2] }),
7227
+ }, { path: [14, "disabledList"], serviceLoader }),
7178
7228
  /**
7179
7229
  * authorizeCircuitBreaker allows a super-admin to grant (or revoke) another
7180
7230
  * account's circuit breaker permissions.
@@ -7182,14 +7232,14 @@ function createSDK(queryTransport, txTransport) {
7182
7232
  authorizeCircuitBreaker: withMetadata(async function authorizeCircuitBreaker(input, options) {
7183
7233
  const service = await serviceLoader.loadAt(15);
7184
7234
  return getMsgClient(service).authorizeCircuitBreaker(input, options);
7185
- }, { path: [15, 0] }),
7235
+ }, { path: [15, "authorizeCircuitBreaker"], serviceLoader }),
7186
7236
  /**
7187
7237
  * tripCircuitBreaker pauses processing of Msg's in the state machine.
7188
7238
  */
7189
7239
  tripCircuitBreaker: withMetadata(async function tripCircuitBreaker(input, options) {
7190
7240
  const service = await serviceLoader.loadAt(15);
7191
7241
  return getMsgClient(service).tripCircuitBreaker(input, options);
7192
- }, { path: [15, 1] }),
7242
+ }, { path: [15, "tripCircuitBreaker"], serviceLoader }),
7193
7243
  /**
7194
7244
  * resetCircuitBreaker resumes processing of Msg's in the state machine that
7195
7245
  * have been been paused using TripCircuitBreaker.
@@ -7197,7 +7247,7 @@ function createSDK(queryTransport, txTransport) {
7197
7247
  resetCircuitBreaker: withMetadata(async function resetCircuitBreaker(input, options) {
7198
7248
  const service = await serviceLoader.loadAt(15);
7199
7249
  return getMsgClient(service).resetCircuitBreaker(input, options);
7200
- }, { path: [15, 2] })
7250
+ }, { path: [15, "resetCircuitBreaker"], serviceLoader })
7201
7251
  }
7202
7252
  },
7203
7253
  consensus: {
@@ -7208,7 +7258,7 @@ function createSDK(queryTransport, txTransport) {
7208
7258
  getParams: withMetadata(async function getParams(input = {}, options) {
7209
7259
  const service = await serviceLoader.loadAt(16);
7210
7260
  return getClient(service).params(input, options);
7211
- }, { path: [16, 0] }),
7261
+ }, { path: [16, "params"], serviceLoader }),
7212
7262
  /**
7213
7263
  * updateParams defines a governance operation for updating the x/consensus module parameters.
7214
7264
  * The authority is defined in the keeper.
@@ -7216,7 +7266,7 @@ function createSDK(queryTransport, txTransport) {
7216
7266
  updateParams: withMetadata(async function updateParams(input, options) {
7217
7267
  const service = await serviceLoader.loadAt(17);
7218
7268
  return getMsgClient(service).updateParams(input, options);
7219
- }, { path: [17, 0] })
7269
+ }, { path: [17, "updateParams"], serviceLoader })
7220
7270
  }
7221
7271
  },
7222
7272
  counter: {
@@ -7227,14 +7277,14 @@ function createSDK(queryTransport, txTransport) {
7227
7277
  getCount: withMetadata(async function getCount(input = {}, options) {
7228
7278
  const service = await serviceLoader.loadAt(18);
7229
7279
  return getClient(service).getCount(input, options);
7230
- }, { path: [18, 0] }),
7280
+ }, { path: [18, "getCount"], serviceLoader }),
7231
7281
  /**
7232
7282
  * increaseCount increments the counter by the specified amount.
7233
7283
  */
7234
7284
  increaseCount: withMetadata(async function increaseCount(input, options) {
7235
7285
  const service = await serviceLoader.loadAt(19);
7236
7286
  return getMsgClient(service).increaseCount(input, options);
7237
- }, { path: [19, 0] })
7287
+ }, { path: [19, "increaseCount"], serviceLoader })
7238
7288
  }
7239
7289
  },
7240
7290
  crisis: {
@@ -7245,7 +7295,7 @@ function createSDK(queryTransport, txTransport) {
7245
7295
  verifyInvariant: withMetadata(async function verifyInvariant(input, options) {
7246
7296
  const service = await serviceLoader.loadAt(20);
7247
7297
  return getMsgClient(service).verifyInvariant(input, options);
7248
- }, { path: [20, 0] }),
7298
+ }, { path: [20, "verifyInvariant"], serviceLoader }),
7249
7299
  /**
7250
7300
  * updateParams defines a governance operation for updating the x/crisis module
7251
7301
  * parameters. The authority is defined in the keeper.
@@ -7253,7 +7303,7 @@ function createSDK(queryTransport, txTransport) {
7253
7303
  updateParams: withMetadata(async function updateParams(input, options) {
7254
7304
  const service = await serviceLoader.loadAt(20);
7255
7305
  return getMsgClient(service).updateParams(input, options);
7256
- }, { path: [20, 1] })
7306
+ }, { path: [20, "updateParams"], serviceLoader })
7257
7307
  }
7258
7308
  },
7259
7309
  distribution: {
@@ -7264,42 +7314,42 @@ function createSDK(queryTransport, txTransport) {
7264
7314
  getParams: withMetadata(async function getParams(input = {}, options) {
7265
7315
  const service = await serviceLoader.loadAt(21);
7266
7316
  return getClient(service).params(input, options);
7267
- }, { path: [21, 0] }),
7317
+ }, { path: [21, "params"], serviceLoader }),
7268
7318
  /**
7269
7319
  * getValidatorDistributionInfo queries validator commission and self-delegation rewards for validator
7270
7320
  */
7271
7321
  getValidatorDistributionInfo: withMetadata(async function getValidatorDistributionInfo(input, options) {
7272
7322
  const service = await serviceLoader.loadAt(21);
7273
7323
  return getClient(service).validatorDistributionInfo(input, options);
7274
- }, { path: [21, 1] }),
7324
+ }, { path: [21, "validatorDistributionInfo"], serviceLoader }),
7275
7325
  /**
7276
7326
  * getValidatorOutstandingRewards queries rewards of a validator address.
7277
7327
  */
7278
7328
  getValidatorOutstandingRewards: withMetadata(async function getValidatorOutstandingRewards(input, options) {
7279
7329
  const service = await serviceLoader.loadAt(21);
7280
7330
  return getClient(service).validatorOutstandingRewards(input, options);
7281
- }, { path: [21, 2] }),
7331
+ }, { path: [21, "validatorOutstandingRewards"], serviceLoader }),
7282
7332
  /**
7283
7333
  * getValidatorCommission queries accumulated commission for a validator.
7284
7334
  */
7285
7335
  getValidatorCommission: withMetadata(async function getValidatorCommission(input, options) {
7286
7336
  const service = await serviceLoader.loadAt(21);
7287
7337
  return getClient(service).validatorCommission(input, options);
7288
- }, { path: [21, 3] }),
7338
+ }, { path: [21, "validatorCommission"], serviceLoader }),
7289
7339
  /**
7290
7340
  * getValidatorSlashes queries slash events of a validator.
7291
7341
  */
7292
7342
  getValidatorSlashes: withMetadata(async function getValidatorSlashes(input, options) {
7293
7343
  const service = await serviceLoader.loadAt(21);
7294
7344
  return getClient(service).validatorSlashes(input, options);
7295
- }, { path: [21, 4] }),
7345
+ }, { path: [21, "validatorSlashes"], serviceLoader }),
7296
7346
  /**
7297
7347
  * getDelegationRewards queries the total rewards accrued by a delegation.
7298
7348
  */
7299
7349
  getDelegationRewards: withMetadata(async function getDelegationRewards(input, options) {
7300
7350
  const service = await serviceLoader.loadAt(21);
7301
7351
  return getClient(service).delegationRewards(input, options);
7302
- }, { path: [21, 5] }),
7352
+ }, { path: [21, "delegationRewards"], serviceLoader }),
7303
7353
  /**
7304
7354
  * getDelegationTotalRewards queries the total rewards accrued by each
7305
7355
  * validator.
@@ -7307,21 +7357,21 @@ function createSDK(queryTransport, txTransport) {
7307
7357
  getDelegationTotalRewards: withMetadata(async function getDelegationTotalRewards(input, options) {
7308
7358
  const service = await serviceLoader.loadAt(21);
7309
7359
  return getClient(service).delegationTotalRewards(input, options);
7310
- }, { path: [21, 6] }),
7360
+ }, { path: [21, "delegationTotalRewards"], serviceLoader }),
7311
7361
  /**
7312
7362
  * getDelegatorValidators queries the validators of a delegator.
7313
7363
  */
7314
7364
  getDelegatorValidators: withMetadata(async function getDelegatorValidators(input, options) {
7315
7365
  const service = await serviceLoader.loadAt(21);
7316
7366
  return getClient(service).delegatorValidators(input, options);
7317
- }, { path: [21, 7] }),
7367
+ }, { path: [21, "delegatorValidators"], serviceLoader }),
7318
7368
  /**
7319
7369
  * getDelegatorWithdrawAddress queries withdraw address of a delegator.
7320
7370
  */
7321
7371
  getDelegatorWithdrawAddress: withMetadata(async function getDelegatorWithdrawAddress(input, options) {
7322
7372
  const service = await serviceLoader.loadAt(21);
7323
7373
  return getClient(service).delegatorWithdrawAddress(input, options);
7324
- }, { path: [21, 8] }),
7374
+ }, { path: [21, "delegatorWithdrawAddress"], serviceLoader }),
7325
7375
  /**
7326
7376
  * getCommunityPool queries the community pool coins.
7327
7377
  *
@@ -7330,7 +7380,7 @@ function createSDK(queryTransport, txTransport) {
7330
7380
  getCommunityPool: withMetadata(async function getCommunityPool(input = {}, options) {
7331
7381
  const service = await serviceLoader.loadAt(21);
7332
7382
  return getClient(service).communityPool(input, options);
7333
- }, { path: [21, 9] }),
7383
+ }, { path: [21, "communityPool"], serviceLoader }),
7334
7384
  /**
7335
7385
  * setWithdrawAddress defines a method to change the withdraw address
7336
7386
  * for a delegator (or validator self-delegation).
@@ -7338,7 +7388,7 @@ function createSDK(queryTransport, txTransport) {
7338
7388
  setWithdrawAddress: withMetadata(async function setWithdrawAddress(input, options) {
7339
7389
  const service = await serviceLoader.loadAt(22);
7340
7390
  return getMsgClient(service).setWithdrawAddress(input, options);
7341
- }, { path: [22, 0] }),
7391
+ }, { path: [22, "setWithdrawAddress"], serviceLoader }),
7342
7392
  /**
7343
7393
  * withdrawDelegatorReward defines a method to withdraw rewards of delegator
7344
7394
  * from a single validator.
@@ -7346,7 +7396,7 @@ function createSDK(queryTransport, txTransport) {
7346
7396
  withdrawDelegatorReward: withMetadata(async function withdrawDelegatorReward(input, options) {
7347
7397
  const service = await serviceLoader.loadAt(22);
7348
7398
  return getMsgClient(service).withdrawDelegatorReward(input, options);
7349
- }, { path: [22, 1] }),
7399
+ }, { path: [22, "withdrawDelegatorReward"], serviceLoader }),
7350
7400
  /**
7351
7401
  * withdrawValidatorCommission defines a method to withdraw the
7352
7402
  * full commission to the validator address.
@@ -7354,7 +7404,7 @@ function createSDK(queryTransport, txTransport) {
7354
7404
  withdrawValidatorCommission: withMetadata(async function withdrawValidatorCommission(input, options) {
7355
7405
  const service = await serviceLoader.loadAt(22);
7356
7406
  return getMsgClient(service).withdrawValidatorCommission(input, options);
7357
- }, { path: [22, 2] }),
7407
+ }, { path: [22, "withdrawValidatorCommission"], serviceLoader }),
7358
7408
  /**
7359
7409
  * fundCommunityPool defines a method to allow an account to directly
7360
7410
  * fund the community pool.
@@ -7364,7 +7414,7 @@ function createSDK(queryTransport, txTransport) {
7364
7414
  fundCommunityPool: withMetadata(async function fundCommunityPool(input, options) {
7365
7415
  const service = await serviceLoader.loadAt(22);
7366
7416
  return getMsgClient(service).fundCommunityPool(input, options);
7367
- }, { path: [22, 3] }),
7417
+ }, { path: [22, "fundCommunityPool"], serviceLoader }),
7368
7418
  /**
7369
7419
  * updateParams defines a governance operation for updating the x/distribution
7370
7420
  * module parameters. The authority is defined in the keeper.
@@ -7372,7 +7422,7 @@ function createSDK(queryTransport, txTransport) {
7372
7422
  updateParams: withMetadata(async function updateParams(input, options) {
7373
7423
  const service = await serviceLoader.loadAt(22);
7374
7424
  return getMsgClient(service).updateParams(input, options);
7375
- }, { path: [22, 4] }),
7425
+ }, { path: [22, "updateParams"], serviceLoader }),
7376
7426
  /**
7377
7427
  * communityPoolSpend defines a governance operation for sending tokens from
7378
7428
  * the community pool in the x/distribution module to another account, which
@@ -7384,7 +7434,7 @@ function createSDK(queryTransport, txTransport) {
7384
7434
  communityPoolSpend: withMetadata(async function communityPoolSpend(input, options) {
7385
7435
  const service = await serviceLoader.loadAt(22);
7386
7436
  return getMsgClient(service).communityPoolSpend(input, options);
7387
- }, { path: [22, 5] }),
7437
+ }, { path: [22, "communityPoolSpend"], serviceLoader }),
7388
7438
  /**
7389
7439
  * depositValidatorRewardsPool defines a method to provide additional rewards
7390
7440
  * to delegators to a specific validator.
@@ -7392,7 +7442,7 @@ function createSDK(queryTransport, txTransport) {
7392
7442
  depositValidatorRewardsPool: withMetadata(async function depositValidatorRewardsPool(input, options) {
7393
7443
  const service = await serviceLoader.loadAt(22);
7394
7444
  return getMsgClient(service).depositValidatorRewardsPool(input, options);
7395
- }, { path: [22, 6] })
7445
+ }, { path: [22, "depositValidatorRewardsPool"], serviceLoader })
7396
7446
  }
7397
7447
  },
7398
7448
  epochs: {
@@ -7403,14 +7453,14 @@ function createSDK(queryTransport, txTransport) {
7403
7453
  getEpochInfos: withMetadata(async function getEpochInfos(input = {}, options) {
7404
7454
  const service = await serviceLoader.loadAt(23);
7405
7455
  return getClient(service).epochInfos(input, options);
7406
- }, { path: [23, 0] }),
7456
+ }, { path: [23, "epochInfos"], serviceLoader }),
7407
7457
  /**
7408
7458
  * getCurrentEpoch provide current epoch of specified identifier
7409
7459
  */
7410
7460
  getCurrentEpoch: withMetadata(async function getCurrentEpoch(input, options) {
7411
7461
  const service = await serviceLoader.loadAt(23);
7412
7462
  return getClient(service).currentEpoch(input, options);
7413
- }, { path: [23, 1] })
7463
+ }, { path: [23, "currentEpoch"], serviceLoader })
7414
7464
  }
7415
7465
  },
7416
7466
  evidence: {
@@ -7421,14 +7471,14 @@ function createSDK(queryTransport, txTransport) {
7421
7471
  getEvidence: withMetadata(async function getEvidence(input, options) {
7422
7472
  const service = await serviceLoader.loadAt(24);
7423
7473
  return getClient(service).evidence(input, options);
7424
- }, { path: [24, 0] }),
7474
+ }, { path: [24, "evidence"], serviceLoader }),
7425
7475
  /**
7426
7476
  * getAllEvidence queries all evidence.
7427
7477
  */
7428
7478
  getAllEvidence: withMetadata(async function getAllEvidence(input, options) {
7429
7479
  const service = await serviceLoader.loadAt(24);
7430
7480
  return getClient(service).allEvidence(input, options);
7431
- }, { path: [24, 1] }),
7481
+ }, { path: [24, "allEvidence"], serviceLoader }),
7432
7482
  /**
7433
7483
  * submitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or
7434
7484
  * counterfactual signing.
@@ -7436,7 +7486,7 @@ function createSDK(queryTransport, txTransport) {
7436
7486
  submitEvidence: withMetadata(async function submitEvidence(input, options) {
7437
7487
  const service = await serviceLoader.loadAt(25);
7438
7488
  return getMsgClient(service).submitEvidence(input, options);
7439
- }, { path: [25, 0] })
7489
+ }, { path: [25, "submitEvidence"], serviceLoader })
7440
7490
  }
7441
7491
  },
7442
7492
  feegrant: {
@@ -7447,21 +7497,21 @@ function createSDK(queryTransport, txTransport) {
7447
7497
  getAllowance: withMetadata(async function getAllowance(input, options) {
7448
7498
  const service = await serviceLoader.loadAt(26);
7449
7499
  return getClient(service).allowance(input, options);
7450
- }, { path: [26, 0] }),
7500
+ }, { path: [26, "allowance"], serviceLoader }),
7451
7501
  /**
7452
7502
  * getAllowances returns all the grants for the given grantee address.
7453
7503
  */
7454
7504
  getAllowances: withMetadata(async function getAllowances(input, options) {
7455
7505
  const service = await serviceLoader.loadAt(26);
7456
7506
  return getClient(service).allowances(input, options);
7457
- }, { path: [26, 1] }),
7507
+ }, { path: [26, "allowances"], serviceLoader }),
7458
7508
  /**
7459
7509
  * getAllowancesByGranter returns all the grants given by an address
7460
7510
  */
7461
7511
  getAllowancesByGranter: withMetadata(async function getAllowancesByGranter(input, options) {
7462
7512
  const service = await serviceLoader.loadAt(26);
7463
7513
  return getClient(service).allowancesByGranter(input, options);
7464
- }, { path: [26, 2] }),
7514
+ }, { path: [26, "allowancesByGranter"], serviceLoader }),
7465
7515
  /**
7466
7516
  * grantAllowance grants fee allowance to the grantee on the granter's
7467
7517
  * account with the provided expiration time.
@@ -7469,7 +7519,7 @@ function createSDK(queryTransport, txTransport) {
7469
7519
  grantAllowance: withMetadata(async function grantAllowance(input, options) {
7470
7520
  const service = await serviceLoader.loadAt(27);
7471
7521
  return getMsgClient(service).grantAllowance(input, options);
7472
- }, { path: [27, 0] }),
7522
+ }, { path: [27, "grantAllowance"], serviceLoader }),
7473
7523
  /**
7474
7524
  * revokeAllowance revokes any fee allowance of granter's account that
7475
7525
  * has been granted to the grantee.
@@ -7477,14 +7527,14 @@ function createSDK(queryTransport, txTransport) {
7477
7527
  revokeAllowance: withMetadata(async function revokeAllowance(input, options) {
7478
7528
  const service = await serviceLoader.loadAt(27);
7479
7529
  return getMsgClient(service).revokeAllowance(input, options);
7480
- }, { path: [27, 1] }),
7530
+ }, { path: [27, "revokeAllowance"], serviceLoader }),
7481
7531
  /**
7482
7532
  * pruneAllowances prunes expired fee allowances, currently up to 75 at a time.
7483
7533
  */
7484
7534
  pruneAllowances: withMetadata(async function pruneAllowances(input, options) {
7485
7535
  const service = await serviceLoader.loadAt(27);
7486
7536
  return getMsgClient(service).pruneAllowances(input, options);
7487
- }, { path: [27, 2] })
7537
+ }, { path: [27, "pruneAllowances"], serviceLoader })
7488
7538
  }
7489
7539
  },
7490
7540
  gov: {
@@ -7495,70 +7545,70 @@ function createSDK(queryTransport, txTransport) {
7495
7545
  getConstitution: withMetadata(async function getConstitution(input = {}, options) {
7496
7546
  const service = await serviceLoader.loadAt(28);
7497
7547
  return getClient(service).constitution(input, options);
7498
- }, { path: [28, 0] }),
7548
+ }, { path: [28, "constitution"], serviceLoader }),
7499
7549
  /**
7500
7550
  * getProposal queries proposal details based on ProposalID.
7501
7551
  */
7502
7552
  getProposal: withMetadata(async function getProposal(input, options) {
7503
7553
  const service = await serviceLoader.loadAt(28);
7504
7554
  return getClient(service).proposal(input, options);
7505
- }, { path: [28, 1] }),
7555
+ }, { path: [28, "proposal"], serviceLoader }),
7506
7556
  /**
7507
7557
  * getProposals queries all proposals based on given status.
7508
7558
  */
7509
7559
  getProposals: withMetadata(async function getProposals(input, options) {
7510
7560
  const service = await serviceLoader.loadAt(28);
7511
7561
  return getClient(service).proposals(input, options);
7512
- }, { path: [28, 2] }),
7562
+ }, { path: [28, "proposals"], serviceLoader }),
7513
7563
  /**
7514
7564
  * getVote queries voted information based on proposalID, voterAddr.
7515
7565
  */
7516
7566
  getVote: withMetadata(async function getVote(input, options) {
7517
7567
  const service = await serviceLoader.loadAt(28);
7518
7568
  return getClient(service).vote(input, options);
7519
- }, { path: [28, 3] }),
7569
+ }, { path: [28, "vote"], serviceLoader }),
7520
7570
  /**
7521
7571
  * getVotes queries votes of a given proposal.
7522
7572
  */
7523
7573
  getVotes: withMetadata(async function getVotes(input, options) {
7524
7574
  const service = await serviceLoader.loadAt(28);
7525
7575
  return getClient(service).votes(input, options);
7526
- }, { path: [28, 4] }),
7576
+ }, { path: [28, "votes"], serviceLoader }),
7527
7577
  /**
7528
7578
  * getParams queries all parameters of the gov module.
7529
7579
  */
7530
7580
  getParams: withMetadata(async function getParams(input, options) {
7531
7581
  const service = await serviceLoader.loadAt(28);
7532
7582
  return getClient(service).params(input, options);
7533
- }, { path: [28, 5] }),
7583
+ }, { path: [28, "params"], serviceLoader }),
7534
7584
  /**
7535
7585
  * getDeposit queries single deposit information based on proposalID, depositAddr.
7536
7586
  */
7537
7587
  getDeposit: withMetadata(async function getDeposit(input, options) {
7538
7588
  const service = await serviceLoader.loadAt(28);
7539
7589
  return getClient(service).deposit(input, options);
7540
- }, { path: [28, 6] }),
7590
+ }, { path: [28, "deposit"], serviceLoader }),
7541
7591
  /**
7542
7592
  * getDeposits queries all deposits of a single proposal.
7543
7593
  */
7544
7594
  getDeposits: withMetadata(async function getDeposits(input, options) {
7545
7595
  const service = await serviceLoader.loadAt(28);
7546
7596
  return getClient(service).deposits(input, options);
7547
- }, { path: [28, 7] }),
7597
+ }, { path: [28, "deposits"], serviceLoader }),
7548
7598
  /**
7549
7599
  * getTallyResult queries the tally of a proposal vote.
7550
7600
  */
7551
7601
  getTallyResult: withMetadata(async function getTallyResult(input, options) {
7552
7602
  const service = await serviceLoader.loadAt(28);
7553
7603
  return getClient(service).tallyResult(input, options);
7554
- }, { path: [28, 8] }),
7604
+ }, { path: [28, "tallyResult"], serviceLoader }),
7555
7605
  /**
7556
7606
  * submitProposal defines a method to create new proposal given the messages.
7557
7607
  */
7558
7608
  submitProposal: withMetadata(async function submitProposal(input, options) {
7559
7609
  const service = await serviceLoader.loadAt(29);
7560
7610
  return getMsgClient(service).submitProposal(input, options);
7561
- }, { path: [29, 0] }),
7611
+ }, { path: [29, "submitProposal"], serviceLoader }),
7562
7612
  /**
7563
7613
  * execLegacyContent defines a Msg to be in included in a MsgSubmitProposal
7564
7614
  * to execute a legacy content-based proposal.
@@ -7566,28 +7616,28 @@ function createSDK(queryTransport, txTransport) {
7566
7616
  execLegacyContent: withMetadata(async function execLegacyContent(input, options) {
7567
7617
  const service = await serviceLoader.loadAt(29);
7568
7618
  return getMsgClient(service).execLegacyContent(input, options);
7569
- }, { path: [29, 1] }),
7619
+ }, { path: [29, "execLegacyContent"], serviceLoader }),
7570
7620
  /**
7571
7621
  * vote defines a method to add a vote on a specific proposal.
7572
7622
  */
7573
7623
  vote: withMetadata(async function vote(input, options) {
7574
7624
  const service = await serviceLoader.loadAt(29);
7575
7625
  return getMsgClient(service).vote(input, options);
7576
- }, { path: [29, 2] }),
7626
+ }, { path: [29, "vote"], serviceLoader }),
7577
7627
  /**
7578
7628
  * voteWeighted defines a method to add a weighted vote on a specific proposal.
7579
7629
  */
7580
7630
  voteWeighted: withMetadata(async function voteWeighted(input, options) {
7581
7631
  const service = await serviceLoader.loadAt(29);
7582
7632
  return getMsgClient(service).voteWeighted(input, options);
7583
- }, { path: [29, 3] }),
7633
+ }, { path: [29, "voteWeighted"], serviceLoader }),
7584
7634
  /**
7585
7635
  * deposit defines a method to add deposit on a specific proposal.
7586
7636
  */
7587
7637
  deposit: withMetadata(async function deposit(input, options) {
7588
7638
  const service = await serviceLoader.loadAt(29);
7589
7639
  return getMsgClient(service).deposit(input, options);
7590
- }, { path: [29, 4] }),
7640
+ }, { path: [29, "deposit"], serviceLoader }),
7591
7641
  /**
7592
7642
  * updateParams defines a governance operation for updating the x/gov module
7593
7643
  * parameters. The authority is defined in the keeper.
@@ -7595,14 +7645,14 @@ function createSDK(queryTransport, txTransport) {
7595
7645
  updateParams: withMetadata(async function updateParams(input, options) {
7596
7646
  const service = await serviceLoader.loadAt(29);
7597
7647
  return getMsgClient(service).updateParams(input, options);
7598
- }, { path: [29, 5] }),
7648
+ }, { path: [29, "updateParams"], serviceLoader }),
7599
7649
  /**
7600
7650
  * cancelProposal defines a method to cancel governance proposal
7601
7651
  */
7602
7652
  cancelProposal: withMetadata(async function cancelProposal(input, options) {
7603
7653
  const service = await serviceLoader.loadAt(29);
7604
7654
  return getMsgClient(service).cancelProposal(input, options);
7605
- }, { path: [29, 6] })
7655
+ }, { path: [29, "cancelProposal"], serviceLoader })
7606
7656
  },
7607
7657
  v1beta1: {
7608
7658
  /**
@@ -7611,84 +7661,84 @@ function createSDK(queryTransport, txTransport) {
7611
7661
  getProposal: withMetadata(async function getProposal(input, options) {
7612
7662
  const service = await serviceLoader.loadAt(30);
7613
7663
  return getClient(service).proposal(input, options);
7614
- }, { path: [30, 0] }),
7664
+ }, { path: [30, "proposal"], serviceLoader }),
7615
7665
  /**
7616
7666
  * getProposals queries all proposals based on given status.
7617
7667
  */
7618
7668
  getProposals: withMetadata(async function getProposals(input, options) {
7619
7669
  const service = await serviceLoader.loadAt(30);
7620
7670
  return getClient(service).proposals(input, options);
7621
- }, { path: [30, 1] }),
7671
+ }, { path: [30, "proposals"], serviceLoader }),
7622
7672
  /**
7623
7673
  * getVote queries voted information based on proposalID, voterAddr.
7624
7674
  */
7625
7675
  getVote: withMetadata(async function getVote(input, options) {
7626
7676
  const service = await serviceLoader.loadAt(30);
7627
7677
  return getClient(service).vote(input, options);
7628
- }, { path: [30, 2] }),
7678
+ }, { path: [30, "vote"], serviceLoader }),
7629
7679
  /**
7630
7680
  * getVotes queries votes of a given proposal.
7631
7681
  */
7632
7682
  getVotes: withMetadata(async function getVotes(input, options) {
7633
7683
  const service = await serviceLoader.loadAt(30);
7634
7684
  return getClient(service).votes(input, options);
7635
- }, { path: [30, 3] }),
7685
+ }, { path: [30, "votes"], serviceLoader }),
7636
7686
  /**
7637
7687
  * getParams queries all parameters of the gov module.
7638
7688
  */
7639
7689
  getParams: withMetadata(async function getParams(input, options) {
7640
7690
  const service = await serviceLoader.loadAt(30);
7641
7691
  return getClient(service).params(input, options);
7642
- }, { path: [30, 4] }),
7692
+ }, { path: [30, "params"], serviceLoader }),
7643
7693
  /**
7644
7694
  * getDeposit queries single deposit information based on proposalID, depositor address.
7645
7695
  */
7646
7696
  getDeposit: withMetadata(async function getDeposit(input, options) {
7647
7697
  const service = await serviceLoader.loadAt(30);
7648
7698
  return getClient(service).deposit(input, options);
7649
- }, { path: [30, 5] }),
7699
+ }, { path: [30, "deposit"], serviceLoader }),
7650
7700
  /**
7651
7701
  * getDeposits queries all deposits of a single proposal.
7652
7702
  */
7653
7703
  getDeposits: withMetadata(async function getDeposits(input, options) {
7654
7704
  const service = await serviceLoader.loadAt(30);
7655
7705
  return getClient(service).deposits(input, options);
7656
- }, { path: [30, 6] }),
7706
+ }, { path: [30, "deposits"], serviceLoader }),
7657
7707
  /**
7658
7708
  * getTallyResult queries the tally of a proposal vote.
7659
7709
  */
7660
7710
  getTallyResult: withMetadata(async function getTallyResult(input, options) {
7661
7711
  const service = await serviceLoader.loadAt(30);
7662
7712
  return getClient(service).tallyResult(input, options);
7663
- }, { path: [30, 7] }),
7713
+ }, { path: [30, "tallyResult"], serviceLoader }),
7664
7714
  /**
7665
7715
  * submitProposal defines a method to create new proposal given a content.
7666
7716
  */
7667
7717
  submitProposal: withMetadata(async function submitProposal(input, options) {
7668
7718
  const service = await serviceLoader.loadAt(31);
7669
7719
  return getMsgClient(service).submitProposal(input, options);
7670
- }, { path: [31, 0] }),
7720
+ }, { path: [31, "submitProposal"], serviceLoader }),
7671
7721
  /**
7672
7722
  * vote defines a method to add a vote on a specific proposal.
7673
7723
  */
7674
7724
  vote: withMetadata(async function vote(input, options) {
7675
7725
  const service = await serviceLoader.loadAt(31);
7676
7726
  return getMsgClient(service).vote(input, options);
7677
- }, { path: [31, 1] }),
7727
+ }, { path: [31, "vote"], serviceLoader }),
7678
7728
  /**
7679
7729
  * voteWeighted defines a method to add a weighted vote on a specific proposal.
7680
7730
  */
7681
7731
  voteWeighted: withMetadata(async function voteWeighted(input, options) {
7682
7732
  const service = await serviceLoader.loadAt(31);
7683
7733
  return getMsgClient(service).voteWeighted(input, options);
7684
- }, { path: [31, 2] }),
7734
+ }, { path: [31, "voteWeighted"], serviceLoader }),
7685
7735
  /**
7686
7736
  * deposit defines a method to add deposit on a specific proposal.
7687
7737
  */
7688
7738
  deposit: withMetadata(async function deposit(input, options) {
7689
7739
  const service = await serviceLoader.loadAt(31);
7690
7740
  return getMsgClient(service).deposit(input, options);
7691
- }, { path: [31, 3] })
7741
+ }, { path: [31, "deposit"], serviceLoader })
7692
7742
  }
7693
7743
  },
7694
7744
  group: {
@@ -7699,84 +7749,84 @@ function createSDK(queryTransport, txTransport) {
7699
7749
  getGroupInfo: withMetadata(async function getGroupInfo(input, options) {
7700
7750
  const service = await serviceLoader.loadAt(32);
7701
7751
  return getClient(service).groupInfo(input, options);
7702
- }, { path: [32, 0] }),
7752
+ }, { path: [32, "groupInfo"], serviceLoader }),
7703
7753
  /**
7704
7754
  * getGroupPolicyInfo queries group policy info based on account address of group policy.
7705
7755
  */
7706
7756
  getGroupPolicyInfo: withMetadata(async function getGroupPolicyInfo(input, options) {
7707
7757
  const service = await serviceLoader.loadAt(32);
7708
7758
  return getClient(service).groupPolicyInfo(input, options);
7709
- }, { path: [32, 1] }),
7759
+ }, { path: [32, "groupPolicyInfo"], serviceLoader }),
7710
7760
  /**
7711
7761
  * getGroupMembers queries members of a group by group id.
7712
7762
  */
7713
7763
  getGroupMembers: withMetadata(async function getGroupMembers(input, options) {
7714
7764
  const service = await serviceLoader.loadAt(32);
7715
7765
  return getClient(service).groupMembers(input, options);
7716
- }, { path: [32, 2] }),
7766
+ }, { path: [32, "groupMembers"], serviceLoader }),
7717
7767
  /**
7718
7768
  * getGroupsByAdmin queries groups by admin address.
7719
7769
  */
7720
7770
  getGroupsByAdmin: withMetadata(async function getGroupsByAdmin(input, options) {
7721
7771
  const service = await serviceLoader.loadAt(32);
7722
7772
  return getClient(service).groupsByAdmin(input, options);
7723
- }, { path: [32, 3] }),
7773
+ }, { path: [32, "groupsByAdmin"], serviceLoader }),
7724
7774
  /**
7725
7775
  * getGroupPoliciesByGroup queries group policies by group id.
7726
7776
  */
7727
7777
  getGroupPoliciesByGroup: withMetadata(async function getGroupPoliciesByGroup(input, options) {
7728
7778
  const service = await serviceLoader.loadAt(32);
7729
7779
  return getClient(service).groupPoliciesByGroup(input, options);
7730
- }, { path: [32, 4] }),
7780
+ }, { path: [32, "groupPoliciesByGroup"], serviceLoader }),
7731
7781
  /**
7732
7782
  * getGroupPoliciesByAdmin queries group policies by admin address.
7733
7783
  */
7734
7784
  getGroupPoliciesByAdmin: withMetadata(async function getGroupPoliciesByAdmin(input, options) {
7735
7785
  const service = await serviceLoader.loadAt(32);
7736
7786
  return getClient(service).groupPoliciesByAdmin(input, options);
7737
- }, { path: [32, 5] }),
7787
+ }, { path: [32, "groupPoliciesByAdmin"], serviceLoader }),
7738
7788
  /**
7739
7789
  * getProposal queries a proposal based on proposal id.
7740
7790
  */
7741
7791
  getProposal: withMetadata(async function getProposal(input, options) {
7742
7792
  const service = await serviceLoader.loadAt(32);
7743
7793
  return getClient(service).proposal(input, options);
7744
- }, { path: [32, 6] }),
7794
+ }, { path: [32, "proposal"], serviceLoader }),
7745
7795
  /**
7746
7796
  * getProposalsByGroupPolicy queries proposals based on account address of group policy.
7747
7797
  */
7748
7798
  getProposalsByGroupPolicy: withMetadata(async function getProposalsByGroupPolicy(input, options) {
7749
7799
  const service = await serviceLoader.loadAt(32);
7750
7800
  return getClient(service).proposalsByGroupPolicy(input, options);
7751
- }, { path: [32, 7] }),
7801
+ }, { path: [32, "proposalsByGroupPolicy"], serviceLoader }),
7752
7802
  /**
7753
7803
  * getVoteByProposalVoter queries a vote by proposal id and voter.
7754
7804
  */
7755
7805
  getVoteByProposalVoter: withMetadata(async function getVoteByProposalVoter(input, options) {
7756
7806
  const service = await serviceLoader.loadAt(32);
7757
7807
  return getClient(service).voteByProposalVoter(input, options);
7758
- }, { path: [32, 8] }),
7808
+ }, { path: [32, "voteByProposalVoter"], serviceLoader }),
7759
7809
  /**
7760
7810
  * getVotesByProposal queries a vote by proposal id.
7761
7811
  */
7762
7812
  getVotesByProposal: withMetadata(async function getVotesByProposal(input, options) {
7763
7813
  const service = await serviceLoader.loadAt(32);
7764
7814
  return getClient(service).votesByProposal(input, options);
7765
- }, { path: [32, 9] }),
7815
+ }, { path: [32, "votesByProposal"], serviceLoader }),
7766
7816
  /**
7767
7817
  * getVotesByVoter queries a vote by voter.
7768
7818
  */
7769
7819
  getVotesByVoter: withMetadata(async function getVotesByVoter(input, options) {
7770
7820
  const service = await serviceLoader.loadAt(32);
7771
7821
  return getClient(service).votesByVoter(input, options);
7772
- }, { path: [32, 10] }),
7822
+ }, { path: [32, "votesByVoter"], serviceLoader }),
7773
7823
  /**
7774
7824
  * getGroupsByMember queries groups by member address.
7775
7825
  */
7776
7826
  getGroupsByMember: withMetadata(async function getGroupsByMember(input, options) {
7777
7827
  const service = await serviceLoader.loadAt(32);
7778
7828
  return getClient(service).groupsByMember(input, options);
7779
- }, { path: [32, 11] }),
7829
+ }, { path: [32, "groupsByMember"], serviceLoader }),
7780
7830
  /**
7781
7831
  * getTallyResult returns the tally result of a proposal. If the proposal is
7782
7832
  * still in voting period, then this query computes the current tally state,
@@ -7787,112 +7837,112 @@ function createSDK(queryTransport, txTransport) {
7787
7837
  getTallyResult: withMetadata(async function getTallyResult(input, options) {
7788
7838
  const service = await serviceLoader.loadAt(32);
7789
7839
  return getClient(service).tallyResult(input, options);
7790
- }, { path: [32, 12] }),
7840
+ }, { path: [32, "tallyResult"], serviceLoader }),
7791
7841
  /**
7792
7842
  * getGroups queries all groups in state.
7793
7843
  */
7794
7844
  getGroups: withMetadata(async function getGroups(input, options) {
7795
7845
  const service = await serviceLoader.loadAt(32);
7796
7846
  return getClient(service).groups(input, options);
7797
- }, { path: [32, 13] }),
7847
+ }, { path: [32, "groups"], serviceLoader }),
7798
7848
  /**
7799
7849
  * createGroup creates a new group with an admin account address, a list of members and some optional metadata.
7800
7850
  */
7801
7851
  createGroup: withMetadata(async function createGroup(input, options) {
7802
7852
  const service = await serviceLoader.loadAt(33);
7803
7853
  return getMsgClient(service).createGroup(input, options);
7804
- }, { path: [33, 0] }),
7854
+ }, { path: [33, "createGroup"], serviceLoader }),
7805
7855
  /**
7806
7856
  * updateGroupMembers updates the group members with given group id and admin address.
7807
7857
  */
7808
7858
  updateGroupMembers: withMetadata(async function updateGroupMembers(input, options) {
7809
7859
  const service = await serviceLoader.loadAt(33);
7810
7860
  return getMsgClient(service).updateGroupMembers(input, options);
7811
- }, { path: [33, 1] }),
7861
+ }, { path: [33, "updateGroupMembers"], serviceLoader }),
7812
7862
  /**
7813
7863
  * updateGroupAdmin updates the group admin with given group id and previous admin address.
7814
7864
  */
7815
7865
  updateGroupAdmin: withMetadata(async function updateGroupAdmin(input, options) {
7816
7866
  const service = await serviceLoader.loadAt(33);
7817
7867
  return getMsgClient(service).updateGroupAdmin(input, options);
7818
- }, { path: [33, 2] }),
7868
+ }, { path: [33, "updateGroupAdmin"], serviceLoader }),
7819
7869
  /**
7820
7870
  * updateGroupMetadata updates the group metadata with given group id and admin address.
7821
7871
  */
7822
7872
  updateGroupMetadata: withMetadata(async function updateGroupMetadata(input, options) {
7823
7873
  const service = await serviceLoader.loadAt(33);
7824
7874
  return getMsgClient(service).updateGroupMetadata(input, options);
7825
- }, { path: [33, 3] }),
7875
+ }, { path: [33, "updateGroupMetadata"], serviceLoader }),
7826
7876
  /**
7827
7877
  * createGroupPolicy creates a new group policy using given DecisionPolicy.
7828
7878
  */
7829
7879
  createGroupPolicy: withMetadata(async function createGroupPolicy(input, options) {
7830
7880
  const service = await serviceLoader.loadAt(33);
7831
7881
  return getMsgClient(service).createGroupPolicy(input, options);
7832
- }, { path: [33, 4] }),
7882
+ }, { path: [33, "createGroupPolicy"], serviceLoader }),
7833
7883
  /**
7834
7884
  * createGroupWithPolicy creates a new group with policy.
7835
7885
  */
7836
7886
  createGroupWithPolicy: withMetadata(async function createGroupWithPolicy(input, options) {
7837
7887
  const service = await serviceLoader.loadAt(33);
7838
7888
  return getMsgClient(service).createGroupWithPolicy(input, options);
7839
- }, { path: [33, 5] }),
7889
+ }, { path: [33, "createGroupWithPolicy"], serviceLoader }),
7840
7890
  /**
7841
7891
  * updateGroupPolicyAdmin updates a group policy admin.
7842
7892
  */
7843
7893
  updateGroupPolicyAdmin: withMetadata(async function updateGroupPolicyAdmin(input, options) {
7844
7894
  const service = await serviceLoader.loadAt(33);
7845
7895
  return getMsgClient(service).updateGroupPolicyAdmin(input, options);
7846
- }, { path: [33, 6] }),
7896
+ }, { path: [33, "updateGroupPolicyAdmin"], serviceLoader }),
7847
7897
  /**
7848
7898
  * updateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated.
7849
7899
  */
7850
7900
  updateGroupPolicyDecisionPolicy: withMetadata(async function updateGroupPolicyDecisionPolicy(input, options) {
7851
7901
  const service = await serviceLoader.loadAt(33);
7852
7902
  return getMsgClient(service).updateGroupPolicyDecisionPolicy(input, options);
7853
- }, { path: [33, 7] }),
7903
+ }, { path: [33, "updateGroupPolicyDecisionPolicy"], serviceLoader }),
7854
7904
  /**
7855
7905
  * updateGroupPolicyMetadata updates a group policy metadata.
7856
7906
  */
7857
7907
  updateGroupPolicyMetadata: withMetadata(async function updateGroupPolicyMetadata(input, options) {
7858
7908
  const service = await serviceLoader.loadAt(33);
7859
7909
  return getMsgClient(service).updateGroupPolicyMetadata(input, options);
7860
- }, { path: [33, 8] }),
7910
+ }, { path: [33, "updateGroupPolicyMetadata"], serviceLoader }),
7861
7911
  /**
7862
7912
  * submitProposal submits a new proposal.
7863
7913
  */
7864
7914
  submitProposal: withMetadata(async function submitProposal(input, options) {
7865
7915
  const service = await serviceLoader.loadAt(33);
7866
7916
  return getMsgClient(service).submitProposal(input, options);
7867
- }, { path: [33, 9] }),
7917
+ }, { path: [33, "submitProposal"], serviceLoader }),
7868
7918
  /**
7869
7919
  * withdrawProposal withdraws a proposal.
7870
7920
  */
7871
7921
  withdrawProposal: withMetadata(async function withdrawProposal(input, options) {
7872
7922
  const service = await serviceLoader.loadAt(33);
7873
7923
  return getMsgClient(service).withdrawProposal(input, options);
7874
- }, { path: [33, 10] }),
7924
+ }, { path: [33, "withdrawProposal"], serviceLoader }),
7875
7925
  /**
7876
7926
  * vote allows a voter to vote on a proposal.
7877
7927
  */
7878
7928
  vote: withMetadata(async function vote(input, options) {
7879
7929
  const service = await serviceLoader.loadAt(33);
7880
7930
  return getMsgClient(service).vote(input, options);
7881
- }, { path: [33, 11] }),
7931
+ }, { path: [33, "vote"], serviceLoader }),
7882
7932
  /**
7883
7933
  * exec executes a proposal.
7884
7934
  */
7885
7935
  exec: withMetadata(async function exec(input, options) {
7886
7936
  const service = await serviceLoader.loadAt(33);
7887
7937
  return getMsgClient(service).exec(input, options);
7888
- }, { path: [33, 12] }),
7938
+ }, { path: [33, "exec"], serviceLoader }),
7889
7939
  /**
7890
7940
  * leaveGroup allows a group member to leave the group.
7891
7941
  */
7892
7942
  leaveGroup: withMetadata(async function leaveGroup(input, options) {
7893
7943
  const service = await serviceLoader.loadAt(33);
7894
7944
  return getMsgClient(service).leaveGroup(input, options);
7895
- }, { path: [33, 13] })
7945
+ }, { path: [33, "leaveGroup"], serviceLoader })
7896
7946
  }
7897
7947
  },
7898
7948
  mint: {
@@ -7903,21 +7953,21 @@ function createSDK(queryTransport, txTransport) {
7903
7953
  getParams: withMetadata(async function getParams(input = {}, options) {
7904
7954
  const service = await serviceLoader.loadAt(34);
7905
7955
  return getClient(service).params(input, options);
7906
- }, { path: [34, 0] }),
7956
+ }, { path: [34, "params"], serviceLoader }),
7907
7957
  /**
7908
7958
  * getInflation returns the current minting inflation value.
7909
7959
  */
7910
7960
  getInflation: withMetadata(async function getInflation(input = {}, options) {
7911
7961
  const service = await serviceLoader.loadAt(34);
7912
7962
  return getClient(service).inflation(input, options);
7913
- }, { path: [34, 1] }),
7963
+ }, { path: [34, "inflation"], serviceLoader }),
7914
7964
  /**
7915
7965
  * getAnnualProvisions current minting annual provisions value.
7916
7966
  */
7917
7967
  getAnnualProvisions: withMetadata(async function getAnnualProvisions(input = {}, options) {
7918
7968
  const service = await serviceLoader.loadAt(34);
7919
7969
  return getClient(service).annualProvisions(input, options);
7920
- }, { path: [34, 2] }),
7970
+ }, { path: [34, "annualProvisions"], serviceLoader }),
7921
7971
  /**
7922
7972
  * updateParams defines a governance operation for updating the x/mint module
7923
7973
  * parameters. The authority is defaults to the x/gov module account.
@@ -7925,7 +7975,7 @@ function createSDK(queryTransport, txTransport) {
7925
7975
  updateParams: withMetadata(async function updateParams(input, options) {
7926
7976
  const service = await serviceLoader.loadAt(35);
7927
7977
  return getMsgClient(service).updateParams(input, options);
7928
- }, { path: [35, 0] })
7978
+ }, { path: [35, "updateParams"], serviceLoader })
7929
7979
  }
7930
7980
  },
7931
7981
  nft: {
@@ -7936,21 +7986,21 @@ function createSDK(queryTransport, txTransport) {
7936
7986
  getBalance: withMetadata(async function getBalance(input, options) {
7937
7987
  const service = await serviceLoader.loadAt(36);
7938
7988
  return getClient(service).balance(input, options);
7939
- }, { path: [36, 0] }),
7989
+ }, { path: [36, "balance"], serviceLoader }),
7940
7990
  /**
7941
7991
  * getOwner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
7942
7992
  */
7943
7993
  getOwner: withMetadata(async function getOwner(input, options) {
7944
7994
  const service = await serviceLoader.loadAt(36);
7945
7995
  return getClient(service).owner(input, options);
7946
- }, { path: [36, 1] }),
7996
+ }, { path: [36, "owner"], serviceLoader }),
7947
7997
  /**
7948
7998
  * getSupply queries the number of NFTs from the given class, same as totalSupply of ERC721.
7949
7999
  */
7950
8000
  getSupply: withMetadata(async function getSupply(input, options) {
7951
8001
  const service = await serviceLoader.loadAt(36);
7952
8002
  return getClient(service).supply(input, options);
7953
- }, { path: [36, 2] }),
8003
+ }, { path: [36, "supply"], serviceLoader }),
7954
8004
  /**
7955
8005
  * getNFTs queries all getNFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in
7956
8006
  * ERC721Enumerable
@@ -7958,35 +8008,35 @@ function createSDK(queryTransport, txTransport) {
7958
8008
  getNFTs: withMetadata(async function getNFTs(input, options) {
7959
8009
  const service = await serviceLoader.loadAt(36);
7960
8010
  return getClient(service).nFTs(input, options);
7961
- }, { path: [36, 3] }),
8011
+ }, { path: [36, "nFTs"], serviceLoader }),
7962
8012
  /**
7963
8013
  * getNFT queries an getNFT based on its class and id.
7964
8014
  */
7965
8015
  getNFT: withMetadata(async function getNFT(input, options) {
7966
8016
  const service = await serviceLoader.loadAt(36);
7967
8017
  return getClient(service).nFT(input, options);
7968
- }, { path: [36, 4] }),
8018
+ }, { path: [36, "nFT"], serviceLoader }),
7969
8019
  /**
7970
8020
  * getClass queries an NFT class based on its id
7971
8021
  */
7972
8022
  getClass: withMetadata(async function getClass(input, options) {
7973
8023
  const service = await serviceLoader.loadAt(36);
7974
8024
  return getClient(service).class(input, options);
7975
- }, { path: [36, 5] }),
8025
+ }, { path: [36, "class"], serviceLoader }),
7976
8026
  /**
7977
8027
  * getClasses queries all NFT classes
7978
8028
  */
7979
8029
  getClasses: withMetadata(async function getClasses(input, options) {
7980
8030
  const service = await serviceLoader.loadAt(36);
7981
8031
  return getClient(service).classes(input, options);
7982
- }, { path: [36, 6] }),
8032
+ }, { path: [36, "classes"], serviceLoader }),
7983
8033
  /**
7984
8034
  * send defines a method to send a nft from one account to another account.
7985
8035
  */
7986
8036
  send: withMetadata(async function send(input, options) {
7987
8037
  const service = await serviceLoader.loadAt(37);
7988
8038
  return getMsgClient(service).send(input, options);
7989
- }, { path: [37, 0] })
8039
+ }, { path: [37, "send"], serviceLoader })
7990
8040
  }
7991
8041
  },
7992
8042
  params: {
@@ -7998,14 +8048,14 @@ function createSDK(queryTransport, txTransport) {
7998
8048
  getParams: withMetadata(async function getParams(input, options) {
7999
8049
  const service = await serviceLoader.loadAt(38);
8000
8050
  return getClient(service).params(input, options);
8001
- }, { path: [38, 0] }),
8051
+ }, { path: [38, "params"], serviceLoader }),
8002
8052
  /**
8003
8053
  * getSubspaces queries for all registered subspaces and all keys for a subspace.
8004
8054
  */
8005
8055
  getSubspaces: withMetadata(async function getSubspaces(input = {}, options) {
8006
8056
  const service = await serviceLoader.loadAt(38);
8007
8057
  return getClient(service).subspaces(input, options);
8008
- }, { path: [38, 1] })
8058
+ }, { path: [38, "subspaces"], serviceLoader })
8009
8059
  }
8010
8060
  },
8011
8061
  protocolpool: {
@@ -8016,28 +8066,28 @@ function createSDK(queryTransport, txTransport) {
8016
8066
  getCommunityPool: withMetadata(async function getCommunityPool(input = {}, options) {
8017
8067
  const service = await serviceLoader.loadAt(39);
8018
8068
  return getClient(service).communityPool(input, options);
8019
- }, { path: [39, 0] }),
8069
+ }, { path: [39, "communityPool"], serviceLoader }),
8020
8070
  /**
8021
8071
  * getContinuousFund queries a continuous fund by the recipient is is associated with.
8022
8072
  */
8023
8073
  getContinuousFund: withMetadata(async function getContinuousFund(input, options) {
8024
8074
  const service = await serviceLoader.loadAt(39);
8025
8075
  return getClient(service).continuousFund(input, options);
8026
- }, { path: [39, 1] }),
8076
+ }, { path: [39, "continuousFund"], serviceLoader }),
8027
8077
  /**
8028
8078
  * getContinuousFunds queries all continuous funds in the store.
8029
8079
  */
8030
8080
  getContinuousFunds: withMetadata(async function getContinuousFunds(input = {}, options) {
8031
8081
  const service = await serviceLoader.loadAt(39);
8032
8082
  return getClient(service).continuousFunds(input, options);
8033
- }, { path: [39, 2] }),
8083
+ }, { path: [39, "continuousFunds"], serviceLoader }),
8034
8084
  /**
8035
8085
  * getParams returns the total set of x/protocolpool parameters.
8036
8086
  */
8037
8087
  getParams: withMetadata(async function getParams(input = {}, options) {
8038
8088
  const service = await serviceLoader.loadAt(39);
8039
8089
  return getClient(service).params(input, options);
8040
- }, { path: [39, 3] }),
8090
+ }, { path: [39, "params"], serviceLoader }),
8041
8091
  /**
8042
8092
  * fundCommunityPool defines a method to allow an account to directly
8043
8093
  * fund the community pool.
@@ -8045,7 +8095,7 @@ function createSDK(queryTransport, txTransport) {
8045
8095
  fundCommunityPool: withMetadata(async function fundCommunityPool(input, options) {
8046
8096
  const service = await serviceLoader.loadAt(40);
8047
8097
  return getMsgClient(service).fundCommunityPool(input, options);
8048
- }, { path: [40, 0] }),
8098
+ }, { path: [40, "fundCommunityPool"], serviceLoader }),
8049
8099
  /**
8050
8100
  * communityPoolSpend defines a governance operation for sending tokens from
8051
8101
  * the community pool in the x/protocolpool module to another account, which
@@ -8055,7 +8105,7 @@ function createSDK(queryTransport, txTransport) {
8055
8105
  communityPoolSpend: withMetadata(async function communityPoolSpend(input, options) {
8056
8106
  const service = await serviceLoader.loadAt(40);
8057
8107
  return getMsgClient(service).communityPoolSpend(input, options);
8058
- }, { path: [40, 1] }),
8108
+ }, { path: [40, "communityPoolSpend"], serviceLoader }),
8059
8109
  /**
8060
8110
  * createContinuousFund defines a method to distribute a percentage of funds to an address continuously.
8061
8111
  * This ContinuousFund can be indefinite or run until a given expiry time.
@@ -8065,14 +8115,14 @@ function createSDK(queryTransport, txTransport) {
8065
8115
  createContinuousFund: withMetadata(async function createContinuousFund(input, options) {
8066
8116
  const service = await serviceLoader.loadAt(40);
8067
8117
  return getMsgClient(service).createContinuousFund(input, options);
8068
- }, { path: [40, 2] }),
8118
+ }, { path: [40, "createContinuousFund"], serviceLoader }),
8069
8119
  /**
8070
8120
  * cancelContinuousFund defines a method for cancelling continuous fund.
8071
8121
  */
8072
8122
  cancelContinuousFund: withMetadata(async function cancelContinuousFund(input, options) {
8073
8123
  const service = await serviceLoader.loadAt(40);
8074
8124
  return getMsgClient(service).cancelContinuousFund(input, options);
8075
- }, { path: [40, 3] }),
8125
+ }, { path: [40, "cancelContinuousFund"], serviceLoader }),
8076
8126
  /**
8077
8127
  * updateParams defines a governance operation for updating the x/protocolpool module parameters.
8078
8128
  * The authority is defined in the keeper.
@@ -8080,7 +8130,7 @@ function createSDK(queryTransport, txTransport) {
8080
8130
  updateParams: withMetadata(async function updateParams(input, options) {
8081
8131
  const service = await serviceLoader.loadAt(40);
8082
8132
  return getMsgClient(service).updateParams(input, options);
8083
- }, { path: [40, 4] })
8133
+ }, { path: [40, "updateParams"], serviceLoader })
8084
8134
  }
8085
8135
  },
8086
8136
  reflection: {
@@ -8092,7 +8142,7 @@ function createSDK(queryTransport, txTransport) {
8092
8142
  getFileDescriptors: withMetadata(async function getFileDescriptors(input = {}, options) {
8093
8143
  const service = await serviceLoader.loadAt(41);
8094
8144
  return getClient(service).fileDescriptors(input, options);
8095
- }, { path: [41, 0] })
8145
+ }, { path: [41, "fileDescriptors"], serviceLoader })
8096
8146
  }
8097
8147
  },
8098
8148
  slashing: {
@@ -8103,21 +8153,21 @@ function createSDK(queryTransport, txTransport) {
8103
8153
  getParams: withMetadata(async function getParams(input = {}, options) {
8104
8154
  const service = await serviceLoader.loadAt(42);
8105
8155
  return getClient(service).params(input, options);
8106
- }, { path: [42, 0] }),
8156
+ }, { path: [42, "params"], serviceLoader }),
8107
8157
  /**
8108
8158
  * getSigningInfo queries the signing info of given cons address
8109
8159
  */
8110
8160
  getSigningInfo: withMetadata(async function getSigningInfo(input, options) {
8111
8161
  const service = await serviceLoader.loadAt(42);
8112
8162
  return getClient(service).signingInfo(input, options);
8113
- }, { path: [42, 1] }),
8163
+ }, { path: [42, "signingInfo"], serviceLoader }),
8114
8164
  /**
8115
8165
  * getSigningInfos queries signing info of all validators
8116
8166
  */
8117
8167
  getSigningInfos: withMetadata(async function getSigningInfos(input, options) {
8118
8168
  const service = await serviceLoader.loadAt(42);
8119
8169
  return getClient(service).signingInfos(input, options);
8120
- }, { path: [42, 2] }),
8170
+ }, { path: [42, "signingInfos"], serviceLoader }),
8121
8171
  /**
8122
8172
  * unjail defines a method for unjailing a jailed validator, thus returning
8123
8173
  * them into the bonded validator set, so they can begin receiving provisions
@@ -8126,7 +8176,7 @@ function createSDK(queryTransport, txTransport) {
8126
8176
  unjail: withMetadata(async function unjail(input, options) {
8127
8177
  const service = await serviceLoader.loadAt(43);
8128
8178
  return getMsgClient(service).unjail(input, options);
8129
- }, { path: [43, 0] }),
8179
+ }, { path: [43, "unjail"], serviceLoader }),
8130
8180
  /**
8131
8181
  * updateParams defines a governance operation for updating the x/slashing module
8132
8182
  * parameters. The authority defaults to the x/gov module account.
@@ -8134,7 +8184,7 @@ function createSDK(queryTransport, txTransport) {
8134
8184
  updateParams: withMetadata(async function updateParams(input, options) {
8135
8185
  const service = await serviceLoader.loadAt(43);
8136
8186
  return getMsgClient(service).updateParams(input, options);
8137
- }, { path: [43, 1] })
8187
+ }, { path: [43, "updateParams"], serviceLoader })
8138
8188
  }
8139
8189
  },
8140
8190
  staking: {
@@ -8148,14 +8198,14 @@ function createSDK(queryTransport, txTransport) {
8148
8198
  getValidators: withMetadata(async function getValidators(input, options) {
8149
8199
  const service = await serviceLoader.loadAt(44);
8150
8200
  return getClient(service).validators(input, options);
8151
- }, { path: [44, 0] }),
8201
+ }, { path: [44, "validators"], serviceLoader }),
8152
8202
  /**
8153
8203
  * getValidator queries validator info for given validator address.
8154
8204
  */
8155
8205
  getValidator: withMetadata(async function getValidator(input, options) {
8156
8206
  const service = await serviceLoader.loadAt(44);
8157
8207
  return getClient(service).validator(input, options);
8158
- }, { path: [44, 1] }),
8208
+ }, { path: [44, "validator"], serviceLoader }),
8159
8209
  /**
8160
8210
  * getValidatorDelegations queries delegate info for given validator.
8161
8211
  *
@@ -8165,7 +8215,7 @@ function createSDK(queryTransport, txTransport) {
8165
8215
  getValidatorDelegations: withMetadata(async function getValidatorDelegations(input, options) {
8166
8216
  const service = await serviceLoader.loadAt(44);
8167
8217
  return getClient(service).validatorDelegations(input, options);
8168
- }, { path: [44, 2] }),
8218
+ }, { path: [44, "validatorDelegations"], serviceLoader }),
8169
8219
  /**
8170
8220
  * getValidatorUnbondingDelegations queries unbonding delegations of a validator.
8171
8221
  *
@@ -8175,14 +8225,14 @@ function createSDK(queryTransport, txTransport) {
8175
8225
  getValidatorUnbondingDelegations: withMetadata(async function getValidatorUnbondingDelegations(input, options) {
8176
8226
  const service = await serviceLoader.loadAt(44);
8177
8227
  return getClient(service).validatorUnbondingDelegations(input, options);
8178
- }, { path: [44, 3] }),
8228
+ }, { path: [44, "validatorUnbondingDelegations"], serviceLoader }),
8179
8229
  /**
8180
8230
  * getDelegation queries delegate info for given validator delegator pair.
8181
8231
  */
8182
8232
  getDelegation: withMetadata(async function getDelegation(input, options) {
8183
8233
  const service = await serviceLoader.loadAt(44);
8184
8234
  return getClient(service).delegation(input, options);
8185
- }, { path: [44, 4] }),
8235
+ }, { path: [44, "delegation"], serviceLoader }),
8186
8236
  /**
8187
8237
  * getUnbondingDelegation queries unbonding info for given validator delegator
8188
8238
  * pair.
@@ -8190,7 +8240,7 @@ function createSDK(queryTransport, txTransport) {
8190
8240
  getUnbondingDelegation: withMetadata(async function getUnbondingDelegation(input, options) {
8191
8241
  const service = await serviceLoader.loadAt(44);
8192
8242
  return getClient(service).unbondingDelegation(input, options);
8193
- }, { path: [44, 5] }),
8243
+ }, { path: [44, "unbondingDelegation"], serviceLoader }),
8194
8244
  /**
8195
8245
  * getDelegatorDelegations queries all delegations of a given delegator address.
8196
8246
  *
@@ -8200,7 +8250,7 @@ function createSDK(queryTransport, txTransport) {
8200
8250
  getDelegatorDelegations: withMetadata(async function getDelegatorDelegations(input, options) {
8201
8251
  const service = await serviceLoader.loadAt(44);
8202
8252
  return getClient(service).delegatorDelegations(input, options);
8203
- }, { path: [44, 6] }),
8253
+ }, { path: [44, "delegatorDelegations"], serviceLoader }),
8204
8254
  /**
8205
8255
  * getDelegatorUnbondingDelegations queries all unbonding delegations of a given
8206
8256
  * delegator address.
@@ -8211,7 +8261,7 @@ function createSDK(queryTransport, txTransport) {
8211
8261
  getDelegatorUnbondingDelegations: withMetadata(async function getDelegatorUnbondingDelegations(input, options) {
8212
8262
  const service = await serviceLoader.loadAt(44);
8213
8263
  return getClient(service).delegatorUnbondingDelegations(input, options);
8214
- }, { path: [44, 7] }),
8264
+ }, { path: [44, "delegatorUnbondingDelegations"], serviceLoader }),
8215
8265
  /**
8216
8266
  * getRedelegations queries redelegations of given address.
8217
8267
  *
@@ -8221,7 +8271,7 @@ function createSDK(queryTransport, txTransport) {
8221
8271
  getRedelegations: withMetadata(async function getRedelegations(input, options) {
8222
8272
  const service = await serviceLoader.loadAt(44);
8223
8273
  return getClient(service).redelegations(input, options);
8224
- }, { path: [44, 8] }),
8274
+ }, { path: [44, "redelegations"], serviceLoader }),
8225
8275
  /**
8226
8276
  * getDelegatorValidators queries all validators info for given delegator
8227
8277
  * address.
@@ -8232,7 +8282,7 @@ function createSDK(queryTransport, txTransport) {
8232
8282
  getDelegatorValidators: withMetadata(async function getDelegatorValidators(input, options) {
8233
8283
  const service = await serviceLoader.loadAt(44);
8234
8284
  return getClient(service).delegatorValidators(input, options);
8235
- }, { path: [44, 9] }),
8285
+ }, { path: [44, "delegatorValidators"], serviceLoader }),
8236
8286
  /**
8237
8287
  * getDelegatorValidator queries validator info for given delegator validator
8238
8288
  * pair.
@@ -8240,42 +8290,42 @@ function createSDK(queryTransport, txTransport) {
8240
8290
  getDelegatorValidator: withMetadata(async function getDelegatorValidator(input, options) {
8241
8291
  const service = await serviceLoader.loadAt(44);
8242
8292
  return getClient(service).delegatorValidator(input, options);
8243
- }, { path: [44, 10] }),
8293
+ }, { path: [44, "delegatorValidator"], serviceLoader }),
8244
8294
  /**
8245
8295
  * getHistoricalInfo queries the historical info for given height.
8246
8296
  */
8247
8297
  getHistoricalInfo: withMetadata(async function getHistoricalInfo(input, options) {
8248
8298
  const service = await serviceLoader.loadAt(44);
8249
8299
  return getClient(service).historicalInfo(input, options);
8250
- }, { path: [44, 11] }),
8300
+ }, { path: [44, "historicalInfo"], serviceLoader }),
8251
8301
  /**
8252
8302
  * getPool queries the pool info.
8253
8303
  */
8254
8304
  getPool: withMetadata(async function getPool(input = {}, options) {
8255
8305
  const service = await serviceLoader.loadAt(44);
8256
8306
  return getClient(service).pool(input, options);
8257
- }, { path: [44, 12] }),
8307
+ }, { path: [44, "pool"], serviceLoader }),
8258
8308
  /**
8259
8309
  * Parameters queries the staking parameters.
8260
8310
  */
8261
8311
  getParams: withMetadata(async function getParams(input = {}, options) {
8262
8312
  const service = await serviceLoader.loadAt(44);
8263
8313
  return getClient(service).params(input, options);
8264
- }, { path: [44, 13] }),
8314
+ }, { path: [44, "params"], serviceLoader }),
8265
8315
  /**
8266
8316
  * createValidator defines a method for creating a new validator.
8267
8317
  */
8268
8318
  createValidator: withMetadata(async function createValidator(input, options) {
8269
8319
  const service = await serviceLoader.loadAt(45);
8270
8320
  return getMsgClient(service).createValidator(input, options);
8271
- }, { path: [45, 0] }),
8321
+ }, { path: [45, "createValidator"], serviceLoader }),
8272
8322
  /**
8273
8323
  * editValidator defines a method for editing an existing validator.
8274
8324
  */
8275
8325
  editValidator: withMetadata(async function editValidator(input, options) {
8276
8326
  const service = await serviceLoader.loadAt(45);
8277
8327
  return getMsgClient(service).editValidator(input, options);
8278
- }, { path: [45, 1] }),
8328
+ }, { path: [45, "editValidator"], serviceLoader }),
8279
8329
  /**
8280
8330
  * delegate defines a method for performing a delegation of coins
8281
8331
  * from a delegator to a validator.
@@ -8283,7 +8333,7 @@ function createSDK(queryTransport, txTransport) {
8283
8333
  delegate: withMetadata(async function delegate(input, options) {
8284
8334
  const service = await serviceLoader.loadAt(45);
8285
8335
  return getMsgClient(service).delegate(input, options);
8286
- }, { path: [45, 2] }),
8336
+ }, { path: [45, "delegate"], serviceLoader }),
8287
8337
  /**
8288
8338
  * beginRedelegate defines a method for performing a redelegation
8289
8339
  * of coins from a delegator and source validator to a destination validator.
@@ -8291,7 +8341,7 @@ function createSDK(queryTransport, txTransport) {
8291
8341
  beginRedelegate: withMetadata(async function beginRedelegate(input, options) {
8292
8342
  const service = await serviceLoader.loadAt(45);
8293
8343
  return getMsgClient(service).beginRedelegate(input, options);
8294
- }, { path: [45, 3] }),
8344
+ }, { path: [45, "beginRedelegate"], serviceLoader }),
8295
8345
  /**
8296
8346
  * undelegate defines a method for performing an undelegation from a
8297
8347
  * delegate and a validator.
@@ -8299,7 +8349,7 @@ function createSDK(queryTransport, txTransport) {
8299
8349
  undelegate: withMetadata(async function undelegate(input, options) {
8300
8350
  const service = await serviceLoader.loadAt(45);
8301
8351
  return getMsgClient(service).undelegate(input, options);
8302
- }, { path: [45, 4] }),
8352
+ }, { path: [45, "undelegate"], serviceLoader }),
8303
8353
  /**
8304
8354
  * cancelUnbondingDelegation defines a method for performing canceling the unbonding delegation
8305
8355
  * and delegate back to previous validator.
@@ -8307,7 +8357,7 @@ function createSDK(queryTransport, txTransport) {
8307
8357
  cancelUnbondingDelegation: withMetadata(async function cancelUnbondingDelegation(input, options) {
8308
8358
  const service = await serviceLoader.loadAt(45);
8309
8359
  return getMsgClient(service).cancelUnbondingDelegation(input, options);
8310
- }, { path: [45, 5] }),
8360
+ }, { path: [45, "cancelUnbondingDelegation"], serviceLoader }),
8311
8361
  /**
8312
8362
  * updateParams defines an operation for updating the x/staking module
8313
8363
  * parameters.
@@ -8315,7 +8365,7 @@ function createSDK(queryTransport, txTransport) {
8315
8365
  updateParams: withMetadata(async function updateParams(input, options) {
8316
8366
  const service = await serviceLoader.loadAt(45);
8317
8367
  return getMsgClient(service).updateParams(input, options);
8318
- }, { path: [45, 6] })
8368
+ }, { path: [45, "updateParams"], serviceLoader })
8319
8369
  }
8320
8370
  },
8321
8371
  store: {
@@ -8327,14 +8377,14 @@ function createSDK(queryTransport, txTransport) {
8327
8377
  getListenFinalizeBlock: withMetadata(async function getListenFinalizeBlock(input, options) {
8328
8378
  const service = await serviceLoader.loadAt(46);
8329
8379
  return getClient(service).listenFinalizeBlock(input, options);
8330
- }, { path: [46, 0] }),
8380
+ }, { path: [46, "listenFinalizeBlock"], serviceLoader }),
8331
8381
  /**
8332
8382
  * getListenCommit is the corresponding endpoint for ABCIListener.getListenCommit
8333
8383
  */
8334
8384
  getListenCommit: withMetadata(async function getListenCommit(input, options) {
8335
8385
  const service = await serviceLoader.loadAt(46);
8336
8386
  return getClient(service).listenCommit(input, options);
8337
- }, { path: [46, 1] })
8387
+ }, { path: [46, "listenCommit"], serviceLoader })
8338
8388
  }
8339
8389
  }
8340
8390
  },
@@ -8346,63 +8396,63 @@ function createSDK(queryTransport, txTransport) {
8346
8396
  getSimulate: withMetadata(async function getSimulate(input, options) {
8347
8397
  const service = await serviceLoader.loadAt(47);
8348
8398
  return getClient(service).simulate(input, options);
8349
- }, { path: [47, 0] }),
8399
+ }, { path: [47, "simulate"], serviceLoader }),
8350
8400
  /**
8351
8401
  * getTx fetches a tx by hash.
8352
8402
  */
8353
8403
  getTx: withMetadata(async function getTx(input, options) {
8354
8404
  const service = await serviceLoader.loadAt(47);
8355
8405
  return getClient(service).getTx(input, options);
8356
- }, { path: [47, 1] }),
8406
+ }, { path: [47, "getTx"], serviceLoader }),
8357
8407
  /**
8358
8408
  * getBroadcastTx broadcast transaction.
8359
8409
  */
8360
8410
  getBroadcastTx: withMetadata(async function getBroadcastTx(input, options) {
8361
8411
  const service = await serviceLoader.loadAt(47);
8362
8412
  return getClient(service).broadcastTx(input, options);
8363
- }, { path: [47, 2] }),
8413
+ }, { path: [47, "broadcastTx"], serviceLoader }),
8364
8414
  /**
8365
8415
  * getTxsEvent fetches txs by event.
8366
8416
  */
8367
8417
  getTxsEvent: withMetadata(async function getTxsEvent(input, options) {
8368
8418
  const service = await serviceLoader.loadAt(47);
8369
8419
  return getClient(service).getTxsEvent(input, options);
8370
- }, { path: [47, 3] }),
8420
+ }, { path: [47, "getTxsEvent"], serviceLoader }),
8371
8421
  /**
8372
8422
  * getBlockWithTxs fetches a block with decoded txs.
8373
8423
  */
8374
8424
  getBlockWithTxs: withMetadata(async function getBlockWithTxs(input, options) {
8375
8425
  const service = await serviceLoader.loadAt(47);
8376
8426
  return getClient(service).getBlockWithTxs(input, options);
8377
- }, { path: [47, 4] }),
8427
+ }, { path: [47, "getBlockWithTxs"], serviceLoader }),
8378
8428
  /**
8379
8429
  * getTxDecode decodes the transaction.
8380
8430
  */
8381
8431
  getTxDecode: withMetadata(async function getTxDecode(input, options) {
8382
8432
  const service = await serviceLoader.loadAt(47);
8383
8433
  return getClient(service).txDecode(input, options);
8384
- }, { path: [47, 5] }),
8434
+ }, { path: [47, "txDecode"], serviceLoader }),
8385
8435
  /**
8386
8436
  * getTxEncode encodes the transaction.
8387
8437
  */
8388
8438
  getTxEncode: withMetadata(async function getTxEncode(input, options) {
8389
8439
  const service = await serviceLoader.loadAt(47);
8390
8440
  return getClient(service).txEncode(input, options);
8391
- }, { path: [47, 6] }),
8441
+ }, { path: [47, "txEncode"], serviceLoader }),
8392
8442
  /**
8393
8443
  * getTxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
8394
8444
  */
8395
8445
  getTxEncodeAmino: withMetadata(async function getTxEncodeAmino(input, options) {
8396
8446
  const service = await serviceLoader.loadAt(47);
8397
8447
  return getClient(service).txEncodeAmino(input, options);
8398
- }, { path: [47, 7] }),
8448
+ }, { path: [47, "txEncodeAmino"], serviceLoader }),
8399
8449
  /**
8400
8450
  * getTxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
8401
8451
  */
8402
8452
  getTxDecodeAmino: withMetadata(async function getTxDecodeAmino(input, options) {
8403
8453
  const service = await serviceLoader.loadAt(47);
8404
8454
  return getClient(service).txDecodeAmino(input, options);
8405
- }, { path: [47, 8] })
8455
+ }, { path: [47, "txDecodeAmino"], serviceLoader })
8406
8456
  }
8407
8457
  },
8408
8458
  upgrade: {
@@ -8413,14 +8463,14 @@ function createSDK(queryTransport, txTransport) {
8413
8463
  getCurrentPlan: withMetadata(async function getCurrentPlan(input = {}, options) {
8414
8464
  const service = await serviceLoader.loadAt(48);
8415
8465
  return getClient(service).currentPlan(input, options);
8416
- }, { path: [48, 0] }),
8466
+ }, { path: [48, "currentPlan"], serviceLoader }),
8417
8467
  /**
8418
8468
  * getAppliedPlan queries a previously applied upgrade plan by its name.
8419
8469
  */
8420
8470
  getAppliedPlan: withMetadata(async function getAppliedPlan(input, options) {
8421
8471
  const service = await serviceLoader.loadAt(48);
8422
8472
  return getClient(service).appliedPlan(input, options);
8423
- }, { path: [48, 1] }),
8473
+ }, { path: [48, "appliedPlan"], serviceLoader }),
8424
8474
  /**
8425
8475
  * getUpgradedConsensusState queries the consensus state that will serve
8426
8476
  * as a trusted kernel for the next version of this chain. It will only be
@@ -8433,28 +8483,28 @@ function createSDK(queryTransport, txTransport) {
8433
8483
  getUpgradedConsensusState: withMetadata(async function getUpgradedConsensusState(input, options) {
8434
8484
  const service = await serviceLoader.loadAt(48);
8435
8485
  return getClient(service).upgradedConsensusState(input, options);
8436
- }, { path: [48, 2] }),
8486
+ }, { path: [48, "upgradedConsensusState"], serviceLoader }),
8437
8487
  /**
8438
8488
  * getModuleVersions queries the list of module versions from state.
8439
8489
  */
8440
8490
  getModuleVersions: withMetadata(async function getModuleVersions(input, options) {
8441
8491
  const service = await serviceLoader.loadAt(48);
8442
8492
  return getClient(service).moduleVersions(input, options);
8443
- }, { path: [48, 3] }),
8493
+ }, { path: [48, "moduleVersions"], serviceLoader }),
8444
8494
  /**
8445
8495
  * Returns the account with authority to conduct upgrades
8446
8496
  */
8447
8497
  getAuthority: withMetadata(async function getAuthority(input = {}, options) {
8448
8498
  const service = await serviceLoader.loadAt(48);
8449
8499
  return getClient(service).authority(input, options);
8450
- }, { path: [48, 4] }),
8500
+ }, { path: [48, "authority"], serviceLoader }),
8451
8501
  /**
8452
8502
  * softwareUpgrade is a governance operation for initiating a software upgrade.
8453
8503
  */
8454
8504
  softwareUpgrade: withMetadata(async function softwareUpgrade(input, options) {
8455
8505
  const service = await serviceLoader.loadAt(49);
8456
8506
  return getMsgClient(service).softwareUpgrade(input, options);
8457
- }, { path: [49, 0] }),
8507
+ }, { path: [49, "softwareUpgrade"], serviceLoader }),
8458
8508
  /**
8459
8509
  * cancelUpgrade is a governance operation for cancelling a previously
8460
8510
  * approved software upgrade.
@@ -8462,7 +8512,7 @@ function createSDK(queryTransport, txTransport) {
8462
8512
  cancelUpgrade: withMetadata(async function cancelUpgrade(input, options) {
8463
8513
  const service = await serviceLoader.loadAt(49);
8464
8514
  return getMsgClient(service).cancelUpgrade(input, options);
8465
- }, { path: [49, 1] })
8515
+ }, { path: [49, "cancelUpgrade"], serviceLoader })
8466
8516
  }
8467
8517
  },
8468
8518
  vesting: {
@@ -8474,7 +8524,7 @@ function createSDK(queryTransport, txTransport) {
8474
8524
  createVestingAccount: withMetadata(async function createVestingAccount(input, options) {
8475
8525
  const service = await serviceLoader.loadAt(50);
8476
8526
  return getMsgClient(service).createVestingAccount(input, options);
8477
- }, { path: [50, 0] }),
8527
+ }, { path: [50, "createVestingAccount"], serviceLoader }),
8478
8528
  /**
8479
8529
  * createPermanentLockedAccount defines a method that enables creating a permanent
8480
8530
  * locked account.
@@ -8482,7 +8532,7 @@ function createSDK(queryTransport, txTransport) {
8482
8532
  createPermanentLockedAccount: withMetadata(async function createPermanentLockedAccount(input, options) {
8483
8533
  const service = await serviceLoader.loadAt(50);
8484
8534
  return getMsgClient(service).createPermanentLockedAccount(input, options);
8485
- }, { path: [50, 1] }),
8535
+ }, { path: [50, "createPermanentLockedAccount"], serviceLoader }),
8486
8536
  /**
8487
8537
  * createPeriodicVestingAccount defines a method that enables creating a
8488
8538
  * periodic vesting account.
@@ -8490,7 +8540,7 @@ function createSDK(queryTransport, txTransport) {
8490
8540
  createPeriodicVestingAccount: withMetadata(async function createPeriodicVestingAccount(input, options) {
8491
8541
  const service = await serviceLoader.loadAt(50);
8492
8542
  return getMsgClient(service).createPeriodicVestingAccount(input, options);
8493
- }, { path: [50, 2] })
8543
+ }, { path: [50, "createPeriodicVestingAccount"], serviceLoader })
8494
8544
  }
8495
8545
  }
8496
8546
  },
@@ -8499,67 +8549,67 @@ function createSDK(queryTransport, txTransport) {
8499
8549
  getEcho: withMetadata(async function getEcho(input, options) {
8500
8550
  const service = await serviceLoader.loadAt(8);
8501
8551
  return getClient(service).echo(input, options);
8502
- }, { path: [8, 0] }),
8552
+ }, { path: [8, "echo"], serviceLoader }),
8503
8553
  getFlush: withMetadata(async function getFlush(input = {}, options) {
8504
8554
  const service = await serviceLoader.loadAt(8);
8505
8555
  return getClient(service).flush(input, options);
8506
- }, { path: [8, 1] }),
8556
+ }, { path: [8, "flush"], serviceLoader }),
8507
8557
  getInfo: withMetadata(async function getInfo(input, options) {
8508
8558
  const service = await serviceLoader.loadAt(8);
8509
8559
  return getClient(service).info(input, options);
8510
- }, { path: [8, 2] }),
8560
+ }, { path: [8, "info"], serviceLoader }),
8511
8561
  getCheckTx: withMetadata(async function getCheckTx(input, options) {
8512
8562
  const service = await serviceLoader.loadAt(8);
8513
8563
  return getClient(service).checkTx(input, options);
8514
- }, { path: [8, 3] }),
8564
+ }, { path: [8, "checkTx"], serviceLoader }),
8515
8565
  getQuery: withMetadata(async function getQuery(input, options) {
8516
8566
  const service = await serviceLoader.loadAt(8);
8517
8567
  return getClient(service).query(input, options);
8518
- }, { path: [8, 4] }),
8568
+ }, { path: [8, "query"], serviceLoader }),
8519
8569
  getCommit: withMetadata(async function getCommit(input = {}, options) {
8520
8570
  const service = await serviceLoader.loadAt(8);
8521
8571
  return getClient(service).commit(input, options);
8522
- }, { path: [8, 5] }),
8572
+ }, { path: [8, "commit"], serviceLoader }),
8523
8573
  getInitChain: withMetadata(async function getInitChain(input, options) {
8524
8574
  const service = await serviceLoader.loadAt(8);
8525
8575
  return getClient(service).initChain(input, options);
8526
- }, { path: [8, 6] }),
8576
+ }, { path: [8, "initChain"], serviceLoader }),
8527
8577
  getListSnapshots: withMetadata(async function getListSnapshots(input = {}, options) {
8528
8578
  const service = await serviceLoader.loadAt(8);
8529
8579
  return getClient(service).listSnapshots(input, options);
8530
- }, { path: [8, 7] }),
8580
+ }, { path: [8, "listSnapshots"], serviceLoader }),
8531
8581
  getOfferSnapshot: withMetadata(async function getOfferSnapshot(input, options) {
8532
8582
  const service = await serviceLoader.loadAt(8);
8533
8583
  return getClient(service).offerSnapshot(input, options);
8534
- }, { path: [8, 8] }),
8584
+ }, { path: [8, "offerSnapshot"], serviceLoader }),
8535
8585
  getLoadSnapshotChunk: withMetadata(async function getLoadSnapshotChunk(input, options) {
8536
8586
  const service = await serviceLoader.loadAt(8);
8537
8587
  return getClient(service).loadSnapshotChunk(input, options);
8538
- }, { path: [8, 9] }),
8588
+ }, { path: [8, "loadSnapshotChunk"], serviceLoader }),
8539
8589
  getApplySnapshotChunk: withMetadata(async function getApplySnapshotChunk(input, options) {
8540
8590
  const service = await serviceLoader.loadAt(8);
8541
8591
  return getClient(service).applySnapshotChunk(input, options);
8542
- }, { path: [8, 10] }),
8592
+ }, { path: [8, "applySnapshotChunk"], serviceLoader }),
8543
8593
  getPrepareProposal: withMetadata(async function getPrepareProposal(input, options) {
8544
8594
  const service = await serviceLoader.loadAt(8);
8545
8595
  return getClient(service).prepareProposal(input, options);
8546
- }, { path: [8, 11] }),
8596
+ }, { path: [8, "prepareProposal"], serviceLoader }),
8547
8597
  getProcessProposal: withMetadata(async function getProcessProposal(input, options) {
8548
8598
  const service = await serviceLoader.loadAt(8);
8549
8599
  return getClient(service).processProposal(input, options);
8550
- }, { path: [8, 12] }),
8600
+ }, { path: [8, "processProposal"], serviceLoader }),
8551
8601
  getExtendVote: withMetadata(async function getExtendVote(input, options) {
8552
8602
  const service = await serviceLoader.loadAt(8);
8553
8603
  return getClient(service).extendVote(input, options);
8554
- }, { path: [8, 13] }),
8604
+ }, { path: [8, "extendVote"], serviceLoader }),
8555
8605
  getVerifyVoteExtension: withMetadata(async function getVerifyVoteExtension(input, options) {
8556
8606
  const service = await serviceLoader.loadAt(8);
8557
8607
  return getClient(service).verifyVoteExtension(input, options);
8558
- }, { path: [8, 14] }),
8608
+ }, { path: [8, "verifyVoteExtension"], serviceLoader }),
8559
8609
  getFinalizeBlock: withMetadata(async function getFinalizeBlock(input, options) {
8560
8610
  const service = await serviceLoader.loadAt(8);
8561
8611
  return getClient(service).finalizeBlock(input, options);
8562
- }, { path: [8, 15] })
8612
+ }, { path: [8, "finalizeBlock"], serviceLoader })
8563
8613
  }
8564
8614
  }
8565
8615
  };
@@ -8569,20 +8619,20 @@ function createSDK(queryTransport, txTransport) {
8569
8619
  var serviceLoader2 = createServiceLoader([
8570
8620
  () => import("./query_akash-ZPJ6T5NI.js").then((m) => m.Query),
8571
8621
  () => import("./service_akash-EJTYKJTM.js").then((m) => m.Msg),
8572
- () => import("./query_akash-N2BNNOTD.js").then((m) => m.Query),
8573
- () => import("./service_akash-KPU6LPVP.js").then((m) => m.Msg),
8622
+ () => import("./query_akash-EHAEDYOH.js").then((m) => m.Query),
8623
+ () => import("./service_akash-2VS4VW6P.js").then((m) => m.Msg),
8574
8624
  () => import("./query_akash-LWCKZPHL.js").then((m) => m.Query),
8575
8625
  () => import("./service_akash-5O4BYIF2.js").then((m) => m.Msg),
8576
- () => import("./query_akash-4CTLBKZR.js").then((m) => m.Query),
8577
- () => import("./service_akash-AZFAYT7H.js").then((m) => m.Msg),
8626
+ () => import("./query_akash-LW3YJGS6.js").then((m) => m.Query),
8627
+ () => import("./service_akash-5JSE44LJ.js").then((m) => m.Msg),
8578
8628
  () => import("./query_akash-GYTMDAAY.js").then((m) => m.Query),
8579
8629
  () => import("./query_akash-KKNAAUKF.js").then((m) => m.Query),
8580
8630
  () => import("./query_akash-4OVOGRBT.js").then((m) => m.Query),
8581
8631
  () => import("./service_akash-KKV7TGYK.js").then((m) => m.Msg),
8582
- () => import("./query_akash-DJ7LTLRE.js").then((m) => m.Query),
8583
- () => import("./service_akash-WRGOVR7I.js").then((m) => m.Msg),
8584
- () => import("./query_akash-RGYTHUNZ.js").then((m) => m.Query),
8585
- () => import("./service_akash-RQDCQLQH.js").then((m) => m.Msg),
8632
+ () => import("./query_akash-FYNRLU72.js").then((m) => m.Query),
8633
+ () => import("./service_akash-QEN5EQUY.js").then((m) => m.Msg),
8634
+ () => import("./query_akash-745M5I3X.js").then((m) => m.Query),
8635
+ () => import("./service_akash-VFDQVHZD.js").then((m) => m.Msg),
8586
8636
  () => import("./query_akash-ERHU5RE6.js").then((m) => m.Query),
8587
8637
  () => import("./service_akash-7YFQQXNZ.js").then((m) => m.Msg),
8588
8638
  () => import("./query_akash-JQTWE7KL.js").then((m) => m.Query),
@@ -8603,42 +8653,42 @@ function createSDK2(queryTransport, txTransport) {
8603
8653
  getAllProvidersAttributes: withMetadata(async function getAllProvidersAttributes(input, options) {
8604
8654
  const service = await serviceLoader2.loadAt(0);
8605
8655
  return getClient(service).allProvidersAttributes(input, options);
8606
- }, { path: [0, 0] }),
8656
+ }, { path: [0, "allProvidersAttributes"], serviceLoader: serviceLoader2 }),
8607
8657
  /**
8608
8658
  * getProviderAttributes queries all provider signed attributes.
8609
8659
  */
8610
8660
  getProviderAttributes: withMetadata(async function getProviderAttributes(input, options) {
8611
8661
  const service = await serviceLoader2.loadAt(0);
8612
8662
  return getClient(service).providerAttributes(input, options);
8613
- }, { path: [0, 1] }),
8663
+ }, { path: [0, "providerAttributes"], serviceLoader: serviceLoader2 }),
8614
8664
  /**
8615
8665
  * getProviderAuditorAttributes queries provider signed attributes by specific auditor.
8616
8666
  */
8617
8667
  getProviderAuditorAttributes: withMetadata(async function getProviderAuditorAttributes(input, options) {
8618
8668
  const service = await serviceLoader2.loadAt(0);
8619
8669
  return getClient(service).providerAuditorAttributes(input, options);
8620
- }, { path: [0, 2] }),
8670
+ }, { path: [0, "providerAuditorAttributes"], serviceLoader: serviceLoader2 }),
8621
8671
  /**
8622
8672
  * getAuditorAttributes queries all providers signed by this auditor.
8623
8673
  */
8624
8674
  getAuditorAttributes: withMetadata(async function getAuditorAttributes(input, options) {
8625
8675
  const service = await serviceLoader2.loadAt(0);
8626
8676
  return getClient(service).auditorAttributes(input, options);
8627
- }, { path: [0, 3] }),
8677
+ }, { path: [0, "auditorAttributes"], serviceLoader: serviceLoader2 }),
8628
8678
  /**
8629
8679
  * signProviderAttributes defines a method that signs provider attributes.
8630
8680
  */
8631
8681
  signProviderAttributes: withMetadata(async function signProviderAttributes(input, options) {
8632
8682
  const service = await serviceLoader2.loadAt(1);
8633
8683
  return getMsgClient(service).signProviderAttributes(input, options);
8634
- }, { path: [1, 0] }),
8684
+ }, { path: [1, "signProviderAttributes"], serviceLoader: serviceLoader2 }),
8635
8685
  /**
8636
8686
  * deleteProviderAttributes defines a method that deletes provider attributes.
8637
8687
  */
8638
8688
  deleteProviderAttributes: withMetadata(async function deleteProviderAttributes(input, options) {
8639
8689
  const service = await serviceLoader2.loadAt(1);
8640
8690
  return getMsgClient(service).deleteProviderAttributes(input, options);
8641
- }, { path: [1, 1] })
8691
+ }, { path: [1, "deleteProviderAttributes"], serviceLoader: serviceLoader2 })
8642
8692
  }
8643
8693
  },
8644
8694
  bme: {
@@ -8649,21 +8699,28 @@ function createSDK2(queryTransport, txTransport) {
8649
8699
  getParams: withMetadata(async function getParams(input = {}, options) {
8650
8700
  const service = await serviceLoader2.loadAt(2);
8651
8701
  return getClient(service).params(input, options);
8652
- }, { path: [2, 0] }),
8702
+ }, { path: [2, "params"], serviceLoader: serviceLoader2 }),
8653
8703
  /**
8654
8704
  * getVaultState returns the current vault state
8655
8705
  */
8656
8706
  getVaultState: withMetadata(async function getVaultState(input = {}, options) {
8657
8707
  const service = await serviceLoader2.loadAt(2);
8658
8708
  return getClient(service).vaultState(input, options);
8659
- }, { path: [2, 1] }),
8709
+ }, { path: [2, "vaultState"], serviceLoader: serviceLoader2 }),
8660
8710
  /**
8661
8711
  * getStatus returns the current circuit breaker status
8662
8712
  */
8663
8713
  getStatus: withMetadata(async function getStatus(input = {}, options) {
8664
8714
  const service = await serviceLoader2.loadAt(2);
8665
8715
  return getClient(service).status(input, options);
8666
- }, { path: [2, 2] }),
8716
+ }, { path: [2, "status"], serviceLoader: serviceLoader2 }),
8717
+ /**
8718
+ * getLedgerRecords queries ledger records with optional filters for status, source, denom, to_denom
8719
+ */
8720
+ getLedgerRecords: withMetadata(async function getLedgerRecords(input, options) {
8721
+ const service = await serviceLoader2.loadAt(2);
8722
+ return getClient(service).ledgerRecords(input, options);
8723
+ }, { path: [2, "ledgerRecords"], serviceLoader: serviceLoader2 }),
8667
8724
  /**
8668
8725
  * updateParams updates the module parameters.
8669
8726
  * This operation can only be performed through governance proposals.
@@ -8671,7 +8728,7 @@ function createSDK2(queryTransport, txTransport) {
8671
8728
  updateParams: withMetadata(async function updateParams(input, options) {
8672
8729
  const service = await serviceLoader2.loadAt(3);
8673
8730
  return getMsgClient(service).updateParams(input, options);
8674
- }, { path: [3, 0] }),
8731
+ }, { path: [3, "updateParams"], serviceLoader: serviceLoader2 }),
8675
8732
  /**
8676
8733
  * burnMint allows users to burn one token and mint another at current oracle prices.
8677
8734
  * Typically used to burn unused ACT tokens back to AKT.
@@ -8680,7 +8737,7 @@ function createSDK2(queryTransport, txTransport) {
8680
8737
  burnMint: withMetadata(async function burnMint(input, options) {
8681
8738
  const service = await serviceLoader2.loadAt(3);
8682
8739
  return getMsgClient(service).burnMint(input, options);
8683
- }, { path: [3, 1] }),
8740
+ }, { path: [3, "burnMint"], serviceLoader: serviceLoader2 }),
8684
8741
  /**
8685
8742
  * mintACT mints ACT tokens by burning the specified source token.
8686
8743
  * The mint amount is calculated based on current oracle prices and
@@ -8689,7 +8746,7 @@ function createSDK2(queryTransport, txTransport) {
8689
8746
  mintACT: withMetadata(async function mintACT(input, options) {
8690
8747
  const service = await serviceLoader2.loadAt(3);
8691
8748
  return getMsgClient(service).mintACT(input, options);
8692
- }, { path: [3, 2] }),
8749
+ }, { path: [3, "mintACT"], serviceLoader: serviceLoader2 }),
8693
8750
  /**
8694
8751
  * burnACT burns ACT tokens and mints the specified destination token.
8695
8752
  * The burn operation uses remint credits when available, otherwise
@@ -8698,7 +8755,7 @@ function createSDK2(queryTransport, txTransport) {
8698
8755
  burnACT: withMetadata(async function burnACT(input, options) {
8699
8756
  const service = await serviceLoader2.loadAt(3);
8700
8757
  return getMsgClient(service).burnACT(input, options);
8701
- }, { path: [3, 3] })
8758
+ }, { path: [3, "burnACT"], serviceLoader: serviceLoader2 })
8702
8759
  }
8703
8760
  },
8704
8761
  cert: {
@@ -8709,21 +8766,21 @@ function createSDK2(queryTransport, txTransport) {
8709
8766
  getCertificates: withMetadata(async function getCertificates(input, options) {
8710
8767
  const service = await serviceLoader2.loadAt(4);
8711
8768
  return getClient(service).certificates(input, options);
8712
- }, { path: [4, 0] }),
8769
+ }, { path: [4, "certificates"], serviceLoader: serviceLoader2 }),
8713
8770
  /**
8714
8771
  * createCertificate defines a method to create new certificate given proper inputs.
8715
8772
  */
8716
8773
  createCertificate: withMetadata(async function createCertificate(input, options) {
8717
8774
  const service = await serviceLoader2.loadAt(5);
8718
8775
  return getMsgClient(service).createCertificate(input, options);
8719
- }, { path: [5, 0] }),
8776
+ }, { path: [5, "createCertificate"], serviceLoader: serviceLoader2 }),
8720
8777
  /**
8721
8778
  * revokeCertificate defines a method to revoke the certificate.
8722
8779
  */
8723
8780
  revokeCertificate: withMetadata(async function revokeCertificate(input, options) {
8724
8781
  const service = await serviceLoader2.loadAt(5);
8725
8782
  return getMsgClient(service).revokeCertificate(input, options);
8726
- }, { path: [5, 1] })
8783
+ }, { path: [5, "revokeCertificate"], serviceLoader: serviceLoader2 })
8727
8784
  }
8728
8785
  },
8729
8786
  deployment: {
@@ -8734,70 +8791,70 @@ function createSDK2(queryTransport, txTransport) {
8734
8791
  getDeployments: withMetadata(async function getDeployments(input, options) {
8735
8792
  const service = await serviceLoader2.loadAt(6);
8736
8793
  return getClient(service).deployments(input, options);
8737
- }, { path: [6, 0] }),
8794
+ }, { path: [6, "deployments"], serviceLoader: serviceLoader2 }),
8738
8795
  /**
8739
8796
  * getDeployment queries deployment details.
8740
8797
  */
8741
8798
  getDeployment: withMetadata(async function getDeployment(input, options) {
8742
8799
  const service = await serviceLoader2.loadAt(6);
8743
8800
  return getClient(service).deployment(input, options);
8744
- }, { path: [6, 1] }),
8801
+ }, { path: [6, "deployment"], serviceLoader: serviceLoader2 }),
8745
8802
  /**
8746
8803
  * getGroup queries group details.
8747
8804
  */
8748
8805
  getGroup: withMetadata(async function getGroup(input, options) {
8749
8806
  const service = await serviceLoader2.loadAt(6);
8750
8807
  return getClient(service).group(input, options);
8751
- }, { path: [6, 2] }),
8808
+ }, { path: [6, "group"], serviceLoader: serviceLoader2 }),
8752
8809
  /**
8753
8810
  * getParams returns the total set of minting parameters.
8754
8811
  */
8755
8812
  getParams: withMetadata(async function getParams(input = {}, options) {
8756
8813
  const service = await serviceLoader2.loadAt(6);
8757
8814
  return getClient(service).params(input, options);
8758
- }, { path: [6, 3] }),
8815
+ }, { path: [6, "params"], serviceLoader: serviceLoader2 }),
8759
8816
  /**
8760
8817
  * createDeployment defines a method to create new deployment given proper inputs.
8761
8818
  */
8762
8819
  createDeployment: withMetadata(async function createDeployment(input, options) {
8763
8820
  const service = await serviceLoader2.loadAt(7);
8764
8821
  return getMsgClient(service).createDeployment(input, options);
8765
- }, { path: [7, 0] }),
8822
+ }, { path: [7, "createDeployment"], serviceLoader: serviceLoader2 }),
8766
8823
  /**
8767
8824
  * updateDeployment defines a method to update a deployment given proper inputs.
8768
8825
  */
8769
8826
  updateDeployment: withMetadata(async function updateDeployment(input, options) {
8770
8827
  const service = await serviceLoader2.loadAt(7);
8771
8828
  return getMsgClient(service).updateDeployment(input, options);
8772
- }, { path: [7, 1] }),
8829
+ }, { path: [7, "updateDeployment"], serviceLoader: serviceLoader2 }),
8773
8830
  /**
8774
8831
  * closeDeployment defines a method to close a deployment given proper inputs.
8775
8832
  */
8776
8833
  closeDeployment: withMetadata(async function closeDeployment(input, options) {
8777
8834
  const service = await serviceLoader2.loadAt(7);
8778
8835
  return getMsgClient(service).closeDeployment(input, options);
8779
- }, { path: [7, 2] }),
8836
+ }, { path: [7, "closeDeployment"], serviceLoader: serviceLoader2 }),
8780
8837
  /**
8781
8838
  * closeGroup defines a method to close a group of a deployment given proper inputs.
8782
8839
  */
8783
8840
  closeGroup: withMetadata(async function closeGroup(input, options) {
8784
8841
  const service = await serviceLoader2.loadAt(7);
8785
8842
  return getMsgClient(service).closeGroup(input, options);
8786
- }, { path: [7, 3] }),
8843
+ }, { path: [7, "closeGroup"], serviceLoader: serviceLoader2 }),
8787
8844
  /**
8788
8845
  * pauseGroup defines a method to pause a group of a deployment given proper inputs.
8789
8846
  */
8790
8847
  pauseGroup: withMetadata(async function pauseGroup(input, options) {
8791
8848
  const service = await serviceLoader2.loadAt(7);
8792
8849
  return getMsgClient(service).pauseGroup(input, options);
8793
- }, { path: [7, 4] }),
8850
+ }, { path: [7, "pauseGroup"], serviceLoader: serviceLoader2 }),
8794
8851
  /**
8795
8852
  * startGroup defines a method to start a group of a deployment given proper inputs.
8796
8853
  */
8797
8854
  startGroup: withMetadata(async function startGroup(input, options) {
8798
8855
  const service = await serviceLoader2.loadAt(7);
8799
8856
  return getMsgClient(service).startGroup(input, options);
8800
- }, { path: [7, 5] }),
8857
+ }, { path: [7, "startGroup"], serviceLoader: serviceLoader2 }),
8801
8858
  /**
8802
8859
  * updateParams defines a governance operation for updating the x/deployment module
8803
8860
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -8807,7 +8864,7 @@ function createSDK2(queryTransport, txTransport) {
8807
8864
  updateParams: withMetadata(async function updateParams(input, options) {
8808
8865
  const service = await serviceLoader2.loadAt(7);
8809
8866
  return getMsgClient(service).updateParams(input, options);
8810
- }, { path: [7, 6] })
8867
+ }, { path: [7, "updateParams"], serviceLoader: serviceLoader2 })
8811
8868
  }
8812
8869
  },
8813
8870
  downtimedetector: {
@@ -8819,7 +8876,7 @@ function createSDK2(queryTransport, txTransport) {
8819
8876
  getRecoveredSinceDowntimeOfLength: withMetadata(async function getRecoveredSinceDowntimeOfLength(input, options) {
8820
8877
  const service = await serviceLoader2.loadAt(8);
8821
8878
  return getClient(service).recoveredSinceDowntimeOfLength(input, options);
8822
- }, { path: [8, 0] })
8879
+ }, { path: [8, "recoveredSinceDowntimeOfLength"], serviceLoader: serviceLoader2 })
8823
8880
  }
8824
8881
  },
8825
8882
  epochs: {
@@ -8830,14 +8887,14 @@ function createSDK2(queryTransport, txTransport) {
8830
8887
  getEpochInfos: withMetadata(async function getEpochInfos(input = {}, options) {
8831
8888
  const service = await serviceLoader2.loadAt(9);
8832
8889
  return getClient(service).epochInfos(input, options);
8833
- }, { path: [9, 0] }),
8890
+ }, { path: [9, "epochInfos"], serviceLoader: serviceLoader2 }),
8834
8891
  /**
8835
8892
  * getCurrentEpoch provide current epoch of specified identifier
8836
8893
  */
8837
8894
  getCurrentEpoch: withMetadata(async function getCurrentEpoch(input, options) {
8838
8895
  const service = await serviceLoader2.loadAt(9);
8839
8896
  return getClient(service).currentEpoch(input, options);
8840
- }, { path: [9, 1] })
8897
+ }, { path: [9, "currentEpoch"], serviceLoader: serviceLoader2 })
8841
8898
  }
8842
8899
  },
8843
8900
  escrow: {
@@ -8848,21 +8905,21 @@ function createSDK2(queryTransport, txTransport) {
8848
8905
  getAccounts: withMetadata(async function getAccounts(input, options) {
8849
8906
  const service = await serviceLoader2.loadAt(10);
8850
8907
  return getClient(service).accounts(input, options);
8851
- }, { path: [10, 0] }),
8908
+ }, { path: [10, "accounts"], serviceLoader: serviceLoader2 }),
8852
8909
  /**
8853
8910
  * getPayments queries all payments.
8854
8911
  */
8855
8912
  getPayments: withMetadata(async function getPayments(input, options) {
8856
8913
  const service = await serviceLoader2.loadAt(10);
8857
8914
  return getClient(service).payments(input, options);
8858
- }, { path: [10, 1] }),
8915
+ }, { path: [10, "payments"], serviceLoader: serviceLoader2 }),
8859
8916
  /**
8860
8917
  * accountDeposit deposits more funds into the escrow account.
8861
8918
  */
8862
8919
  accountDeposit: withMetadata(async function accountDeposit(input, options) {
8863
8920
  const service = await serviceLoader2.loadAt(11);
8864
8921
  return getMsgClient(service).accountDeposit(input, options);
8865
- }, { path: [11, 0] })
8922
+ }, { path: [11, "accountDeposit"], serviceLoader: serviceLoader2 })
8866
8923
  }
8867
8924
  },
8868
8925
  market: {
@@ -8873,84 +8930,84 @@ function createSDK2(queryTransport, txTransport) {
8873
8930
  getOrders: withMetadata(async function getOrders(input, options) {
8874
8931
  const service = await serviceLoader2.loadAt(12);
8875
8932
  return getClient(service).orders(input, options);
8876
- }, { path: [12, 0] }),
8933
+ }, { path: [12, "orders"], serviceLoader: serviceLoader2 }),
8877
8934
  /**
8878
8935
  * getOrder queries order details.
8879
8936
  */
8880
8937
  getOrder: withMetadata(async function getOrder(input, options) {
8881
8938
  const service = await serviceLoader2.loadAt(12);
8882
8939
  return getClient(service).order(input, options);
8883
- }, { path: [12, 1] }),
8940
+ }, { path: [12, "order"], serviceLoader: serviceLoader2 }),
8884
8941
  /**
8885
8942
  * getBids queries bids with filters.
8886
8943
  */
8887
8944
  getBids: withMetadata(async function getBids(input, options) {
8888
8945
  const service = await serviceLoader2.loadAt(12);
8889
8946
  return getClient(service).bids(input, options);
8890
- }, { path: [12, 2] }),
8947
+ }, { path: [12, "bids"], serviceLoader: serviceLoader2 }),
8891
8948
  /**
8892
8949
  * getBid queries bid details.
8893
8950
  */
8894
8951
  getBid: withMetadata(async function getBid(input, options) {
8895
8952
  const service = await serviceLoader2.loadAt(12);
8896
8953
  return getClient(service).bid(input, options);
8897
- }, { path: [12, 3] }),
8954
+ }, { path: [12, "bid"], serviceLoader: serviceLoader2 }),
8898
8955
  /**
8899
8956
  * getLeases queries leases with filters.
8900
8957
  */
8901
8958
  getLeases: withMetadata(async function getLeases(input, options) {
8902
8959
  const service = await serviceLoader2.loadAt(12);
8903
8960
  return getClient(service).leases(input, options);
8904
- }, { path: [12, 4] }),
8961
+ }, { path: [12, "leases"], serviceLoader: serviceLoader2 }),
8905
8962
  /**
8906
8963
  * getLease queries lease details.
8907
8964
  */
8908
8965
  getLease: withMetadata(async function getLease(input, options) {
8909
8966
  const service = await serviceLoader2.loadAt(12);
8910
8967
  return getClient(service).lease(input, options);
8911
- }, { path: [12, 5] }),
8968
+ }, { path: [12, "lease"], serviceLoader: serviceLoader2 }),
8912
8969
  /**
8913
8970
  * getParams returns the total set of minting parameters.
8914
8971
  */
8915
8972
  getParams: withMetadata(async function getParams(input = {}, options) {
8916
8973
  const service = await serviceLoader2.loadAt(12);
8917
8974
  return getClient(service).params(input, options);
8918
- }, { path: [12, 6] }),
8975
+ }, { path: [12, "params"], serviceLoader: serviceLoader2 }),
8919
8976
  /**
8920
8977
  * createBid defines a method to create a bid given proper inputs.
8921
8978
  */
8922
8979
  createBid: withMetadata(async function createBid(input, options) {
8923
8980
  const service = await serviceLoader2.loadAt(13);
8924
8981
  return getMsgClient(service).createBid(input, options);
8925
- }, { path: [13, 0] }),
8982
+ }, { path: [13, "createBid"], serviceLoader: serviceLoader2 }),
8926
8983
  /**
8927
8984
  * closeBid defines a method to close a bid given proper inputs.
8928
8985
  */
8929
8986
  closeBid: withMetadata(async function closeBid(input, options) {
8930
8987
  const service = await serviceLoader2.loadAt(13);
8931
8988
  return getMsgClient(service).closeBid(input, options);
8932
- }, { path: [13, 1] }),
8989
+ }, { path: [13, "closeBid"], serviceLoader: serviceLoader2 }),
8933
8990
  /**
8934
8991
  * withdrawLease withdraws accrued funds from the lease payment
8935
8992
  */
8936
8993
  withdrawLease: withMetadata(async function withdrawLease(input, options) {
8937
8994
  const service = await serviceLoader2.loadAt(13);
8938
8995
  return getMsgClient(service).withdrawLease(input, options);
8939
- }, { path: [13, 2] }),
8996
+ }, { path: [13, "withdrawLease"], serviceLoader: serviceLoader2 }),
8940
8997
  /**
8941
8998
  * createLease creates a new lease
8942
8999
  */
8943
9000
  createLease: withMetadata(async function createLease(input, options) {
8944
9001
  const service = await serviceLoader2.loadAt(13);
8945
9002
  return getMsgClient(service).createLease(input, options);
8946
- }, { path: [13, 3] }),
9003
+ }, { path: [13, "createLease"], serviceLoader: serviceLoader2 }),
8947
9004
  /**
8948
9005
  * closeLease defines a method to close an order given proper inputs.
8949
9006
  */
8950
9007
  closeLease: withMetadata(async function closeLease(input, options) {
8951
9008
  const service = await serviceLoader2.loadAt(13);
8952
9009
  return getMsgClient(service).closeLease(input, options);
8953
- }, { path: [13, 4] }),
9010
+ }, { path: [13, "closeLease"], serviceLoader: serviceLoader2 }),
8954
9011
  /**
8955
9012
  * updateParams defines a governance operation for updating the x/market module
8956
9013
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -8960,7 +9017,7 @@ function createSDK2(queryTransport, txTransport) {
8960
9017
  updateParams: withMetadata(async function updateParams(input, options) {
8961
9018
  const service = await serviceLoader2.loadAt(13);
8962
9019
  return getMsgClient(service).updateParams(input, options);
8963
- }, { path: [13, 5] })
9020
+ }, { path: [13, "updateParams"], serviceLoader: serviceLoader2 })
8964
9021
  }
8965
9022
  },
8966
9023
  oracle: {
@@ -8971,35 +9028,35 @@ function createSDK2(queryTransport, txTransport) {
8971
9028
  getPrices: withMetadata(async function getPrices(input, options) {
8972
9029
  const service = await serviceLoader2.loadAt(14);
8973
9030
  return getClient(service).prices(input, options);
8974
- }, { path: [14, 0] }),
9031
+ }, { path: [14, "prices"], serviceLoader: serviceLoader2 }),
8975
9032
  /**
8976
9033
  * getParams returns the total set of minting parameters.
8977
9034
  */
8978
9035
  getParams: withMetadata(async function getParams(input = {}, options) {
8979
9036
  const service = await serviceLoader2.loadAt(14);
8980
9037
  return getClient(service).params(input, options);
8981
- }, { path: [14, 1] }),
9038
+ }, { path: [14, "params"], serviceLoader: serviceLoader2 }),
8982
9039
  /**
8983
9040
  * getPriceFeedConfig queries the price feed configuration for a given denom.
8984
9041
  */
8985
9042
  getPriceFeedConfig: withMetadata(async function getPriceFeedConfig(input, options) {
8986
9043
  const service = await serviceLoader2.loadAt(14);
8987
9044
  return getClient(service).priceFeedConfig(input, options);
8988
- }, { path: [14, 2] }),
9045
+ }, { path: [14, "priceFeedConfig"], serviceLoader: serviceLoader2 }),
8989
9046
  /**
8990
9047
  * getAggregatedPrice queries the aggregated price for a given denom.
8991
9048
  */
8992
9049
  getAggregatedPrice: withMetadata(async function getAggregatedPrice(input, options) {
8993
9050
  const service = await serviceLoader2.loadAt(14);
8994
9051
  return getClient(service).aggregatedPrice(input, options);
8995
- }, { path: [14, 3] }),
9052
+ }, { path: [14, "aggregatedPrice"], serviceLoader: serviceLoader2 }),
8996
9053
  /**
8997
9054
  * addPriceEntry adds a new price entry for a denomination from an authorized source
8998
9055
  */
8999
9056
  addPriceEntry: withMetadata(async function addPriceEntry(input, options) {
9000
9057
  const service = await serviceLoader2.loadAt(15);
9001
9058
  return getMsgClient(service).addPriceEntry(input, options);
9002
- }, { path: [15, 0] }),
9059
+ }, { path: [15, "addPriceEntry"], serviceLoader: serviceLoader2 }),
9003
9060
  /**
9004
9061
  * updateParams defines a governance operation for updating the x/wasm module
9005
9062
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -9009,7 +9066,7 @@ function createSDK2(queryTransport, txTransport) {
9009
9066
  updateParams: withMetadata(async function updateParams(input, options) {
9010
9067
  const service = await serviceLoader2.loadAt(15);
9011
9068
  return getMsgClient(service).updateParams(input, options);
9012
- }, { path: [15, 1] })
9069
+ }, { path: [15, "updateParams"], serviceLoader: serviceLoader2 })
9013
9070
  }
9014
9071
  },
9015
9072
  provider: {
@@ -9020,35 +9077,35 @@ function createSDK2(queryTransport, txTransport) {
9020
9077
  getProviders: withMetadata(async function getProviders(input, options) {
9021
9078
  const service = await serviceLoader2.loadAt(16);
9022
9079
  return getClient(service).providers(input, options);
9023
- }, { path: [16, 0] }),
9080
+ }, { path: [16, "providers"], serviceLoader: serviceLoader2 }),
9024
9081
  /**
9025
9082
  * getProvider queries provider details
9026
9083
  */
9027
9084
  getProvider: withMetadata(async function getProvider(input, options) {
9028
9085
  const service = await serviceLoader2.loadAt(16);
9029
9086
  return getClient(service).provider(input, options);
9030
- }, { path: [16, 1] }),
9087
+ }, { path: [16, "provider"], serviceLoader: serviceLoader2 }),
9031
9088
  /**
9032
9089
  * createProvider defines a method that creates a provider given the proper inputs.
9033
9090
  */
9034
9091
  createProvider: withMetadata(async function createProvider(input, options) {
9035
9092
  const service = await serviceLoader2.loadAt(17);
9036
9093
  return getMsgClient(service).createProvider(input, options);
9037
- }, { path: [17, 0] }),
9094
+ }, { path: [17, "createProvider"], serviceLoader: serviceLoader2 }),
9038
9095
  /**
9039
9096
  * updateProvider defines a method that updates a provider given the proper inputs.
9040
9097
  */
9041
9098
  updateProvider: withMetadata(async function updateProvider(input, options) {
9042
9099
  const service = await serviceLoader2.loadAt(17);
9043
9100
  return getMsgClient(service).updateProvider(input, options);
9044
- }, { path: [17, 1] }),
9101
+ }, { path: [17, "updateProvider"], serviceLoader: serviceLoader2 }),
9045
9102
  /**
9046
9103
  * deleteProvider defines a method that deletes a provider given the proper inputs.
9047
9104
  */
9048
9105
  deleteProvider: withMetadata(async function deleteProvider(input, options) {
9049
9106
  const service = await serviceLoader2.loadAt(17);
9050
9107
  return getMsgClient(service).deleteProvider(input, options);
9051
- }, { path: [17, 2] })
9108
+ }, { path: [17, "deleteProvider"], serviceLoader: serviceLoader2 })
9052
9109
  }
9053
9110
  },
9054
9111
  take: {
@@ -9059,7 +9116,7 @@ function createSDK2(queryTransport, txTransport) {
9059
9116
  getParams: withMetadata(async function getParams(input = {}, options) {
9060
9117
  const service = await serviceLoader2.loadAt(18);
9061
9118
  return getClient(service).params(input, options);
9062
- }, { path: [18, 0] }),
9119
+ }, { path: [18, "params"], serviceLoader: serviceLoader2 }),
9063
9120
  /**
9064
9121
  * updateParams defines a governance operation for updating the x/market module
9065
9122
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -9069,7 +9126,7 @@ function createSDK2(queryTransport, txTransport) {
9069
9126
  updateParams: withMetadata(async function updateParams(input, options) {
9070
9127
  const service = await serviceLoader2.loadAt(19);
9071
9128
  return getMsgClient(service).updateParams(input, options);
9072
- }, { path: [19, 0] })
9129
+ }, { path: [19, "updateParams"], serviceLoader: serviceLoader2 })
9073
9130
  }
9074
9131
  },
9075
9132
  wasm: {
@@ -9080,7 +9137,7 @@ function createSDK2(queryTransport, txTransport) {
9080
9137
  getParams: withMetadata(async function getParams(input = {}, options) {
9081
9138
  const service = await serviceLoader2.loadAt(20);
9082
9139
  return getClient(service).params(input, options);
9083
- }, { path: [20, 0] }),
9140
+ }, { path: [20, "params"], serviceLoader: serviceLoader2 }),
9084
9141
  /**
9085
9142
  * updateParams defines a governance operation for updating the x/wasm module
9086
9143
  * parameters. The authority is hard-coded to the x/gov module account.
@@ -9090,7 +9147,7 @@ function createSDK2(queryTransport, txTransport) {
9090
9147
  updateParams: withMetadata(async function updateParams(input, options) {
9091
9148
  const service = await serviceLoader2.loadAt(21);
9092
9149
  return getMsgClient(service).updateParams(input, options);
9093
- }, { path: [21, 0] })
9150
+ }, { path: [21, "updateParams"], serviceLoader: serviceLoader2 })
9094
9151
  }
9095
9152
  }
9096
9153
  }
@@ -9150,7 +9207,7 @@ function createTxTransport(transportOptions) {
9150
9207
  async unary(method, input, options) {
9151
9208
  const messages = [{
9152
9209
  typeUrl: `/${method.input.$type}`,
9153
- value: input
9210
+ value: method.input.fromPartial(input)
9154
9211
  }];
9155
9212
  const txResponse = await transportOptions.client.signAndBroadcast(messages, {
9156
9213
  afterSign: options?.afterSign,
@@ -9306,9 +9363,12 @@ export {
9306
9363
  certificateManager,
9307
9364
  JwtValidator,
9308
9365
  JwtTokenManager,
9366
+ withMetadata,
9367
+ msg,
9368
+ SIGNER_KEY,
9369
+ transaction,
9309
9370
  createServiceLoader,
9310
9371
  createClientFactory,
9311
- withMetadata,
9312
9372
  createSDK,
9313
9373
  createSDK2,
9314
9374
  getMessageType,
@@ -9322,4 +9382,4 @@ export {
9322
9382
  isRetryEnabled,
9323
9383
  createTxTransport
9324
9384
  };
9325
- //# sourceMappingURL=chunk-RIIYZIXM.js.map
9385
+ //# sourceMappingURL=chunk-ZRM47VCZ.js.map