juno-network 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/main/codegen/JunoSwap.client.js +1 -1
  2. package/main/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  3. package/main/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  4. package/main/codegen/cosmos/bundle.js +8 -8
  5. package/main/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  6. package/main/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  7. package/main/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  8. package/main/codegen/cosmos/rpc.query.js +8 -8
  9. package/main/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  10. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  11. package/main/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +8 -8
  12. package/main/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  13. package/main/codegen/cosmwasm/bundle.js +1 -1
  14. package/main/codegen/cosmwasm/rpc.query.js +9 -9
  15. package/main/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  16. package/main/codegen/google/protobuf/descriptor.js +18 -18
  17. package/main/codegen/helpers.js +29 -18
  18. package/main/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  19. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  20. package/main/codegen/ibc/bundle.js +4 -4
  21. package/main/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  22. package/main/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  23. package/main/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  24. package/main/codegen/ibc/rpc.query.js +12 -12
  25. package/main/codegen/juno/bundle.js +1 -1
  26. package/main/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  27. package/main/codegen/juno/rpc.query.js +9 -9
  28. package/module/codegen/JunoSwap.client.js +1 -1
  29. package/module/codegen/contracts.js +1 -1
  30. package/module/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  31. package/module/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  32. package/module/codegen/cosmos/bundle.js +8 -8
  33. package/module/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  34. package/module/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  35. package/module/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  36. package/module/codegen/cosmos/rpc.query.js +8 -8
  37. package/module/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  38. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  39. package/module/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +2 -2
  40. package/module/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  41. package/module/codegen/cosmwasm/bundle.js +1 -1
  42. package/module/codegen/cosmwasm/rpc.query.js +9 -9
  43. package/module/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  44. package/module/codegen/google/protobuf/descriptor.js +18 -18
  45. package/module/codegen/helpers.js +18 -10
  46. package/module/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  47. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  48. package/module/codegen/ibc/bundle.js +4 -4
  49. package/module/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  50. package/module/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  51. package/module/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  52. package/module/codegen/ibc/rpc.query.js +12 -12
  53. package/module/codegen/index.js +1 -1
  54. package/module/codegen/juno/bundle.js +1 -1
  55. package/module/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  56. package/module/codegen/juno/rpc.query.js +9 -9
  57. package/package.json +3 -3
  58. package/src/codegen/JunoSwap.client.ts +1 -1
  59. package/src/codegen/JunoSwap.types.ts +1 -1
  60. package/src/codegen/contracts.ts +1 -1
  61. package/src/codegen/cosmos/authz/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  62. package/src/codegen/cosmos/bank/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  63. package/src/codegen/cosmos/bundle.ts +8 -8
  64. package/src/codegen/cosmos/distribution/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  65. package/src/codegen/cosmos/gov/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  66. package/src/codegen/cosmos/gov/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  67. package/src/codegen/cosmos/rpc.query.ts +8 -8
  68. package/src/codegen/cosmos/staking/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  69. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +4 -4
  70. package/src/codegen/cosmos/tx/v1beta1/{service.rpc.svc.ts → service.rpc.Service.ts} +2 -2
  71. package/src/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  72. package/src/codegen/cosmwasm/bundle.ts +1 -1
  73. package/src/codegen/cosmwasm/rpc.query.ts +9 -9
  74. package/src/codegen/cosmwasm/wasm/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  75. package/src/codegen/google/protobuf/descriptor.ts +18 -18
  76. package/src/codegen/helpers.ts +24 -16
  77. package/src/codegen/ibc/applications/transfer/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  78. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +1 -1
  79. package/src/codegen/ibc/bundle.ts +4 -4
  80. package/src/codegen/ibc/core/channel/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  81. package/src/codegen/ibc/core/client/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  82. package/src/codegen/ibc/core/connection/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  83. package/src/codegen/ibc/rpc.query.ts +12 -12
  84. package/src/codegen/index.ts +1 -1
  85. package/src/codegen/juno/bundle.ts +1 -1
  86. package/src/codegen/juno/mint/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  87. package/src/codegen/juno/rpc.query.ts +9 -9
  88. package/types/codegen/JunoSwap.client.d.ts +122 -0
  89. package/types/codegen/JunoSwap.types.d.ts +142 -0
  90. package/types/codegen/confio/proofs.d.ts +495 -0
  91. package/types/codegen/contracts.d.ts +12 -0
  92. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  93. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  94. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  95. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  96. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  97. package/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
  98. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  99. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  100. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  101. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  102. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  103. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  104. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  105. package/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +57 -0
  106. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  107. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  108. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  109. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  110. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  111. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  112. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  113. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  114. package/types/codegen/cosmos/bundle.d.ts +6233 -0
  115. package/types/codegen/cosmos/client.d.ts +473 -0
  116. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  117. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  118. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  119. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  120. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  121. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  122. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  123. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  124. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  125. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  126. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  127. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +51 -0
  128. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  129. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  130. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  131. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  132. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  133. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  134. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  135. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  136. package/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +44 -0
  137. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  138. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  139. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  140. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  141. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  142. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  143. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  144. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  145. package/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  146. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  147. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  148. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  149. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  150. package/types/codegen/cosmos/lcd.d.ts +28 -0
  151. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  152. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  153. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  154. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  155. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  156. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  157. package/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +80 -0
  158. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  159. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  160. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  161. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  162. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  163. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  164. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  165. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  166. package/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +36 -0
  167. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  168. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  169. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  170. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +43 -0
  171. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  172. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  173. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  174. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  175. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  176. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  177. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  178. package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
  179. package/types/codegen/cosmwasm/client.d.ts +120 -0
  180. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  181. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  182. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  183. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  184. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  185. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  186. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  187. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  188. package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +48 -0
  189. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  190. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  191. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  192. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  193. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  194. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  195. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  196. package/types/codegen/google/bundle.d.ts +1413 -0
  197. package/types/codegen/google/protobuf/any.d.ts +237 -0
  198. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  199. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  200. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  201. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  202. package/types/codegen/helpers.d.ts +82 -0
  203. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  204. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  205. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  206. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  207. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  208. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  209. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  210. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  211. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  212. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  213. package/types/codegen/ibc/bundle.d.ts +3781 -0
  214. package/types/codegen/ibc/client.d.ts +559 -0
  215. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  216. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  217. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  218. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  219. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  220. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  221. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  222. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  223. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  224. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  225. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  226. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  227. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  228. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  229. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  230. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  231. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  232. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  233. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  234. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  235. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  236. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  237. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  238. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  239. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  240. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  241. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  242. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  243. package/types/codegen/ibc/lcd.d.ts +46 -0
  244. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  245. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  246. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  247. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  248. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  249. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  250. package/types/codegen/ics23/bundle.d.ts +545 -0
  251. package/types/codegen/index.d.ts +18 -0
  252. package/types/codegen/juno/bundle.d.ts +226 -0
  253. package/types/codegen/juno/lcd.d.ts +31 -0
  254. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  255. package/types/codegen/juno/mint/mint.d.ts +44 -0
  256. package/types/codegen/juno/mint/query.d.ts +99 -0
  257. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  258. package/types/codegen/juno/mint/query.rpc.Query.d.ts +24 -0
  259. package/types/codegen/juno/rpc.query.d.ts +104 -0
  260. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  261. package/types/codegen/tendermint/bundle.d.ts +2065 -0
  262. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  263. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  264. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  265. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  266. package/types/codegen/tendermint/types/block.d.ts +21 -0
  267. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  268. package/types/codegen/tendermint/types/params.d.ts +181 -0
  269. package/types/codegen/tendermint/types/types.d.ts +326 -0
  270. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  271. package/types/codegen/tendermint/version/types.d.ts +48 -0
  272. package/types/index.d.ts +1 -0
