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,433 @@
1
+ import { Any, AnySDKType } from "../../../../google/protobuf/any";
2
+ import { ConnectionEnd, ConnectionEndSDKType } from "../../../core/connection/v1/connection";
3
+ import { Channel, ChannelSDKType } from "../../../core/channel/v1/channel";
4
+ import * as _m0 from "protobufjs/minimal";
5
+ import { Long, DeepPartial } from "../../../../helpers";
6
+ /**
7
+ * DataType defines the type of solo machine proof being created. This is done
8
+ * to preserve uniqueness of different data sign byte encodings.
9
+ */
10
+ export declare enum DataType {
11
+ /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
12
+ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
13
+ /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
14
+ DATA_TYPE_CLIENT_STATE = 1,
15
+ /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
16
+ DATA_TYPE_CONSENSUS_STATE = 2,
17
+ /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
18
+ DATA_TYPE_CONNECTION_STATE = 3,
19
+ /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
20
+ DATA_TYPE_CHANNEL_STATE = 4,
21
+ /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
22
+ DATA_TYPE_PACKET_COMMITMENT = 5,
23
+ /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
24
+ DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
25
+ /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
26
+ DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
27
+ /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
28
+ DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
29
+ /** DATA_TYPE_HEADER - Data type for header verification */
30
+ DATA_TYPE_HEADER = 9,
31
+ UNRECOGNIZED = -1
32
+ }
33
+ /**
34
+ * DataType defines the type of solo machine proof being created. This is done
35
+ * to preserve uniqueness of different data sign byte encodings.
36
+ */
37
+ export declare enum DataTypeSDKType {
38
+ /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
39
+ DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
40
+ /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
41
+ DATA_TYPE_CLIENT_STATE = 1,
42
+ /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
43
+ DATA_TYPE_CONSENSUS_STATE = 2,
44
+ /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
45
+ DATA_TYPE_CONNECTION_STATE = 3,
46
+ /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
47
+ DATA_TYPE_CHANNEL_STATE = 4,
48
+ /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
49
+ DATA_TYPE_PACKET_COMMITMENT = 5,
50
+ /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
51
+ DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
52
+ /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
53
+ DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
54
+ /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
55
+ DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
56
+ /** DATA_TYPE_HEADER - Data type for header verification */
57
+ DATA_TYPE_HEADER = 9,
58
+ UNRECOGNIZED = -1
59
+ }
60
+ export declare function dataTypeFromJSON(object: any): DataType;
61
+ export declare function dataTypeToJSON(object: DataType): string;
62
+ /**
63
+ * ClientState defines a solo machine client that tracks the current consensus
64
+ * state and if the client is frozen.
65
+ */
66
+ export interface ClientState {
67
+ /** latest sequence of the client state */
68
+ sequence: Long;
69
+ /** frozen sequence of the solo machine */
70
+ isFrozen: boolean;
71
+ consensusState?: ConsensusState;
72
+ /**
73
+ * when set to true, will allow governance to update a solo machine client.
74
+ * The client will be unfrozen if it is frozen.
75
+ */
76
+ allowUpdateAfterProposal: boolean;
77
+ }
78
+ /**
79
+ * ClientState defines a solo machine client that tracks the current consensus
80
+ * state and if the client is frozen.
81
+ */
82
+ export interface ClientStateSDKType {
83
+ /** latest sequence of the client state */
84
+ sequence: Long;
85
+ /** frozen sequence of the solo machine */
86
+ is_frozen: boolean;
87
+ consensus_state?: ConsensusStateSDKType;
88
+ /**
89
+ * when set to true, will allow governance to update a solo machine client.
90
+ * The client will be unfrozen if it is frozen.
91
+ */
92
+ allow_update_after_proposal: boolean;
93
+ }
94
+ /**
95
+ * ConsensusState defines a solo machine consensus state. The sequence of a
96
+ * consensus state is contained in the "height" key used in storing the
97
+ * consensus state.
98
+ */
99
+ export interface ConsensusState {
100
+ /** public key of the solo machine */
101
+ publicKey?: Any;
102
+ /**
103
+ * diversifier allows the same public key to be re-used across different solo
104
+ * machine clients (potentially on different chains) without being considered
105
+ * misbehaviour.
106
+ */
107
+ diversifier: string;
108
+ timestamp: Long;
109
+ }
110
+ /**
111
+ * ConsensusState defines a solo machine consensus state. The sequence of a
112
+ * consensus state is contained in the "height" key used in storing the
113
+ * consensus state.
114
+ */
115
+ export interface ConsensusStateSDKType {
116
+ /** public key of the solo machine */
117
+ public_key?: AnySDKType;
118
+ /**
119
+ * diversifier allows the same public key to be re-used across different solo
120
+ * machine clients (potentially on different chains) without being considered
121
+ * misbehaviour.
122
+ */
123
+ diversifier: string;
124
+ timestamp: Long;
125
+ }
126
+ /** Header defines a solo machine consensus header */
127
+ export interface Header {
128
+ /** sequence to update solo machine public key at */
129
+ sequence: Long;
130
+ timestamp: Long;
131
+ signature: Uint8Array;
132
+ newPublicKey?: Any;
133
+ newDiversifier: string;
134
+ }
135
+ /** Header defines a solo machine consensus header */
136
+ export interface HeaderSDKType {
137
+ /** sequence to update solo machine public key at */
138
+ sequence: Long;
139
+ timestamp: Long;
140
+ signature: Uint8Array;
141
+ new_public_key?: AnySDKType;
142
+ new_diversifier: string;
143
+ }
144
+ /**
145
+ * Misbehaviour defines misbehaviour for a solo machine which consists
146
+ * of a sequence and two signatures over different messages at that sequence.
147
+ */
148
+ export interface Misbehaviour {
149
+ clientId: string;
150
+ sequence: Long;
151
+ signatureOne?: SignatureAndData;
152
+ signatureTwo?: SignatureAndData;
153
+ }
154
+ /**
155
+ * Misbehaviour defines misbehaviour for a solo machine which consists
156
+ * of a sequence and two signatures over different messages at that sequence.
157
+ */
158
+ export interface MisbehaviourSDKType {
159
+ client_id: string;
160
+ sequence: Long;
161
+ signature_one?: SignatureAndDataSDKType;
162
+ signature_two?: SignatureAndDataSDKType;
163
+ }
164
+ /**
165
+ * SignatureAndData contains a signature and the data signed over to create that
166
+ * signature.
167
+ */
168
+ export interface SignatureAndData {
169
+ signature: Uint8Array;
170
+ dataType: DataType;
171
+ data: Uint8Array;
172
+ timestamp: Long;
173
+ }
174
+ /**
175
+ * SignatureAndData contains a signature and the data signed over to create that
176
+ * signature.
177
+ */
178
+ export interface SignatureAndDataSDKType {
179
+ signature: Uint8Array;
180
+ data_type: DataTypeSDKType;
181
+ data: Uint8Array;
182
+ timestamp: Long;
183
+ }
184
+ /**
185
+ * TimestampedSignatureData contains the signature data and the timestamp of the
186
+ * signature.
187
+ */
188
+ export interface TimestampedSignatureData {
189
+ signatureData: Uint8Array;
190
+ timestamp: Long;
191
+ }
192
+ /**
193
+ * TimestampedSignatureData contains the signature data and the timestamp of the
194
+ * signature.
195
+ */
196
+ export interface TimestampedSignatureDataSDKType {
197
+ signature_data: Uint8Array;
198
+ timestamp: Long;
199
+ }
200
+ /** SignBytes defines the signed bytes used for signature verification. */
201
+ export interface SignBytes {
202
+ sequence: Long;
203
+ timestamp: Long;
204
+ diversifier: string;
205
+ /** type of the data used */
206
+ dataType: DataType;
207
+ /** marshaled data */
208
+ data: Uint8Array;
209
+ }
210
+ /** SignBytes defines the signed bytes used for signature verification. */
211
+ export interface SignBytesSDKType {
212
+ sequence: Long;
213
+ timestamp: Long;
214
+ diversifier: string;
215
+ /** type of the data used */
216
+ data_type: DataTypeSDKType;
217
+ /** marshaled data */
218
+ data: Uint8Array;
219
+ }
220
+ /** HeaderData returns the SignBytes data for update verification. */
221
+ export interface HeaderData {
222
+ /** header public key */
223
+ newPubKey?: Any;
224
+ /** header diversifier */
225
+ newDiversifier: string;
226
+ }
227
+ /** HeaderData returns the SignBytes data for update verification. */
228
+ export interface HeaderDataSDKType {
229
+ /** header public key */
230
+ new_pub_key?: AnySDKType;
231
+ /** header diversifier */
232
+ new_diversifier: string;
233
+ }
234
+ /** ClientStateData returns the SignBytes data for client state verification. */
235
+ export interface ClientStateData {
236
+ path: Uint8Array;
237
+ clientState?: Any;
238
+ }
239
+ /** ClientStateData returns the SignBytes data for client state verification. */
240
+ export interface ClientStateDataSDKType {
241
+ path: Uint8Array;
242
+ client_state?: AnySDKType;
243
+ }
244
+ /**
245
+ * ConsensusStateData returns the SignBytes data for consensus state
246
+ * verification.
247
+ */
248
+ export interface ConsensusStateData {
249
+ path: Uint8Array;
250
+ consensusState?: Any;
251
+ }
252
+ /**
253
+ * ConsensusStateData returns the SignBytes data for consensus state
254
+ * verification.
255
+ */
256
+ export interface ConsensusStateDataSDKType {
257
+ path: Uint8Array;
258
+ consensus_state?: AnySDKType;
259
+ }
260
+ /**
261
+ * ConnectionStateData returns the SignBytes data for connection state
262
+ * verification.
263
+ */
264
+ export interface ConnectionStateData {
265
+ path: Uint8Array;
266
+ connection?: ConnectionEnd;
267
+ }
268
+ /**
269
+ * ConnectionStateData returns the SignBytes data for connection state
270
+ * verification.
271
+ */
272
+ export interface ConnectionStateDataSDKType {
273
+ path: Uint8Array;
274
+ connection?: ConnectionEndSDKType;
275
+ }
276
+ /**
277
+ * ChannelStateData returns the SignBytes data for channel state
278
+ * verification.
279
+ */
280
+ export interface ChannelStateData {
281
+ path: Uint8Array;
282
+ channel?: Channel;
283
+ }
284
+ /**
285
+ * ChannelStateData returns the SignBytes data for channel state
286
+ * verification.
287
+ */
288
+ export interface ChannelStateDataSDKType {
289
+ path: Uint8Array;
290
+ channel?: ChannelSDKType;
291
+ }
292
+ /**
293
+ * PacketCommitmentData returns the SignBytes data for packet commitment
294
+ * verification.
295
+ */
296
+ export interface PacketCommitmentData {
297
+ path: Uint8Array;
298
+ commitment: Uint8Array;
299
+ }
300
+ /**
301
+ * PacketCommitmentData returns the SignBytes data for packet commitment
302
+ * verification.
303
+ */
304
+ export interface PacketCommitmentDataSDKType {
305
+ path: Uint8Array;
306
+ commitment: Uint8Array;
307
+ }
308
+ /**
309
+ * PacketAcknowledgementData returns the SignBytes data for acknowledgement
310
+ * verification.
311
+ */
312
+ export interface PacketAcknowledgementData {
313
+ path: Uint8Array;
314
+ acknowledgement: Uint8Array;
315
+ }
316
+ /**
317
+ * PacketAcknowledgementData returns the SignBytes data for acknowledgement
318
+ * verification.
319
+ */
320
+ export interface PacketAcknowledgementDataSDKType {
321
+ path: Uint8Array;
322
+ acknowledgement: Uint8Array;
323
+ }
324
+ /**
325
+ * PacketReceiptAbsenceData returns the SignBytes data for
326
+ * packet receipt absence verification.
327
+ */
328
+ export interface PacketReceiptAbsenceData {
329
+ path: Uint8Array;
330
+ }
331
+ /**
332
+ * PacketReceiptAbsenceData returns the SignBytes data for
333
+ * packet receipt absence verification.
334
+ */
335
+ export interface PacketReceiptAbsenceDataSDKType {
336
+ path: Uint8Array;
337
+ }
338
+ /**
339
+ * NextSequenceRecvData returns the SignBytes data for verification of the next
340
+ * sequence to be received.
341
+ */
342
+ export interface NextSequenceRecvData {
343
+ path: Uint8Array;
344
+ nextSeqRecv: Long;
345
+ }
346
+ /**
347
+ * NextSequenceRecvData returns the SignBytes data for verification of the next
348
+ * sequence to be received.
349
+ */
350
+ export interface NextSequenceRecvDataSDKType {
351
+ path: Uint8Array;
352
+ next_seq_recv: Long;
353
+ }
354
+ export declare const ClientState: {
355
+ encode(message: ClientState, writer?: _m0.Writer): _m0.Writer;
356
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientState;
357
+ fromPartial(object: DeepPartial<ClientState>): ClientState;
358
+ };
359
+ export declare const ConsensusState: {
360
+ encode(message: ConsensusState, writer?: _m0.Writer): _m0.Writer;
361
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState;
362
+ fromPartial(object: DeepPartial<ConsensusState>): ConsensusState;
363
+ };
364
+ export declare const Header: {
365
+ encode(message: Header, writer?: _m0.Writer): _m0.Writer;
366
+ decode(input: _m0.Reader | Uint8Array, length?: number): Header;
367
+ fromPartial(object: DeepPartial<Header>): Header;
368
+ };
369
+ export declare const Misbehaviour: {
370
+ encode(message: Misbehaviour, writer?: _m0.Writer): _m0.Writer;
371
+ decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour;
372
+ fromPartial(object: DeepPartial<Misbehaviour>): Misbehaviour;
373
+ };
374
+ export declare const SignatureAndData: {
375
+ encode(message: SignatureAndData, writer?: _m0.Writer): _m0.Writer;
376
+ decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData;
377
+ fromPartial(object: DeepPartial<SignatureAndData>): SignatureAndData;
378
+ };
379
+ export declare const TimestampedSignatureData: {
380
+ encode(message: TimestampedSignatureData, writer?: _m0.Writer): _m0.Writer;
381
+ decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData;
382
+ fromPartial(object: DeepPartial<TimestampedSignatureData>): TimestampedSignatureData;
383
+ };
384
+ export declare const SignBytes: {
385
+ encode(message: SignBytes, writer?: _m0.Writer): _m0.Writer;
386
+ decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes;
387
+ fromPartial(object: DeepPartial<SignBytes>): SignBytes;
388
+ };
389
+ export declare const HeaderData: {
390
+ encode(message: HeaderData, writer?: _m0.Writer): _m0.Writer;
391
+ decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData;
392
+ fromPartial(object: DeepPartial<HeaderData>): HeaderData;
393
+ };
394
+ export declare const ClientStateData: {
395
+ encode(message: ClientStateData, writer?: _m0.Writer): _m0.Writer;
396
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData;
397
+ fromPartial(object: DeepPartial<ClientStateData>): ClientStateData;
398
+ };
399
+ export declare const ConsensusStateData: {
400
+ encode(message: ConsensusStateData, writer?: _m0.Writer): _m0.Writer;
401
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData;
402
+ fromPartial(object: DeepPartial<ConsensusStateData>): ConsensusStateData;
403
+ };
404
+ export declare const ConnectionStateData: {
405
+ encode(message: ConnectionStateData, writer?: _m0.Writer): _m0.Writer;
406
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData;
407
+ fromPartial(object: DeepPartial<ConnectionStateData>): ConnectionStateData;
408
+ };
409
+ export declare const ChannelStateData: {
410
+ encode(message: ChannelStateData, writer?: _m0.Writer): _m0.Writer;
411
+ decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData;
412
+ fromPartial(object: DeepPartial<ChannelStateData>): ChannelStateData;
413
+ };
414
+ export declare const PacketCommitmentData: {
415
+ encode(message: PacketCommitmentData, writer?: _m0.Writer): _m0.Writer;
416
+ decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData;
417
+ fromPartial(object: DeepPartial<PacketCommitmentData>): PacketCommitmentData;
418
+ };
419
+ export declare const PacketAcknowledgementData: {
420
+ encode(message: PacketAcknowledgementData, writer?: _m0.Writer): _m0.Writer;
421
+ decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData;
422
+ fromPartial(object: DeepPartial<PacketAcknowledgementData>): PacketAcknowledgementData;
423
+ };
424
+ export declare const PacketReceiptAbsenceData: {
425
+ encode(message: PacketReceiptAbsenceData, writer?: _m0.Writer): _m0.Writer;
426
+ decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData;
427
+ fromPartial(object: DeepPartial<PacketReceiptAbsenceData>): PacketReceiptAbsenceData;
428
+ };
429
+ export declare const NextSequenceRecvData: {
430
+ encode(message: NextSequenceRecvData, writer?: _m0.Writer): _m0.Writer;
431
+ decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData;
432
+ fromPartial(object: DeepPartial<NextSequenceRecvData>): NextSequenceRecvData;
433
+ };
@@ -0,0 +1,215 @@
1
+ import { Duration, DurationSDKType } from "../../../../google/protobuf/duration";
2
+ import { Height, HeightSDKType } from "../../../core/client/v1/client";
3
+ import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs";
4
+ import { MerkleRoot, MerkleRootSDKType } from "../../../core/commitment/v1/commitment";
5
+ import { SignedHeader, SignedHeaderSDKType } from "../../../../tendermint/types/types";
6
+ import { ValidatorSet, ValidatorSetSDKType } from "../../../../tendermint/types/validator";
7
+ import * as _m0 from "protobufjs/minimal";
8
+ import { DeepPartial, Long } from "../../../../helpers";
9
+ /**
10
+ * ClientState from Tendermint tracks the current validator set, latest height,
11
+ * and a possible frozen height.
12
+ */
13
+ export interface ClientState {
14
+ chainId: string;
15
+ trustLevel?: Fraction;
16
+ /**
17
+ * duration of the period since the LastestTimestamp during which the
18
+ * submitted headers are valid for upgrade
19
+ */
20
+ trustingPeriod?: Duration;
21
+ /** duration of the staking unbonding period */
22
+ unbondingPeriod?: Duration;
23
+ /** defines how much new (untrusted) header's Time can drift into the future. */
24
+ maxClockDrift?: Duration;
25
+ /** Block height when the client was frozen due to a misbehaviour */
26
+ frozenHeight?: Height;
27
+ /** Latest height the client was updated to */
28
+ latestHeight?: Height;
29
+ /** Proof specifications used in verifying counterparty state */
30
+ proofSpecs: ProofSpec[];
31
+ /**
32
+ * Path at which next upgraded client will be committed.
33
+ * Each element corresponds to the key for a single CommitmentProof in the
34
+ * chained proof. NOTE: ClientState must stored under
35
+ * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored
36
+ * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using
37
+ * the default upgrade module, upgrade_path should be []string{"upgrade",
38
+ * "upgradedIBCState"}`
39
+ */
40
+ upgradePath: string[];
41
+ /**
42
+ * This flag, when set to true, will allow governance to recover a client
43
+ * which has expired
44
+ */
45
+ allowUpdateAfterExpiry: boolean;
46
+ /**
47
+ * This flag, when set to true, will allow governance to unfreeze a client
48
+ * whose chain has experienced a misbehaviour event
49
+ */
50
+ allowUpdateAfterMisbehaviour: boolean;
51
+ }
52
+ /**
53
+ * ClientState from Tendermint tracks the current validator set, latest height,
54
+ * and a possible frozen height.
55
+ */
56
+ export interface ClientStateSDKType {
57
+ chain_id: string;
58
+ trust_level?: FractionSDKType;
59
+ /**
60
+ * duration of the period since the LastestTimestamp during which the
61
+ * submitted headers are valid for upgrade
62
+ */
63
+ trusting_period?: DurationSDKType;
64
+ /** duration of the staking unbonding period */
65
+ unbonding_period?: DurationSDKType;
66
+ /** defines how much new (untrusted) header's Time can drift into the future. */
67
+ max_clock_drift?: DurationSDKType;
68
+ /** Block height when the client was frozen due to a misbehaviour */
69
+ frozen_height?: HeightSDKType;
70
+ /** Latest height the client was updated to */
71
+ latest_height?: HeightSDKType;
72
+ /** Proof specifications used in verifying counterparty state */
73
+ proof_specs: ProofSpecSDKType[];
74
+ /**
75
+ * Path at which next upgraded client will be committed.
76
+ * Each element corresponds to the key for a single CommitmentProof in the
77
+ * chained proof. NOTE: ClientState must stored under
78
+ * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored
79
+ * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using
80
+ * the default upgrade module, upgrade_path should be []string{"upgrade",
81
+ * "upgradedIBCState"}`
82
+ */
83
+ upgrade_path: string[];
84
+ /**
85
+ * This flag, when set to true, will allow governance to recover a client
86
+ * which has expired
87
+ */
88
+ allow_update_after_expiry: boolean;
89
+ /**
90
+ * This flag, when set to true, will allow governance to unfreeze a client
91
+ * whose chain has experienced a misbehaviour event
92
+ */
93
+ allow_update_after_misbehaviour: boolean;
94
+ }
95
+ /** ConsensusState defines the consensus state from Tendermint. */
96
+ export interface ConsensusState {
97
+ /**
98
+ * timestamp that corresponds to the block height in which the ConsensusState
99
+ * was stored.
100
+ */
101
+ timestamp?: Date;
102
+ /** commitment root (i.e app hash) */
103
+ root?: MerkleRoot;
104
+ nextValidatorsHash: Uint8Array;
105
+ }
106
+ /** ConsensusState defines the consensus state from Tendermint. */
107
+ export interface ConsensusStateSDKType {
108
+ /**
109
+ * timestamp that corresponds to the block height in which the ConsensusState
110
+ * was stored.
111
+ */
112
+ timestamp?: Date;
113
+ /** commitment root (i.e app hash) */
114
+ root?: MerkleRootSDKType;
115
+ next_validators_hash: Uint8Array;
116
+ }
117
+ /**
118
+ * Misbehaviour is a wrapper over two conflicting Headers
119
+ * that implements Misbehaviour interface expected by ICS-02
120
+ */
121
+ export interface Misbehaviour {
122
+ clientId: string;
123
+ header1?: Header;
124
+ header2?: Header;
125
+ }
126
+ /**
127
+ * Misbehaviour is a wrapper over two conflicting Headers
128
+ * that implements Misbehaviour interface expected by ICS-02
129
+ */
130
+ export interface MisbehaviourSDKType {
131
+ client_id: string;
132
+ header_1?: HeaderSDKType;
133
+ header_2?: HeaderSDKType;
134
+ }
135
+ /**
136
+ * Header defines the Tendermint client consensus Header.
137
+ * It encapsulates all the information necessary to update from a trusted
138
+ * Tendermint ConsensusState. The inclusion of TrustedHeight and
139
+ * TrustedValidators allows this update to process correctly, so long as the
140
+ * ConsensusState for the TrustedHeight exists, this removes race conditions
141
+ * among relayers The SignedHeader and ValidatorSet are the new untrusted update
142
+ * fields for the client. The TrustedHeight is the height of a stored
143
+ * ConsensusState on the client that will be used to verify the new untrusted
144
+ * header. The Trusted ConsensusState must be within the unbonding period of
145
+ * current time in order to correctly verify, and the TrustedValidators must
146
+ * hash to TrustedConsensusState.NextValidatorsHash since that is the last
147
+ * trusted validator set at the TrustedHeight.
148
+ */
149
+ export interface Header {
150
+ signedHeader?: SignedHeader;
151
+ validatorSet?: ValidatorSet;
152
+ trustedHeight?: Height;
153
+ trustedValidators?: ValidatorSet;
154
+ }
155
+ /**
156
+ * Header defines the Tendermint client consensus Header.
157
+ * It encapsulates all the information necessary to update from a trusted
158
+ * Tendermint ConsensusState. The inclusion of TrustedHeight and
159
+ * TrustedValidators allows this update to process correctly, so long as the
160
+ * ConsensusState for the TrustedHeight exists, this removes race conditions
161
+ * among relayers The SignedHeader and ValidatorSet are the new untrusted update
162
+ * fields for the client. The TrustedHeight is the height of a stored
163
+ * ConsensusState on the client that will be used to verify the new untrusted
164
+ * header. The Trusted ConsensusState must be within the unbonding period of
165
+ * current time in order to correctly verify, and the TrustedValidators must
166
+ * hash to TrustedConsensusState.NextValidatorsHash since that is the last
167
+ * trusted validator set at the TrustedHeight.
168
+ */
169
+ export interface HeaderSDKType {
170
+ signed_header?: SignedHeaderSDKType;
171
+ validator_set?: ValidatorSetSDKType;
172
+ trusted_height?: HeightSDKType;
173
+ trusted_validators?: ValidatorSetSDKType;
174
+ }
175
+ /**
176
+ * Fraction defines the protobuf message type for tmmath.Fraction that only
177
+ * supports positive values.
178
+ */
179
+ export interface Fraction {
180
+ numerator: Long;
181
+ denominator: Long;
182
+ }
183
+ /**
184
+ * Fraction defines the protobuf message type for tmmath.Fraction that only
185
+ * supports positive values.
186
+ */
187
+ export interface FractionSDKType {
188
+ numerator: Long;
189
+ denominator: Long;
190
+ }
191
+ export declare const ClientState: {
192
+ encode(message: ClientState, writer?: _m0.Writer): _m0.Writer;
193
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientState;
194
+ fromPartial(object: DeepPartial<ClientState>): ClientState;
195
+ };
196
+ export declare const ConsensusState: {
197
+ encode(message: ConsensusState, writer?: _m0.Writer): _m0.Writer;
198
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState;
199
+ fromPartial(object: DeepPartial<ConsensusState>): ConsensusState;
200
+ };
201
+ export declare const Misbehaviour: {
202
+ encode(message: Misbehaviour, writer?: _m0.Writer): _m0.Writer;
203
+ decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour;
204
+ fromPartial(object: DeepPartial<Misbehaviour>): Misbehaviour;
205
+ };
206
+ export declare const Header: {
207
+ encode(message: Header, writer?: _m0.Writer): _m0.Writer;
208
+ decode(input: _m0.Reader | Uint8Array, length?: number): Header;
209
+ fromPartial(object: DeepPartial<Header>): Header;
210
+ };
211
+ export declare const Fraction: {
212
+ encode(message: Fraction, writer?: _m0.Writer): _m0.Writer;
213
+ decode(input: _m0.Reader | Uint8Array, length?: number): Fraction;
214
+ fromPartial(object: DeepPartial<Fraction>): Fraction;
215
+ };