juno-network 0.15.0 → 0.17.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 (1080) hide show
  1. package/README.md +1 -4
  2. package/main/codegen/JunoSwap.client.js +165 -184
  3. package/main/codegen/amino/amino.js +5 -0
  4. package/main/codegen/amino/bundle.js +16 -0
  5. package/main/codegen/binary.js +478 -0
  6. package/main/codegen/confio/proofs.js +836 -72
  7. package/main/codegen/contracts.js +8 -4
  8. package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
  9. package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
  10. package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
  11. package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
  12. package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
  13. package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
  14. package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
  15. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
  16. package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
  17. package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
  18. package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
  19. package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
  20. package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
  21. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
  22. package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
  23. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
  24. package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
  25. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
  26. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
  27. package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
  28. package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
  29. package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
  30. package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
  31. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
  32. package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
  33. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
  34. package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
  35. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
  45. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
  46. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
  47. package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
  48. package/main/codegen/cosmos/bundle.js +274 -105
  49. package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
  50. package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
  51. package/main/codegen/cosmos/client.js +37 -23
  52. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
  53. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
  54. package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
  55. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
  56. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
  57. package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
  58. package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
  59. package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
  60. package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
  61. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
  62. package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
  63. package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
  64. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
  65. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
  66. package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
  67. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
  68. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
  69. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
  70. package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
  71. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  72. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
  73. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
  74. package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
  75. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
  77. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
  78. package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
  79. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
  81. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
  82. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
  83. package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
  84. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
  85. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
  87. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
  88. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
  89. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
  90. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
  91. package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
  92. package/main/codegen/cosmos/gov/v1/gov.js +497 -58
  93. package/main/codegen/cosmos/gov/v1/query.js +770 -56
  94. package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
  95. package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
  96. package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
  97. package/main/codegen/cosmos/gov/v1/tx.js +511 -38
  98. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
  99. package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
  100. package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
  101. package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
  102. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
  103. package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
  104. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
  105. package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
  106. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
  107. package/main/codegen/cosmos/group/v1/events.js +729 -0
  108. package/main/codegen/cosmos/group/v1/genesis.js +259 -0
  109. package/main/codegen/cosmos/group/v1/query.js +2377 -0
  110. package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
  111. package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
  112. package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
  113. package/main/codegen/cosmos/group/v1/tx.js +2590 -0
  114. package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
  115. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
  116. package/main/codegen/cosmos/group/v1/types.js +1607 -0
  117. package/main/codegen/cosmos/lcd.js +255 -128
  118. package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
  119. package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
  120. package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
  121. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
  122. package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
  123. package/main/codegen/cosmos/msg/v1/msg.js +5 -0
  124. package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
  125. package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
  126. package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
  127. package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
  128. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
  129. package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
  130. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
  131. package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
  132. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
  133. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
  134. package/main/codegen/cosmos/orm/v1/orm.js +400 -0
  135. package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
  136. package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
  137. package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
  138. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
  139. package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
  140. package/main/codegen/cosmos/rpc.query.js +198 -97
  141. package/main/codegen/cosmos/rpc.tx.js +178 -96
  142. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
  143. package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
  144. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
  145. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
  146. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
  147. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
  148. package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
  149. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
  150. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
  151. package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
  152. package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
  153. package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
  154. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
  155. package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
  156. package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
  157. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
  158. package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
  159. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
  160. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
  161. package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
  162. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
  163. package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
  164. package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
  165. package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
  166. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
  167. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
  168. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
  169. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
  170. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
  171. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
  172. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
  173. package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
  174. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
  175. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
  176. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
  177. package/main/codegen/cosmos_proto/bundle.js +6 -6
  178. package/main/codegen/cosmos_proto/cosmos.js +129 -21
  179. package/main/codegen/cosmwasm/bundle.js +21 -21
  180. package/main/codegen/cosmwasm/client.js +21 -23
  181. package/main/codegen/cosmwasm/lcd.js +272 -145
  182. package/main/codegen/cosmwasm/rpc.query.js +211 -110
  183. package/main/codegen/cosmwasm/rpc.tx.js +193 -111
  184. package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
  185. package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
  186. package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
  187. package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
  188. package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
  189. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
  190. package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
  191. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
  192. package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
  193. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
  194. package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
  195. package/main/codegen/gaia/bundle.js +12 -12
  196. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
  197. package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
  198. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
  199. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
  200. package/main/codegen/gaia/lcd.js +272 -145
  201. package/main/codegen/gaia/rpc.query.js +211 -110
  202. package/main/codegen/gogoproto/bundle.js +6 -6
  203. package/main/codegen/google/api/annotations.js +5 -0
  204. package/main/codegen/google/api/http.js +1216 -0
  205. package/main/codegen/google/bundle.js +13 -10
  206. package/main/codegen/google/protobuf/any.js +278 -6
  207. package/main/codegen/google/protobuf/descriptor.js +1691 -171
  208. package/main/codegen/google/protobuf/duration.js +215 -10
  209. package/main/codegen/google/protobuf/empty.js +63 -6
  210. package/main/codegen/google/protobuf/timestamp.js +283 -9
  211. package/main/codegen/helpers.js +19 -53
  212. package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
  213. package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
  214. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
  215. package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
  216. package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
  217. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
  218. package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
  219. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
  220. package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
  221. package/main/codegen/ibc/bundle.js +71 -60
  222. package/main/codegen/ibc/client.js +21 -23
  223. package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
  224. package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
  225. package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
  226. package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
  227. package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
  228. package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
  229. package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
  230. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
  231. package/main/codegen/ibc/core/client/v1/client.js +438 -28
  232. package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
  233. package/main/codegen/ibc/core/client/v1/query.js +874 -45
  234. package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
  235. package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
  236. package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
  237. package/main/codegen/ibc/core/client/v1/tx.js +402 -20
  238. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
  239. package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
  240. package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
  241. package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
  242. package/main/codegen/ibc/core/connection/v1/query.js +592 -36
  243. package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
  244. package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
  245. package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
  246. package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
  247. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
  248. package/main/codegen/ibc/core/port/v1/query.js +224 -0
  249. package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
  250. package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
  251. package/main/codegen/ibc/lcd.js +320 -193
  252. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
  253. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
  254. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
  255. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
  256. package/main/codegen/ibc/rpc.query.js +257 -146
  257. package/main/codegen/ibc/rpc.tx.js +235 -153
  258. package/main/codegen/ics23/bundle.js +6 -6
  259. package/main/codegen/index.js +74 -41
  260. package/main/codegen/juno/bundle.js +77 -24
  261. package/main/codegen/juno/client.js +33 -25
  262. package/main/codegen/juno/clock/v1/genesis.js +183 -0
  263. package/main/codegen/juno/clock/v1/query.js +288 -0
  264. package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
  265. package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
  266. package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
  267. package/main/codegen/juno/clock/v1/tx.js +177 -0
  268. package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
  269. package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
  270. package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
  271. package/main/codegen/juno/cwhooks/v1/query.js +436 -0
  272. package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
  273. package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
  274. package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
  275. package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
  276. package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
  277. package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
  278. package/main/codegen/juno/drip/v1/genesis.js +183 -0
  279. package/main/codegen/juno/drip/v1/query.js +137 -0
  280. package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
  281. package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
  282. package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
  283. package/main/codegen/juno/drip/v1/tx.js +326 -0
  284. package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
  285. package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
  286. package/main/codegen/juno/feepay/v1/feepay.js +217 -0
  287. package/main/codegen/juno/feepay/v1/genesis.js +185 -0
  288. package/main/codegen/juno/feepay/v1/query.js +769 -0
  289. package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
  290. package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
  291. package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
  292. package/main/codegen/juno/feepay/v1/tx.js +792 -0
  293. package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
  294. package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
  295. package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
  296. package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
  297. package/main/codegen/juno/feeshare/v1/query.js +446 -27
  298. package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
  299. package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
  300. package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
  301. package/main/codegen/juno/feeshare/v1/tx.js +406 -18
  302. package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
  303. package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
  304. package/main/codegen/juno/lcd.js +339 -156
  305. package/main/codegen/juno/mint/genesis.js +43 -8
  306. package/main/codegen/juno/mint/mint.js +117 -24
  307. package/main/codegen/juno/mint/query.js +384 -19
  308. package/main/codegen/juno/mint/query.lcd.js +61 -39
  309. package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
  310. package/main/codegen/juno/mint/tx.amino.js +15 -0
  311. package/main/codegen/juno/mint/tx.js +177 -0
  312. package/main/codegen/juno/mint/tx.registry.js +47 -0
  313. package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
  314. package/main/codegen/juno/rpc.query.js +258 -117
  315. package/main/codegen/juno/rpc.tx.js +250 -111
  316. package/main/codegen/osmosis/bundle.js +19 -19
  317. package/main/codegen/osmosis/client.js +21 -23
  318. package/main/codegen/osmosis/lcd.js +272 -145
  319. package/main/codegen/osmosis/rpc.query.js +211 -110
  320. package/main/codegen/osmosis/rpc.tx.js +193 -111
  321. package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
  322. package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
  323. package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
  324. package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
  325. package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
  326. package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
  327. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
  328. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
  329. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  330. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
  331. package/main/codegen/router/bundle.js +12 -12
  332. package/main/codegen/router/lcd.js +269 -142
  333. package/main/codegen/router/rpc.query.js +208 -107
  334. package/main/codegen/router/v1/genesis.js +221 -24
  335. package/main/codegen/router/v1/query.js +69 -8
  336. package/main/codegen/router/v1/query.lcd.js +11 -13
  337. package/main/codegen/router/v1/query.rpc.Query.js +3 -5
  338. package/main/codegen/tendermint/abci/types.js +2058 -229
  339. package/main/codegen/tendermint/bundle.js +21 -21
  340. package/main/codegen/tendermint/crypto/keys.js +42 -6
  341. package/main/codegen/tendermint/crypto/proof.js +228 -21
  342. package/main/codegen/tendermint/libs/bits/types.js +47 -12
  343. package/main/codegen/tendermint/p2p/types.js +230 -26
  344. package/main/codegen/tendermint/types/block.js +46 -9
  345. package/main/codegen/tendermint/types/evidence.js +198 -27
  346. package/main/codegen/tendermint/types/params.js +316 -47
  347. package/main/codegen/tendermint/types/types.js +680 -87
  348. package/main/codegen/tendermint/types/validator.js +136 -24
  349. package/main/codegen/tendermint/version/types.js +114 -18
  350. package/main/codegen/utf8.js +129 -0
  351. package/main/codegen/varint.js +440 -0
  352. package/module/codegen/amino/amino.js +1 -0
  353. package/module/codegen/amino/bundle.js +5 -0
  354. package/module/codegen/binary.js +374 -0
  355. package/module/codegen/confio/proofs.js +806 -67
  356. package/module/codegen/contracts.js +2 -2
  357. package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
  358. package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
  359. package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
  360. package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
  361. package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
  362. package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
  363. package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
  364. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
  365. package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
  366. package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
  367. package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
  368. package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
  369. package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
  370. package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
  371. package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
  372. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
  373. package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
  374. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
  375. package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
  376. package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
  377. package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
  378. package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
  379. package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
  380. package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
  381. package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
  382. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
  383. package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
  384. package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
  385. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
  386. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
  387. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
  388. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
  389. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
  390. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
  391. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
  392. package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
  393. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
  394. package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
  395. package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
  396. package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
  397. package/module/codegen/cosmos/bundle.js +272 -103
  398. package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
  399. package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
  400. package/module/codegen/cosmos/client.js +21 -5
  401. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
  402. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
  403. package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
  404. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
  405. package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
  406. package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
  407. package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
  408. package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
  409. package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
  410. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
  411. package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
  412. package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
  413. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
  414. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
  415. package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
  416. package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
  417. package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
  418. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
  419. package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
  420. package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
  421. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
  422. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
  423. package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
  424. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
  425. package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
  426. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
  427. package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
  428. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
  429. package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
  430. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
  431. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
  432. package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
  433. package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
  434. package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
  435. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
  436. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
  437. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
  438. package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
  439. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
  440. package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
  441. package/module/codegen/cosmos/gov/v1/gov.js +471 -56
  442. package/module/codegen/cosmos/gov/v1/query.js +756 -53
  443. package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
  444. package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
  445. package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
  446. package/module/codegen/cosmos/gov/v1/tx.js +490 -35
  447. package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
  448. package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
  449. package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
  450. package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
  451. package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
  452. package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
  453. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
  454. package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
  455. package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
  456. package/module/codegen/cosmos/group/v1/events.js +705 -0
  457. package/module/codegen/cosmos/group/v1/genesis.js +173 -0
  458. package/module/codegen/cosmos/group/v1/query.js +2196 -0
  459. package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
  460. package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
  461. package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
  462. package/module/codegen/cosmos/group/v1/tx.js +2445 -0
  463. package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
  464. package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
  465. package/module/codegen/cosmos/group/v1/types.js +1511 -0
  466. package/module/codegen/cosmos/lcd.js +48 -1
  467. package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
  468. package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
  469. package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
  470. package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
  471. package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
  472. package/module/codegen/cosmos/msg/v1/msg.js +1 -0
  473. package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
  474. package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
  475. package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
  476. package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
  477. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
  478. package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
  479. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
  480. package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
  481. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
  482. package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
  483. package/module/codegen/cosmos/orm/v1/orm.js +368 -0
  484. package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
  485. package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
  486. package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
  487. package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
  488. package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
  489. package/module/codegen/cosmos/rpc.query.js +32 -0
  490. package/module/codegen/cosmos/rpc.tx.js +21 -0
  491. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
  492. package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
  493. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
  494. package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
  495. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
  496. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
  497. package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
  498. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
  499. package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
  500. package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
  501. package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
  502. package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
  503. package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
  504. package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
  505. package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
  506. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
  507. package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
  508. package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
  509. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
  510. package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
  511. package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
  512. package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
  513. package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
  514. package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
  515. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
  516. package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
  517. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
  518. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
  519. package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
  520. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
  521. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
  522. package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
  523. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
  524. package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
  525. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
  526. package/module/codegen/cosmos_proto/bundle.js +4 -4
  527. package/module/codegen/cosmos_proto/cosmos.js +121 -15
  528. package/module/codegen/cosmwasm/bundle.js +19 -19
  529. package/module/codegen/cosmwasm/client.js +3 -3
  530. package/module/codegen/cosmwasm/lcd.js +48 -1
  531. package/module/codegen/cosmwasm/rpc.query.js +32 -0
  532. package/module/codegen/cosmwasm/rpc.tx.js +21 -0
  533. package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
  534. package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
  535. package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
  536. package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
  537. package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
  538. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
  539. package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
  540. package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
  541. package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
  542. package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
  543. package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
  544. package/module/codegen/gaia/bundle.js +10 -10
  545. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
  546. package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
  547. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
  548. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
  549. package/module/codegen/gaia/lcd.js +48 -1
  550. package/module/codegen/gaia/rpc.query.js +32 -0
  551. package/module/codegen/gogoproto/bundle.js +4 -4
  552. package/module/codegen/google/api/annotations.js +1 -0
  553. package/module/codegen/google/api/http.js +1171 -0
  554. package/module/codegen/google/bundle.js +11 -8
  555. package/module/codegen/google/protobuf/any.js +278 -3
  556. package/module/codegen/google/protobuf/descriptor.js +1534 -165
  557. package/module/codegen/google/protobuf/duration.js +154 -7
  558. package/module/codegen/google/protobuf/empty.js +63 -3
  559. package/module/codegen/google/protobuf/timestamp.js +199 -7
  560. package/module/codegen/helpers.js +19 -46
  561. package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
  562. package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
  563. package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
  564. package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
  565. package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
  566. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
  567. package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
  568. package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
  569. package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
  570. package/module/codegen/ibc/bundle.js +69 -58
  571. package/module/codegen/ibc/client.js +3 -3
  572. package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
  573. package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
  574. package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
  575. package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
  576. package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
  577. package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
  578. package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
  579. package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
  580. package/module/codegen/ibc/core/client/v1/client.js +424 -24
  581. package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
  582. package/module/codegen/ibc/core/client/v1/query.js +861 -42
  583. package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
  584. package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
  585. package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
  586. package/module/codegen/ibc/core/client/v1/tx.js +402 -17
  587. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
  588. package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
  589. package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
  590. package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
  591. package/module/codegen/ibc/core/connection/v1/query.js +579 -33
  592. package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
  593. package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
  594. package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
  595. package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
  596. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
  597. package/module/codegen/ibc/core/port/v1/query.js +214 -0
  598. package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
  599. package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
  600. package/module/codegen/ibc/lcd.js +48 -1
  601. package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
  602. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
  603. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
  604. package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
  605. package/module/codegen/ibc/rpc.query.js +35 -0
  606. package/module/codegen/ibc/rpc.tx.js +21 -0
  607. package/module/codegen/ics23/bundle.js +4 -4
  608. package/module/codegen/index.js +5 -2
  609. package/module/codegen/juno/bundle.js +75 -22
  610. package/module/codegen/juno/client.js +15 -5
  611. package/module/codegen/juno/clock/v1/genesis.js +155 -0
  612. package/module/codegen/juno/clock/v1/query.js +256 -0
  613. package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
  614. package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
  615. package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
  616. package/module/codegen/juno/clock/v1/tx.js +167 -0
  617. package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
  618. package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
  619. package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
  620. package/module/codegen/juno/cwhooks/v1/query.js +385 -0
  621. package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
  622. package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
  623. package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
  624. package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
  625. package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
  626. package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
  627. package/module/codegen/juno/drip/v1/genesis.js +155 -0
  628. package/module/codegen/juno/drip/v1/query.js +127 -0
  629. package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
  630. package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
  631. package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
  632. package/module/codegen/juno/drip/v1/tx.js +294 -0
  633. package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
  634. package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
  635. package/module/codegen/juno/feepay/v1/feepay.js +207 -0
  636. package/module/codegen/juno/feepay/v1/genesis.js +157 -0
  637. package/module/codegen/juno/feepay/v1/query.js +725 -0
  638. package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
  639. package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
  640. package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
  641. package/module/codegen/juno/feepay/v1/tx.js +748 -0
  642. package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
  643. package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
  644. package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
  645. package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
  646. package/module/codegen/juno/feeshare/v1/query.js +433 -23
  647. package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
  648. package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
  649. package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
  650. package/module/codegen/juno/feeshare/v1/tx.js +400 -13
  651. package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
  652. package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
  653. package/module/codegen/juno/lcd.js +68 -1
  654. package/module/codegen/juno/mint/genesis.js +43 -5
  655. package/module/codegen/juno/mint/mint.js +115 -21
  656. package/module/codegen/juno/mint/query.js +378 -14
  657. package/module/codegen/juno/mint/query.lcd.js +6 -3
  658. package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
  659. package/module/codegen/juno/mint/tx.amino.js +8 -0
  660. package/module/codegen/juno/mint/tx.js +167 -0
  661. package/module/codegen/juno/mint/tx.registry.js +33 -0
  662. package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
  663. package/module/codegen/juno/rpc.query.js +44 -0
  664. package/module/codegen/juno/rpc.tx.js +35 -1
  665. package/module/codegen/osmosis/bundle.js +17 -17
  666. package/module/codegen/osmosis/client.js +3 -3
  667. package/module/codegen/osmosis/lcd.js +48 -1
  668. package/module/codegen/osmosis/rpc.query.js +32 -0
  669. package/module/codegen/osmosis/rpc.tx.js +21 -0
  670. package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
  671. package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
  672. package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
  673. package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
  674. package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
  675. package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
  676. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
  677. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
  678. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  679. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
  680. package/module/codegen/router/bundle.js +10 -10
  681. package/module/codegen/router/lcd.js +48 -1
  682. package/module/codegen/router/rpc.query.js +32 -0
  683. package/module/codegen/router/v1/genesis.js +217 -22
  684. package/module/codegen/router/v1/query.js +69 -5
  685. package/module/codegen/router/v1/query.lcd.js +0 -1
  686. package/module/codegen/router/v1/query.rpc.Query.js +2 -2
  687. package/module/codegen/tendermint/abci/types.js +1996 -220
  688. package/module/codegen/tendermint/bundle.js +19 -19
  689. package/module/codegen/tendermint/crypto/keys.js +42 -3
  690. package/module/codegen/tendermint/crypto/proof.js +221 -18
  691. package/module/codegen/tendermint/libs/bits/types.js +42 -8
  692. package/module/codegen/tendermint/p2p/types.js +226 -23
  693. package/module/codegen/tendermint/types/block.js +46 -6
  694. package/module/codegen/tendermint/types/evidence.js +191 -24
  695. package/module/codegen/tendermint/types/params.js +306 -43
  696. package/module/codegen/tendermint/types/types.js +666 -85
  697. package/module/codegen/tendermint/types/validator.js +132 -21
  698. package/module/codegen/tendermint/version/types.js +108 -15
  699. package/module/codegen/utf8.js +121 -0
  700. package/module/codegen/varint.js +420 -0
  701. package/package.json +8 -9
  702. package/src/codegen/amino/amino.ts +1 -0
  703. package/src/codegen/amino/bundle.ts +4 -0
  704. package/src/codegen/binary.ts +534 -0
  705. package/src/codegen/confio/proofs.ts +828 -387
  706. package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
  707. package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
  708. package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  709. package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
  710. package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
  711. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
  712. package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
  713. package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
  714. package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
  715. package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
  716. package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
  717. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
  718. package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
  719. package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
  720. package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
  721. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  722. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
  723. package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
  724. package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
  725. package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
  726. package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
  727. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
  728. package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
  729. package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
  730. package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
  731. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
  732. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
  733. package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
  734. package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
  735. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
  736. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
  737. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
  738. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
  739. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
  740. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
  741. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
  742. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
  743. package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
  744. package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
  745. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
  746. package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
  747. package/src/codegen/cosmos/bundle.ts +439 -157
  748. package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
  749. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
  750. package/src/codegen/cosmos/client.ts +31 -5
  751. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
  752. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
  753. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
  754. package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
  755. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
  756. package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
  757. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
  758. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
  759. package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
  760. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
  761. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
  762. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
  763. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
  764. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
  765. package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
  766. package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
  767. package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
  768. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
  769. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
  770. package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
  771. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
  772. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
  773. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
  774. package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
  775. package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  776. package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
  777. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  778. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
  779. package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
  780. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
  781. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
  782. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
  783. package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
  784. package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
  785. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
  786. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
  787. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
  788. package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
  789. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
  790. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
  791. package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
  792. package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
  793. package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
  794. package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
  795. package/src/codegen/cosmos/gov/v1/query.ts +929 -365
  796. package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
  797. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
  798. package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
  799. package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
  800. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
  801. package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
  802. package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
  803. package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
  804. package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
  805. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
  806. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
  807. package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
  808. package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
  809. package/src/codegen/cosmos/group/v1/events.ts +855 -0
  810. package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
  811. package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
  812. package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
  813. package/src/codegen/cosmos/group/v1/query.ts +2674 -0
  814. package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
  815. package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
  816. package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
  817. package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
  818. package/src/codegen/cosmos/group/v1/types.ts +1964 -0
  819. package/src/codegen/cosmos/lcd.ts +48 -1
  820. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
  821. package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
  822. package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
  823. package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  824. package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
  825. package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
  826. package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
  827. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
  828. package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
  829. package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
  830. package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
  831. package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
  832. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  833. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
  834. package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
  835. package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
  836. package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
  837. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
  838. package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
  839. package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
  840. package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
  841. package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
  842. package/src/codegen/cosmos/rpc.query.ts +32 -0
  843. package/src/codegen/cosmos/rpc.tx.ts +21 -0
  844. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
  845. package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
  846. package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  847. package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
  848. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
  849. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
  850. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
  851. package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
  852. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
  853. package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
  854. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
  855. package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
  856. package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
  857. package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
  858. package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
  859. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
  860. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
  861. package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
  862. package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
  863. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
  864. package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
  865. package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
  866. package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
  867. package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
  868. package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
  869. package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
  870. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
  871. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
  872. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
  873. package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
  874. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
  875. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
  876. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  877. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
  878. package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
  879. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
  880. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
  881. package/src/codegen/cosmos_proto/bundle.ts +3 -2
  882. package/src/codegen/cosmos_proto/cosmos.ts +125 -67
  883. package/src/codegen/cosmwasm/bundle.ts +32 -30
  884. package/src/codegen/cosmwasm/client.ts +5 -3
  885. package/src/codegen/cosmwasm/lcd.ts +48 -1
  886. package/src/codegen/cosmwasm/rpc.query.ts +32 -0
  887. package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
  888. package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
  889. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
  890. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
  891. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
  892. package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
  893. package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
  894. package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
  895. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
  896. package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
  897. package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
  898. package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
  899. package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
  900. package/src/codegen/gaia/bundle.ts +14 -12
  901. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
  902. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
  903. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
  904. package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
  905. package/src/codegen/gaia/lcd.ts +48 -1
  906. package/src/codegen/gaia/rpc.query.ts +32 -0
  907. package/src/codegen/gogoproto/bundle.ts +3 -2
  908. package/src/codegen/google/api/annotations.ts +1 -0
  909. package/src/codegen/google/api/http.ts +1351 -0
  910. package/src/codegen/google/bundle.ts +17 -10
  911. package/src/codegen/google/protobuf/any.ts +131 -24
  912. package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
  913. package/src/codegen/google/protobuf/duration.ts +106 -41
  914. package/src/codegen/google/protobuf/empty.ts +49 -16
  915. package/src/codegen/google/protobuf/timestamp.ts +127 -39
  916. package/src/codegen/helpers.ts +174 -166
  917. package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
  918. package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
  919. package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
  920. package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
  921. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
  922. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
  923. package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
  924. package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
  925. package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
  926. package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
  927. package/src/codegen/ibc/bundle.ts +115 -90
  928. package/src/codegen/ibc/client.ts +5 -3
  929. package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
  930. package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
  931. package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
  932. package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
  933. package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
  934. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
  935. package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
  936. package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
  937. package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
  938. package/src/codegen/ibc/core/client/v1/client.ts +463 -184
  939. package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
  940. package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
  941. package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
  942. package/src/codegen/ibc/core/client/v1/query.ts +929 -333
  943. package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
  944. package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
  945. package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
  946. package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
  947. package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
  948. package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
  949. package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
  950. package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
  951. package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
  952. package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
  953. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
  954. package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
  955. package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
  956. package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
  957. package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
  958. package/src/codegen/ibc/core/port/v1/query.ts +269 -0
  959. package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
  960. package/src/codegen/ibc/lcd.ts +48 -1
  961. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
  962. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
  963. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
  964. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
  965. package/src/codegen/ibc/rpc.query.ts +35 -0
  966. package/src/codegen/ibc/rpc.tx.ts +21 -0
  967. package/src/codegen/ics23/bundle.ts +3 -2
  968. package/src/codegen/index.ts +5 -2
  969. package/src/codegen/juno/bundle.ts +127 -34
  970. package/src/codegen/juno/client.ts +21 -4
  971. package/src/codegen/juno/clock/v1/genesis.ts +188 -0
  972. package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
  973. package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
  974. package/src/codegen/juno/clock/v1/query.ts +298 -0
  975. package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
  976. package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
  977. package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
  978. package/src/codegen/juno/clock/v1/tx.ts +203 -0
  979. package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
  980. package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
  981. package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
  982. package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
  983. package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
  984. package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
  985. package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
  986. package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
  987. package/src/codegen/juno/drip/v1/genesis.ts +190 -0
  988. package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
  989. package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
  990. package/src/codegen/juno/drip/v1/query.ts +151 -0
  991. package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
  992. package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
  993. package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
  994. package/src/codegen/juno/drip/v1/tx.ts +360 -0
  995. package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
  996. package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
  997. package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
  998. package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
  999. package/src/codegen/juno/feepay/v1/query.ts +886 -0
  1000. package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
  1001. package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
  1002. package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
  1003. package/src/codegen/juno/feepay/v1/tx.ts +905 -0
  1004. package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
  1005. package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
  1006. package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
  1007. package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
  1008. package/src/codegen/juno/feeshare/v1/query.ts +504 -203
  1009. package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
  1010. package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
  1011. package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
  1012. package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
  1013. package/src/codegen/juno/lcd.ts +68 -1
  1014. package/src/codegen/juno/mint/genesis.ts +58 -30
  1015. package/src/codegen/juno/mint/mint.ts +152 -73
  1016. package/src/codegen/juno/mint/query.lcd.ts +8 -10
  1017. package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
  1018. package/src/codegen/juno/mint/query.ts +431 -99
  1019. package/src/codegen/juno/mint/tx.amino.ts +8 -0
  1020. package/src/codegen/juno/mint/tx.registry.ts +34 -0
  1021. package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
  1022. package/src/codegen/juno/mint/tx.ts +203 -0
  1023. package/src/codegen/juno/rpc.query.ts +44 -0
  1024. package/src/codegen/juno/rpc.tx.ts +35 -1
  1025. package/src/codegen/osmosis/bundle.ts +28 -26
  1026. package/src/codegen/osmosis/client.ts +5 -3
  1027. package/src/codegen/osmosis/lcd.ts +48 -1
  1028. package/src/codegen/osmosis/rpc.query.ts +32 -0
  1029. package/src/codegen/osmosis/rpc.tx.ts +21 -0
  1030. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
  1031. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
  1032. package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
  1033. package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
  1034. package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
  1035. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
  1036. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
  1037. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
  1038. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
  1039. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
  1040. package/src/codegen/router/bundle.ts +14 -12
  1041. package/src/codegen/router/lcd.ts +48 -1
  1042. package/src/codegen/router/rpc.query.ts +32 -0
  1043. package/src/codegen/router/v1/genesis.ts +276 -119
  1044. package/src/codegen/router/v1/query.lcd.ts +1 -5
  1045. package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
  1046. package/src/codegen/router/v1/query.ts +85 -34
  1047. package/src/codegen/tendermint/abci/types.ts +2651 -1184
  1048. package/src/codegen/tendermint/bundle.ts +28 -22
  1049. package/src/codegen/tendermint/crypto/keys.ts +51 -20
  1050. package/src/codegen/tendermint/crypto/proof.ts +281 -108
  1051. package/src/codegen/tendermint/libs/bits/types.ts +62 -32
  1052. package/src/codegen/tendermint/p2p/types.ts +318 -126
  1053. package/src/codegen/tendermint/types/block.ts +70 -33
  1054. package/src/codegen/tendermint/types/evidence.ts +257 -112
  1055. package/src/codegen/tendermint/types/params.ts +383 -188
  1056. package/src/codegen/tendermint/types/types.ts +886 -437
  1057. package/src/codegen/tendermint/types/validator.ts +191 -84
  1058. package/src/codegen/tendermint/version/types.ts +125 -56
  1059. package/src/codegen/utf8.ts +148 -0
  1060. package/src/codegen/varint.ts +488 -0
  1061. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
  1062. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
  1063. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
  1064. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
  1065. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
  1066. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
  1067. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
  1068. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
  1069. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
  1070. package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
  1071. package/types/codegen/helpers.d.ts +1 -1
  1072. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
  1073. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
  1074. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
  1075. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
  1076. package/types/codegen/index.d.ts +1 -1
  1077. package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
  1078. package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
  1079. package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
  1080. package/types/codegen/router/v1/query.lcd.d.ts +1 -1
