@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
@@ -70,35 +70,35 @@ function createSDK(queryTransport, txTransport) {
70
70
  getInterchainAccount: (0, import_sdkMetadata.withMetadata)(async function getInterchainAccount(input, options) {
71
71
  const service = await serviceLoader.loadAt(0);
72
72
  return getClient(service).interchainAccount(input, options);
73
- }, { path: [0, 0] }),
73
+ }, { path: [0, "interchainAccount"], serviceLoader }),
74
74
  /**
75
75
  * getParams queries all parameters of the ICA controller submodule.
76
76
  */
77
77
  getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
78
78
  const service = await serviceLoader.loadAt(0);
79
79
  return getClient(service).params(input, options);
80
- }, { path: [0, 1] }),
80
+ }, { path: [0, "params"], serviceLoader }),
81
81
  /**
82
82
  * registerInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount.
83
83
  */
84
84
  registerInterchainAccount: (0, import_sdkMetadata.withMetadata)(async function registerInterchainAccount(input, options) {
85
85
  const service = await serviceLoader.loadAt(1);
86
86
  return getMsgClient(service).registerInterchainAccount(input, options);
87
- }, { path: [1, 0] }),
87
+ }, { path: [1, "registerInterchainAccount"], serviceLoader }),
88
88
  /**
89
89
  * sendTx defines a rpc handler for MsgSendTx.
90
90
  */
91
91
  sendTx: (0, import_sdkMetadata.withMetadata)(async function sendTx(input, options) {
92
92
  const service = await serviceLoader.loadAt(1);
93
93
  return getMsgClient(service).sendTx(input, options);
94
- }, { path: [1, 1] }),
94
+ }, { path: [1, "sendTx"], serviceLoader }),
95
95
  /**
96
96
  * updateParams defines a rpc handler for MsgUpdateParams.
97
97
  */
98
98
  updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
99
99
  const service = await serviceLoader.loadAt(1);
100
100
  return getMsgClient(service).updateParams(input, options);
101
- }, { path: [1, 2] })
101
+ }, { path: [1, "updateParams"], serviceLoader })
102
102
  }
103
103
  },
104
104
  host: {
@@ -109,21 +109,21 @@ function createSDK(queryTransport, txTransport) {
109
109
  getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
110
110
  const service = await serviceLoader.loadAt(2);
111
111
  return getClient(service).params(input, options);
112
- }, { path: [2, 0] }),
112
+ }, { path: [2, "params"], serviceLoader }),
113
113
  /**
114
114
  * updateParams defines a rpc handler for MsgUpdateParams.
115
115
  */
116
116
  updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
117
117
  const service = await serviceLoader.loadAt(3);
118
118
  return getMsgClient(service).updateParams(input, options);
119
- }, { path: [3, 0] }),
119
+ }, { path: [3, "updateParams"], serviceLoader }),
120
120
  /**
121
121
  * moduleQuerySafe defines a rpc handler for MsgModuleQuerySafe.
122
122
  */
123
123
  moduleQuerySafe: (0, import_sdkMetadata.withMetadata)(async function moduleQuerySafe(input, options) {
124
124
  const service = await serviceLoader.loadAt(3);
125
125
  return getMsgClient(service).moduleQuerySafe(input, options);
126
- }, { path: [3, 1] })
126
+ }, { path: [3, "moduleQuerySafe"], serviceLoader })
127
127
  }
128
128
  }
129
129
  },
@@ -135,56 +135,56 @@ function createSDK(queryTransport, txTransport) {
135
135
  getParams: (0, import_sdkMetadata.withMetadata)(async function getParams(input = {}, options) {
136
136
  const service = await serviceLoader.loadAt(4);
137
137
  return getClient(service).params(input, options);
138
- }, { path: [4, 0] }),
138
+ }, { path: [4, "params"], serviceLoader }),
139
139
  /**
140
140
  * getDenoms queries all denominations
141
141
  */
142
142
  getDenoms: (0, import_sdkMetadata.withMetadata)(async function getDenoms(input, options) {
143
143
  const service = await serviceLoader.loadAt(4);
144
144
  return getClient(service).denoms(input, options);
145
- }, { path: [4, 1] }),
145
+ }, { path: [4, "denoms"], serviceLoader }),
146
146
  /**
147
147
  * getDenom queries a denomination
148
148
  */
149
149
  getDenom: (0, import_sdkMetadata.withMetadata)(async function getDenom(input, options) {
150
150
  const service = await serviceLoader.loadAt(4);
151
151
  return getClient(service).denom(input, options);
152
- }, { path: [4, 2] }),
152
+ }, { path: [4, "denom"], serviceLoader }),
153
153
  /**
154
154
  * getDenomHash queries a denomination hash information.
155
155
  */
156
156
  getDenomHash: (0, import_sdkMetadata.withMetadata)(async function getDenomHash(input, options) {
157
157
  const service = await serviceLoader.loadAt(4);
158
158
  return getClient(service).denomHash(input, options);
159
- }, { path: [4, 3] }),
159
+ }, { path: [4, "denomHash"], serviceLoader }),
160
160
  /**
161
161
  * getEscrowAddress returns the escrow address for a particular port and channel id.
162
162
  */
163
163
  getEscrowAddress: (0, import_sdkMetadata.withMetadata)(async function getEscrowAddress(input, options) {
164
164
  const service = await serviceLoader.loadAt(4);
165
165
  return getClient(service).escrowAddress(input, options);
166
- }, { path: [4, 4] }),
166
+ }, { path: [4, "escrowAddress"], serviceLoader }),
167
167
  /**
168
168
  * getTotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.
169
169
  */