@@ -0,0 +1,260 @@
1
+ import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { Long, DeepPartial } from "../../../../helpers";
4
+ /**
5
+ * State defines if a connection is in one of the following states:
6
+ * INIT, TRYOPEN, OPEN or UNINITIALIZED.
7
+ */
8
+ export declare enum State {
9
+ /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
10
+ STATE_UNINITIALIZED_UNSPECIFIED = 0,
11
+ /** STATE_INIT - A connection end has just started the opening handshake. */
12
+ STATE_INIT = 1,
13
+ /**
14
+ * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
15
+ * chain.
16
+ */
17
+ STATE_TRYOPEN = 2,
18
+ /** STATE_OPEN - A connection end has completed the handshake. */
19
+ STATE_OPEN = 3,
20
+ UNRECOGNIZED = -1
21
+ }
22
+ /**
23
+ * State defines if a connection is in one of the following states:
24
+ * INIT, TRYOPEN, OPEN or UNINITIALIZED.
25
+ */
26
+ export declare enum StateSDKType {
27
+ /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
28
+ STATE_UNINITIALIZED_UNSPECIFIED = 0,
29
+ /** STATE_INIT - A connection end has just started the opening handshake. */
30
+ STATE_INIT = 1,
31
+ /**
32
+ * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
33
+ * chain.
34
+ */
35
+ STATE_TRYOPEN = 2,
36
+ /** STATE_OPEN - A connection end has completed the handshake. */
37
+ STATE_OPEN = 3,
38
+ UNRECOGNIZED = -1
39
+ }
40
+ export declare function stateFromJSON(object: any): State;
41
+ export declare function stateToJSON(object: State): string;
42
+ /**
43
+ * ConnectionEnd defines a stateful object on a chain connected to another
44
+ * separate one.
45
+ * NOTE: there must only be 2 defined ConnectionEnds to establish
46
+ * a connection between two chains.
47
+ */
48
+ export interface ConnectionEnd {
49
+ /** client associated with this connection. */
50
+ clientId: string;
51
+ /**
52
+ * IBC version which can be utilised to determine encodings or protocols for
53
+ * channels or packets utilising this connection.
54
+ */
55
+ versions: Version[];
56
+ /** current state of the connection end. */
57
+ state: State;
58
+ /** counterparty chain associated with this connection. */
59
+ counterparty?: Counterparty;
60
+ /**
61
+ * delay period that must pass before a consensus state can be used for
62
+ * packet-verification NOTE: delay period logic is only implemented by some
63
+ * clients.
64
+ */
65
+ delayPeriod: Long;
66
+ }
67
+ /**
68
+ * ConnectionEnd defines a stateful object on a chain connected to another
69
+ * separate one.
70
+ * NOTE: there must only be 2 defined ConnectionEnds to establish
71
+ * a connection between two chains.
72
+ */
73
+ export interface ConnectionEndSDKType {
74
+ /** client associated with this connection. */
75
+ client_id: string;
76
+ /**
77
+ * IBC version which can be utilised to determine encodings or protocols for
78
+ * channels or packets utilising this connection.
79
+ */
80
+ versions: VersionSDKType[];
81
+ /** current state of the connection end. */
82
+ state: StateSDKType;
83
+ /** counterparty chain associated with this connection. */
84
+ counterparty?: CounterpartySDKType;
85
+ /**
86
+ * delay period that must pass before a consensus state can be used for
87
+ * packet-verification NOTE: delay period logic is only implemented by some
88
+ * clients.
89
+ */
90
+ delay_period: Long;
91
+ }
92
+ /**
93
+ * IdentifiedConnection defines a connection with additional connection
94
+ * identifier field.
95
+ */
96
+ export interface IdentifiedConnection {
97
+ /** connection identifier. */
98
+ id: string;
99
+ /** client associated with this connection. */
100
+ clientId: string;
101
+ /**
102
+ * IBC version which can be utilised to determine encodings or protocols for
103
+ * channels or packets utilising this connection
104
+ */
105
+ versions: Version[];
106
+ /** current state of the connection end. */
107
+ state: State;
108
+ /** counterparty chain associated with this connection. */
109
+ counterparty?: Counterparty;
110
+ /** delay period associated with this connection. */
111
+ delayPeriod: Long;
112
+ }
113
+ /**
114
+ * IdentifiedConnection defines a connection with additional connection
115
+ * identifier field.
116
+ */
117
+ export interface IdentifiedConnectionSDKType {
118
+ /** connection identifier. */
119
+ id: string;
120
+ /** client associated with this connection. */
121
+ client_id: string;
122
+ /**
123
+ * IBC version which can be utilised to determine encodings or protocols for
124
+ * channels or packets utilising this connection
125
+ */
126
+ versions: VersionSDKType[];
127
+ /** current state of the connection end. */
128
+ state: StateSDKType;
129
+ /** counterparty chain associated with this connection. */
130
+ counterparty?: CounterpartySDKType;
131
+ /** delay period associated with this connection. */
132
+ delay_period: Long;
133
+ }
134
+ /** Counterparty defines the counterparty chain associated with a connection end. */
135
+ export interface Counterparty {
136
+ /**
137
+ * identifies the client on the counterparty chain associated with a given
138
+ * connection.
139
+ */
140
+ clientId: string;
141
+ /**
142
+ * identifies the connection end on the counterparty chain associated with a
143
+ * given connection.
144
+ */
145
+ connectionId: string;
146
+ /** commitment merkle prefix of the counterparty chain. */
147
+ prefix?: MerklePrefix;
148
+ }
149
+ /** Counterparty defines the counterparty chain associated with a connection end. */
150
+ export interface CounterpartySDKType {
151
+ /**
152
+ * identifies the client on the counterparty chain associated with a given
153
+ * connection.
154
+ */
155
+ client_id: string;
156
+ /**
157
+ * identifies the connection end on the counterparty chain associated with a
158
+ * given connection.
159
+ */
160
+ connection_id: string;
161
+ /** commitment merkle prefix of the counterparty chain. */
162
+ prefix?: MerklePrefixSDKType;
163
+ }
164
+ /** ClientPaths define all the connection paths for a client state. */
165
+ export interface ClientPaths {
166
+ /** list of connection paths */
167
+ paths: string[];
168
+ }
169
+ /** ClientPaths define all the connection paths for a client state. */
170
+ export interface ClientPathsSDKType {
171
+ /** list of connection paths */
172
+ paths: string[];
173
+ }
174
+ /** ConnectionPaths define all the connection paths for a given client state. */
175
+ export interface ConnectionPaths {
176
+ /** client state unique identifier */
177
+ clientId: string;
178
+ /** list of connection paths */
179
+ paths: string[];
180
+ }
181
+ /** ConnectionPaths define all the connection paths for a given client state. */
182
+ export interface ConnectionPathsSDKType {
183
+ /** client state unique identifier */
184
+ client_id: string;
185
+ /** list of connection paths */
186
+ paths: string[];
187
+ }
188
+ /**
189
+ * Version defines the versioning scheme used to negotiate the IBC verison in
190
+ * the connection handshake.
191
+ */
192
+ export interface Version {
193
+ /** unique version identifier */
194
+ identifier: string;
195
+ /** list of features compatible with the specified identifier */
196
+ features: string[];
197
+ }
198
+ /**
199
+ * Version defines the versioning scheme used to negotiate the IBC verison in
200
+ * the connection handshake.
201
+ */
202
+ export interface VersionSDKType {
203
+ /** unique version identifier */
204
+ identifier: string;
205
+ /** list of features compatible with the specified identifier */
206
+ features: string[];
207
+ }
208
+ /** Params defines the set of Connection parameters. */
209
+ export interface Params {
210
+ /**
211
+ * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
212
+ * largest amount of time that the chain might reasonably take to produce the next block under normal operating
213
+ * conditions. A safe choice is 3-5x the expected time per block.
214
+ */
215
+ maxExpectedTimePerBlock: Long;
216
+ }
217
+ /** Params defines the set of Connection parameters. */
218
+ export interface ParamsSDKType {
219
+ /**
220
+ * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
221
+ * largest amount of time that the chain might reasonably take to produce the next block under normal operating
222
+ * conditions. A safe choice is 3-5x the expected time per block.
223
+ */
224
+ max_expected_time_per_block: Long;
225
+ }
226
+ export declare const ConnectionEnd: {
227
+ encode(message: ConnectionEnd, writer?: _m0.Writer): _m0.Writer;
228
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd;
229
+ fromPartial(object: DeepPartial<ConnectionEnd>): ConnectionEnd;
230
+ };
231
+ export declare const IdentifiedConnection: {
232
+ encode(message: IdentifiedConnection, writer?: _m0.Writer): _m0.Writer;
233
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection;
234
+ fromPartial(object: DeepPartial<IdentifiedConnection>): IdentifiedConnection;
235
+ };
236
+ export declare const Counterparty: {
237
+ encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer;
238
+ decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty;
239
+ fromPartial(object: DeepPartial<Counterparty>): Counterparty;
240
+ };
241
+ export declare const ClientPaths: {
242
+ encode(message: ClientPaths, writer?: _m0.Writer): _m0.Writer;
243
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths;
244
+ fromPartial(object: DeepPartial<ClientPaths>): ClientPaths;
245
+ };
246
+ export declare const ConnectionPaths: {
247
+ encode(message: ConnectionPaths, writer?: _m0.Writer): _m0.Writer;
248
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths;
249
+ fromPartial(object: DeepPartial<ConnectionPaths>): ConnectionPaths;
250
+ };
251
+ export declare const Version: {
252
+ encode(message: Version, writer?: _m0.Writer): _m0.Writer;
253
+ decode(input: _m0.Reader | Uint8Array, length?: number): Version;
254
+ fromPartial(object: DeepPartial<Version>): Version;
255
+ };
256
+ export declare const Params: {
257
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
258
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
259
+ fromPartial(object: DeepPartial<Params>): Params;
260
+ };
@@ -0,0 +1,24 @@
1
+ import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { Long, DeepPartial } from "../../../../helpers";
4
+ /** GenesisState defines the ibc connection submodule's genesis state. */
5
+ export interface GenesisState {
6
+ connections: IdentifiedConnection[];
7
+ clientConnectionPaths: ConnectionPaths[];
8
+ /** the sequence for the next generated connection identifier */
9
+ nextConnectionSequence: Long;
10
+ params?: Params;
11
+ }
12
+ /** GenesisState defines the ibc connection submodule's genesis state. */
13
+ export interface GenesisStateSDKType {
14
+ connections: IdentifiedConnectionSDKType[];
15
+ client_connection_paths: ConnectionPathsSDKType[];
16
+ /** the sequence for the next generated connection identifier */
17
+ next_connection_sequence: Long;
18
+ params?: ParamsSDKType;
19
+ }
20
+ export declare const GenesisState: {
21
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
22
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
23
+ fromPartial(object: DeepPartial<GenesisState>): GenesisState;
24
+ };
@@ -0,0 +1,264 @@
1
+ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
2
+ import { ConnectionEnd, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionSDKType } from "./connection";
3
+ import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType } from "../../client/v1/client";
4
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
5
+ import * as _m0 from "protobufjs/minimal";
6
+ import { DeepPartial, Long } from "../../../../helpers";
7
+ /**
8
+ * QueryConnectionRequest is the request type for the Query/Connection RPC
9
+ * method
10
+ */
11
+ export interface QueryConnectionRequest {
12
+ /** connection unique identifier */
13
+ connectionId: string;
14
+ }
15
+ /**
16
+ * QueryConnectionRequest is the request type for the Query/Connection RPC
17
+ * method
18
+ */
19
+ export interface QueryConnectionRequestSDKType {
20
+ /** connection unique identifier */
21
+ connection_id: string;
22
+ }
23
+ /**
24
+ * QueryConnectionResponse is the response type for the Query/Connection RPC
25
+ * method. Besides the connection end, it includes a proof and the height from
26
+ * which the proof was retrieved.
27
+ */
28
+ export interface QueryConnectionResponse {
29
+ /** connection associated with the request identifier */
30
+ connection?: ConnectionEnd;
31
+ /** merkle proof of existence */
32
+ proof: Uint8Array;
33
+ /** height at which the proof was retrieved */
34
+ proofHeight?: Height;
35
+ }
36
+ /**
37
+ * QueryConnectionResponse is the response type for the Query/Connection RPC
38
+ * method. Besides the connection end, it includes a proof and the height from
39
+ * which the proof was retrieved.
40
+ */
41
+ export interface QueryConnectionResponseSDKType {
42
+ /** connection associated with the request identifier */
43
+ connection?: ConnectionEndSDKType;
44
+ /** merkle proof of existence */
45
+ proof: Uint8Array;
46
+ /** height at which the proof was retrieved */
47
+ proof_height?: HeightSDKType;
48
+ }
49
+ /**
50
+ * QueryConnectionsRequest is the request type for the Query/Connections RPC
51
+ * method
52
+ */
53
+ export interface QueryConnectionsRequest {
54
+ pagination?: PageRequest;
55
+ }
56
+ /**
57
+ * QueryConnectionsRequest is the request type for the Query/Connections RPC
58
+ * method
59
+ */
60
+ export interface QueryConnectionsRequestSDKType {
61
+ pagination?: PageRequestSDKType;
62
+ }
63
+ /**
64
+ * QueryConnectionsResponse is the response type for the Query/Connections RPC
65
+ * method.
66
+ */
67
+ export interface QueryConnectionsResponse {
68
+ /** list of stored connections of the chain. */
69
+ connections: IdentifiedConnection[];
70
+ /** pagination response */
71
+ pagination?: PageResponse;
72
+ /** query block height */
73
+ height?: Height;
74
+ }
75
+ /**
76
+ * QueryConnectionsResponse is the response type for the Query/Connections RPC
77
+ * method.
78
+ */
79
+ export interface QueryConnectionsResponseSDKType {
80
+ /** list of stored connections of the chain. */
81
+ connections: IdentifiedConnectionSDKType[];
82
+ /** pagination response */
83
+ pagination?: PageResponseSDKType;
84
+ /** query block height */
85
+ height?: HeightSDKType;
86
+ }
87
+ /**
88
+ * QueryClientConnectionsRequest is the request type for the
89
+ * Query/ClientConnections RPC method
90
+ */
91
+ export interface QueryClientConnectionsRequest {
92
+ /** client identifier associated with a connection */
93
+ clientId: string;
94
+ }
95
+ /**
96
+ * QueryClientConnectionsRequest is the request type for the
97
+ * Query/ClientConnections RPC method
98
+ */
99
+ export interface QueryClientConnectionsRequestSDKType {
100
+ /** client identifier associated with a connection */
101
+ client_id: string;
102
+ }
103
+ /**
104
+ * QueryClientConnectionsResponse is the response type for the
105
+ * Query/ClientConnections RPC method
106
+ */
107
+ export interface QueryClientConnectionsResponse {
108
+ /** slice of all the connection paths associated with a client. */
109
+ connectionPaths: string[];
110
+ /** merkle proof of existence */
111
+ proof: Uint8Array;
112
+ /** height at which the proof was generated */
113
+ proofHeight?: Height;
114
+ }
115
+ /**
116
+ * QueryClientConnectionsResponse is the response type for the
117
+ * Query/ClientConnections RPC method
118
+ */
119
+ export interface QueryClientConnectionsResponseSDKType {
120
+ /** slice of all the connection paths associated with a client. */
121
+ connection_paths: string[];
122
+ /** merkle proof of existence */
123
+ proof: Uint8Array;
124
+ /** height at which the proof was generated */
125
+ proof_height?: HeightSDKType;
126
+ }
127
+ /**
128
+ * QueryConnectionClientStateRequest is the request type for the
129
+ * Query/ConnectionClientState RPC method
130
+ */
131
+ export interface QueryConnectionClientStateRequest {
132
+ /** connection identifier */
133
+ connectionId: string;
134
+ }
135
+ /**
136
+ * QueryConnectionClientStateRequest is the request type for the
137
+ * Query/ConnectionClientState RPC method
138
+ */
139
+ export interface QueryConnectionClientStateRequestSDKType {
140
+ /** connection identifier */
141
+ connection_id: string;
142
+ }
143
+ /**
144
+ * QueryConnectionClientStateResponse is the response type for the
145
+ * Query/ConnectionClientState RPC method
146
+ */
147
+ export interface QueryConnectionClientStateResponse {
148
+ /** client state associated with the channel */
149
+ identifiedClientState?: IdentifiedClientState;
150
+ /** merkle proof of existence */
151
+ proof: Uint8Array;
152
+ /** height at which the proof was retrieved */
153
+ proofHeight?: Height;
154
+ }
155
+ /**
156
+ * QueryConnectionClientStateResponse is the response type for the
157
+ * Query/ConnectionClientState RPC method
158
+ */
159
+ export interface QueryConnectionClientStateResponseSDKType {
160
+ /** client state associated with the channel */
161
+ identified_client_state?: IdentifiedClientStateSDKType;
162
+ /** merkle proof of existence */
163
+ proof: Uint8Array;
164
+ /** height at which the proof was retrieved */
165
+ proof_height?: HeightSDKType;
166
+ }
167
+ /**
168
+ * QueryConnectionConsensusStateRequest is the request type for the
169
+ * Query/ConnectionConsensusState RPC method
170
+ */
171
+ export interface QueryConnectionConsensusStateRequest {
172
+ /** connection identifier */
173
+ connectionId: string;
174
+ revisionNumber: Long;
175
+ revisionHeight: Long;
176
+ }
177
+ /**
178
+ * QueryConnectionConsensusStateRequest is the request type for the
179
+ * Query/ConnectionConsensusState RPC method
180
+ */
181
+ export interface QueryConnectionConsensusStateRequestSDKType {
182
+ /** connection identifier */
183
+ connection_id: string;
184
+ revision_number: Long;
185
+ revision_height: Long;
186
+ }
187
+ /**
188
+ * QueryConnectionConsensusStateResponse is the response type for the
189
+ * Query/ConnectionConsensusState RPC method
190
+ */
191
+ export interface QueryConnectionConsensusStateResponse {
192
+ /** consensus state associated with the channel */
193
+ consensusState?: Any;
194
+ /** client ID associated with the consensus state */
195
+ clientId: string;
196
+ /** merkle proof of existence */
197
+ proof: Uint8Array;
198
+ /** height at which the proof was retrieved */
199
+ proofHeight?: Height;
200
+ }
201
+ /**
202
+ * QueryConnectionConsensusStateResponse is the response type for the
203
+ * Query/ConnectionConsensusState RPC method
204
+ */
205
+ export interface QueryConnectionConsensusStateResponseSDKType {
206
+ /** consensus state associated with the channel */
207
+ consensus_state?: AnySDKType;
208
+ /** client ID associated with the consensus state */
209
+ client_id: string;
210
+ /** merkle proof of existence */
211
+ proof: Uint8Array;
212
+ /** height at which the proof was retrieved */
213
+ proof_height?: HeightSDKType;
214
+ }
215
+ export declare const QueryConnectionRequest: {
216
+ encode(message: QueryConnectionRequest, writer?: _m0.Writer): _m0.Writer;
217
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest;
218
+ fromPartial(object: DeepPartial<QueryConnectionRequest>): QueryConnectionRequest;
219
+ };
220
+ export declare const QueryConnectionResponse: {
221
+ encode(message: QueryConnectionResponse, writer?: _m0.Writer): _m0.Writer;
222
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse;
223
+ fromPartial(object: DeepPartial<QueryConnectionResponse>): QueryConnectionResponse;
224
+ };
225
+ export declare const QueryConnectionsRequest: {
226
+ encode(message: QueryConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
227
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest;
228
+ fromPartial(object: DeepPartial<QueryConnectionsRequest>): QueryConnectionsRequest;
229
+ };
230
+ export declare const QueryConnectionsResponse: {
231
+ encode(message: QueryConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
232
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse;
233
+ fromPartial(object: DeepPartial<QueryConnectionsResponse>): QueryConnectionsResponse;
234
+ };
235
+ export declare const QueryClientConnectionsRequest: {
236
+ encode(message: QueryClientConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
237
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest;
238
+ fromPartial(object: DeepPartial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest;
239
+ };
240
+ export declare const QueryClientConnectionsResponse: {
241
+ encode(message: QueryClientConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
242
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse;
243
+ fromPartial(object: DeepPartial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse;
244
+ };
245
+ export declare const QueryConnectionClientStateRequest: {
246
+ encode(message: QueryConnectionClientStateRequest, writer?: _m0.Writer): _m0.Writer;
247
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest;
248
+ fromPartial(object: DeepPartial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest;
249
+ };
250
+ export declare const QueryConnectionClientStateResponse: {
251
+ encode(message: QueryConnectionClientStateResponse, writer?: _m0.Writer): _m0.Writer;
252
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse;
253
+ fromPartial(object: DeepPartial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse;
254
+ };
255
+ export declare const QueryConnectionConsensusStateRequest: {
256
+ encode(message: QueryConnectionConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
257
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest;
258
+ fromPartial(object: DeepPartial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest;
259
+ };
260
+ export declare const QueryConnectionConsensusStateResponse: {
261
+ encode(message: QueryConnectionConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
262
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse;
263
+ fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse;
264
+ };
@@ -0,0 +1,13 @@
1
+ import { LCDClient } from "@osmonauts/lcd";
2
+ import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query";
3
+ export declare class LCDQueryClient {
4
+ req: LCDClient;
5
+ constructor({ requestClient }: {
6
+ requestClient: LCDClient;
7
+ });
8
+ connection(params: QueryConnectionRequest): Promise<QueryConnectionResponseSDKType>;
9
+ connections(params?: QueryConnectionsRequest): Promise<QueryConnectionsResponseSDKType>;
10
+ clientConnections(params: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponseSDKType>;
11
+ connectionClientState(params: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponseSDKType>;
12
+ connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponseSDKType>;
13
+ }
@@ -0,0 +1,41 @@
1
+ import { Rpc } from "../../../../helpers";
2
+ import { QueryClient } from "@cosmjs/stargate";
3
+ import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query";
4
+ /** Query provides defines the gRPC querier service */
5
+ export interface Query {
6
+ /** Connection queries an IBC connection end. */
7
+ connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
8
+ /** Connections queries all the IBC connections of a chain. */
9
+ connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
10
+ /**
11
+ * ClientConnections queries the connection paths associated with a client
12
+ * state.
13
+ */
14
+ clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
15
+ /**
16
+ * ConnectionClientState queries the client state associated with the
17
+ * connection.
18
+ */
19
+ connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
20
+ /**
21
+ * ConnectionConsensusState queries the consensus state associated with the
22
+ * connection.
23
+ */
24
+ connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
25
+ }
26
+ export declare class QueryClientImpl implements Query {
27
+ private readonly rpc;
28
+ constructor(rpc: Rpc);
29
+ connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
30
+ connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
31
+ clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
32
+ connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
33
+ connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
34
+ }
35
+ export declare const createRpcQueryExtension: (base: QueryClient) => {
36
+ connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
37
+ connections(request?: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
38
+ clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
39
+ connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
40
+ connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
41
+ };