juno-network 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
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,219 @@
1
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
2
+ import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ import { DeepPartial, Long } from "../../../../helpers";
5
+ /**
6
+ * IdentifiedClientState defines a client state with an additional client
7
+ * identifier field.
8
+ */
9
+ export interface IdentifiedClientState {
10
+ /** client identifier */
11
+ clientId: string;
12
+ /** client state */
13
+ clientState?: Any;
14
+ }
15
+ /**
16
+ * IdentifiedClientState defines a client state with an additional client
17
+ * identifier field.
18
+ */
19
+ export interface IdentifiedClientStateSDKType {
20
+ /** client identifier */
21
+ client_id: string;
22
+ /** client state */
23
+ client_state?: AnySDKType;
24
+ }
25
+ /**
26
+ * ConsensusStateWithHeight defines a consensus state with an additional height
27
+ * field.
28
+ */
29
+ export interface ConsensusStateWithHeight {
30
+ /** consensus state height */
31
+ height?: Height;
32
+ /** consensus state */
33
+ consensusState?: Any;
34
+ }
35
+ /**
36
+ * ConsensusStateWithHeight defines a consensus state with an additional height
37
+ * field.
38
+ */
39
+ export interface ConsensusStateWithHeightSDKType {
40
+ /** consensus state height */
41
+ height?: HeightSDKType;
42
+ /** consensus state */
43
+ consensus_state?: AnySDKType;
44
+ }
45
+ /**
46
+ * ClientConsensusStates defines all the stored consensus states for a given
47
+ * client.
48
+ */
49
+ export interface ClientConsensusStates {
50
+ /** client identifier */
51
+ clientId: string;
52
+ /** consensus states and their heights associated with the client */
53
+ consensusStates: ConsensusStateWithHeight[];
54
+ }
55
+ /**
56
+ * ClientConsensusStates defines all the stored consensus states for a given
57
+ * client.
58
+ */
59
+ export interface ClientConsensusStatesSDKType {
60
+ /** client identifier */
61
+ client_id: string;
62
+ /** consensus states and their heights associated with the client */
63
+ consensus_states: ConsensusStateWithHeightSDKType[];
64
+ }
65
+ /**
66
+ * ClientUpdateProposal is a governance proposal. If it passes, the substitute
67
+ * client's latest consensus state is copied over to the subject client. The proposal
68
+ * handler may fail if the subject and the substitute do not match in client and
69
+ * chain parameters (with exception to latest height, frozen height, and chain-id).
70
+ */
71
+ export interface ClientUpdateProposal {
72
+ /** the title of the update proposal */
73
+ title: string;
74
+ /** the description of the proposal */
75
+ description: string;
76
+ /** the client identifier for the client to be updated if the proposal passes */
77
+ subjectClientId: string;
78
+ /**
79
+ * the substitute client identifier for the client standing in for the subject
80
+ * client
81
+ */
82
+ substituteClientId: string;
83
+ }
84
+ /**
85
+ * ClientUpdateProposal is a governance proposal. If it passes, the substitute
86
+ * client's latest consensus state is copied over to the subject client. The proposal
87
+ * handler may fail if the subject and the substitute do not match in client and
88
+ * chain parameters (with exception to latest height, frozen height, and chain-id).
89
+ */
90
+ export interface ClientUpdateProposalSDKType {
91
+ /** the title of the update proposal */
92
+ title: string;
93
+ /** the description of the proposal */
94
+ description: string;
95
+ /** the client identifier for the client to be updated if the proposal passes */
96
+ subject_client_id: string;
97
+ /**
98
+ * the substitute client identifier for the client standing in for the subject
99
+ * client
100
+ */
101
+ substitute_client_id: string;
102
+ }
103
+ /**
104
+ * UpgradeProposal is a gov Content type for initiating an IBC breaking
105
+ * upgrade.
106
+ */
107
+ export interface UpgradeProposal {
108
+ title: string;
109
+ description: string;
110
+ plan?: Plan;
111
+ /**
112
+ * An UpgradedClientState must be provided to perform an IBC breaking upgrade.
113
+ * This will make the chain commit to the correct upgraded (self) client state
114
+ * before the upgrade occurs, so that connecting chains can verify that the
115
+ * new upgraded client is valid by verifying a proof on the previous version
116
+ * of the chain. This will allow IBC connections to persist smoothly across
117
+ * planned chain upgrades
118
+ */
119
+ upgradedClientState?: Any;
120
+ }
121
+ /**
122
+ * UpgradeProposal is a gov Content type for initiating an IBC breaking
123
+ * upgrade.
124
+ */
125
+ export interface UpgradeProposalSDKType {
126
+ title: string;
127
+ description: string;
128
+ plan?: PlanSDKType;
129
+ /**
130
+ * An UpgradedClientState must be provided to perform an IBC breaking upgrade.
131
+ * This will make the chain commit to the correct upgraded (self) client state
132
+ * before the upgrade occurs, so that connecting chains can verify that the
133
+ * new upgraded client is valid by verifying a proof on the previous version
134
+ * of the chain. This will allow IBC connections to persist smoothly across
135
+ * planned chain upgrades
136
+ */
137
+ upgraded_client_state?: AnySDKType;
138
+ }
139
+ /**
140
+ * Height is a monotonically increasing data type
141
+ * that can be compared against another Height for the purposes of updating and
142
+ * freezing clients
143
+ *
144
+ * Normally the RevisionHeight is incremented at each height while keeping
145
+ * RevisionNumber the same. However some consensus algorithms may choose to
146
+ * reset the height in certain conditions e.g. hard forks, state-machine
147
+ * breaking changes In these cases, the RevisionNumber is incremented so that
148
+ * height continues to be monitonically increasing even as the RevisionHeight
149
+ * gets reset
150
+ */
151
+ export interface Height {
152
+ /** the revision that the client is currently on */
153
+ revisionNumber: Long;
154
+ /** the height within the given revision */
155
+ revisionHeight: Long;
156
+ }
157
+ /**
158
+ * Height is a monotonically increasing data type
159
+ * that can be compared against another Height for the purposes of updating and
160
+ * freezing clients
161
+ *
162
+ * Normally the RevisionHeight is incremented at each height while keeping
163
+ * RevisionNumber the same. However some consensus algorithms may choose to
164
+ * reset the height in certain conditions e.g. hard forks, state-machine
165
+ * breaking changes In these cases, the RevisionNumber is incremented so that
166
+ * height continues to be monitonically increasing even as the RevisionHeight
167
+ * gets reset
168
+ */
169
+ export interface HeightSDKType {
170
+ /** the revision that the client is currently on */
171
+ revision_number: Long;
172
+ /** the height within the given revision */
173
+ revision_height: Long;
174
+ }
175
+ /** Params defines the set of IBC light client parameters. */
176
+ export interface Params {
177
+ /** allowed_clients defines the list of allowed client state types. */
178
+ allowedClients: string[];
179
+ }
180
+ /** Params defines the set of IBC light client parameters. */
181
+ export interface ParamsSDKType {
182
+ /** allowed_clients defines the list of allowed client state types. */
183
+ allowed_clients: string[];
184
+ }
185
+ export declare const IdentifiedClientState: {
186
+ encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer;
187
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState;
188
+ fromPartial(object: DeepPartial<IdentifiedClientState>): IdentifiedClientState;
189
+ };
190
+ export declare const ConsensusStateWithHeight: {
191
+ encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer;
192
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight;
193
+ fromPartial(object: DeepPartial<ConsensusStateWithHeight>): ConsensusStateWithHeight;
194
+ };
195
+ export declare const ClientConsensusStates: {
196
+ encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer;
197
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates;
198
+ fromPartial(object: DeepPartial<ClientConsensusStates>): ClientConsensusStates;
199
+ };
200
+ export declare const ClientUpdateProposal: {
201
+ encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer;
202
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal;
203
+ fromPartial(object: DeepPartial<ClientUpdateProposal>): ClientUpdateProposal;
204
+ };
205
+ export declare const UpgradeProposal: {
206
+ encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer;
207
+ decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal;
208
+ fromPartial(object: DeepPartial<UpgradeProposal>): UpgradeProposal;
209
+ };
210
+ export declare const Height: {
211
+ encode(message: Height, writer?: _m0.Writer): _m0.Writer;
212
+ decode(input: _m0.Reader | Uint8Array, length?: number): Height;
213
+ fromPartial(object: DeepPartial<Height>): Height;
214
+ };
215
+ export declare const Params: {
216
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
217
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params;
218
+ fromPartial(object: DeepPartial<Params>): Params;
219
+ };
@@ -0,0 +1,82 @@
1
+ import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { Long, DeepPartial } from "../../../../helpers";
4
+ /** GenesisState defines the ibc client submodule's genesis state. */
5
+ export interface GenesisState {
6
+ /** client states with their corresponding identifiers */
7
+ clients: IdentifiedClientState[];
8
+ /** consensus states from each client */
9
+ clientsConsensus: ClientConsensusStates[];
10
+ /** metadata from each client */
11
+ clientsMetadata: IdentifiedGenesisMetadata[];
12
+ params?: Params;
13
+ /** create localhost on initialization */
14
+ createLocalhost: boolean;
15
+ /** the sequence for the next generated client identifier */
16
+ nextClientSequence: Long;
17
+ }
18
+ /** GenesisState defines the ibc client submodule's genesis state. */
19
+ export interface GenesisStateSDKType {
20
+ /** client states with their corresponding identifiers */
21
+ clients: IdentifiedClientStateSDKType[];
22
+ /** consensus states from each client */
23
+ clients_consensus: ClientConsensusStatesSDKType[];
24
+ /** metadata from each client */
25
+ clients_metadata: IdentifiedGenesisMetadataSDKType[];
26
+ params?: ParamsSDKType;
27
+ /** create localhost on initialization */
28
+ create_localhost: boolean;
29
+ /** the sequence for the next generated client identifier */
30
+ next_client_sequence: Long;
31
+ }
32
+ /**
33
+ * GenesisMetadata defines the genesis type for metadata that clients may return
34
+ * with ExportMetadata
35
+ */
36
+ export interface GenesisMetadata {
37
+ /** store key of metadata without clientID-prefix */
38
+ key: Uint8Array;
39
+ /** metadata value */
40
+ value: Uint8Array;
41
+ }
42
+ /**
43
+ * GenesisMetadata defines the genesis type for metadata that clients may return
44
+ * with ExportMetadata
45
+ */
46
+ export interface GenesisMetadataSDKType {
47
+ /** store key of metadata without clientID-prefix */
48
+ key: Uint8Array;
49
+ /** metadata value */
50
+ value: Uint8Array;
51
+ }
52
+ /**
53
+ * IdentifiedGenesisMetadata has the client metadata with the corresponding
54
+ * client id.
55
+ */
56
+ export interface IdentifiedGenesisMetadata {
57
+ clientId: string;
58
+ clientMetadata: GenesisMetadata[];
59
+ }
60
+ /**
61
+ * IdentifiedGenesisMetadata has the client metadata with the corresponding
62
+ * client id.
63
+ */
64
+ export interface IdentifiedGenesisMetadataSDKType {
65
+ client_id: string;
66
+ client_metadata: GenesisMetadataSDKType[];
67
+ }
68
+ export declare const GenesisState: {
69
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
70
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
71
+ fromPartial(object: DeepPartial<GenesisState>): GenesisState;
72
+ };
73
+ export declare const GenesisMetadata: {
74
+ encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer;
75
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata;
76
+ fromPartial(object: DeepPartial<GenesisMetadata>): GenesisMetadata;
77
+ };
78
+ export declare const IdentifiedGenesisMetadata: {
79
+ encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer;
80
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata;
81
+ fromPartial(object: DeepPartial<IdentifiedGenesisMetadata>): IdentifiedGenesisMetadata;
82
+ };
@@ -0,0 +1,377 @@
1
+ import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
2
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
3
+ import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client";
4
+ import * as _m0 from "protobufjs/minimal";
5
+ import { DeepPartial, Long } from "../../../../helpers";
6
+ /**
7
+ * QueryClientStateRequest is the request type for the Query/ClientState RPC
8
+ * method
9
+ */
10
+ export interface QueryClientStateRequest {
11
+ /** client state unique identifier */
12
+ clientId: string;
13
+ }
14
+ /**
15
+ * QueryClientStateRequest is the request type for the Query/ClientState RPC
16
+ * method
17
+ */
18
+ export interface QueryClientStateRequestSDKType {
19
+ /** client state unique identifier */
20
+ client_id: string;
21
+ }
22
+ /**
23
+ * QueryClientStateResponse is the response type for the Query/ClientState RPC
24
+ * method. Besides the client state, it includes a proof and the height from
25
+ * which the proof was retrieved.
26
+ */
27
+ export interface QueryClientStateResponse {
28
+ /** client state associated with the request identifier */
29
+ clientState?: Any;
30
+ /** merkle proof of existence */
31
+ proof: Uint8Array;
32
+ /** height at which the proof was retrieved */
33
+ proofHeight?: Height;
34
+ }
35
+ /**
36
+ * QueryClientStateResponse is the response type for the Query/ClientState RPC
37
+ * method. Besides the client state, it includes a proof and the height from
38
+ * which the proof was retrieved.
39
+ */
40
+ export interface QueryClientStateResponseSDKType {
41
+ /** client state associated with the request identifier */
42
+ client_state?: AnySDKType;
43
+ /** merkle proof of existence */
44
+ proof: Uint8Array;
45
+ /** height at which the proof was retrieved */
46
+ proof_height?: HeightSDKType;
47
+ }
48
+ /**
49
+ * QueryClientStatesRequest is the request type for the Query/ClientStates RPC
50
+ * method
51
+ */
52
+ export interface QueryClientStatesRequest {
53
+ /** pagination request */
54
+ pagination?: PageRequest;
55
+ }
56
+ /**
57
+ * QueryClientStatesRequest is the request type for the Query/ClientStates RPC
58
+ * method
59
+ */
60
+ export interface QueryClientStatesRequestSDKType {
61
+ /** pagination request */
62
+ pagination?: PageRequestSDKType;
63
+ }
64
+ /**
65
+ * QueryClientStatesResponse is the response type for the Query/ClientStates RPC
66
+ * method.
67
+ */
68
+ export interface QueryClientStatesResponse {
69
+ /** list of stored ClientStates of the chain. */
70
+ clientStates: IdentifiedClientState[];
71
+ /** pagination response */
72
+ pagination?: PageResponse;
73
+ }
74
+ /**
75
+ * QueryClientStatesResponse is the response type for the Query/ClientStates RPC
76
+ * method.
77
+ */
78
+ export interface QueryClientStatesResponseSDKType {
79
+ /** list of stored ClientStates of the chain. */
80
+ client_states: IdentifiedClientStateSDKType[];
81
+ /** pagination response */
82
+ pagination?: PageResponseSDKType;
83
+ }
84
+ /**
85
+ * QueryConsensusStateRequest is the request type for the Query/ConsensusState
86
+ * RPC method. Besides the consensus state, it includes a proof and the height
87
+ * from which the proof was retrieved.
88
+ */
89
+ export interface QueryConsensusStateRequest {
90
+ /** client identifier */
91
+ clientId: string;
92
+ /** consensus state revision number */
93
+ revisionNumber: Long;
94
+ /** consensus state revision height */
95
+ revisionHeight: Long;
96
+ /**
97
+ * latest_height overrrides the height field and queries the latest stored
98
+ * ConsensusState
99
+ */
100
+ latestHeight: boolean;
101
+ }
102
+ /**
103
+ * QueryConsensusStateRequest is the request type for the Query/ConsensusState
104
+ * RPC method. Besides the consensus state, it includes a proof and the height
105
+ * from which the proof was retrieved.
106
+ */
107
+ export interface QueryConsensusStateRequestSDKType {
108
+ /** client identifier */
109
+ client_id: string;
110
+ /** consensus state revision number */
111
+ revision_number: Long;
112
+ /** consensus state revision height */
113
+ revision_height: Long;
114
+ /**
115
+ * latest_height overrrides the height field and queries the latest stored
116
+ * ConsensusState
117
+ */
118
+ latest_height: boolean;
119
+ }
120
+ /**
121
+ * QueryConsensusStateResponse is the response type for the Query/ConsensusState
122
+ * RPC method
123
+ */
124
+ export interface QueryConsensusStateResponse {
125
+ /** consensus state associated with the client identifier at the given height */
126
+ consensusState?: Any;
127
+ /** merkle proof of existence */
128
+ proof: Uint8Array;
129
+ /** height at which the proof was retrieved */
130
+ proofHeight?: Height;
131
+ }
132
+ /**
133
+ * QueryConsensusStateResponse is the response type for the Query/ConsensusState
134
+ * RPC method
135
+ */
136
+ export interface QueryConsensusStateResponseSDKType {
137
+ /** consensus state associated with the client identifier at the given height */
138
+ consensus_state?: AnySDKType;
139
+ /** merkle proof of existence */
140
+ proof: Uint8Array;
141
+ /** height at which the proof was retrieved */
142
+ proof_height?: HeightSDKType;
143
+ }
144
+ /**
145
+ * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
146
+ * RPC method.
147
+ */
148
+ export interface QueryConsensusStatesRequest {
149
+ /** client identifier */
150
+ clientId: string;
151
+ /** pagination request */
152
+ pagination?: PageRequest;
153
+ }
154
+ /**
155
+ * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
156
+ * RPC method.
157
+ */
158
+ export interface QueryConsensusStatesRequestSDKType {
159
+ /** client identifier */
160
+ client_id: string;
161
+ /** pagination request */
162
+ pagination?: PageRequestSDKType;
163
+ }
164
+ /**
165
+ * QueryConsensusStatesResponse is the response type for the
166
+ * Query/ConsensusStates RPC method
167
+ */
168
+ export interface QueryConsensusStatesResponse {
169
+ /** consensus states associated with the identifier */
170
+ consensusStates: ConsensusStateWithHeight[];
171
+ /** pagination response */
172
+ pagination?: PageResponse;
173
+ }
174
+ /**
175
+ * QueryConsensusStatesResponse is the response type for the
176
+ * Query/ConsensusStates RPC method
177
+ */
178
+ export interface QueryConsensusStatesResponseSDKType {
179
+ /** consensus states associated with the identifier */
180
+ consensus_states: ConsensusStateWithHeightSDKType[];
181
+ /** pagination response */
182
+ pagination?: PageResponseSDKType;
183
+ }
184
+ /**
185
+ * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
186
+ * method
187
+ */
188
+ export interface QueryClientStatusRequest {
189
+ /** client unique identifier */
190
+ clientId: string;
191
+ }
192
+ /**
193
+ * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
194
+ * method
195
+ */
196
+ export interface QueryClientStatusRequestSDKType {
197
+ /** client unique identifier */
198
+ client_id: string;
199
+ }
200
+ /**
201
+ * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
202
+ * method. It returns the current status of the IBC client.
203
+ */
204
+ export interface QueryClientStatusResponse {
205
+ status: string;
206
+ }
207
+ /**
208
+ * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
209
+ * method. It returns the current status of the IBC client.
210
+ */
211
+ export interface QueryClientStatusResponseSDKType {
212
+ status: string;
213
+ }
214
+ /**
215
+ * QueryClientParamsRequest is the request type for the Query/ClientParams RPC
216
+ * method.
217
+ */
218
+ export interface QueryClientParamsRequest {
219
+ }
220
+ /**
221
+ * QueryClientParamsRequest is the request type for the Query/ClientParams RPC
222
+ * method.
223
+ */
224
+ export interface QueryClientParamsRequestSDKType {
225
+ }
226
+ /**
227
+ * QueryClientParamsResponse is the response type for the Query/ClientParams RPC
228
+ * method.
229
+ */
230
+ export interface QueryClientParamsResponse {
231
+ /** params defines the parameters of the module. */
232
+ params?: Params;
233
+ }
234
+ /**
235
+ * QueryClientParamsResponse is the response type for the Query/ClientParams RPC
236
+ * method.
237
+ */
238
+ export interface QueryClientParamsResponseSDKType {
239
+ /** params defines the parameters of the module. */
240
+ params?: ParamsSDKType;
241
+ }
242
+ /**
243
+ * QueryUpgradedClientStateRequest is the request type for the
244
+ * Query/UpgradedClientState RPC method
245
+ */
246
+ export interface QueryUpgradedClientStateRequest {
247
+ }
248
+ /**
249
+ * QueryUpgradedClientStateRequest is the request type for the
250
+ * Query/UpgradedClientState RPC method
251
+ */
252
+ export interface QueryUpgradedClientStateRequestSDKType {
253
+ }
254
+ /**
255
+ * QueryUpgradedClientStateResponse is the response type for the
256
+ * Query/UpgradedClientState RPC method.
257
+ */
258
+ export interface QueryUpgradedClientStateResponse {
259
+ /** client state associated with the request identifier */
260
+ upgradedClientState?: Any;
261
+ }
262
+ /**
263
+ * QueryUpgradedClientStateResponse is the response type for the
264
+ * Query/UpgradedClientState RPC method.
265
+ */
266
+ export interface QueryUpgradedClientStateResponseSDKType {
267
+ /** client state associated with the request identifier */
268
+ upgraded_client_state?: AnySDKType;
269
+ }
270
+ /**
271
+ * QueryUpgradedConsensusStateRequest is the request type for the
272
+ * Query/UpgradedConsensusState RPC method
273
+ */
274
+ export interface QueryUpgradedConsensusStateRequest {
275
+ }
276
+ /**
277
+ * QueryUpgradedConsensusStateRequest is the request type for the
278
+ * Query/UpgradedConsensusState RPC method
279
+ */
280
+ export interface QueryUpgradedConsensusStateRequestSDKType {
281
+ }
282
+ /**
283
+ * QueryUpgradedConsensusStateResponse is the response type for the
284
+ * Query/UpgradedConsensusState RPC method.
285
+ */
286
+ export interface QueryUpgradedConsensusStateResponse {
287
+ /** Consensus state associated with the request identifier */
288
+ upgradedConsensusState?: Any;
289
+ }
290
+ /**
291
+ * QueryUpgradedConsensusStateResponse is the response type for the
292
+ * Query/UpgradedConsensusState RPC method.
293
+ */
294
+ export interface QueryUpgradedConsensusStateResponseSDKType {
295
+ /** Consensus state associated with the request identifier */
296
+ upgraded_consensus_state?: AnySDKType;
297
+ }
298
+ export declare const QueryClientStateRequest: {
299
+ encode(message: QueryClientStateRequest, writer?: _m0.Writer): _m0.Writer;
300
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest;
301
+ fromPartial(object: DeepPartial<QueryClientStateRequest>): QueryClientStateRequest;
302
+ };
303
+ export declare const QueryClientStateResponse: {
304
+ encode(message: QueryClientStateResponse, writer?: _m0.Writer): _m0.Writer;
305
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse;
306
+ fromPartial(object: DeepPartial<QueryClientStateResponse>): QueryClientStateResponse;
307
+ };
308
+ export declare const QueryClientStatesRequest: {
309
+ encode(message: QueryClientStatesRequest, writer?: _m0.Writer): _m0.Writer;
310
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest;
311
+ fromPartial(object: DeepPartial<QueryClientStatesRequest>): QueryClientStatesRequest;
312
+ };
313
+ export declare const QueryClientStatesResponse: {
314
+ encode(message: QueryClientStatesResponse, writer?: _m0.Writer): _m0.Writer;
315
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse;
316
+ fromPartial(object: DeepPartial<QueryClientStatesResponse>): QueryClientStatesResponse;
317
+ };
318
+ export declare const QueryConsensusStateRequest: {
319
+ encode(message: QueryConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
320
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest;
321
+ fromPartial(object: DeepPartial<QueryConsensusStateRequest>): QueryConsensusStateRequest;
322
+ };
323
+ export declare const QueryConsensusStateResponse: {
324
+ encode(message: QueryConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
325
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse;
326
+ fromPartial(object: DeepPartial<QueryConsensusStateResponse>): QueryConsensusStateResponse;
327
+ };
328
+ export declare const QueryConsensusStatesRequest: {
329
+ encode(message: QueryConsensusStatesRequest, writer?: _m0.Writer): _m0.Writer;
330
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest;
331
+ fromPartial(object: DeepPartial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest;
332
+ };
333
+ export declare const QueryConsensusStatesResponse: {
334
+ encode(message: QueryConsensusStatesResponse, writer?: _m0.Writer): _m0.Writer;
335
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse;
336
+ fromPartial(object: DeepPartial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse;
337
+ };
338
+ export declare const QueryClientStatusRequest: {
339
+ encode(message: QueryClientStatusRequest, writer?: _m0.Writer): _m0.Writer;
340
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest;
341
+ fromPartial(object: DeepPartial<QueryClientStatusRequest>): QueryClientStatusRequest;
342
+ };
343
+ export declare const QueryClientStatusResponse: {
344
+ encode(message: QueryClientStatusResponse, writer?: _m0.Writer): _m0.Writer;
345
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse;
346
+ fromPartial(object: DeepPartial<QueryClientStatusResponse>): QueryClientStatusResponse;
347
+ };
348
+ export declare const QueryClientParamsRequest: {
349
+ encode(_: QueryClientParamsRequest, writer?: _m0.Writer): _m0.Writer;
350
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest;
351
+ fromPartial(_: DeepPartial<QueryClientParamsRequest>): QueryClientParamsRequest;
352
+ };
353
+ export declare const QueryClientParamsResponse: {
354
+ encode(message: QueryClientParamsResponse, writer?: _m0.Writer): _m0.Writer;
355
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse;
356
+ fromPartial(object: DeepPartial<QueryClientParamsResponse>): QueryClientParamsResponse;
357
+ };
358
+ export declare const QueryUpgradedClientStateRequest: {
359
+ encode(_: QueryUpgradedClientStateRequest, writer?: _m0.Writer): _m0.Writer;
360
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest;
361
+ fromPartial(_: DeepPartial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest;
362
+ };
363
+ export declare const QueryUpgradedClientStateResponse: {
364
+ encode(message: QueryUpgradedClientStateResponse, writer?: _m0.Writer): _m0.Writer;
365
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse;
366
+ fromPartial(object: DeepPartial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse;
367
+ };
368
+ export declare const QueryUpgradedConsensusStateRequest: {
369
+ encode(_: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
370
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest;
371
+ fromPartial(_: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest;
372
+ };
373
+ export declare const QueryUpgradedConsensusStateResponse: {
374
+ encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
375
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse;
376
+ fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse;
377
+ };
@@ -0,0 +1,16 @@
1
+ import { LCDClient } from "@osmonauts/lcd";
2
+ import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query";
3
+ export declare class LCDQueryClient {
4
+ req: LCDClient;
5
+ constructor({ requestClient }: {
6
+ requestClient: LCDClient;
7
+ });
8
+ clientState(params: QueryClientStateRequest): Promise<QueryClientStateResponseSDKType>;
9
+ clientStates(params?: QueryClientStatesRequest): Promise<QueryClientStatesResponseSDKType>;
10
+ consensusState(params: QueryConsensusStateRequest): Promise<QueryConsensusStateResponseSDKType>;
11
+ consensusStates(params: QueryConsensusStatesRequest): Promise<QueryConsensusStatesResponseSDKType>;
12
+ clientStatus(params: QueryClientStatusRequest): Promise<QueryClientStatusResponseSDKType>;
13
+ clientParams(_params?: QueryClientParamsRequest): Promise<QueryClientParamsResponseSDKType>;
14
+ upgradedClientState(_params?: QueryUpgradedClientStateRequest): Promise<QueryUpgradedClientStateResponseSDKType>;
15
+ upgradedConsensusState(_params?: QueryUpgradedConsensusStateRequest): Promise<QueryUpgradedConsensusStateResponseSDKType>;
16
+ }