170
170
  getTotalEscrowForDenom: (0, import_sdkMetadata.withMetadata)(async function getTotalEscrowForDenom(input, options) {
171
171
  const service = await serviceLoader.loadAt(4);
172
172
  return getClient(service).totalEscrowForDenom(input, options);
173
- }, { path: [4, 5] }),
173
+ }, { path: [4, "totalEscrowForDenom"], serviceLoader }),
174
174
  /**
175
175
  * transfer defines a rpc handler method for MsgTransfer.
176
176
  */
177
177
  transfer: (0, import_sdkMetadata.withMetadata)(async function transfer(input, options) {
178
178
  const service = await serviceLoader.loadAt(5);
179
179
  return getMsgClient(service).transfer(input, options);
180
- }, { path: [5, 0] }),
180
+ }, { path: [5, "transfer"], serviceLoader }),
181
181
  /**
182
182
  * updateParams defines a rpc handler for MsgUpdateParams.
183
183
  */
184
184
  updateParams: (0, import_sdkMetadata.withMetadata)(async function updateParams(input, options) {
185
185
  const service = await serviceLoader.loadAt(5);
186
186
  return getMsgClient(service).updateParams(input, options);
187
- }, { path: [5, 1] })
187
+ }, { path: [5, "updateParams"], serviceLoader })
188
188
  }
189
189
  }
190
190
  },
@@ -197,14 +197,14 @@ function createSDK(queryTransport, txTransport) {
197
197
  getChannel: (0, import_sdkMetadata.withMetadata)(async function getChannel(input, options) {
198
198
  const service = await serviceLoader.loadAt(6);
199
199
  return getClient(service).channel(input, options);
200
- }, { path: [6, 0] }),
200
+ }, { path: [6, "channel"], serviceLoader }),
201
201
  /**
202
202
  * getChannels queries all the IBC channels of a chain.
203
203
  */
204
204
  getChannels: (0, import_sdkMetadata.withMetadata)(async function getChannels(input, options) {
205
205
  const service = await serviceLoader.loadAt(6);
206
206
  return getClient(service).channels(input, options);
207
- }, { path: [6, 1] }),
207
+ }, { path: [6, "channels"], serviceLoader }),
208
208
  /**
209
209
  * getConnectionChannels queries all the channels associated with a connection
210
210
  * end.
@@ -212,7 +212,7 @@ function createSDK(queryTransport, txTransport) {
212
212
  getConnectionChannels: (0, import_sdkMetadata.withMetadata)(async function getConnectionChannels(input, options) {
213
213
  const service = await serviceLoader.loadAt(6);
214
214
  return getClient(service).connectionChannels(input, options);
215
- }, { path: [6, 2] }),
215
+ }, { path: [6, "connectionChannels"], serviceLoader }),
216
216
  /**
217
217
  * getChannelClientState queries for the client state for the channel associated
218
218
  * with the provided channel identifiers.
@@ -220,7 +220,7 @@ function createSDK(queryTransport, txTransport) {
220
220
  getChannelClientState: (0, import_sdkMetadata.withMetadata)(async function getChannelClientState(input, options) {
221
221
  const service = await serviceLoader.loadAt(6);
222
222
  return getClient(service).channelClientState(input, options);
223
- }, { path: [6, 3] }),
223
+ }, { path: [6, "channelClientState"], serviceLoader }),
224
224
  /**
225
225
  * getChannelConsensusState queries for the consensus state for the channel
226
226
  * associated with the provided channel identifiers.
@@ -228,14 +228,14 @@ function createSDK(queryTransport, txTransport) {
228
228
  getChannelConsensusState: (0, import_sdkMetadata.withMetadata)(async function getChannelConsensusState(input, options) {
229
229
  const service = await serviceLoader.loadAt(6);
230
230
  return getClient(service).channelConsensusState(input, options);
231
- }, { path: [6, 4] }),
231
+ }, { path: [6, "channelConsensusState"], serviceLoader }),
232
232
  /**
233
233
  * getPacketCommitment queries a stored packet commitment hash.
234
234
  */
235
235
  getPacketCommitment: (0, import_sdkMetadata.withMetadata)(async function getPacketCommitment(input, options) {
236
236
  const service = await serviceLoader.loadAt(6);
237
237
  return getClient(service).packetCommitment(input, options);
238
- }, { path: [6, 5] }),
238
+ }, { path: [6, "packetCommitment"], serviceLoader }),
239
239
  /**
240
240
  * getPacketCommitments returns all the packet commitments hashes associated
241
241
  * with a channel.
@@ -243,7 +243,7 @@ function createSDK(queryTransport, txTransport) {
243
243
  getPacketCommitments: (0, import_sdkMetadata.withMetadata)(async function getPacketCommitments(input, options) {
244
244
  const service = await serviceLoader.loadAt(6);
245
245
  return getClient(service).packetCommitments(input, options);
246
- }, { path: [6, 6] }),
246
+ }, { path: [6, "packetCommitments"], serviceLoader }),
247
247
  /**
248
248
  * getPacketReceipt queries if a given packet sequence has been received on the
249
249
  * queried chain
@@ -251,14 +251,14 @@ function createSDK(queryTransport, txTransport) {
251
251
  getPacketReceipt: (0, import_sdkMetadata.withMetadata)(async function getPacketReceipt(input, options) {
252
252
  const service = await serviceLoader.loadAt(6);
253
253
  return getClient(service).packetReceipt(input, options);
254
- }, { path: [6, 7] }),
254
+ }, { path: [6, "packetReceipt"], serviceLoader }),
255
255
  /**
256
256
  * getPacketAcknowledgement queries a stored packet acknowledgement hash.
257
257
  */
