juno-network 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. package/main/codegen/JunoSwap.client.js +1 -1
  2. package/main/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  3. package/main/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  4. package/main/codegen/cosmos/bundle.js +8 -8
  5. package/main/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  6. package/main/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  7. package/main/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  8. package/main/codegen/cosmos/rpc.query.js +8 -8
  9. package/main/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  10. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  11. package/main/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +8 -8
  12. package/main/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  13. package/main/codegen/cosmwasm/bundle.js +1 -1
  14. package/main/codegen/cosmwasm/rpc.query.js +9 -9
  15. package/main/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  16. package/main/codegen/google/protobuf/descriptor.js +18 -18
  17. package/main/codegen/helpers.js +29 -18
  18. package/main/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  19. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  20. package/main/codegen/ibc/bundle.js +4 -4
  21. package/main/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  22. package/main/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  23. package/main/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  24. package/main/codegen/ibc/rpc.query.js +12 -12
  25. package/main/codegen/juno/bundle.js +1 -1
  26. package/main/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  27. package/main/codegen/juno/rpc.query.js +9 -9
  28. package/module/codegen/JunoSwap.client.js +1 -1
  29. package/module/codegen/contracts.js +1 -1
  30. package/module/codegen/cosmos/authz/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  31. package/module/codegen/cosmos/bank/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  32. package/module/codegen/cosmos/bundle.js +8 -8
  33. package/module/codegen/cosmos/distribution/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  34. package/module/codegen/cosmos/gov/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  35. package/module/codegen/cosmos/gov/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  36. package/module/codegen/cosmos/rpc.query.js +8 -8
  37. package/module/codegen/cosmos/staking/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  38. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +4 -4
  39. package/module/codegen/cosmos/tx/v1beta1/{service.rpc.svc.js → service.rpc.Service.js} +2 -2
  40. package/module/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  41. package/module/codegen/cosmwasm/bundle.js +1 -1
  42. package/module/codegen/cosmwasm/rpc.query.js +9 -9
  43. package/module/codegen/cosmwasm/wasm/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  44. package/module/codegen/google/protobuf/descriptor.js +18 -18
  45. package/module/codegen/helpers.js +18 -10
  46. package/module/codegen/ibc/applications/transfer/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  47. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +1 -1
  48. package/module/codegen/ibc/bundle.js +4 -4
  49. package/module/codegen/ibc/core/channel/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  50. package/module/codegen/ibc/core/client/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  51. package/module/codegen/ibc/core/connection/v1/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  52. package/module/codegen/ibc/rpc.query.js +12 -12
  53. package/module/codegen/index.js +1 -1
  54. package/module/codegen/juno/bundle.js +1 -1
  55. package/module/codegen/juno/mint/{query.rpc.query.js → query.rpc.Query.js} +0 -0
  56. package/module/codegen/juno/rpc.query.js +9 -9
  57. package/package.json +3 -3
  58. package/src/codegen/JunoSwap.client.ts +1 -1
  59. package/src/codegen/JunoSwap.types.ts +1 -1
  60. package/src/codegen/contracts.ts +1 -1
  61. package/src/codegen/cosmos/authz/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  62. package/src/codegen/cosmos/bank/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  63. package/src/codegen/cosmos/bundle.ts +8 -8
  64. package/src/codegen/cosmos/distribution/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  65. package/src/codegen/cosmos/gov/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  66. package/src/codegen/cosmos/gov/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  67. package/src/codegen/cosmos/rpc.query.ts +8 -8
  68. package/src/codegen/cosmos/staking/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  69. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +4 -4
  70. package/src/codegen/cosmos/tx/v1beta1/{service.rpc.svc.ts → service.rpc.Service.ts} +2 -2
  71. package/src/codegen/cosmos/upgrade/v1beta1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  72. package/src/codegen/cosmwasm/bundle.ts +1 -1
  73. package/src/codegen/cosmwasm/rpc.query.ts +9 -9
  74. package/src/codegen/cosmwasm/wasm/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  75. package/src/codegen/google/protobuf/descriptor.ts +18 -18
  76. package/src/codegen/helpers.ts +24 -16
  77. package/src/codegen/ibc/applications/transfer/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  78. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +1 -1
  79. package/src/codegen/ibc/bundle.ts +4 -4
  80. package/src/codegen/ibc/core/channel/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  81. package/src/codegen/ibc/core/client/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  82. package/src/codegen/ibc/core/connection/v1/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  83. package/src/codegen/ibc/rpc.query.ts +12 -12
  84. package/src/codegen/index.ts +1 -1
  85. package/src/codegen/juno/bundle.ts +1 -1
  86. package/src/codegen/juno/mint/{query.rpc.query.ts → query.rpc.Query.ts} +0 -0
  87. package/src/codegen/juno/rpc.query.ts +9 -9
  88. package/types/codegen/JunoSwap.client.d.ts +122 -0
  89. package/types/codegen/JunoSwap.types.d.ts +142 -0
  90. package/types/codegen/confio/proofs.d.ts +495 -0
  91. package/types/codegen/contracts.d.ts +12 -0
  92. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
  93. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
  94. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
  95. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
  96. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
  97. package/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
  98. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
  99. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
  100. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
  101. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
  102. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
  103. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
  104. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
  105. package/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +57 -0
  106. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  107. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
  108. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  109. package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
  110. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
  111. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
  112. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
  113. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
  114. package/types/codegen/cosmos/bundle.d.ts +6233 -0
  115. package/types/codegen/cosmos/client.d.ts +473 -0
  116. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
  117. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
  118. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
  119. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
  120. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
  121. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
  122. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
  123. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
  124. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
  125. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
  126. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
  127. package/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +51 -0
  128. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  129. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
  130. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  131. package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
  132. package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
  133. package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
  134. package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
  135. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
  136. package/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +44 -0
  137. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  138. package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
  139. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  140. package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
  141. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
  142. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
  143. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
  144. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  145. package/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  146. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  147. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
  148. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  149. package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
  150. package/types/codegen/cosmos/lcd.d.ts +28 -0
  151. package/types/codegen/cosmos/rpc.query.d.ts +97 -0
  152. package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
  153. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
  154. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
  155. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
  156. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
  157. package/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +80 -0
  158. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
  159. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  160. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
  161. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  162. package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
  163. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
  164. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
  165. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
  166. package/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +36 -0
  167. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
  168. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
  169. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
  170. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +43 -0
  171. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  172. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
  173. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  174. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
  175. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
  176. package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
  177. package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
  178. package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
  179. package/types/codegen/cosmwasm/client.d.ts +120 -0
  180. package/types/codegen/cosmwasm/lcd.d.ts +33 -0
  181. package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
  182. package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
  183. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
  184. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
  185. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
  186. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
  187. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
  188. package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +48 -0
  189. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
  190. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
  191. package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
  192. package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
  193. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
  194. package/types/codegen/gogoproto/bundle.d.ts +1 -0
  195. package/types/codegen/gogoproto/gogo.d.ts +1 -0
  196. package/types/codegen/google/bundle.d.ts +1413 -0
  197. package/types/codegen/google/protobuf/any.d.ts +237 -0
  198. package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
  199. package/types/codegen/google/protobuf/duration.d.ts +161 -0
  200. package/types/codegen/google/protobuf/empty.d.ts +33 -0
  201. package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
  202. package/types/codegen/helpers.d.ts +82 -0
  203. package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
  204. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
  205. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
  206. package/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +24 -0
  207. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
  208. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
  209. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
  210. package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  211. package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  212. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
  213. package/types/codegen/ibc/bundle.d.ts +3781 -0
  214. package/types/codegen/ibc/client.d.ts +559 -0
  215. package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
  216. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
  217. package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
  218. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
  219. package/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +88 -0
  220. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
  221. package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
  222. package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
  223. package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
  224. package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
  225. package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
  226. package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
  227. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
  228. package/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +50 -0
  229. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
  230. package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
  231. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
  232. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
  233. package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
  234. package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
  235. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
  236. package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
  237. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
  238. package/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +41 -0
  239. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
  240. package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
  241. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
  242. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
  243. package/types/codegen/ibc/lcd.d.ts +46 -0
  244. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
  245. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
  246. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
  247. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
  248. package/types/codegen/ibc/rpc.query.d.ts +148 -0
  249. package/types/codegen/ibc/rpc.tx.d.ts +44 -0
  250. package/types/codegen/ics23/bundle.d.ts +545 -0
  251. package/types/codegen/index.d.ts +18 -0
  252. package/types/codegen/juno/bundle.d.ts +226 -0
  253. package/types/codegen/juno/lcd.d.ts +31 -0
  254. package/types/codegen/juno/mint/genesis.d.ts +22 -0
  255. package/types/codegen/juno/mint/mint.d.ts +44 -0
  256. package/types/codegen/juno/mint/query.d.ts +99 -0
  257. package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
  258. package/types/codegen/juno/mint/query.rpc.Query.d.ts +24 -0
  259. package/types/codegen/juno/rpc.query.d.ts +104 -0
  260. package/types/codegen/tendermint/abci/types.d.ts +902 -0
  261. package/types/codegen/tendermint/bundle.d.ts +2065 -0
  262. package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
  263. package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
  264. package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
  265. package/types/codegen/tendermint/p2p/types.d.ts +87 -0
  266. package/types/codegen/tendermint/types/block.d.ts +21 -0
  267. package/types/codegen/tendermint/types/evidence.d.ts +70 -0
  268. package/types/codegen/tendermint/types/params.d.ts +181 -0
  269. package/types/codegen/tendermint/types/types.d.ts +326 -0
  270. package/types/codegen/tendermint/types/validator.d.ts +48 -0
  271. package/types/codegen/tendermint/version/types.d.ts +48 -0
  272. package/types/index.d.ts +1 -0