@@ -1,25 +1,38 @@
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";
1
+ import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
2
+ import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionAmino, IdentifiedConnectionSDKType } from "./connection";
3
+ import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType } from "../../client/v1/client";
4
+ import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any";
5
+ import { BinaryReader, BinaryWriter } from "../../../../binary";
6
+ import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
7
7
  /**
8
8
  * QueryConnectionRequest is the request type for the Query/Connection RPC
9
9
  * method
10
10
  */
11
-
12
11
  export interface QueryConnectionRequest {
13
12
  /** connection unique identifier */
14
13
  connectionId: string;
15
14
  }
15
+ export interface QueryConnectionRequestProtoMsg {
16
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest";
17
+ value: Uint8Array;
18
+ }
16
19
  /**
17
20
  * QueryConnectionRequest is the request type for the Query/Connection RPC
18
21
  * method
19
22
  */
20
-
21
- export interface QueryConnectionRequestSDKType {
23
+ export interface QueryConnectionRequestAmino {
22
24
  /** connection unique identifier */
25
+ connection_id?: string;
26
+ }
27
+ export interface QueryConnectionRequestAminoMsg {
28
+ type: "cosmos-sdk/QueryConnectionRequest";
29
+ value: QueryConnectionRequestAmino;
30
+ }
31
+ /**
32
+ * QueryConnectionRequest is the request type for the Query/Connection RPC
33
+ * method
34
+ */
35
+ export interface QueryConnectionRequestSDKType {
23
36
  connection_id: string;
24
37
  }
25
38
  /**
@@ -27,46 +40,71 @@ export interface QueryConnectionRequestSDKType {
27
40
  * method. Besides the connection end, it includes a proof and the height from
28
41
  * which the proof was retrieved.
29
42
  */
30
-
31
43
  export interface QueryConnectionResponse {
32
44
  /** connection associated with the request identifier */
33
45
  connection?: ConnectionEnd;
34
46
  /** merkle proof of existence */
35
-
36
47
  proof: Uint8Array;
37
48
  /** height at which the proof was retrieved */
38
-
39
- proofHeight?: Height;
49
+ proofHeight: Height;
50
+ }
51
+ export interface QueryConnectionResponseProtoMsg {
52
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse";
53
+ value: Uint8Array;
40
54
  }
41
55
  /**
42
56
  * QueryConnectionResponse is the response type for the Query/Connection RPC
43
57
  * method. Besides the connection end, it includes a proof and the height from
44
58
  * which the proof was retrieved.
45
59
  */
46
-
47
- export interface QueryConnectionResponseSDKType {
60
+ export interface QueryConnectionResponseAmino {
48
61
  /** connection associated with the request identifier */
49
- connection?: ConnectionEndSDKType;
62
+ connection?: ConnectionEndAmino;
50
63
  /** merkle proof of existence */
51
-
52
- proof: Uint8Array;
64
+ proof?: string;
53
65
  /** height at which the proof was retrieved */
54
-
55
- proof_height?: HeightSDKType;
66
+ proof_height?: HeightAmino;
67
+ }
68
+ export interface QueryConnectionResponseAminoMsg {
69
+ type: "cosmos-sdk/QueryConnectionResponse";
70
+ value: QueryConnectionResponseAmino;
71
+ }
72
+ /**
73
+ * QueryConnectionResponse is the response type for the Query/Connection RPC
74
+ * method. Besides the connection end, it includes a proof and the height from
75
+ * which the proof was retrieved.
76
+ */
77
+ export interface QueryConnectionResponseSDKType {
78
+ connection?: ConnectionEndSDKType;
79
+ proof: Uint8Array;
80
+ proof_height: HeightSDKType;
56
81
  }
57
82
  /**
58
83
  * QueryConnectionsRequest is the request type for the Query/Connections RPC
59
84
  * method
60
85
  */
61
-
62
86
  export interface QueryConnectionsRequest {
63
87
  pagination?: PageRequest;
64
88
  }
89
+ export interface QueryConnectionsRequestProtoMsg {
90
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest";
91
+ value: Uint8Array;
92
+ }
93
+ /**
94
+ * QueryConnectionsRequest is the request type for the Query/Connections RPC
95
+ * method
96
+ */
97
+ export interface QueryConnectionsRequestAmino {
98
+ pagination?: PageRequestAmino;
99
+ }
100
+ export interface QueryConnectionsRequestAminoMsg {
101
+ type: "cosmos-sdk/QueryConnectionsRequest";
102
+ value: QueryConnectionsRequestAmino;
103
+ }
65
104
  /**
66
105
  * QueryConnectionsRequest is the request type for the Query/Connections RPC
67
106
  * method
68
107
  */
69
-
70
108
  export interface QueryConnectionsRequestSDKType {
71
109
  pagination?: PageRequestSDKType;
72
110
  }
@@ -74,763 +112,1117 @@ export interface QueryConnectionsRequestSDKType {
74
112
  * QueryConnectionsResponse is the response type for the Query/Connections RPC
75
113
  * method.
76
114
  */
77
-
78
115
  export interface QueryConnectionsResponse {
79
116
  /** list of stored connections of the chain. */
80
117
  connections: IdentifiedConnection[];
81
118
  /** pagination response */
82
-
83
119
  pagination?: PageResponse;
84
120
  /** query block height */
85
-
86
- height?: Height;
121
+ height: Height;
122
+ }
123
+ export interface QueryConnectionsResponseProtoMsg {
124
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse";
125
+ value: Uint8Array;
87
126
  }
88
127
  /**
89
128
  * QueryConnectionsResponse is the response type for the Query/Connections RPC
90
129
  * method.
91
130
  */
92
-
93
- export interface QueryConnectionsResponseSDKType {
131
+ export interface QueryConnectionsResponseAmino {
94
132
  /** list of stored connections of the chain. */
95
- connections: IdentifiedConnectionSDKType[];
133
+ connections?: IdentifiedConnectionAmino[];
96
134
  /** pagination response */
97
-
98
- pagination?: PageResponseSDKType;
135
+ pagination?: PageResponseAmino;
99
136
  /** query block height */
100
-
101
- height?: HeightSDKType;
137
+ height?: HeightAmino;
138
+ }
139
+ export interface QueryConnectionsResponseAminoMsg {
140
+ type: "cosmos-sdk/QueryConnectionsResponse";
141
+ value: QueryConnectionsResponseAmino;
142
+ }
143
+ /**
144
+ * QueryConnectionsResponse is the response type for the Query/Connections RPC
145
+ * method.
146
+ */
147
+ export interface QueryConnectionsResponseSDKType {
148
+ connections: IdentifiedConnectionSDKType[];
149
+ pagination?: PageResponseSDKType;
150
+ height: HeightSDKType;
102
151
  }
103
152
  /**
104
153
  * QueryClientConnectionsRequest is the request type for the
105
154
  * Query/ClientConnections RPC method
106
155
  */
107
-
108
156
  export interface QueryClientConnectionsRequest {
109
157
  /** client identifier associated with a connection */
110
158
  clientId: string;
111
159
  }
160
+ export interface QueryClientConnectionsRequestProtoMsg {
161
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest";
162
+ value: Uint8Array;
163
+ }
112
164
  /**
113
165
  * QueryClientConnectionsRequest is the request type for the
114
166
  * Query/ClientConnections RPC method
115
167
  */
116
-
117
- export interface QueryClientConnectionsRequestSDKType {
168
+ export interface QueryClientConnectionsRequestAmino {
118
169
  /** client identifier associated with a connection */
170
+ client_id?: string;
171
+ }
172
+ export interface QueryClientConnectionsRequestAminoMsg {
173
+ type: "cosmos-sdk/QueryClientConnectionsRequest";
174
+ value: QueryClientConnectionsRequestAmino;
175
+ }
176
+ /**
177
+ * QueryClientConnectionsRequest is the request type for the
178
+ * Query/ClientConnections RPC method
179
+ */
180
+ export interface QueryClientConnectionsRequestSDKType {
119
181
  client_id: string;
120
182
  }
121
183
  /**
122
184
  * QueryClientConnectionsResponse is the response type for the
123
185
  * Query/ClientConnections RPC method
124
186
  */
125
-
126
187
  export interface QueryClientConnectionsResponse {
127
188
  /** slice of all the connection paths associated with a client. */
128
189
  connectionPaths: string[];
129
190
  /** merkle proof of existence */
130
-
131
191
  proof: Uint8Array;
132
192
  /** height at which the proof was generated */
133
-
134
- proofHeight?: Height;
193
+ proofHeight: Height;
194
+ }
195
+ export interface QueryClientConnectionsResponseProtoMsg {
196
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse";
197
+ value: Uint8Array;
135
198
  }
136
199
  /**
137
200
  * QueryClientConnectionsResponse is the response type for the
138
201
  * Query/ClientConnections RPC method
139
202
  */
140
-
141
- export interface QueryClientConnectionsResponseSDKType {
203
+ export interface QueryClientConnectionsResponseAmino {
142
204
  /** slice of all the connection paths associated with a client. */
143
- connection_paths: string[];
205
+ connection_paths?: string[];
144
206
  /** merkle proof of existence */
145
-
146
- proof: Uint8Array;
207
+ proof?: string;
147
208
  /** height at which the proof was generated */
148
-
149
- proof_height?: HeightSDKType;
209
+ proof_height?: HeightAmino;
210
+ }
211
+ export interface QueryClientConnectionsResponseAminoMsg {
212
+ type: "cosmos-sdk/QueryClientConnectionsResponse";
213
+ value: QueryClientConnectionsResponseAmino;
214
+ }
215
+ /**
216
+ * QueryClientConnectionsResponse is the response type for the
217
+ * Query/ClientConnections RPC method
218
+ */
219
+ export interface QueryClientConnectionsResponseSDKType {
220
+ connection_paths: string[];
221
+ proof: Uint8Array;
222
+ proof_height: HeightSDKType;
150
223
  }
151
224
  /**
152
225
  * QueryConnectionClientStateRequest is the request type for the
153
226
  * Query/ConnectionClientState RPC method
154
227
  */
155
-
156
228
  export interface QueryConnectionClientStateRequest {
157
229
  /** connection identifier */
158
230
  connectionId: string;
159
231
  }
232
+ export interface QueryConnectionClientStateRequestProtoMsg {
233
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest";
234
+ value: Uint8Array;
235
+ }
160
236
  /**
161
237
  * QueryConnectionClientStateRequest is the request type for the
162
238
  * Query/ConnectionClientState RPC method
163
239
  */
164
-
165
- export interface QueryConnectionClientStateRequestSDKType {
240
+ export interface QueryConnectionClientStateRequestAmino {
166
241
  /** connection identifier */
242
+ connection_id?: string;
243
+ }
244
+ export interface QueryConnectionClientStateRequestAminoMsg {
245
+ type: "cosmos-sdk/QueryConnectionClientStateRequest";
246
+ value: QueryConnectionClientStateRequestAmino;
247
+ }
248
+ /**
249
+ * QueryConnectionClientStateRequest is the request type for the
250
+ * Query/ConnectionClientState RPC method
251
+ */
252
+ export interface QueryConnectionClientStateRequestSDKType {
167
253
  connection_id: string;
168
254
  }
169
255
  /**
170
256
  * QueryConnectionClientStateResponse is the response type for the
171
257
  * Query/ConnectionClientState RPC method
172
258
  */
173
-
174
259
  export interface QueryConnectionClientStateResponse {
175
260
  /** client state associated with the channel */
176
261
  identifiedClientState?: IdentifiedClientState;
177
262
  /** merkle proof of existence */
178
-
179
263
  proof: Uint8Array;
180
264
  /** height at which the proof was retrieved */
181
-
182
- proofHeight?: Height;
265
+ proofHeight: Height;
266
+ }
267
+ export interface QueryConnectionClientStateResponseProtoMsg {
268
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse";
269
+ value: Uint8Array;
183
270
  }
184
271
  /**
185
272
  * QueryConnectionClientStateResponse is the response type for the
186
273
  * Query/ConnectionClientState RPC method
187
274
  */
188
-
189
- export interface QueryConnectionClientStateResponseSDKType {
275
+ export interface QueryConnectionClientStateResponseAmino {
190
276
  /** client state associated with the channel */
191
- identified_client_state?: IdentifiedClientStateSDKType;
277
+ identified_client_state?: IdentifiedClientStateAmino;
192
278
  /** merkle proof of existence */
193
-
194
- proof: Uint8Array;
279
+ proof?: string;
195
280
  /** height at which the proof was retrieved */
196
-
197
- proof_height?: HeightSDKType;
281
+ proof_height?: HeightAmino;
282
+ }
283
+ export interface QueryConnectionClientStateResponseAminoMsg {
284
+ type: "cosmos-sdk/QueryConnectionClientStateResponse";
285
+ value: QueryConnectionClientStateResponseAmino;
286
+ }
287
+ /**
288
+ * QueryConnectionClientStateResponse is the response type for the
289
+ * Query/ConnectionClientState RPC method
290
+ */
291
+ export interface QueryConnectionClientStateResponseSDKType {
292
+ identified_client_state?: IdentifiedClientStateSDKType;
293
+ proof: Uint8Array;
294
+ proof_height: HeightSDKType;
198
295
  }
199
296
  /**
200
297
  * QueryConnectionConsensusStateRequest is the request type for the
201
298
  * Query/ConnectionConsensusState RPC method
202
299
  */
203
-
204
300
  export interface QueryConnectionConsensusStateRequest {
205
301
  /** connection identifier */
206
302
  connectionId: string;
207
- revisionNumber: Long;
208
- revisionHeight: Long;
303
+ revisionNumber: bigint;
304
+ revisionHeight: bigint;
305
+ }
306
+ export interface QueryConnectionConsensusStateRequestProtoMsg {
307
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest";
308
+ value: Uint8Array;
209
309
  }
210
310
  /**
211
311
  * QueryConnectionConsensusStateRequest is the request type for the
212
312
  * Query/ConnectionConsensusState RPC method
213
313
  */
214
-
215
- export interface QueryConnectionConsensusStateRequestSDKType {
314
+ export interface QueryConnectionConsensusStateRequestAmino {
216
315
  /** connection identifier */
316
+ connection_id?: string;
317
+ revision_number?: string;
318
+ revision_height?: string;
319
+ }
320
+ export interface QueryConnectionConsensusStateRequestAminoMsg {
321
+ type: "cosmos-sdk/QueryConnectionConsensusStateRequest";
322
+ value: QueryConnectionConsensusStateRequestAmino;
323
+ }
324
+ /**
325
+ * QueryConnectionConsensusStateRequest is the request type for the
326
+ * Query/ConnectionConsensusState RPC method
327
+ */
328
+ export interface QueryConnectionConsensusStateRequestSDKType {
217
329
  connection_id: string;
218
- revision_number: Long;
219
- revision_height: Long;
330
+ revision_number: bigint;
331
+ revision_height: bigint;
220
332
  }
221
333
  /**
222
334
  * QueryConnectionConsensusStateResponse is the response type for the
223
335
  * Query/ConnectionConsensusState RPC method
224
336
  */
225
-
226
337
  export interface QueryConnectionConsensusStateResponse {
227
338
  /** consensus state associated with the channel */
228
339
  consensusState?: Any;
229
340
  /** client ID associated with the consensus state */
230
-
231
341
  clientId: string;
232
342
  /** merkle proof of existence */
233
-
234
343
  proof: Uint8Array;
235
344
  /** height at which the proof was retrieved */
236
-
237
- proofHeight?: Height;
345
+ proofHeight: Height;
346
+ }
347
+ export interface QueryConnectionConsensusStateResponseProtoMsg {
348
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse";
349
+ value: Uint8Array;
238
350
  }
239
351
  /**
240
352
  * QueryConnectionConsensusStateResponse is the response type for the
241
353
  * Query/ConnectionConsensusState RPC method
242
354
  */
243
-
244
- export interface QueryConnectionConsensusStateResponseSDKType {
355
+ export interface QueryConnectionConsensusStateResponseAmino {
245
356
  /** consensus state associated with the channel */
246
- consensus_state?: AnySDKType;
357
+ consensus_state?: AnyAmino;
247
358
  /** client ID associated with the consensus state */
248
-
249
- client_id: string;
359
+ client_id?: string;
250
360
  /** merkle proof of existence */
251
-
252
- proof: Uint8Array;
361
+ proof?: string;
253
362
  /** height at which the proof was retrieved */
254
-
255
- proof_height?: HeightSDKType;
363
+ proof_height?: HeightAmino;
364
+ }
365
+ export interface QueryConnectionConsensusStateResponseAminoMsg {
366
+ type: "cosmos-sdk/QueryConnectionConsensusStateResponse";
367
+ value: QueryConnectionConsensusStateResponseAmino;
368
+ }
369
+ /**
370
+ * QueryConnectionConsensusStateResponse is the response type for the
371
+ * Query/ConnectionConsensusState RPC method
372
+ */
373
+ export interface QueryConnectionConsensusStateResponseSDKType {
374
+ consensus_state?: AnySDKType;
375
+ client_id: string;
376
+ proof: Uint8Array;
377
+ proof_height: HeightSDKType;
256
378
  }
257
-
258
379
  function createBaseQueryConnectionRequest(): QueryConnectionRequest {
259
380
  return {
260
381
  connectionId: ""
261
382
  };
262
383
  }
263
-
264
384
  export const QueryConnectionRequest = {
265
- encode(message: QueryConnectionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
385
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest",
386
+ encode(message: QueryConnectionRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
266
387
  if (message.connectionId !== "") {
267
388
  writer.uint32(10).string(message.connectionId);
268
389
  }
269
-
270
390
  return writer;
271
391
  },
272
-
273
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest {
274
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
392
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionRequest {
393
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
275
394
  let end = length === undefined ? reader.len : reader.pos + length;
276
395
  const message = createBaseQueryConnectionRequest();
277
-
278
396
  while (reader.pos < end) {
279
397
  const tag = reader.uint32();
280
-
281
398
  switch (tag >>> 3) {
282
399
  case 1:
283
400
  message.connectionId = reader.string();
284
401
  break;
285
-
286
402
  default:
287
403
  reader.skipType(tag & 7);
288
404
  break;
289
405
  }
290
406
  }
291
-
292
407
  return message;
293
408
  },
294
-
295
- fromPartial(object: DeepPartial<QueryConnectionRequest>): QueryConnectionRequest {
409
+ fromPartial(object: Partial<QueryConnectionRequest>): QueryConnectionRequest {
296
410
  const message = createBaseQueryConnectionRequest();
297
411
  message.connectionId = object.connectionId ?? "";
298
412
  return message;
413
+ },
414
+ fromAmino(object: QueryConnectionRequestAmino): QueryConnectionRequest {
415
+ const message = createBaseQueryConnectionRequest();
416
+ if (object.connection_id !== undefined && object.connection_id !== null) {
417
+ message.connectionId = object.connection_id;
418
+ }
419
+ return message;
420
+ },
421
+ toAmino(message: QueryConnectionRequest): QueryConnectionRequestAmino {
422
+ const obj: any = {};
423
+ obj.connection_id = message.connectionId;
424
+ return obj;
425
+ },
426
+ fromAminoMsg(object: QueryConnectionRequestAminoMsg): QueryConnectionRequest {
427
+ return QueryConnectionRequest.fromAmino(object.value);
428
+ },
429
+ toAminoMsg(message: QueryConnectionRequest): QueryConnectionRequestAminoMsg {
430
+ return {
431
+ type: "cosmos-sdk/QueryConnectionRequest",
432
+ value: QueryConnectionRequest.toAmino(message)
433
+ };
434
+ },
435
+ fromProtoMsg(message: QueryConnectionRequestProtoMsg): QueryConnectionRequest {
436
+ return QueryConnectionRequest.decode(message.value);
437
+ },
438
+ toProto(message: QueryConnectionRequest): Uint8Array {
439
+ return QueryConnectionRequest.encode(message).finish();
440
+ },
441
+ toProtoMsg(message: QueryConnectionRequest): QueryConnectionRequestProtoMsg {
442
+ return {
443
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest",
444
+ value: QueryConnectionRequest.encode(message).finish()
445
+ };
299
446
  }
300
-
301
447
  };
302
-
303
448
  function createBaseQueryConnectionResponse(): QueryConnectionResponse {
304
449
  return {
305
450
  connection: undefined,
306
451
  proof: new Uint8Array(),
307
- proofHeight: undefined
452
+ proofHeight: Height.fromPartial({})
308
453
  };
309
454
  }
310
-
311
455
  export const QueryConnectionResponse = {
312
- encode(message: QueryConnectionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
456
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse",
457
+ encode(message: QueryConnectionResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
313
458
  if (message.connection !== undefined) {
314
459
  ConnectionEnd.encode(message.connection, writer.uint32(10).fork()).ldelim();
315
460
  }
316
-
317
461
  if (message.proof.length !== 0) {
318
462
  writer.uint32(18).bytes(message.proof);
319
463
  }
320
-
321
464
  if (message.proofHeight !== undefined) {
322
465
  Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
323
466
  }
324
-
325
467
  return writer;
326
468
  },
327
-
328
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse {
329
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
469
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionResponse {
470
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
330
471
  let end = length === undefined ? reader.len : reader.pos + length;
331
472
  const message = createBaseQueryConnectionResponse();
332
-
333
473
  while (reader.pos < end) {
334
474
  const tag = reader.uint32();
335
-
336
475
  switch (tag >>> 3) {
337
476
  case 1:
338
477
  message.connection = ConnectionEnd.decode(reader, reader.uint32());
339
478
  break;
340
-
341
479
  case 2:
342
480
  message.proof = reader.bytes();
343
481
  break;
344
-
345
482
  case 3:
346
483
  message.proofHeight = Height.decode(reader, reader.uint32());
347
484
  break;
348
-
349
485
  default:
350
486
  reader.skipType(tag & 7);
351
487
  break;
352
488
  }
353
489
  }
354
-
355
490
  return message;
356
491
  },
357
-
358
- fromPartial(object: DeepPartial<QueryConnectionResponse>): QueryConnectionResponse {
492
+ fromPartial(object: Partial<QueryConnectionResponse>): QueryConnectionResponse {
359
493
  const message = createBaseQueryConnectionResponse();
360
494
  message.connection = object.connection !== undefined && object.connection !== null ? ConnectionEnd.fromPartial(object.connection) : undefined;
361
495
  message.proof = object.proof ?? new Uint8Array();
362
496
  message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
363
497
  return message;
498
+ },
499
+ fromAmino(object: QueryConnectionResponseAmino): QueryConnectionResponse {
500
+ const message = createBaseQueryConnectionResponse();
501
+ if (object.connection !== undefined && object.connection !== null) {
502
+ message.connection = ConnectionEnd.fromAmino(object.connection);
503
+ }
504
+ if (object.proof !== undefined && object.proof !== null) {
505
+ message.proof = bytesFromBase64(object.proof);
506
+ }
507
+ if (object.proof_height !== undefined && object.proof_height !== null) {
508
+ message.proofHeight = Height.fromAmino(object.proof_height);
509
+ }
510
+ return message;
511
+ },
512
+ toAmino(message: QueryConnectionResponse): QueryConnectionResponseAmino {
513
+ const obj: any = {};
514
+ obj.connection = message.connection ? ConnectionEnd.toAmino(message.connection) : undefined;
515
+ obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
516
+ obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
517
+ return obj;
518
+ },
519
+ fromAminoMsg(object: QueryConnectionResponseAminoMsg): QueryConnectionResponse {
520
+ return QueryConnectionResponse.fromAmino(object.value);
521
+ },
522
+ toAminoMsg(message: QueryConnectionResponse): QueryConnectionResponseAminoMsg {
523
+ return {
524
+ type: "cosmos-sdk/QueryConnectionResponse",
525
+ value: QueryConnectionResponse.toAmino(message)
526
+ };
527
+ },
528
+ fromProtoMsg(message: QueryConnectionResponseProtoMsg): QueryConnectionResponse {
529
+ return QueryConnectionResponse.decode(message.value);
530
+ },
531
+ toProto(message: QueryConnectionResponse): Uint8Array {
532
+ return QueryConnectionResponse.encode(message).finish();
533
+ },
534
+ toProtoMsg(message: QueryConnectionResponse): QueryConnectionResponseProtoMsg {
535
+ return {
536
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse",
537
+ value: QueryConnectionResponse.encode(message).finish()
538
+ };
364
539
  }
365
-
366
540
  };
367
-
368
541
  function createBaseQueryConnectionsRequest(): QueryConnectionsRequest {
369
542
  return {
370
543
  pagination: undefined
371
544
  };
372
545
  }
373
-
374
546
  export const QueryConnectionsRequest = {
375
- encode(message: QueryConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
547
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest",
548
+ encode(message: QueryConnectionsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
376
549
  if (message.pagination !== undefined) {
377
550
  PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
378
551
  }
379
-
380
552
  return writer;
381
553
  },
382
-
383
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest {
384
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
554
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsRequest {
555
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
385
556
  let end = length === undefined ? reader.len : reader.pos + length;
386
557
  const message = createBaseQueryConnectionsRequest();
387
-
388
558
  while (reader.pos < end) {
389
559
  const tag = reader.uint32();
390
-
391
560
  switch (tag >>> 3) {
392
561
  case 1:
393
562
  message.pagination = PageRequest.decode(reader, reader.uint32());
394
563
  break;
395
-
396
564
  default:
397
565
  reader.skipType(tag & 7);
398
566
  break;
399
567
  }
400
568
  }
401
-
402
569
  return message;
403
570
  },
404
-
405
- fromPartial(object: DeepPartial<QueryConnectionsRequest>): QueryConnectionsRequest {
571
+ fromPartial(object: Partial<QueryConnectionsRequest>): QueryConnectionsRequest {
406
572
  const message = createBaseQueryConnectionsRequest();
407
573
  message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
408
574
  return message;
575
+ },
576
+ fromAmino(object: QueryConnectionsRequestAmino): QueryConnectionsRequest {
577
+ const message = createBaseQueryConnectionsRequest();
578
+ if (object.pagination !== undefined && object.pagination !== null) {
579
+ message.pagination = PageRequest.fromAmino(object.pagination);
580
+ }
581
+ return message;
582
+ },
583
+ toAmino(message: QueryConnectionsRequest): QueryConnectionsRequestAmino {
584
+ const obj: any = {};
585
+ obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
586
+ return obj;
587
+ },
588
+ fromAminoMsg(object: QueryConnectionsRequestAminoMsg): QueryConnectionsRequest {
589
+ return QueryConnectionsRequest.fromAmino(object.value);
590
+ },
591
+ toAminoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestAminoMsg {
592
+ return {
593
+ type: "cosmos-sdk/QueryConnectionsRequest",
594
+ value: QueryConnectionsRequest.toAmino(message)
595
+ };
596
+ },
597
+ fromProtoMsg(message: QueryConnectionsRequestProtoMsg): QueryConnectionsRequest {
598
+ return QueryConnectionsRequest.decode(message.value);
599
+ },
600
+ toProto(message: QueryConnectionsRequest): Uint8Array {
601
+ return QueryConnectionsRequest.encode(message).finish();
602
+ },
603
+ toProtoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestProtoMsg {
604
+ return {
605
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest",
606
+ value: QueryConnectionsRequest.encode(message).finish()
607
+ };
409
608
  }
410
-
411
609
  };
412
-
413
610
  function createBaseQueryConnectionsResponse(): QueryConnectionsResponse {
414
611
  return {
415
612
  connections: [],
416
613
  pagination: undefined,
417
- height: undefined
614
+ height: Height.fromPartial({})
418
615
  };
419
616
  }
420
-
421
617
  export const QueryConnectionsResponse = {
422
- encode(message: QueryConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
618
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse",
619
+ encode(message: QueryConnectionsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
423
620
  for (const v of message.connections) {
424
621
  IdentifiedConnection.encode(v!, writer.uint32(10).fork()).ldelim();
425
622
  }
426
-
427
623
  if (message.pagination !== undefined) {
428
624
  PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
429
625
  }
430
-
431
626
  if (message.height !== undefined) {
432
627
  Height.encode(message.height, writer.uint32(26).fork()).ldelim();
433
628
  }
434
-
435
629
  return writer;
436
630
  },
437
-
438
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse {
439
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
631
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsResponse {
632
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
440
633
  let end = length === undefined ? reader.len : reader.pos + length;
441
634
  const message = createBaseQueryConnectionsResponse();
442
-
443
635
  while (reader.pos < end) {
444
636
  const tag = reader.uint32();
445
-
446
637
  switch (tag >>> 3) {
447
638
  case 1:
448
639
  message.connections.push(IdentifiedConnection.decode(reader, reader.uint32()));
449
640
  break;
450
-
451
641
  case 2:
452
642
  message.pagination = PageResponse.decode(reader, reader.uint32());
453
643
  break;
454
-
455
644
  case 3:
456
645
  message.height = Height.decode(reader, reader.uint32());
457
646
  break;
458
-
459
647
  default:
460
648
  reader.skipType(tag & 7);
461
649
  break;
462
650
  }
463
651
  }
464
-
465
652
  return message;
466
653
  },
467
-
468
- fromPartial(object: DeepPartial<QueryConnectionsResponse>): QueryConnectionsResponse {
654
+ fromPartial(object: Partial<QueryConnectionsResponse>): QueryConnectionsResponse {
469
655
  const message = createBaseQueryConnectionsResponse();
470
656
  message.connections = object.connections?.map(e => IdentifiedConnection.fromPartial(e)) || [];
471
657
  message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
472
658
  message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined;
473
659
  return message;
660
+ },
661
+ fromAmino(object: QueryConnectionsResponseAmino): QueryConnectionsResponse {
662
+ const message = createBaseQueryConnectionsResponse();
663
+ message.connections = object.connections?.map(e => IdentifiedConnection.fromAmino(e)) || [];
664
+ if (object.pagination !== undefined && object.pagination !== null) {
665
+ message.pagination = PageResponse.fromAmino(object.pagination);
666
+ }
667
+ if (object.height !== undefined && object.height !== null) {
668
+ message.height = Height.fromAmino(object.height);
669
+ }
670
+ return message;
671
+ },
672
+ toAmino(message: QueryConnectionsResponse): QueryConnectionsResponseAmino {
673
+ const obj: any = {};
674
+ if (message.connections) {
675
+ obj.connections = message.connections.map(e => e ? IdentifiedConnection.toAmino(e) : undefined);
676
+ } else {
677
+ obj.connections = [];
678
+ }
679
+ obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
680
+ obj.height = message.height ? Height.toAmino(message.height) : {};
681
+ return obj;
682
+ },
683
+ fromAminoMsg(object: QueryConnectionsResponseAminoMsg): QueryConnectionsResponse {
684
+ return QueryConnectionsResponse.fromAmino(object.value);
685
+ },
686
+ toAminoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseAminoMsg {
687
+ return {
688
+ type: "cosmos-sdk/QueryConnectionsResponse",
689
+ value: QueryConnectionsResponse.toAmino(message)
690
+ };
691
+ },
692
+ fromProtoMsg(message: QueryConnectionsResponseProtoMsg): QueryConnectionsResponse {
693
+ return QueryConnectionsResponse.decode(message.value);
694
+ },
695
+ toProto(message: QueryConnectionsResponse): Uint8Array {
696
+ return QueryConnectionsResponse.encode(message).finish();
697
+ },
698
+ toProtoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseProtoMsg {
699
+ return {
700
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse",
701
+ value: QueryConnectionsResponse.encode(message).finish()
702
+ };
474
703
  }
475
-
476
704
  };
477
-
478
705
  function createBaseQueryClientConnectionsRequest(): QueryClientConnectionsRequest {
479
706
  return {
480
707
  clientId: ""
481
708
  };
482
709
  }
483
-
484
710
  export const QueryClientConnectionsRequest = {
485
- encode(message: QueryClientConnectionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
711
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest",
712
+ encode(message: QueryClientConnectionsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
486
713
  if (message.clientId !== "") {
487
714
  writer.uint32(10).string(message.clientId);
488
715
  }
489
-
490
716
  return writer;
491
717
  },
492
-
493
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest {
494
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
718
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsRequest {
719
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
495
720
  let end = length === undefined ? reader.len : reader.pos + length;
496
721
  const message = createBaseQueryClientConnectionsRequest();
497
-
498
722
  while (reader.pos < end) {
499
723
  const tag = reader.uint32();
500
-
501
724
  switch (tag >>> 3) {
502
725
  case 1:
503
726
  message.clientId = reader.string();
504
727
  break;
505
-
506
728
  default:
507
729
  reader.skipType(tag & 7);
508
730
  break;
509
731
  }
510
732
  }
511
-
512
733
  return message;
513
734
  },
514
-
515
- fromPartial(object: DeepPartial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest {
735
+ fromPartial(object: Partial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest {
516
736
  const message = createBaseQueryClientConnectionsRequest();
517
737
  message.clientId = object.clientId ?? "";
518
738
  return message;
739
+ },
740
+ fromAmino(object: QueryClientConnectionsRequestAmino): QueryClientConnectionsRequest {
741
+ const message = createBaseQueryClientConnectionsRequest();
742
+ if (object.client_id !== undefined && object.client_id !== null) {
743
+ message.clientId = object.client_id;
744
+ }
745
+ return message;
746
+ },
747
+ toAmino(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAmino {
748
+ const obj: any = {};
749
+ obj.client_id = message.clientId;
750
+ return obj;
751
+ },
752
+ fromAminoMsg(object: QueryClientConnectionsRequestAminoMsg): QueryClientConnectionsRequest {
753
+ return QueryClientConnectionsRequest.fromAmino(object.value);
754
+ },
755
+ toAminoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAminoMsg {
756
+ return {
757
+ type: "cosmos-sdk/QueryClientConnectionsRequest",
758
+ value: QueryClientConnectionsRequest.toAmino(message)
759
+ };
760
+ },
761
+ fromProtoMsg(message: QueryClientConnectionsRequestProtoMsg): QueryClientConnectionsRequest {
762
+ return QueryClientConnectionsRequest.decode(message.value);
763
+ },
764
+ toProto(message: QueryClientConnectionsRequest): Uint8Array {
765
+ return QueryClientConnectionsRequest.encode(message).finish();
766
+ },
767
+ toProtoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestProtoMsg {
768
+ return {
769
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest",
770
+ value: QueryClientConnectionsRequest.encode(message).finish()
771
+ };
519
772
  }
520
-
521
773
  };
522
-
523
774
  function createBaseQueryClientConnectionsResponse(): QueryClientConnectionsResponse {
524
775
  return {
525
776
  connectionPaths: [],
526
777
  proof: new Uint8Array(),
527
- proofHeight: undefined
778
+ proofHeight: Height.fromPartial({})
528
779
  };
529
780
  }
530
-
531
781
  export const QueryClientConnectionsResponse = {
532
- encode(message: QueryClientConnectionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
782
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse",
783
+ encode(message: QueryClientConnectionsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
533
784
  for (const v of message.connectionPaths) {
534
785
  writer.uint32(10).string(v!);
535
786
  }
536
-
537
787
  if (message.proof.length !== 0) {
538
788
  writer.uint32(18).bytes(message.proof);
539
789
  }
540
-
541
790
  if (message.proofHeight !== undefined) {
542
791
  Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
543
792
  }
544
-
545
793
  return writer;
546
794
  },
547
-
548
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse {
549
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
795
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsResponse {
796
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
550
797
  let end = length === undefined ? reader.len : reader.pos + length;
551
798
  const message = createBaseQueryClientConnectionsResponse();
552
-
553
799
  while (reader.pos < end) {
554
800
  const tag = reader.uint32();
555
-
556
801
  switch (tag >>> 3) {
557
802
  case 1:
558
803
  message.connectionPaths.push(reader.string());
559
804
  break;
560
-
561
805
  case 2:
562
806
  message.proof = reader.bytes();
563
807
  break;
564
-
565
808
  case 3:
566
809
  message.proofHeight = Height.decode(reader, reader.uint32());
567
810
  break;
568
-
569
811
  default:
570
812
  reader.skipType(tag & 7);
571
813
  break;
572
814
  }
573
815
  }
574
-
575
816
  return message;
576
817
  },
577
-
578
- fromPartial(object: DeepPartial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse {
818
+ fromPartial(object: Partial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse {
579
819
  const message = createBaseQueryClientConnectionsResponse();
580
820
  message.connectionPaths = object.connectionPaths?.map(e => e) || [];
581
821
  message.proof = object.proof ?? new Uint8Array();
582
822
  message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
583
823
  return message;
824
+ },
825
+ fromAmino(object: QueryClientConnectionsResponseAmino): QueryClientConnectionsResponse {
826
+ const message = createBaseQueryClientConnectionsResponse();
827
+ message.connectionPaths = object.connection_paths?.map(e => e) || [];
828
+ if (object.proof !== undefined && object.proof !== null) {
829
+ message.proof = bytesFromBase64(object.proof);
830
+ }
831
+ if (object.proof_height !== undefined && object.proof_height !== null) {
832
+ message.proofHeight = Height.fromAmino(object.proof_height);
833
+ }
834
+ return message;
835
+ },
836
+ toAmino(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAmino {
837
+ const obj: any = {};
838
+ if (message.connectionPaths) {
839
+ obj.connection_paths = message.connectionPaths.map(e => e);
840
+ } else {
841
+ obj.connection_paths = [];
842
+ }
843
+ obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
844
+ obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
845
+ return obj;
846
+ },
847
+ fromAminoMsg(object: QueryClientConnectionsResponseAminoMsg): QueryClientConnectionsResponse {
848
+ return QueryClientConnectionsResponse.fromAmino(object.value);
849
+ },
850
+ toAminoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAminoMsg {
851
+ return {
852
+ type: "cosmos-sdk/QueryClientConnectionsResponse",
853
+ value: QueryClientConnectionsResponse.toAmino(message)
854
+ };
855
+ },
856
+ fromProtoMsg(message: QueryClientConnectionsResponseProtoMsg): QueryClientConnectionsResponse {
857
+ return QueryClientConnectionsResponse.decode(message.value);
858
+ },
859
+ toProto(message: QueryClientConnectionsResponse): Uint8Array {
860
+ return QueryClientConnectionsResponse.encode(message).finish();
861
+ },
862
+ toProtoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseProtoMsg {
863
+ return {
864
+ typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse",
865
+ value: QueryClientConnectionsResponse.encode(message).finish()
866
+ };
584
867
  }
585
-
586
868
  };
587
-
588
869
  function createBaseQueryConnectionClientStateRequest(): QueryConnectionClientStateRequest {
589
870
  return {
590
871
  connectionId: ""
591
872
  };
592
873
  }
593
-
594
874
  export const QueryConnectionClientStateRequest = {
595
- encode(message: QueryConnectionClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
875
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest",
876
+ encode(message: QueryConnectionClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
596
877
  if (message.connectionId !== "") {
597
878
  writer.uint32(10).string(message.connectionId);
598
879
  }
599
-
600
880
  return writer;
601
881
  },
602
-
603
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest {
604
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
882
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateRequest {
883
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
605
884
  let end = length === undefined ? reader.len : reader.pos + length;
606
885
  const message = createBaseQueryConnectionClientStateRequest();
607
-
608
886
  while (reader.pos < end) {
609
887
  const tag = reader.uint32();
610
-
611
888
  switch (tag >>> 3) {
612
889
  case 1:
613
890
  message.connectionId = reader.string();
614
891
  break;
615
-
616
892
  default:
617
893
  reader.skipType(tag & 7);
618
894
  break;
619
895
  }
620
896
  }
621
-
622
897
  return message;
623
898
  },
624
-
625
- fromPartial(object: DeepPartial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest {
899
+ fromPartial(object: Partial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest {
626
900
  const message = createBaseQueryConnectionClientStateRequest();
627
901
  message.connectionId = object.connectionId ?? "";
628
902
  return message;
903
+ },
904
+ fromAmino(object: QueryConnectionClientStateRequestAmino): QueryConnectionClientStateRequest {
905
+ const message = createBaseQueryConnectionClientStateRequest();
906
+ if (object.connection_id !== undefined && object.connection_id !== null) {
907
+ message.connectionId = object.connection_id;
908
+ }
909
+ return message;
910
+ },
911
+ toAmino(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAmino {
912
+ const obj: any = {};
913
+ obj.connection_id = message.connectionId;
914
+ return obj;
915
+ },
916
+ fromAminoMsg(object: QueryConnectionClientStateRequestAminoMsg): QueryConnectionClientStateRequest {
917
+ return QueryConnectionClientStateRequest.fromAmino(object.value);
918
+ },
919
+ toAminoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAminoMsg {
920
+ return {
921
+ type: "cosmos-sdk/QueryConnectionClientStateRequest",
922
+ value: QueryConnectionClientStateRequest.toAmino(message)
923
+ };
924
+ },
925
+ fromProtoMsg(message: QueryConnectionClientStateRequestProtoMsg): QueryConnectionClientStateRequest {
926
+ return QueryConnectionClientStateRequest.decode(message.value);
927
+ },
928
+ toProto(message: QueryConnectionClientStateRequest): Uint8Array {
929
+ return QueryConnectionClientStateRequest.encode(message).finish();
930
+ },
931
+ toProtoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestProtoMsg {
932
+ return {
933
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest",
934
+ value: QueryConnectionClientStateRequest.encode(message).finish()
935
+ };
629
936
  }
630
-
631
937
  };
632
-
633
938
  function createBaseQueryConnectionClientStateResponse(): QueryConnectionClientStateResponse {
634
939
  return {
635
940
  identifiedClientState: undefined,
636
941
  proof: new Uint8Array(),
637
- proofHeight: undefined
942
+ proofHeight: Height.fromPartial({})
638
943
  };
639
944
  }
640
-
641
945
  export const QueryConnectionClientStateResponse = {
642
- encode(message: QueryConnectionClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
946
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse",
947
+ encode(message: QueryConnectionClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
643
948
  if (message.identifiedClientState !== undefined) {
644
949
  IdentifiedClientState.encode(message.identifiedClientState, writer.uint32(10).fork()).ldelim();
645
950
  }
646
-
647
951
  if (message.proof.length !== 0) {
648
952
  writer.uint32(18).bytes(message.proof);
649
953
  }
650
-
651
954
  if (message.proofHeight !== undefined) {
652
955
  Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
653
956
  }
654
-
655
957
  return writer;
656
958
  },
657
-
658
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse {
659
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
959
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateResponse {
960
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
660
961
  let end = length === undefined ? reader.len : reader.pos + length;
661
962
  const message = createBaseQueryConnectionClientStateResponse();
662
-
663
963
  while (reader.pos < end) {
664
964
  const tag = reader.uint32();
665
-
666
965
  switch (tag >>> 3) {
667
966
  case 1:
668
967
  message.identifiedClientState = IdentifiedClientState.decode(reader, reader.uint32());
669
968
  break;
670
-
671
969
  case 2:
672
970
  message.proof = reader.bytes();
673
971
  break;
674
-
675
972
  case 3:
676
973
  message.proofHeight = Height.decode(reader, reader.uint32());
677
974
  break;
678
-
679
975
  default:
680
976
  reader.skipType(tag & 7);
681
977
  break;
682
978
  }
683
979
  }
684
-
685
980
  return message;
686
981
  },
687
-
688
- fromPartial(object: DeepPartial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse {
982
+ fromPartial(object: Partial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse {
689
983
  const message = createBaseQueryConnectionClientStateResponse();
690
984
  message.identifiedClientState = object.identifiedClientState !== undefined && object.identifiedClientState !== null ? IdentifiedClientState.fromPartial(object.identifiedClientState) : undefined;
691
985
  message.proof = object.proof ?? new Uint8Array();
692
986
  message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
693
987
  return message;
988
+ },
989
+ fromAmino(object: QueryConnectionClientStateResponseAmino): QueryConnectionClientStateResponse {
990
+ const message = createBaseQueryConnectionClientStateResponse();
991
+ if (object.identified_client_state !== undefined && object.identified_client_state !== null) {
992
+ message.identifiedClientState = IdentifiedClientState.fromAmino(object.identified_client_state);
993
+ }
994
+ if (object.proof !== undefined && object.proof !== null) {
995
+ message.proof = bytesFromBase64(object.proof);
996
+ }
997
+ if (object.proof_height !== undefined && object.proof_height !== null) {
998
+ message.proofHeight = Height.fromAmino(object.proof_height);
999
+ }
1000
+ return message;
1001
+ },
1002
+ toAmino(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAmino {
1003
+ const obj: any = {};
1004
+ obj.identified_client_state = message.identifiedClientState ? IdentifiedClientState.toAmino(message.identifiedClientState) : undefined;
1005
+ obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
1006
+ obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
1007
+ return obj;
1008
+ },
1009
+ fromAminoMsg(object: QueryConnectionClientStateResponseAminoMsg): QueryConnectionClientStateResponse {
1010
+ return QueryConnectionClientStateResponse.fromAmino(object.value);
1011
+ },
1012
+ toAminoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAminoMsg {
1013
+ return {
1014
+ type: "cosmos-sdk/QueryConnectionClientStateResponse",
1015
+ value: QueryConnectionClientStateResponse.toAmino(message)
1016
+ };
1017
+ },
1018
+ fromProtoMsg(message: QueryConnectionClientStateResponseProtoMsg): QueryConnectionClientStateResponse {
1019
+ return QueryConnectionClientStateResponse.decode(message.value);
1020
+ },
1021
+ toProto(message: QueryConnectionClientStateResponse): Uint8Array {
1022
+ return QueryConnectionClientStateResponse.encode(message).finish();
1023
+ },
1024
+ toProtoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseProtoMsg {
1025
+ return {
1026
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse",
1027
+ value: QueryConnectionClientStateResponse.encode(message).finish()
1028
+ };
694
1029
  }
695
-
696
1030
  };
697
-
698
1031
  function createBaseQueryConnectionConsensusStateRequest(): QueryConnectionConsensusStateRequest {
699
1032
  return {
700
1033
  connectionId: "",
701
- revisionNumber: Long.UZERO,
702
- revisionHeight: Long.UZERO
1034
+ revisionNumber: BigInt(0),
1035
+ revisionHeight: BigInt(0)
703
1036
  };
704
1037
  }
705
-
706
1038
  export const QueryConnectionConsensusStateRequest = {
707
- encode(message: QueryConnectionConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1039
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest",
1040
+ encode(message: QueryConnectionConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
708
1041
  if (message.connectionId !== "") {
709
1042
  writer.uint32(10).string(message.connectionId);
710
1043
  }
711
-
712
- if (!message.revisionNumber.isZero()) {
1044
+ if (message.revisionNumber !== BigInt(0)) {
713
1045
  writer.uint32(16).uint64(message.revisionNumber);
714
1046
  }
715
-
716
- if (!message.revisionHeight.isZero()) {
1047
+ if (message.revisionHeight !== BigInt(0)) {
717
1048
  writer.uint32(24).uint64(message.revisionHeight);
718
1049
  }
719
-
720
1050
  return writer;
721
1051
  },
722
-
723
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest {
724
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1052
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest {
1053
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
725
1054
  let end = length === undefined ? reader.len : reader.pos + length;
726
1055
  const message = createBaseQueryConnectionConsensusStateRequest();
727
-
728
1056
  while (reader.pos < end) {
729
1057
  const tag = reader.uint32();
730
-
731
1058
  switch (tag >>> 3) {
732
1059
  case 1:
733
1060
  message.connectionId = reader.string();
734
1061
  break;
735
-
736
1062
  case 2:
737
- message.revisionNumber = (reader.uint64() as Long);
1063
+ message.revisionNumber = reader.uint64();
738
1064
  break;
739
-
740
1065
  case 3:
741
- message.revisionHeight = (reader.uint64() as Long);
1066
+ message.revisionHeight = reader.uint64();
742
1067
  break;
743
-
744
1068
  default:
745
1069
  reader.skipType(tag & 7);
746
1070
  break;
747
1071
  }
748
1072
  }
749
-
750
1073
  return message;
751
1074
  },
752
-
753
- fromPartial(object: DeepPartial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest {
1075
+ fromPartial(object: Partial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest {
754
1076
  const message = createBaseQueryConnectionConsensusStateRequest();
755
1077
  message.connectionId = object.connectionId ?? "";
756
- message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO;
757
- message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO;
1078
+ message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? BigInt(object.revisionNumber.toString()) : BigInt(0);
1079
+ message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? BigInt(object.revisionHeight.toString()) : BigInt(0);
1080
+ return message;
1081
+ },
1082
+ fromAmino(object: QueryConnectionConsensusStateRequestAmino): QueryConnectionConsensusStateRequest {
1083
+ const message = createBaseQueryConnectionConsensusStateRequest();
1084
+ if (object.connection_id !== undefined && object.connection_id !== null) {
1085
+ message.connectionId = object.connection_id;
1086
+ }
1087
+ if (object.revision_number !== undefined && object.revision_number !== null) {
1088
+ message.revisionNumber = BigInt(object.revision_number);
1089
+ }
1090
+ if (object.revision_height !== undefined && object.revision_height !== null) {
1091
+ message.revisionHeight = BigInt(object.revision_height);
1092
+ }
758
1093
  return message;
1094
+ },
1095
+ toAmino(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAmino {
1096
+ const obj: any = {};
1097
+ obj.connection_id = message.connectionId;
1098
+ obj.revision_number = message.revisionNumber ? message.revisionNumber.toString() : undefined;
1099
+ obj.revision_height = message.revisionHeight ? message.revisionHeight.toString() : undefined;
1100
+ return obj;
1101
+ },
1102
+ fromAminoMsg(object: QueryConnectionConsensusStateRequestAminoMsg): QueryConnectionConsensusStateRequest {
1103
+ return QueryConnectionConsensusStateRequest.fromAmino(object.value);
1104
+ },
1105
+ toAminoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAminoMsg {
1106
+ return {
1107
+ type: "cosmos-sdk/QueryConnectionConsensusStateRequest",
1108
+ value: QueryConnectionConsensusStateRequest.toAmino(message)
1109
+ };
1110
+ },
1111
+ fromProtoMsg(message: QueryConnectionConsensusStateRequestProtoMsg): QueryConnectionConsensusStateRequest {
1112
+ return QueryConnectionConsensusStateRequest.decode(message.value);
1113
+ },
1114
+ toProto(message: QueryConnectionConsensusStateRequest): Uint8Array {
1115
+ return QueryConnectionConsensusStateRequest.encode(message).finish();
1116
+ },
1117
+ toProtoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestProtoMsg {
1118
+ return {
1119
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest",
1120
+ value: QueryConnectionConsensusStateRequest.encode(message).finish()
1121
+ };
759
1122
  }
760
-
761
1123
  };
762
-
763
1124
  function createBaseQueryConnectionConsensusStateResponse(): QueryConnectionConsensusStateResponse {
764
1125
  return {
765
1126
  consensusState: undefined,
766
1127
  clientId: "",
767
1128
  proof: new Uint8Array(),
768
- proofHeight: undefined
1129
+ proofHeight: Height.fromPartial({})
769
1130
  };
770
1131
  }
771
-
772
1132
  export const QueryConnectionConsensusStateResponse = {
773
- encode(message: QueryConnectionConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
1133
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse",
1134
+ encode(message: QueryConnectionConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
774
1135
  if (message.consensusState !== undefined) {
775
1136
  Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
776
1137
  }
777
-
778
1138
  if (message.clientId !== "") {
779
1139
  writer.uint32(18).string(message.clientId);
780
1140
  }
781
-
782
1141
  if (message.proof.length !== 0) {
783
1142
  writer.uint32(26).bytes(message.proof);
784
1143
  }
785
-
786
1144
  if (message.proofHeight !== undefined) {
787
1145
  Height.encode(message.proofHeight, writer.uint32(34).fork()).ldelim();
788
1146
  }
789
-
790
1147
  return writer;
791
1148
  },
792
-
793
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse {
794
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
1149
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse {
1150
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
795
1151
  let end = length === undefined ? reader.len : reader.pos + length;
796
1152
  const message = createBaseQueryConnectionConsensusStateResponse();
797
-
798
1153
  while (reader.pos < end) {
799
1154
  const tag = reader.uint32();
800
-
801
1155
  switch (tag >>> 3) {
802
1156
  case 1:
803
1157
  message.consensusState = Any.decode(reader, reader.uint32());
804
1158
  break;
805
-
806
1159
  case 2:
807
1160
  message.clientId = reader.string();
808
1161
  break;
809
-
810
1162
  case 3:
811
1163
  message.proof = reader.bytes();
812
1164
  break;
813
-
814
1165
  case 4:
815
1166
  message.proofHeight = Height.decode(reader, reader.uint32());
816
1167
  break;
817
-
818
1168
  default:
819
1169
  reader.skipType(tag & 7);
820
1170
  break;
821
1171
  }
822
1172
  }
823
-
824
1173
  return message;
825
1174
  },
826
-
827
- fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse {
1175
+ fromPartial(object: Partial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse {
828
1176
  const message = createBaseQueryConnectionConsensusStateResponse();
829
1177
  message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
830
1178
  message.clientId = object.clientId ?? "";
831
1179
  message.proof = object.proof ?? new Uint8Array();
832
1180
  message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
833
1181
  return message;
1182
+ },
1183
+ fromAmino(object: QueryConnectionConsensusStateResponseAmino): QueryConnectionConsensusStateResponse {
1184
+ const message = createBaseQueryConnectionConsensusStateResponse();
1185
+ if (object.consensus_state !== undefined && object.consensus_state !== null) {
1186
+ message.consensusState = Any.fromAmino(object.consensus_state);
1187
+ }
1188
+ if (object.client_id !== undefined && object.client_id !== null) {
1189
+ message.clientId = object.client_id;
1190
+ }
1191
+ if (object.proof !== undefined && object.proof !== null) {
1192
+ message.proof = bytesFromBase64(object.proof);
1193
+ }
1194
+ if (object.proof_height !== undefined && object.proof_height !== null) {
1195
+ message.proofHeight = Height.fromAmino(object.proof_height);
1196
+ }
1197
+ return message;
1198
+ },
1199
+ toAmino(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAmino {
1200
+ const obj: any = {};
1201
+ obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
1202
+ obj.client_id = message.clientId;
1203
+ obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
1204
+ obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
1205
+ return obj;
1206
+ },
1207
+ fromAminoMsg(object: QueryConnectionConsensusStateResponseAminoMsg): QueryConnectionConsensusStateResponse {
1208
+ return QueryConnectionConsensusStateResponse.fromAmino(object.value);
1209
+ },
1210
+ toAminoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAminoMsg {
1211
+ return {
1212
+ type: "cosmos-sdk/QueryConnectionConsensusStateResponse",
1213
+ value: QueryConnectionConsensusStateResponse.toAmino(message)
1214
+ };
1215
+ },
1216
+ fromProtoMsg(message: QueryConnectionConsensusStateResponseProtoMsg): QueryConnectionConsensusStateResponse {
1217
+ return QueryConnectionConsensusStateResponse.decode(message.value);
1218
+ },
1219
+ toProto(message: QueryConnectionConsensusStateResponse): Uint8Array {
1220
+ return QueryConnectionConsensusStateResponse.encode(message).finish();
1221
+ },
1222
+ toProtoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseProtoMsg {
1223
+ return {
1224
+ typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse",
1225
+ value: QueryConnectionConsensusStateResponse.encode(message).finish()
1226
+ };
834
1227
  }
835
-
836
1228
  };