258
258
  getPacketAcknowledgement: (0, import_sdkMetadata.withMetadata)(async function getPacketAcknowledgement(input, options) {
259
259
  const service = await serviceLoader.loadAt(6);
260
260
  return getClient(service).packetAcknowledgement(input, options);
261
- }, { path: [6, 8] }),
261
+ }, { path: [6, "packetAcknowledgement"], serviceLoader }),
262
262
  /**
263
263
  * getPacketAcknowledgements returns all the packet acknowledgements associated
264
264
  * with a channel.
@@ -266,7 +266,7 @@ function createSDK(queryTransport, txTransport) {
266
266
  getPacketAcknowledgements: (0, import_sdkMetadata.withMetadata)(async function getPacketAcknowledgements(input, options) {
267
267
  const service = await serviceLoader.loadAt(6);
268
268
  return getClient(service).packetAcknowledgements(input, options);
269
- }, { path: [6, 9] }),
269
+ }, { path: [6, "packetAcknowledgements"], serviceLoader }),
270
270
  /**
271
271
  * getUnreceivedPackets returns all the unreceived IBC packets associated with a
272
272
  * channel and sequences.
@@ -274,7 +274,7 @@ function createSDK(queryTransport, txTransport) {
274
274
  getUnreceivedPackets: (0, import_sdkMetadata.withMetadata)(async function getUnreceivedPackets(input, options) {
275
275
  const service = await serviceLoader.loadAt(6);
276
276
  return getClient(service).unreceivedPackets(input, options);
277
- }, { path: [6, 10] }),
277
+ }, { path: [6, "unreceivedPackets"], serviceLoader }),
278
278
  /**
279
279
  * getUnreceivedAcks returns all the unreceived IBC acknowledgements associated
280
280
  * with a channel and sequences.
@@ -282,56 +282,56 @@ function createSDK(queryTransport, txTransport) {
282
282
  getUnreceivedAcks: (0, import_sdkMetadata.withMetadata)(async function getUnreceivedAcks(input, options) {
283
283
  const service = await serviceLoader.loadAt(6);
284
284
  return getClient(service).unreceivedAcks(input, options);
285
- }, { path: [6, 11] }),
285
+ }, { path: [6, "unreceivedAcks"], serviceLoader }),
286
286
  /**
287
287
  * getNextSequenceReceive returns the next receive sequence for a given channel.
288
288
  */
289
289
  getNextSequenceReceive: (0, import_sdkMetadata.withMetadata)(async function getNextSequenceReceive(input, options) {
290
290
  const service = await serviceLoader.loadAt(6);
291
291
  return getClient(service).nextSequenceReceive(input, options);
292
- }, { path: [6, 12] }),
292
+ }, { path: [6, "nextSequenceReceive"], serviceLoader }),
293
293
  /**
294
294
  * getNextSequenceSend returns the next send sequence for a given channel.
295
295
  */
296
296
  getNextSequenceSend: (0, import_sdkMetadata.withMetadata)(async function getNextSequenceSend(input, options) {
297
297
  const service = await serviceLoader.loadAt(6);
298
298
  return getClient(service).nextSequenceSend(input, options);
299
- }, { path: [6, 13] }),
299
+ }, { path: [6, "nextSequenceSend"], serviceLoader }),
300
300
  /**
301
301
  * channelOpenInit defines a rpc handler method for MsgChannelOpenInit.
302
302
  */
303
303
  channelOpenInit: (0, import_sdkMetadata.withMetadata)(async function channelOpenInit(input, options) {
304
304
  const service = await serviceLoader.loadAt(7);
305
305
  return getMsgClient(service).channelOpenInit(input, options);
306
- }, { path: [7, 0] }),
306
+ }, { path: [7, "channelOpenInit"], serviceLoader }),
307
307
  /**
308
308
  * channelOpenTry defines a rpc handler method for MsgChannelOpenTry.
309
309
  */
310
310
  channelOpenTry: (0, import_sdkMetadata.withMetadata)(async function channelOpenTry(input, options) {
311
311
  const service = await serviceLoader.loadAt(7);
312
312
  return getMsgClient(service).channelOpenTry(input, options);
313
- }, { path: [7, 1] }),
313
+ }, { path: [7, "channelOpenTry"], serviceLoader }),
314
314
  /**
315
315
  * channelOpenAck defines a rpc handler method for MsgChannelOpenAck.
316
316
  */
317
317
  channelOpenAck: (0, import_sdkMetadata.withMetadata)(async function channelOpenAck(input, options) {
318
318
  const service = await serviceLoader.loadAt(7);
319
319
  return getMsgClient(service).channelOpenAck(input, options);
320
- }, { path: [7, 2] }),
320
+ }, { path: [7, "channelOpenAck"], serviceLoader }),
321
321
  /**
322
322
  * channelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.
323
323
  */
324
324
  channelOpenConfirm: (0, import_sdkMetadata.withMetadata)(async function channelOpenConfirm(input, options) {
325
325
  const service = await serviceLoader.loadAt(7);
326
326
  return getMsgClient(service).channelOpenConfirm(input, options);
327
- }, { path: [7, 3] }),
327
+ }, { path: [7, "channelOpenConfirm"], serviceLoader }),
328
328
  /**
329
329
  * channelCloseInit defines a rpc handler method for MsgChannelCloseInit.
330
330
  */