@@ -0,0 +1,313 @@
1
+ import { Height, HeightSDKType } from "../../client/v1/client";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { DeepPartial, Long } from "../../../../helpers";
4
+ /**
5
+ * State defines if a channel is in one of the following states:
6
+ * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED.
7
+ */
8
+ export declare enum State {
9
+ /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
10
+ STATE_UNINITIALIZED_UNSPECIFIED = 0,
11
+ /** STATE_INIT - A channel has just started the opening handshake. */
12
+ STATE_INIT = 1,
13
+ /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */
14
+ STATE_TRYOPEN = 2,
15
+ /**
16
+ * STATE_OPEN - A channel has completed the handshake. Open channels are
17
+ * ready to send and receive packets.
18
+ */
19
+ STATE_OPEN = 3,
20
+ /**
21
+ * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive
22
+ * packets.
23
+ */
24
+ STATE_CLOSED = 4,
25
+ UNRECOGNIZED = -1
26
+ }
27
+ /**
28
+ * State defines if a channel is in one of the following states:
29
+ * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED.
30
+ */
31
+ export declare enum StateSDKType {
32
+ /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
33
+ STATE_UNINITIALIZED_UNSPECIFIED = 0,
34
+ /** STATE_INIT - A channel has just started the opening handshake. */
35
+ STATE_INIT = 1,
36
+ /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */
37
+ STATE_TRYOPEN = 2,
38
+ /**
39
+ * STATE_OPEN - A channel has completed the handshake. Open channels are
40
+ * ready to send and receive packets.
41
+ */
42
+ STATE_OPEN = 3,
43
+ /**
44
+ * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive
45
+ * packets.
46
+ */
47
+ STATE_CLOSED = 4,
48
+ UNRECOGNIZED = -1
49
+ }
50
+ export declare function stateFromJSON(object: any): State;
51
+ export declare function stateToJSON(object: State): string;
52
+ /** Order defines if a channel is ORDERED or UNORDERED */
53
+ export declare enum Order {
54
+ /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */
55
+ ORDER_NONE_UNSPECIFIED = 0,
56
+ /**
57
+ * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in
58
+ * which they were sent.
59
+ */
60
+ ORDER_UNORDERED = 1,
61
+ /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */
62
+ ORDER_ORDERED = 2,
63
+ UNRECOGNIZED = -1
64
+ }
65
+ /** Order defines if a channel is ORDERED or UNORDERED */
66
+ export declare enum OrderSDKType {
67
+ /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */
68
+ ORDER_NONE_UNSPECIFIED = 0,
69
+ /**
70
+ * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in
71
+ * which they were sent.
72
+ */
73
+ ORDER_UNORDERED = 1,
74
+ /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */
75
+ ORDER_ORDERED = 2,
76
+ UNRECOGNIZED = -1
77
+ }
78
+ export declare function orderFromJSON(object: any): Order;
79
+ export declare function orderToJSON(object: Order): string;
80
+ /**
81
+ * Channel defines pipeline for exactly-once packet delivery between specific
82
+ * modules on separate blockchains, which has at least one end capable of
83
+ * sending packets and one end capable of receiving packets.
84
+ */
85
+ export interface Channel {
86
+ /** current state of the channel end */
87
+ state: State;
88
+ /** whether the channel is ordered or unordered */
89
+ ordering: Order;
90
+ /** counterparty channel end */
91
+ counterparty?: Counterparty;
92
+ /**
93
+ * list of connection identifiers, in order, along which packets sent on
94
+ * this channel will travel
95
+ */
96
+ connectionHops: string[];
97
+ /** opaque channel version, which is agreed upon during the handshake */
98
+ version: string;
99
+ }
100
+ /**
101
+ * Channel defines pipeline for exactly-once packet delivery between specific
102
+ * modules on separate blockchains, which has at least one end capable of
103
+ * sending packets and one end capable of receiving packets.
104
+ */
105
+ export interface ChannelSDKType {
106
+ /** current state of the channel end */
107
+ state: StateSDKType;
108
+ /** whether the channel is ordered or unordered */
109
+ ordering: OrderSDKType;
110
+ /** counterparty channel end */
111
+ counterparty?: CounterpartySDKType;
112
+ /**
113
+ * list of connection identifiers, in order, along which packets sent on
114
+ * this channel will travel
115
+ */
116
+ connection_hops: string[];
117
+ /** opaque channel version, which is agreed upon during the handshake */
118
+ version: string;
119
+ }
120
+ /**
121
+ * IdentifiedChannel defines a channel with additional port and channel
122
+ * identifier fields.
123
+ */
124
+ export interface IdentifiedChannel {
125
+ /** current state of the channel end */
126
+ state: State;
127
+ /** whether the channel is ordered or unordered */
128
+ ordering: Order;
129
+ /** counterparty channel end */
130
+ counterparty?: Counterparty;
131
+ /**
132
+ * list of connection identifiers, in order, along which packets sent on
133
+ * this channel will travel
134
+ */
135
+ connectionHops: string[];
136
+ /** opaque channel version, which is agreed upon during the handshake */
137
+ version: string;
138
+ /** port identifier */
139
+ portId: string;
140
+ /** channel identifier */
141
+ channelId: string;
142
+ }
143
+ /**
144
+ * IdentifiedChannel defines a channel with additional port and channel
145
+ * identifier fields.
146
+ */
147
+ export interface IdentifiedChannelSDKType {
148
+ /** current state of the channel end */
149
+ state: StateSDKType;
150
+ /** whether the channel is ordered or unordered */
151
+ ordering: OrderSDKType;
152
+ /** counterparty channel end */
153
+ counterparty?: CounterpartySDKType;
154
+ /**
155
+ * list of connection identifiers, in order, along which packets sent on
156
+ * this channel will travel
157
+ */
158
+ connection_hops: string[];
159
+ /** opaque channel version, which is agreed upon during the handshake */
160
+ version: string;
161
+ /** port identifier */
162
+ port_id: string;
163
+ /** channel identifier */
164
+ channel_id: string;
165
+ }
166
+ /** Counterparty defines a channel end counterparty */
167
+ export interface Counterparty {
168
+ /** port on the counterparty chain which owns the other end of the channel. */
169
+ portId: string;
170
+ /** channel end on the counterparty chain */
171
+ channelId: string;
172
+ }
173
+ /** Counterparty defines a channel end counterparty */
174
+ export interface CounterpartySDKType {
175
+ /** port on the counterparty chain which owns the other end of the channel. */
176
+ port_id: string;
177
+ /** channel end on the counterparty chain */
178
+ channel_id: string;
179
+ }
180
+ /** Packet defines a type that carries data across different chains through IBC */
181
+ export interface Packet {
182
+ /**
183
+ * number corresponds to the order of sends and receives, where a Packet
184
+ * with an earlier sequence number must be sent and received before a Packet
185
+ * with a later sequence number.
186
+ */
187
+ sequence: Long;
188
+ /** identifies the port on the sending chain. */
189
+ sourcePort: string;
190
+ /** identifies the channel end on the sending chain. */
191
+ sourceChannel: string;
192
+ /** identifies the port on the receiving chain. */
193
+ destinationPort: string;
194
+ /** identifies the channel end on the receiving chain. */
195
+ destinationChannel: string;
196
+ /** actual opaque bytes transferred directly to the application module */
197
+ data: Uint8Array;
198
+ /** block height after which the packet times out */
199
+ timeoutHeight?: Height;
200
+ /** block timestamp (in nanoseconds) after which the packet times out */
201
+ timeoutTimestamp: Long;
202
+ }
203
+ /** Packet defines a type that carries data across different chains through IBC */
204
+ export interface PacketSDKType {
205
+ /**
206
+ * number corresponds to the order of sends and receives, where a Packet
207
+ * with an earlier sequence number must be sent and received before a Packet
208
+ * with a later sequence number.
209
+ */
210
+ sequence: Long;
211
+ /** identifies the port on the sending chain. */
212
+ source_port: string;
213
+ /** identifies the channel end on the sending chain. */
214
+ source_channel: string;
215
+ /** identifies the port on the receiving chain. */
216
+ destination_port: string;
217
+ /** identifies the channel end on the receiving chain. */
218
+ destination_channel: string;
219
+ /** actual opaque bytes transferred directly to the application module */
220
+ data: Uint8Array;
221
+ /** block height after which the packet times out */
222
+ timeout_height?: HeightSDKType;
223
+ /** block timestamp (in nanoseconds) after which the packet times out */
224
+ timeout_timestamp: Long;
225
+ }
226
+ /**
227
+ * PacketState defines the generic type necessary to retrieve and store
228
+ * packet commitments, acknowledgements, and receipts.
229
+ * Caller is responsible for knowing the context necessary to interpret this
230
+ * state as a commitment, acknowledgement, or a receipt.
231
+ */
232
+ export interface PacketState {
233
+ /** channel port identifier. */
234
+ portId: string;
235
+ /** channel unique identifier. */
236
+ channelId: string;
237
+ /** packet sequence. */
238
+ sequence: Long;
239
+ /** embedded data that represents packet state. */
240
+ data: Uint8Array;
241
+ }
242
+ /**
243
+ * PacketState defines the generic type necessary to retrieve and store
244
+ * packet commitments, acknowledgements, and receipts.
245
+ * Caller is responsible for knowing the context necessary to interpret this
246
+ * state as a commitment, acknowledgement, or a receipt.
247
+ */
248
+ export interface PacketStateSDKType {
249
+ /** channel port identifier. */
250
+ port_id: string;
251
+ /** channel unique identifier. */
252
+ channel_id: string;
253
+ /** packet sequence. */
254
+ sequence: Long;
255
+ /** embedded data that represents packet state. */
256
+ data: Uint8Array;
257
+ }
258
+ /**
259
+ * Acknowledgement is the recommended acknowledgement format to be used by
260
+ * app-specific protocols.
261
+ * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental
262
+ * conflicts with other protobuf message formats used for acknowledgements.
263
+ * The first byte of any message with this format will be the non-ASCII values
264
+ * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS:
265
+ * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope
266
+ */
267
+ export interface Acknowledgement {
268
+ result?: Uint8Array;
269
+ error?: string;
270
+ }
271
+ /**
272
+ * Acknowledgement is the recommended acknowledgement format to be used by
273
+ * app-specific protocols.
274
+ * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental
275
+ * conflicts with other protobuf message formats used for acknowledgements.
276
+ * The first byte of any message with this format will be the non-ASCII values
277
+ * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS:
278
+ * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope
279
+ */
280
+ export interface AcknowledgementSDKType {
281
+ result?: Uint8Array;
282
+ error?: string;
283
+ }
284
+ export declare const Channel: {
285
+ encode(message: Channel, writer?: _m0.Writer): _m0.Writer;
286
+ decode(input: _m0.Reader | Uint8Array, length?: number): Channel;
287
+ fromPartial(object: DeepPartial<Channel>): Channel;
288
+ };
289
+ export declare const IdentifiedChannel: {
290
+ encode(message: IdentifiedChannel, writer?: _m0.Writer): _m0.Writer;
291
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel;
292
+ fromPartial(object: DeepPartial<IdentifiedChannel>): IdentifiedChannel;
293
+ };
294
+ export declare const Counterparty: {
295
+ encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer;
296
+ decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty;
297
+ fromPartial(object: DeepPartial<Counterparty>): Counterparty;
298
+ };
299
+ export declare const Packet: {
300
+ encode(message: Packet, writer?: _m0.Writer): _m0.Writer;
301
+ decode(input: _m0.Reader | Uint8Array, length?: number): Packet;
302
+ fromPartial(object: DeepPartial<Packet>): Packet;
303
+ };
304
+ export declare const PacketState: {
305
+ encode(message: PacketState, writer?: _m0.Writer): _m0.Writer;
306
+ decode(input: _m0.Reader | Uint8Array, length?: number): PacketState;
307
+ fromPartial(object: DeepPartial<PacketState>): PacketState;
308
+ };
309
+ export declare const Acknowledgement: {
310
+ encode(message: Acknowledgement, writer?: _m0.Writer): _m0.Writer;
311
+ decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement;
312
+ fromPartial(object: DeepPartial<Acknowledgement>): Acknowledgement;
313
+ };
@@ -0,0 +1,55 @@
1
+ import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel";
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { Long, DeepPartial } from "../../../../helpers";
4
+ /** GenesisState defines the ibc channel submodule's genesis state. */
5
+ export interface GenesisState {
6
+ channels: IdentifiedChannel[];
7
+ acknowledgements: PacketState[];
8
+ commitments: PacketState[];
9
+ receipts: PacketState[];
10
+ sendSequences: PacketSequence[];
11
+ recvSequences: PacketSequence[];
12
+ ackSequences: PacketSequence[];
13
+ /** the sequence for the next generated channel identifier */
14
+ nextChannelSequence: Long;
15
+ }
16
+ /** GenesisState defines the ibc channel submodule's genesis state. */
17
+ export interface GenesisStateSDKType {
18
+ channels: IdentifiedChannelSDKType[];
19
+ acknowledgements: PacketStateSDKType[];
20
+ commitments: PacketStateSDKType[];
21
+ receipts: PacketStateSDKType[];
22
+ send_sequences: PacketSequenceSDKType[];
23
+ recv_sequences: PacketSequenceSDKType[];
24
+ ack_sequences: PacketSequenceSDKType[];
25
+ /** the sequence for the next generated channel identifier */
26
+ next_channel_sequence: Long;
27
+ }
28
+ /**
29
+ * PacketSequence defines the genesis type necessary to retrieve and store
30
+ * next send and receive sequences.
31
+ */
32
+ export interface PacketSequence {
33
+ portId: string;
34
+ channelId: string;
35
+ sequence: Long;
36
+ }
37
+ /**
38
+ * PacketSequence defines the genesis type necessary to retrieve and store
39
+ * next send and receive sequences.
40
+ */
41
+ export interface PacketSequenceSDKType {
42
+ port_id: string;
43
+ channel_id: string;
44
+ sequence: Long;
45
+ }
46
+ export declare const GenesisState: {
47
+ encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
48
+ decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
49
+ fromPartial(object: DeepPartial<GenesisState>): GenesisState;
50
+ };
51
+ export declare const PacketSequence: {
52
+ encode(message: PacketSequence, writer?: _m0.Writer): _m0.Writer;
53
+ decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence;
54
+ fromPartial(object: DeepPartial<PacketSequence>): PacketSequence;
55
+ };