331
331
  channelCloseInit: (0, import_sdkMetadata.withMetadata)(async function channelCloseInit(input, options) {
332
332
  const service = await serviceLoader.loadAt(7);
333
333
  return getMsgClient(service).channelCloseInit(input, options);
334
- }, { path: [7, 4] }),
334
+ }, { path: [7, "channelCloseInit"], serviceLoader }),
335
335
  /**
336
336
  * channelCloseConfirm defines a rpc handler method for
337
337
  * MsgChannelCloseConfirm.
@@ -339,35 +339,35 @@ function createSDK(queryTransport, txTransport) {
339
339
  channelCloseConfirm: (0, import_sdkMetadata.withMetadata)(async function channelCloseConfirm(input, options) {
340
340
  const service = await serviceLoader.loadAt(7);
341
341
  return getMsgClient(service).channelCloseConfirm(input, options);
342
- }, { path: [7, 5] }),
342
+ }, { path: [7, "channelCloseConfirm"], serviceLoader }),
343
343
  /**
344
344
  * recvPacket defines a rpc handler method for MsgRecvPacket.
345
345
  */
346
346
  recvPacket: (0, import_sdkMetadata.withMetadata)(async function recvPacket(input, options) {
347
347
  const service = await serviceLoader.loadAt(7);
348
348
  return getMsgClient(service).recvPacket(input, options);
349
- }, { path: [7, 6] }),
349
+ }, { path: [7, "recvPacket"], serviceLoader }),
350
350
  /**
351
351
  * timeout defines a rpc handler method for MsgTimeout.
352
352
  */
353
353
  timeout: (0, import_sdkMetadata.withMetadata)(async function timeout(input, options) {
354
354
  const service = await serviceLoader.loadAt(7);
355
355
  return getMsgClient(service).timeout(input, options);
356
- }, { path: [7, 7] }),
356
+ }, { path: [7, "timeout"], serviceLoader }),
357
357
  /**
358
358
  * timeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
359
359
  */
360
360
  timeoutOnClose: (0, import_sdkMetadata.withMetadata)(async function timeoutOnClose(input, options) {
361
361
  const service = await serviceLoader.loadAt(7);
362
362
  return getMsgClient(service).timeoutOnClose(input, options);
363
- }, { path: [7, 8] }),
363
+ }, { path: [7, "timeoutOnClose"], serviceLoader }),
364
364
  /**
365
365
  * acknowledgement defines a rpc handler method for MsgAcknowledgement.
366
366
  */
367
367
  acknowledgement: (0, import_sdkMetadata.withMetadata)(async function acknowledgement(input, options) {
368
368
  const service = await serviceLoader.loadAt(7);
369
369
  return getMsgClient(service).acknowledgement(input, options);
370
- }, { path: [7, 9] })
370
+ }, { path: [7, "acknowledgement"], serviceLoader })
371
371
  },
372
372
  v2: {
373
373
  /**
@@ -376,84 +376,84 @@ function createSDK(queryTransport, txTransport) {
376
376
  getNextSequenceSend: (0, import_sdkMetadata.withMetadata)(async function getNextSequenceSend(input, options) {
377
377
  const service = await serviceLoader.loadAt(8);
378
378
  return getClient(service).nextSequenceSend(input, options);
379
- }, { path: [8, 0] }),
379
+ }, { path: [8, "nextSequenceSend"], serviceLoader }),
380
380
  /**
381
381
  * getPacketCommitment queries a stored packet commitment hash.
382
382
  */
383
383
  getPacketCommitment: (0, import_sdkMetadata.withMetadata)(async function getPacketCommitment(input, options) {
384
384
  const service = await serviceLoader.loadAt(8);
385
385
  return getClient(service).packetCommitment(input, options);
386
- }, { path: [8, 1] }),
386
+ }, { path: [8, "packetCommitment"], serviceLoader }),
387
387
  /**
388
388
  * getPacketCommitments queries a stored packet commitment hash.
389
389
  */
390
390
  getPacketCommitments: (0, import_sdkMetadata.withMetadata)(async function getPacketCommitments(input, options) {
391
391
  const service = await serviceLoader.loadAt(8);
392
392
  return getClient(service).packetCommitments(input, options);
393
- }, { path: [8, 2] }),
393
+ }, { path: [8, "packetCommitments"], serviceLoader }),
394
394
  /**
395
395
  * getPacketAcknowledgement queries a stored acknowledgement commitment hash.
396
396
  */
397
397
  getPacketAcknowledgement: (0, import_sdkMetadata.withMetadata)(async function getPacketAcknowledgement(input, options) {
398
398
  const service = await serviceLoader.loadAt(8);
399
399
  return getClient(service).packetAcknowledgement(input, options);
400
- }, { path: [8, 3] }),
400
+ }, { path: [8, "packetAcknowledgement"], serviceLoader }),
401
401
  /**
402
402
  * getPacketAcknowledgements returns all packet acknowledgements associated with a channel.
403
403
  */
404
404
  getPacketAcknowledgements: (0, import_sdkMetadata.withMetadata)(async function getPacketAcknowledgements(input, options) {
405
405
  const service = await serviceLoader.loadAt(8);
406
406
  return getClient(service).packetAcknowledgements(input, options);
407
- }, { path: [8, 4] }),
407
+ }, { path: [8, "packetAcknowledgements"], serviceLoader }),
408
408
  /**
409
409
  * getPacketReceipt queries a stored packet receipt.
410
410
  */
411
411
  getPacketReceipt: (0, import_sdkMetadata.withMetadata)(async function getPacketReceipt(input, options) {
412
412
  const service = await serviceLoader.loadAt(8);
413
413
  return getClient(service).packetReceipt(input, options);
414
- }, { path: [8, 5] }),
414
+ }, { path: [8, "packetReceipt"], serviceLoader }),
415
415
  /**
416
416
  * getUnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.
417
417
  */
418
418
  getUnreceivedPackets: (0, import_sdkMetadata.withMetadata)(async function getUnreceivedPackets(input, options) {
419
419
  const service = await serviceLoader.loadAt(8);
420
420
  return getClient(service).unreceivedPackets(input, options);
421
- }, { path: [8, 6] }),
421
+ }, { path: [8, "unreceivedPackets"], serviceLoader }),
422
422
  /**
423
423
  * getUnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.
424
424
  */
425
425
  getUnreceivedAcks: (0, import_sdkMetadata.withMetadata)(async function getUnreceivedAcks(input, options) {
426
426
  const service = await serviceLoader.loadAt(8);
427
427
  return getClient(service).unreceivedAcks(input, options);
428
- }, { path: [8, 7] }),
428
+ }, { path: [8, "unreceivedAcks"], serviceLoader }),
429
429
  /**
430
430
  * sendPacket defines a rpc handler method for MsgSendPacket.
431
431
  */
432
432
  sendPacket: (0, import_sdkMetadata.withMetadata)(async function sendPacket(input, options) {
433
433
  const service = await serviceLoader.loadAt(9);
434
434
  return getMsgClient(service).sendPacket(input, options);
435
- }, { path: [9, 0] }),
435
+ }, { path: [9, "sendPacket"], serviceLoader }),
436
436
  /**
437
437
  * recvPacket defines a rpc handler method for MsgRecvPacket.
438
438
  */
439
439
  recvPacket: (0, import_sdkMetadata.withMetadata)(async function recvPacket(input, options) {
440
440
  const service = await serviceLoader.loadAt(9);
441
441
  return getMsgClient(service).recvPacket(input, options);
442
- }, { path: [9, 1] }),
442
+ }, { path: [9, "recvPacket"], serviceLoader }),
443
443
  /**
444
444
  * timeout defines a rpc handler method for MsgTimeout.
445
445
  */
446
446
  timeout: (0, import_sdkMetadata.withMetadata)(async function timeout(input, options) {
447
447
  const service = await serviceLoader.loadAt(9);
448
448
  return getMsgClient(service).timeout(input, options);
449
- }, { path: [9, 2] }),
449
+ }, { path: [9, "timeout"], serviceLoader }),
450
450
  /**
451
451
  * acknowledgement defines a rpc handler method for MsgAcknowledgement.
452
452
  */
453
453
  acknowledgement: (0, import_sdkMetadata.withMetadata)(async function acknowledgement(input, options) {
454
454
  const service = await serviceLoader.loadAt(9);
455
455
  return getMsgClient(service).acknowledgement(input, options);
456
- }, { path: [9, 3] })
456
+ }, { path: [9, "acknowledgement"], serviceLoader })
457
457
  }
458
458
  },
459
459
  client: {
@@ -464,14 +464,14 @@ function createSDK(queryTransport, txTransport) {
464
464
  getClientState: (0, import_sdkMetadata.withMetadata)(async function getClientState(input, options) {
465
465
  const service = await serviceLoader.loadAt(10);
466
466
  return getClient(service).clientState(input, options);
467
- }, { path: [10, 0] }),
467
+ }, { path: [10, "clientState"], serviceLoader }),
468
468
  /**
469
469
  * getClientStates queries all the IBC light clients of a chain.
470
470
  */
471
471
  getClientStates: (0, import_sdkMetadata.withMetadata)(async function getClientStates(input, options) {
472
472
  const service = await serviceLoader.loadAt(10);
473
473
  return getClient(service).clientStates(input, options);
474
- }, { path: [10, 1] }),
474
+ }, { path: [10, "clientStates"], serviceLoader }),
475
475
  /**
476
476
  * getConsensusState queries a consensus state associated with a client state at
477
477
  * a given height.
@@ -479,7 +479,7 @@ function createSDK(queryTransport, txTransport) {
479
479
  getConsensusState: (0, import_sdkMetadata.withMetadata)(async function getConsensusState(input, options) {
480
480
  const service = await serviceLoader.loadAt(10);
481
481
  return getClient(service).consensusState(input, options);
482
- }, { path: [10, 2] }),
482
+ }, { path: [10, "consensusState"], serviceLoader }),
483
483
  /**
484
484
  * getConsensusStates queries all the consensus state associated with a given
485
485
  * client.
@@ -487,112 +487,112 @@ function createSDK(queryTransport, txTransport) {
487
487
  getConsensusStates: (0, import_sdkMetadata.withMetadata)(async function getConsensusStates(input, options) {
488
488
  const service = await serviceLoader.loadAt(10);
489
489
  return getClient(service).consensusStates(input, options);
490
- }, { path: [10, 3] }),
490
+ }, { path: [10, "consensusStates"], serviceLoader }),
491
491
  /**
492
492
  * getConsensusStateHeights queries the height of every consensus states associated with a given client.
493
493
  */
494
494
  getConsensusStateHeights: (0, import_sdkMetadata.withMetadata)(async function getConsensusStateHeights(input, options) {
495
495
  const service = await serviceLoader.loadAt(10);
496
496
  return getClient(service).consensusStateHeights(input, options);
497
- }, { path: [10, 4] }),
497
+ }, { path: [10, "consensusStateHeights"], serviceLoader }),
498
498
  /**
499
499
  * Status queries the status of an IBC client.
500
500
  */
501
501
  getClientStatus: (0, import_sdkMetadata.withMetadata)(async function getClientStatus(input, options) {
502
502
  const service = await serviceLoader.loadAt(10);
503
503
  return getClient(service).clientStatus(input, options);
504
- }, { path: [10, 5] }),
504
+ }, { path: [10, "clientStatus"], serviceLoader }),
505
505
  /**
506
506
  * getClientParams queries all parameters of the ibc client submodule.
507
507
  */
508
508
  getClientParams: (0, import_sdkMetadata.withMetadata)(async function getClientParams(input = {}, options) {
509
509
  const service = await serviceLoader.loadAt(10);
510
510
  return getClient(service).clientParams(input, options);
511
- }, { path: [10, 6] }),
511
+ }, { path: [10, "clientParams"], serviceLoader }),
512
512
  /**
513
513
  * getClientCreator queries the creator of a given client.
514
514
  */
515
515
  getClientCreator: (0, import_sdkMetadata.withMetadata)(async function getClientCreator(input, options) {
516
516
  const service = await serviceLoader.loadAt(10);
517
517
  return getClient(service).clientCreator(input, options);
518
- }, { path: [10, 7] }),
518
+ }, { path: [10, "clientCreator"], serviceLoader }),
519
519
  /**
520
520
  * getUpgradedClientState queries an Upgraded IBC light client.
521
521
  */
522
522
  getUpgradedClientState: (0, import_sdkMetadata.withMetadata)(async function getUpgradedClientState(input = {}, options) {
523
523
  const service = await serviceLoader.loadAt(10);
524
524
  return getClient(service).upgradedClientState(input, options);
525
- }, { path: [10, 8] }),
525
+ }, { path: [10, "upgradedClientState"], serviceLoader }),
526
526
  /**
527
527
  * getUpgradedConsensusState queries an Upgraded IBC consensus state.
528
528
  */
529
529
  getUpgradedConsensusState: (0, import_sdkMetadata.withMetadata)(async function getUpgradedConsensusState(input = {}, options) {
530
530
  const service = await serviceLoader.loadAt(10);
531
531
  return getClient(service).upgradedConsensusState(input, options);
532
- }, { path: [10, 9] }),
532
+ }, { path: [10, "upgradedConsensusState"], serviceLoader }),
533
533
  /**
534
534
  * getVerifyMembership queries an IBC light client for proof verification of a value at a given key path.
535
535
  */
536
536
  getVerifyMembership: (0, import_sdkMetadata.withMetadata)(async function getVerifyMembership(input, options) {
537
537
  const service = await serviceLoader.loadAt(10);
538
538
  return getClient(service).verifyMembership(input, options);
539
- }, { path: [10, 10] }),
539
+ }, { path: [10, "verifyMembership"], serviceLoader }),
540
540
  /**
541
541
  * createClient defines a rpc handler method for MsgCreateClient.
542
542
  */
543
543
  createClient: (0, import_sdkMetadata.withMetadata)(async function createClient(input, options) {
544
544
  const service = await serviceLoader.loadAt(11);
545
545
  return getMsgClient(service).createClient(input, options);
546
- }, { path: [11, 0] }),
546
+ }, { path: [11, "createClient"], serviceLoader }),
547
547
  /**
548
548
  * updateClient defines a rpc handler method for MsgUpdateClient.
549
549
  */
550
550
  updateClient: (0, import_sdkMetadata.withMetadata)(async function updateClient(input, options) {
551
551
  const service = await serviceLoader.loadAt(11);
552
552
  return getMsgClient(service).updateClient(input, options);
553
- }, { path: [11, 1] }),
553
+ }, { path: [11, "updateClient"], serviceLoader }),
554
554
  /**
555
555
  * upgradeClient defines a rpc handler method for MsgUpgradeClient.
556
556
  */
557
557
  upgradeClient: (0, import_sdkMetadata.withMetadata)(async function upgradeClient(input, options) {
558
558
  const service = await serviceLoader.loadAt(11);
559
559
  return getMsgClient(service).upgradeClient(input, options);
560
- }, { path: [11, 2] }),
560
+ }, { path: [11, "upgradeClient"], serviceLoader }),
561
561
  /**
562
562
  * submitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour.
563
563
  */
564
564
  submitMisbehaviour: (0, import_sdkMetadata.withMetadata)(async function submitMisbehaviour(input, options) {
565
565
  const service = await serviceLoader.loadAt(11);
566
566
  return getMsgClient(service).submitMisbehaviour(input, options);
567
- }, { path: [11, 3] }),
567
+ }, { path: [11, "submitMisbehaviour"], serviceLoader }),
568
568
  /**
569
569
  * recoverClient defines a rpc handler method for MsgRecoverClient.
570
570
  */
571
571
  recoverClient: (0, import_sdkMetadata.withMetadata)(async function recoverClient(input, options) {
572
572
  const service = await serviceLoader.loadAt(11);
573
573
  return getMsgClient(service).recoverClient(input, options);
574
- }, { path: [11, 4] }),
574
+ }, { path: [11, "recoverClient"], serviceLoader }),
575
575
  /**
576
576
  * iBCSoftwareUpgrade defines a rpc handler method for MsgIBCSoftwareUpgrade.
577
577
  */
578
578
  iBCSoftwareUpgrade: (0, import_sdkMetadata.withMetadata)(async function iBCSoftwareUpgrade(input, options) {
579
579
  const service = await serviceLoader.loadAt(11);
580
580
  return getMsgClient(service).iBCSoftwareUpgrade(input, options);
581
- }, { path: [11, 5] }),
581
+ }, { path: [11, "iBCSoftwareUpgrade"], serviceLoader }),
582
582
  /**
583
583
  * updateClientParams defines a rpc handler method for MsgUpdateParams.
584
584
  */
585
585
  updateClientParams: (0, import_sdkMetadata.withMetadata)(async function updateClientParams(input, options) {
586
586
  const service = await serviceLoader.loadAt(11);
587
587
  return getMsgClient(service).updateClientParams(input, options);
588
- }, { path: [11, 6] }),
588
+ }, { path: [11, "updateClientParams"], serviceLoader }),
589
589
  /**
590
590
  * deleteClientCreator defines a rpc handler method for MsgDeleteClientCreator.
591
591
  */
592
592
  deleteClientCreator: (0, import_sdkMetadata.withMetadata)(async function deleteClientCreator(input, options) {
593
593
  const service = await serviceLoader.loadAt(11);
594
594
  return getMsgClient(service).deleteClientCreator(input, options);
595
- }, { path: [11, 7] })
595
+ }, { path: [11, "deleteClientCreator"], serviceLoader })
596
596
  },
597
597
  v2: {
598
598
  /**
@@ -601,28 +601,28 @@ function createSDK(queryTransport, txTransport) {
601
601
  getCounterpartyInfo: (0, import_sdkMetadata.withMetadata)(async function getCounterpartyInfo(input, options) {
602
602
  const service = await serviceLoader.loadAt(12);
603
603
  return getClient(service).counterpartyInfo(input, options);
604
- }, { path: [12, 0] }),
604
+ }, { path: [12, "counterpartyInfo"], serviceLoader }),
605
605
  /**
606
606
  * getConfig queries the IBC client v2 configuration for a given client.
607
607
  */
608
608
  getConfig: (0, import_sdkMetadata.withMetadata)(async function getConfig(input, options) {
609
609
  const service = await serviceLoader.loadAt(12);
610
610
  return getClient(service).config(input, options);
611
- }, { path: [12, 1] }),
611
+ }, { path: [12, "config"], serviceLoader }),
612
612
  /**
613
613
  * registerCounterparty defines a rpc handler method for MsgRegisterCounterparty.
614
614
  */
615
615
  registerCounterparty: (0, import_sdkMetadata.withMetadata)(async function registerCounterparty(input, options) {
616
616
  const service = await serviceLoader.loadAt(13);
617
617
  return getMsgClient(service).registerCounterparty(input, options);
618
- }, { path: [13, 0] }),
618
+ }, { path: [13, "registerCounterparty"], serviceLoader }),
619
619
  /**
620
620
  * updateClientConfig defines a rpc handler method for MsgUpdateClientConfig.
621
621
  */
622
622
  updateClientConfig: (0, import_sdkMetadata.withMetadata)(async function updateClientConfig(input, options) {
623
623
  const service = await serviceLoader.loadAt(13);
624
624
  return getMsgClient(service).updateClientConfig(input, options);
625
- }, { path: [13, 1] })
625
+ }, { path: [13, "updateClientConfig"], serviceLoader })
626
626
  }
627
627
  },
628
628
  connection: {
@@ -633,14 +633,14 @@ function createSDK(queryTransport, txTransport) {
633
633
  getConnection: (0, import_sdkMetadata.withMetadata)(async function getConnection(input, options) {
634
634
  const service = await serviceLoader.loadAt(14);
635
635
  return getClient(service).connection(input, options);
636
- }, { path: [14, 0] }),
636
+ }, { path: [14, "connection"], serviceLoader }),
637
637
  /**
638
638
  * getConnections queries all the IBC connections of a chain.
639
639
  */
640
640
  getConnections: (0, import_sdkMetadata.withMetadata)(async function getConnections(input, options) {
641
641
  const service = await serviceLoader.loadAt(14);
642
642
  return getClient(service).connections(input, options);
643
- }, { path: [14, 1] }),
643
+ }, { path: [14, "connections"], serviceLoader }),
644
644
  /**
645
645
  * getClientConnections queries the connection paths associated with a client
646
646
  * state.
@@ -648,7 +648,7 @@ function createSDK(queryTransport, txTransport) {
648
648
  getClientConnections: (0, import_sdkMetadata.withMetadata)(async function getClientConnections(input, options) {
649
649
  const service = await serviceLoader.loadAt(14);
650
650
  return getClient(service).clientConnections(input, options);
651
- }, { path: [14, 2] }),
651
+ }, { path: [14, "clientConnections"], serviceLoader }),
652
652
  /**
653
653
  * getConnectionClientState queries the client state associated with the
654
654
  * connection.
@@ -656,7 +656,7 @@ function createSDK(queryTransport, txTransport) {
656
656
  getConnectionClientState: (0, import_sdkMetadata.withMetadata)(async function getConnectionClientState(input, options) {
657
657
  const service = await serviceLoader.loadAt(14);
658
658
  return getClient(service).connectionClientState(input, options);
659
- }, { path: [14, 3] }),
659
+ }, { path: [14, "connectionClientState"], serviceLoader }),
660
660
  /**
661
661
  * getConnectionConsensusState queries the consensus state associated with the
662
662
  * connection.
@@ -664,35 +664,35 @@ function createSDK(queryTransport, txTransport) {
664
664
  getConnectionConsensusState: (0, import_sdkMetadata.withMetadata)(async function getConnectionConsensusState(input, options) {
665
665
  const service = await serviceLoader.loadAt(14);
666
666
  return getClient(service).connectionConsensusState(input, options);
667
- }, { path: [14, 4] }),
667
+ }, { path: [14, "connectionConsensusState"], serviceLoader }),
668
668
  /**
669
669
  * getConnectionParams queries all parameters of the ibc connection submodule.
670
670
  */
671
671
  getConnectionParams: (0, import_sdkMetadata.withMetadata)(async function getConnectionParams(input = {}, options) {
672
672
  const service = await serviceLoader.loadAt(14);
673
673
  return getClient(service).connectionParams(input, options);
674
- }, { path: [14, 5] }),
674
+ }, { path: [14, "connectionParams"], serviceLoader }),
675
675
  /**
676
676
  * connectionOpenInit defines a rpc handler method for MsgConnectionOpenInit.
677
677
  */
678
678
  connectionOpenInit: (0, import_sdkMetadata.withMetadata)(async function connectionOpenInit(input, options) {
679
679
  const service = await serviceLoader.loadAt(15);
680
680
  return getMsgClient(service).connectionOpenInit(input, options);
681
- }, { path: [15, 0] }),
681
+ }, { path: [15, "connectionOpenInit"], serviceLoader }),
682
682
  /**
683
683
  * connectionOpenTry defines a rpc handler method for MsgConnectionOpenTry.
684
684
  */
685
685
  connectionOpenTry: (0, import_sdkMetadata.withMetadata)(async function connectionOpenTry(input, options) {
686
686
  const service = await serviceLoader.loadAt(15);
687
687
  return getMsgClient(service).connectionOpenTry(input, options);
688
- }, { path: [15, 1] }),
688
+ }, { path: [15, "connectionOpenTry"], serviceLoader }),
689
689
  /**
690
690
  * connectionOpenAck defines a rpc handler method for MsgConnectionOpenAck.
691
691
  */
692
692
  connectionOpenAck: (0, import_sdkMetadata.withMetadata)(async function connectionOpenAck(input, options) {
693
693
  const service = await serviceLoader.loadAt(15);
694
694
  return getMsgClient(service).connectionOpenAck(input, options);
695
- }, { path: [15, 2] }),
695
+ }, { path: [15, "connectionOpenAck"], serviceLoader }),
696
696
  /**
697
697
  * connectionOpenConfirm defines a rpc handler method for
698
698
  * MsgConnectionOpenConfirm.
@@ -700,7 +700,7 @@ function createSDK(queryTransport, txTransport) {
700
700
  connectionOpenConfirm: (0, import_sdkMetadata.withMetadata)(async function connectionOpenConfirm(input, options) {
701
701
  const service = await serviceLoader.loadAt(15);
702
702
  return getMsgClient(service).connectionOpenConfirm(input, options);
703
- }, { path: [15, 3] }),
703
+ }, { path: [15, "connectionOpenConfirm"], serviceLoader }),
704
704
  /**
705
705
  * updateConnectionParams defines a rpc handler method for
706
706
  * MsgUpdateParams.
@@ -708,7 +708,7 @@ function createSDK(queryTransport, txTransport) {
708
708
  updateConnectionParams: (0, import_sdkMetadata.withMetadata)(async function updateConnectionParams(input, options) {
709
709
  const service = await serviceLoader.loadAt(15);
710
710
  return getMsgClient(service).updateConnectionParams(input, options);
711
- }, { path: [15, 4] })
711
+ }, { path: [15, "updateConnectionParams"], serviceLoader })
712
712
  }
713
713
  }
714
714
  },
@@ -721,35 +721,35 @@ function createSDK(queryTransport, txTransport) {
721
721
  getChecksums: (0, import_sdkMetadata.withMetadata)(async function getChecksums(input, options) {
722
722
  const service = await serviceLoader.loadAt(16);
723
723
  return getClient(service).checksums(input, options);
724
- }, { path: [16, 0] }),
724
+ }, { path: [16, "checksums"], serviceLoader }),
725
725
  /**
726
726
  * Get Wasm code for given checksum
727
727
  */
728
728
  getCode: (0, import_sdkMetadata.withMetadata)(async function getCode(input, options) {
729
729
  const service = await serviceLoader.loadAt(16);
730
730
  return getClient(service).code(input, options);
731
- }, { path: [16, 1] }),
731
+ }, { path: [16, "code"], serviceLoader }),
732
732
  /**
733
733
  * storeCode defines a rpc handler method for MsgStoreCode.
734
734
  */
735
735
  storeCode: (0, import_sdkMetadata.withMetadata)(async function storeCode(input, options) {
736
736
  const service = await serviceLoader.loadAt(17);
737
737
  return getMsgClient(service).storeCode(input, options);
738
- }, { path: [17, 0] }),
738
+ }, { path: [17, "storeCode"], serviceLoader }),
739
739
  /**
740
740
  * removeChecksum defines a rpc handler method for MsgRemoveChecksum.
741
741
  */
742
742
  removeChecksum: (0, import_sdkMetadata.withMetadata)(async function removeChecksum(input, options) {
743
743
  const service = await serviceLoader.loadAt(17);
744
744
  return getMsgClient(service).removeChecksum(input, options);
745
- }, { path: [17, 1] }),
745
+ }, { path: [17, "removeChecksum"], serviceLoader }),
746
746
  /**
747
747
  * migrateContract defines a rpc handler method for MsgMigrateContract.
748
748
  */
749
749
  migrateContract: (0, import_sdkMetadata.withMetadata)(async function migrateContract(input, options) {
750
750
  const service = await serviceLoader.loadAt(17);
751
751
  return getMsgClient(service).migrateContract(input, options);
752
- }, { path: [17, 2] })
752
+ }, { path: [17, "migrateContract"], serviceLoader })
753
753
  }
754
754
  }
755
755
  }