@bze/bzejs 0.0.9 → 0.0.10

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 (396) hide show
  1. package/main/codegen/amino/amino.js +5 -0
  2. package/main/codegen/amino/bundle.js +15 -0
  3. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
  4. package/main/codegen/beezee/cointrunk/article.js +1 -1
  5. package/main/codegen/beezee/cointrunk/events.js +1 -1
  6. package/main/codegen/beezee/cointrunk/genesis.js +1 -1
  7. package/main/codegen/beezee/cointrunk/publisher.js +1 -1
  8. package/main/codegen/bze/bundle.js +34 -34
  9. package/main/codegen/confio/proofs.js +1145 -0
  10. package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
  11. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
  12. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  13. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  14. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
  15. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
  16. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
  17. package/main/codegen/cosmos/bundle.js +213 -213
  18. package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
  19. package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
  20. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
  21. package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
  22. package/main/codegen/cosmos/gov/v1/gov.js +2 -21
  23. package/main/codegen/cosmos/gov/v1/query.js +1 -1
  24. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  25. package/main/codegen/cosmos/gov/v1beta1/gov.js +2 -21
  26. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
  27. package/main/codegen/cosmos/group/v1/events.js +1 -1
  28. package/main/codegen/cosmos/group/v1/genesis.js +1 -1
  29. package/main/codegen/cosmos/group/v1/query.js +1 -1
  30. package/main/codegen/cosmos/group/v1/tx.js +1 -7
  31. package/main/codegen/cosmos/group/v1/types.js +4 -38
  32. package/main/codegen/cosmos/orm/v1alpha1/schema.js +1 -10
  33. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
  34. package/main/codegen/cosmos/staking/v1beta1/authz.js +1 -13
  35. package/main/codegen/cosmos/staking/v1beta1/staking.js +1 -9
  36. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -2
  37. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -19
  38. package/main/codegen/cosmos/tx/v1beta1/service.js +2 -17
  39. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  40. package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
  41. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
  42. package/main/codegen/cosmos_proto/bundle.js +2 -2
  43. package/main/codegen/cosmos_proto/cosmos.js +1 -7
  44. package/main/codegen/gogoproto/bundle.js +2 -2
  45. package/main/codegen/google/bundle.js +9 -9
  46. package/main/codegen/google/protobuf/descriptor.js +6 -63
  47. package/main/codegen/google/protobuf/duration.js +1 -1
  48. package/main/codegen/google/protobuf/timestamp.js +1 -1
  49. package/main/codegen/helpers.js +1 -1
  50. package/main/codegen/ibc/applications/transfer/v1/genesis.js +82 -0
  51. package/main/codegen/ibc/applications/transfer/v1/query.js +291 -0
  52. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +114 -0
  53. package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +75 -0
  54. package/main/codegen/ibc/applications/transfer/v1/transfer.js +124 -0
  55. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +61 -0
  56. package/main/codegen/ibc/applications/transfer/v1/tx.js +141 -0
  57. package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +44 -0
  58. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +35 -0
  59. package/main/codegen/ibc/applications/transfer/v2/packet.js +83 -0
  60. package/main/codegen/ibc/bundle.js +116 -0
  61. package/main/codegen/ibc/client.js +67 -0
  62. package/main/codegen/ibc/core/channel/v1/channel.js +596 -0
  63. package/main/codegen/ibc/core/channel/v1/genesis.js +252 -0
  64. package/main/codegen/ibc/core/channel/v1/query.js +1749 -0
  65. package/main/codegen/ibc/core/channel/v1/query.lcd.js +406 -0
  66. package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +204 -0
  67. package/main/codegen/ibc/core/channel/v1/tx.amino.js +508 -0
  68. package/main/codegen/ibc/core/channel/v1/tx.js +1101 -0
  69. package/main/codegen/ibc/core/channel/v1/tx.registry.js +206 -0
  70. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +125 -0
  71. package/main/codegen/ibc/core/client/v1/client.js +459 -0
  72. package/main/codegen/ibc/core/client/v1/genesis.js +250 -0
  73. package/main/codegen/ibc/core/client/v1/query.js +841 -0
  74. package/main/codegen/ibc/core/client/v1/query.lcd.js +263 -0
  75. package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +142 -0
  76. package/main/codegen/ibc/core/client/v1/tx.amino.js +148 -0
  77. package/main/codegen/ibc/core/client/v1/tx.js +411 -0
  78. package/main/codegen/ibc/core/client/v1/tx.registry.js +98 -0
  79. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +65 -0
  80. package/main/codegen/ibc/core/commitment/v1/commitment.js +234 -0
  81. package/main/codegen/ibc/core/connection/v1/connection.js +532 -0
  82. package/main/codegen/ibc/core/connection/v1/genesis.js +102 -0
  83. package/main/codegen/ibc/core/connection/v1/query.js +615 -0
  84. package/main/codegen/ibc/core/connection/v1/query.lcd.js +170 -0
  85. package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +100 -0
  86. package/main/codegen/ibc/core/connection/v1/tx.amino.js +268 -0
  87. package/main/codegen/ibc/core/connection/v1/tx.js +568 -0
  88. package/main/codegen/ibc/core/connection/v1/tx.registry.js +98 -0
  89. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +65 -0
  90. package/main/codegen/ibc/core/port/v1/query.js +133 -0
  91. package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +45 -0
  92. package/main/codegen/ibc/core/types/v1/genesis.js +69 -0
  93. package/main/codegen/ibc/lcd.js +341 -0
  94. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +66 -0
  95. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1054 -0
  96. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1054 -0
  97. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +434 -0
  98. package/main/codegen/ibc/rpc.query.js +280 -0
  99. package/main/codegen/ibc/rpc.tx.js +256 -0
  100. package/main/codegen/ics23/bundle.js +15 -0
  101. package/main/codegen/index.js +58 -25
  102. package/main/codegen/tendermint/abci/types.js +4 -33
  103. package/main/codegen/tendermint/bundle.js +17 -17
  104. package/main/codegen/tendermint/crypto/proof.js +1 -1
  105. package/main/codegen/tendermint/libs/bits/types.js +1 -1
  106. package/main/codegen/tendermint/p2p/types.js +1 -1
  107. package/main/codegen/tendermint/types/types.js +2 -18
  108. package/main/codegen/tendermint/types/validator.js +1 -1
  109. package/main/codegen/tendermint/version/types.js +1 -1
  110. package/module/codegen/amino/amino.js +1 -0
  111. package/module/codegen/amino/bundle.js +5 -0
  112. package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
  113. package/module/codegen/beezee/cointrunk/article.js +1 -1
  114. package/module/codegen/beezee/cointrunk/events.js +1 -1
  115. package/module/codegen/beezee/cointrunk/genesis.js +1 -1
  116. package/module/codegen/beezee/cointrunk/publisher.js +1 -1
  117. package/module/codegen/bze/bundle.js +34 -34
  118. package/module/codegen/confio/proofs.js +1051 -0
  119. package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
  120. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -2
  121. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  122. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  123. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
  124. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
  125. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
  126. package/module/codegen/cosmos/bundle.js +213 -213
  127. package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
  128. package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
  129. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
  130. package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
  131. package/module/codegen/cosmos/gov/v1/gov.js +2 -23
  132. package/module/codegen/cosmos/gov/v1/query.js +1 -1
  133. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  134. package/module/codegen/cosmos/gov/v1beta1/gov.js +2 -23
  135. package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
  136. package/module/codegen/cosmos/group/v1/events.js +1 -1
  137. package/module/codegen/cosmos/group/v1/genesis.js +1 -1
  138. package/module/codegen/cosmos/group/v1/query.js +1 -1
  139. package/module/codegen/cosmos/group/v1/tx.js +1 -8
  140. package/module/codegen/cosmos/group/v1/types.js +4 -42
  141. package/module/codegen/cosmos/orm/v1alpha1/schema.js +1 -11
  142. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
  143. package/module/codegen/cosmos/staking/v1beta1/authz.js +1 -14
  144. package/module/codegen/cosmos/staking/v1beta1/staking.js +1 -10
  145. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -1
  146. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +1 -20
  147. package/module/codegen/cosmos/tx/v1beta1/service.js +2 -19
  148. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  149. package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
  150. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
  151. package/module/codegen/cosmos_proto/bundle.js +2 -2
  152. package/module/codegen/cosmos_proto/cosmos.js +1 -7
  153. package/module/codegen/gogoproto/bundle.js +2 -2
  154. package/module/codegen/google/bundle.js +9 -9
  155. package/module/codegen/google/protobuf/descriptor.js +6 -65
  156. package/module/codegen/google/protobuf/duration.js +1 -1
  157. package/module/codegen/google/protobuf/timestamp.js +1 -1
  158. package/module/codegen/helpers.js +1 -1
  159. package/module/codegen/ibc/applications/transfer/v1/genesis.js +59 -0
  160. package/module/codegen/ibc/applications/transfer/v1/query.js +263 -0
  161. package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +39 -0
  162. package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +47 -0
  163. package/module/codegen/ibc/applications/transfer/v1/transfer.js +114 -0
  164. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +57 -0
  165. package/module/codegen/ibc/applications/transfer/v1/tx.js +130 -0
  166. package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +33 -0
  167. package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +17 -0
  168. package/module/codegen/ibc/applications/transfer/v2/packet.js +74 -0
  169. package/module/codegen/ibc/bundle.js +106 -0
  170. package/module/codegen/ibc/client.js +42 -0
  171. package/module/codegen/ibc/core/channel/v1/channel.js +554 -0
  172. package/module/codegen/ibc/core/channel/v1/genesis.js +161 -0
  173. package/module/codegen/ibc/core/channel/v1/query.js +1612 -0
  174. package/module/codegen/ibc/core/channel/v1/query.lcd.js +138 -0
  175. package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +137 -0
  176. package/module/codegen/ibc/core/channel/v1/tx.amino.js +522 -0
  177. package/module/codegen/ibc/core/channel/v1/tx.js +1072 -0
  178. package/module/codegen/ibc/core/channel/v1/tx.registry.js +195 -0
  179. package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +71 -0
  180. package/module/codegen/ibc/core/client/v1/client.js +418 -0
  181. package/module/codegen/ibc/core/client/v1/genesis.js +191 -0
  182. package/module/codegen/ibc/core/client/v1/query.js +791 -0
  183. package/module/codegen/ibc/core/client/v1/query.lcd.js +88 -0
  184. package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +92 -0
  185. package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
  186. package/module/codegen/ibc/core/client/v1/tx.js +395 -0
  187. package/module/codegen/ibc/core/client/v1/tx.registry.js +87 -0
  188. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +35 -0
  189. package/module/codegen/ibc/core/commitment/v1/commitment.js +197 -0
  190. package/module/codegen/ibc/core/connection/v1/connection.js +457 -0
  191. package/module/codegen/ibc/core/connection/v1/genesis.js +67 -0
  192. package/module/codegen/ibc/core/connection/v1/query.js +571 -0
  193. package/module/codegen/ibc/core/connection/v1/query.lcd.js +56 -0
  194. package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +65 -0
  195. package/module/codegen/ibc/core/connection/v1/tx.amino.js +266 -0
  196. package/module/codegen/ibc/core/connection/v1/tx.js +537 -0
  197. package/module/codegen/ibc/core/connection/v1/tx.registry.js +87 -0
  198. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +35 -0
  199. package/module/codegen/ibc/core/port/v1/query.js +123 -0
  200. package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
  201. package/module/codegen/ibc/core/types/v1/genesis.js +60 -0
  202. package/module/codegen/ibc/lcd.js +123 -0
  203. package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -0
  204. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1028 -0
  205. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1028 -0
  206. package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +395 -0
  207. package/module/codegen/ibc/rpc.query.js +87 -0
  208. package/module/codegen/ibc/rpc.tx.js +64 -0
  209. package/module/codegen/ics23/bundle.js +5 -0
  210. package/module/codegen/index.js +6 -3
  211. package/module/codegen/tendermint/abci/types.js +4 -33
  212. package/module/codegen/tendermint/bundle.js +17 -17
  213. package/module/codegen/tendermint/crypto/proof.js +1 -1
  214. package/module/codegen/tendermint/libs/bits/types.js +1 -1
  215. package/module/codegen/tendermint/p2p/types.js +1 -1
  216. package/module/codegen/tendermint/types/evidence.js +1 -1
  217. package/module/codegen/tendermint/types/types.js +3 -21
  218. package/module/codegen/tendermint/types/validator.js +1 -1
  219. package/module/codegen/tendermint/version/types.js +1 -1
  220. package/package.json +1 -1
  221. package/src/codegen/amino/amino.ts +1 -0
  222. package/src/codegen/amino/bundle.ts +3 -0
  223. package/src/codegen/beezee/burner/query.ts +0 -1
  224. package/src/codegen/beezee/burner/tx.amino.ts +3 -3
  225. package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
  226. package/src/codegen/beezee/cointrunk/article.ts +1 -1
  227. package/src/codegen/beezee/cointrunk/events.ts +1 -1
  228. package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
  229. package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
  230. package/src/codegen/beezee/cointrunk/query.ts +0 -1
  231. package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
  232. package/src/codegen/bze/bundle.ts +48 -48
  233. package/src/codegen/confio/proofs.ts +1451 -0
  234. package/src/codegen/cosmos/app/v1alpha1/config.ts +0 -18
  235. package/src/codegen/cosmos/app/v1alpha1/module.ts +0 -67
  236. package/src/codegen/cosmos/app/v1alpha1/query.ts +0 -1
  237. package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
  238. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +0 -3
  239. package/src/codegen/cosmos/auth/v1beta1/query.ts +0 -7
  240. package/src/codegen/cosmos/authz/v1beta1/authz.ts +0 -8
  241. package/src/codegen/cosmos/authz/v1beta1/event.ts +0 -10
  242. package/src/codegen/cosmos/authz/v1beta1/query.ts +0 -17
  243. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +9 -10
  244. package/src/codegen/cosmos/authz/v1beta1/tx.ts +0 -6
  245. package/src/codegen/cosmos/bank/v1beta1/bank.ts +0 -46
  246. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +0 -13
  247. package/src/codegen/cosmos/bank/v1beta1/query.ts +0 -44
  248. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
  249. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1 -87
  250. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +1 -40
  251. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +0 -2
  252. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +0 -78
  253. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1 -6
  254. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
  255. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +0 -3
  256. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1 -15
  257. package/src/codegen/cosmos/bundle.ts +328 -328
  258. package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
  259. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +1 -10
  260. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +0 -4
  261. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
  262. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +0 -12
  263. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +0 -11
  264. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +0 -5
  265. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +0 -48
  266. package/src/codegen/cosmos/distribution/v1beta1/query.ts +0 -27
  267. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
  268. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
  269. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +0 -1
  270. package/src/codegen/cosmos/evidence/v1beta1/query.ts +0 -6
  271. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
  272. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +0 -1
  273. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +0 -34
  274. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +0 -14
  275. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
  276. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +0 -8
  277. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +0 -1
  278. package/src/codegen/cosmos/gov/v1/genesis.ts +1 -14
  279. package/src/codegen/cosmos/gov/v1/gov.ts +4 -86
  280. package/src/codegen/cosmos/gov/v1/query.ts +3 -43
  281. package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
  282. package/src/codegen/cosmos/gov/v1/tx.ts +2 -7
  283. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +1 -14
  284. package/src/codegen/cosmos/gov/v1beta1/gov.ts +5 -91
  285. package/src/codegen/cosmos/gov/v1beta1/query.ts +3 -43
  286. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
  287. package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
  288. package/src/codegen/cosmos/group/v1/events.ts +3 -16
  289. package/src/codegen/cosmos/group/v1/genesis.ts +1 -25
  290. package/src/codegen/cosmos/group/v1/query.ts +1 -61
  291. package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
  292. package/src/codegen/cosmos/group/v1/tx.ts +5 -121
  293. package/src/codegen/cosmos/group/v1/types.ts +8 -205
  294. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +0 -3
  295. package/src/codegen/cosmos/mint/v1beta1/mint.ts +0 -14
  296. package/src/codegen/cosmos/mint/v1beta1/query.ts +0 -3
  297. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +0 -4
  298. package/src/codegen/cosmos/nft/v1beta1/nft.ts +0 -22
  299. package/src/codegen/cosmos/nft/v1beta1/query.ts +0 -1
  300. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
  301. package/src/codegen/cosmos/nft/v1beta1/tx.ts +0 -7
  302. package/src/codegen/cosmos/orm/v1/orm.ts +0 -71
  303. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +2 -70
  304. package/src/codegen/cosmos/params/v1beta1/query.ts +0 -4
  305. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +0 -20
  306. package/src/codegen/cosmos/slashing/v1beta1/query.ts +0 -3
  307. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +1 -21
  308. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
  309. package/src/codegen/cosmos/staking/v1beta1/authz.ts +2 -34
  310. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +0 -22
  311. package/src/codegen/cosmos/staking/v1beta1/query.ts +0 -60
  312. package/src/codegen/cosmos/staking/v1beta1/staking.ts +2 -97
  313. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -16
  314. package/src/codegen/cosmos/staking/v1beta1/tx.ts +0 -7
  315. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +2 -66
  316. package/src/codegen/cosmos/tx/v1beta1/service.ts +4 -74
  317. package/src/codegen/cosmos/tx/v1beta1/tx.ts +3 -181
  318. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +0 -14
  319. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
  320. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +0 -4
  321. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +1 -35
  322. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
  323. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
  324. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
  325. package/src/codegen/cosmos_proto/bundle.ts +2 -2
  326. package/src/codegen/cosmos_proto/cosmos.ts +2 -37
  327. package/src/codegen/gogoproto/bundle.ts +2 -2
  328. package/src/codegen/google/api/http.ts +0 -66
  329. package/src/codegen/google/bundle.ts +13 -13
  330. package/src/codegen/google/protobuf/any.ts +0 -31
  331. package/src/codegen/google/protobuf/descriptor.ts +12 -638
  332. package/src/codegen/google/protobuf/duration.ts +1 -15
  333. package/src/codegen/google/protobuf/timestamp.ts +1 -13
  334. package/src/codegen/helpers.ts +3 -1
  335. package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
  336. package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
  337. package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +65 -0
  338. package/src/codegen/ibc/applications/transfer/v1/query.ts +362 -0
  339. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +167 -0
  340. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
  341. package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
  342. package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +24 -0
  343. package/src/codegen/ibc/applications/transfer/v1/tx.ts +198 -0
  344. package/src/codegen/ibc/applications/transfer/v2/packet.ts +108 -0
  345. package/src/codegen/ibc/bundle.ts +137 -0
  346. package/src/codegen/ibc/client.ts +54 -0
  347. package/src/codegen/ibc/core/channel/v1/channel.ts +826 -0
  348. package/src/codegen/ibc/core/channel/v1/genesis.ts +229 -0
  349. package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
  350. package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +229 -0
  351. package/src/codegen/ibc/core/channel/v1/query.ts +2326 -0
  352. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
  353. package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
  354. package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +117 -0
  355. package/src/codegen/ibc/core/channel/v1/tx.ts +1487 -0
  356. package/src/codegen/ibc/core/client/v1/client.ts +597 -0
  357. package/src/codegen/ibc/core/client/v1/genesis.ts +276 -0
  358. package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
  359. package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +141 -0
  360. package/src/codegen/ibc/core/client/v1/query.ts +1095 -0
  361. package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
  362. package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
  363. package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +54 -0
  364. package/src/codegen/ibc/core/client/v1/tx.ts +571 -0
  365. package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
  366. package/src/codegen/ibc/core/connection/v1/connection.ts +685 -0
  367. package/src/codegen/ibc/core/connection/v1/genesis.ts +96 -0
  368. package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
  369. package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +102 -0
  370. package/src/codegen/ibc/core/connection/v1/query.ts +805 -0
  371. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
  372. package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
  373. package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +57 -0
  374. package/src/codegen/ibc/core/connection/v1/tx.ts +770 -0
  375. package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +35 -0
  376. package/src/codegen/ibc/core/port/v1/query.ts +185 -0
  377. package/src/codegen/ibc/core/types/v1/genesis.ts +92 -0
  378. package/src/codegen/ibc/lcd.ts +125 -0
  379. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +79 -0
  380. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1441 -0
  381. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1441 -0
  382. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +585 -0
  383. package/src/codegen/ibc/rpc.query.ts +89 -0
  384. package/src/codegen/ibc/rpc.tx.ts +67 -0
  385. package/src/codegen/ics23/bundle.ts +3 -0
  386. package/src/codegen/index.ts +6 -3
  387. package/src/codegen/tendermint/abci/types.ts +8 -109
  388. package/src/codegen/tendermint/bundle.ts +22 -22
  389. package/src/codegen/tendermint/crypto/proof.ts +1 -4
  390. package/src/codegen/tendermint/libs/bits/types.ts +1 -1
  391. package/src/codegen/tendermint/p2p/types.ts +1 -1
  392. package/src/codegen/tendermint/types/evidence.ts +1 -1
  393. package/src/codegen/tendermint/types/params.ts +0 -36
  394. package/src/codegen/tendermint/types/types.ts +6 -50
  395. package/src/codegen/tendermint/types/validator.ts +1 -1
  396. package/src/codegen/tendermint/version/types.ts +1 -1
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.LCDQueryClient = void 0;
8
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
12
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
+ var _helpers = require("../../../../helpers");
14
+ var LCDQueryClient = exports.LCDQueryClient = /*#__PURE__*/function () {
15
+ function LCDQueryClient(_ref) {
16
+ var requestClient = _ref.requestClient;
17
+ (0, _classCallCheck2["default"])(this, LCDQueryClient);
18
+ (0, _defineProperty2["default"])(this, "req", void 0);
19
+ this.req = requestClient;
20
+ this.connection = this.connection.bind(this);
21
+ this.connections = this.connections.bind(this);
22
+ this.clientConnections = this.clientConnections.bind(this);
23
+ this.connectionClientState = this.connectionClientState.bind(this);
24
+ this.connectionConsensusState = this.connectionConsensusState.bind(this);
25
+ }
26
+ /* Connection queries an IBC connection end. */
27
+ (0, _createClass2["default"])(LCDQueryClient, [{
28
+ key: "connection",
29
+ value: (function () {
30
+ var _connection = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(params) {
31
+ var endpoint;
32
+ return _regenerator["default"].wrap(function _callee$(_context) {
33
+ while (1) switch (_context.prev = _context.next) {
34
+ case 0:
35
+ endpoint = "ibc/core/connection/v1/connections/".concat(params.connectionId);
36
+ _context.next = 3;
37
+ return this.req.get(endpoint);
38
+ case 3:
39
+ return _context.abrupt("return", _context.sent);
40
+ case 4:
41
+ case "end":
42
+ return _context.stop();
43
+ }
44
+ }, _callee, this);
45
+ }));
46
+ function connection(_x) {
47
+ return _connection.apply(this, arguments);
48
+ }
49
+ return connection;
50
+ }() /* Connections queries all the IBC connections of a chain. */)
51
+ }, {
52
+ key: "connections",
53
+ value: (function () {
54
+ var _connections = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
55
+ var params,
56
+ options,
57
+ endpoint,
58
+ _args2 = arguments;
59
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
60
+ while (1) switch (_context2.prev = _context2.next) {
61
+ case 0:
62
+ params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {
63
+ pagination: undefined
64
+ };
65
+ options = {
66
+ params: {}
67
+ };
68
+ if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
69
+ (0, _helpers.setPaginationParams)(options, params.pagination);
70
+ }
71
+ endpoint = "ibc/core/connection/v1/connections";
72
+ _context2.next = 6;
73
+ return this.req.get(endpoint, options);
74
+ case 6:
75
+ return _context2.abrupt("return", _context2.sent);
76
+ case 7:
77
+ case "end":
78
+ return _context2.stop();
79
+ }
80
+ }, _callee2, this);
81
+ }));
82
+ function connections() {
83
+ return _connections.apply(this, arguments);
84
+ }
85
+ return connections;
86
+ }()
87
+ /* ClientConnections queries the connection paths associated with a client
88
+ state. */
89
+ )
90
+ }, {
91
+ key: "clientConnections",
92
+ value: (function () {
93
+ var _clientConnections = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(params) {
94
+ var endpoint;
95
+ return _regenerator["default"].wrap(function _callee3$(_context3) {
96
+ while (1) switch (_context3.prev = _context3.next) {
97
+ case 0:
98
+ endpoint = "ibc/core/connection/v1/client_connections/".concat(params.clientId);
99
+ _context3.next = 3;
100
+ return this.req.get(endpoint);
101
+ case 3:
102
+ return _context3.abrupt("return", _context3.sent);
103
+ case 4:
104
+ case "end":
105
+ return _context3.stop();
106
+ }
107
+ }, _callee3, this);
108
+ }));
109
+ function clientConnections(_x2) {
110
+ return _clientConnections.apply(this, arguments);
111
+ }
112
+ return clientConnections;
113
+ }()
114
+ /* ConnectionClientState queries the client state associated with the
115
+ connection. */
116
+ )
117
+ }, {
118
+ key: "connectionClientState",
119
+ value: (function () {
120
+ var _connectionClientState = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(params) {
121
+ var endpoint;
122
+ return _regenerator["default"].wrap(function _callee4$(_context4) {
123
+ while (1) switch (_context4.prev = _context4.next) {
124
+ case 0:
125
+ endpoint = "ibc/core/connection/v1/connections/".concat(params.connectionId, "/client_state");
126
+ _context4.next = 3;
127
+ return this.req.get(endpoint);
128
+ case 3:
129
+ return _context4.abrupt("return", _context4.sent);
130
+ case 4:
131
+ case "end":
132
+ return _context4.stop();
133
+ }
134
+ }, _callee4, this);
135
+ }));
136
+ function connectionClientState(_x3) {
137
+ return _connectionClientState.apply(this, arguments);
138
+ }
139
+ return connectionClientState;
140
+ }()
141
+ /* ConnectionConsensusState queries the consensus state associated with the
142
+ connection. */
143
+ )
144
+ }, {
145
+ key: "connectionConsensusState",
146
+ value: (function () {
147
+ var _connectionConsensusState = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(params) {
148
+ var endpoint;
149
+ return _regenerator["default"].wrap(function _callee5$(_context5) {
150
+ while (1) switch (_context5.prev = _context5.next) {
151
+ case 0:
152
+ endpoint = "ibc/core/connection/v1/connections/".concat(params.connectionId, "/consensus_state/revision/").concat(params.revisionNumber, "/height/").concat(params.revisionHeight);
153
+ _context5.next = 3;
154
+ return this.req.get(endpoint);
155
+ case 3:
156
+ return _context5.abrupt("return", _context5.sent);
157
+ case 4:
158
+ case "end":
159
+ return _context5.stop();
160
+ }
161
+ }, _callee5, this);
162
+ }));
163
+ function connectionConsensusState(_x4) {
164
+ return _connectionConsensusState.apply(this, arguments);
165
+ }
166
+ return connectionConsensusState;
167
+ }())
168
+ }]);
169
+ return LCDQueryClient;
170
+ }();
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.createRpcQueryExtension = exports.QueryClientImpl = void 0;
9
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
+ var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
13
+ var _stargate = require("@cosmjs/stargate");
14
+ var _query = require("./query");
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
+ /** Query provides defines the gRPC querier service */
18
+ var QueryClientImpl = exports.QueryClientImpl = /*#__PURE__*/function () {
19
+ function QueryClientImpl(rpc) {
20
+ (0, _classCallCheck2["default"])(this, QueryClientImpl);
21
+ (0, _defineProperty2["default"])(this, "rpc", void 0);
22
+ this.rpc = rpc;
23
+ this.connection = this.connection.bind(this);
24
+ this.connections = this.connections.bind(this);
25
+ this.clientConnections = this.clientConnections.bind(this);
26
+ this.connectionClientState = this.connectionClientState.bind(this);
27
+ this.connectionConsensusState = this.connectionConsensusState.bind(this);
28
+ }
29
+ (0, _createClass2["default"])(QueryClientImpl, [{
30
+ key: "connection",
31
+ value: function connection(request) {
32
+ var data = _query.QueryConnectionRequest.encode(request).finish();
33
+ var promise = this.rpc.request("ibc.core.connection.v1.Query", "Connection", data);
34
+ return promise.then(function (data) {
35
+ return _query.QueryConnectionResponse.decode(new _m0.Reader(data));
36
+ });
37
+ }
38
+ }, {
39
+ key: "connections",
40
+ value: function connections() {
41
+ var request = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
42
+ pagination: undefined
43
+ };
44
+ var data = _query.QueryConnectionsRequest.encode(request).finish();
45
+ var promise = this.rpc.request("ibc.core.connection.v1.Query", "Connections", data);
46
+ return promise.then(function (data) {
47
+ return _query.QueryConnectionsResponse.decode(new _m0.Reader(data));
48
+ });
49
+ }
50
+ }, {
51
+ key: "clientConnections",
52
+ value: function clientConnections(request) {
53
+ var data = _query.QueryClientConnectionsRequest.encode(request).finish();
54
+ var promise = this.rpc.request("ibc.core.connection.v1.Query", "ClientConnections", data);
55
+ return promise.then(function (data) {
56
+ return _query.QueryClientConnectionsResponse.decode(new _m0.Reader(data));
57
+ });
58
+ }
59
+ }, {
60
+ key: "connectionClientState",
61
+ value: function connectionClientState(request) {
62
+ var data = _query.QueryConnectionClientStateRequest.encode(request).finish();
63
+ var promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionClientState", data);
64
+ return promise.then(function (data) {
65
+ return _query.QueryConnectionClientStateResponse.decode(new _m0.Reader(data));
66
+ });
67
+ }
68
+ }, {
69
+ key: "connectionConsensusState",
70
+ value: function connectionConsensusState(request) {
71
+ var data = _query.QueryConnectionConsensusStateRequest.encode(request).finish();
72
+ var promise = this.rpc.request("ibc.core.connection.v1.Query", "ConnectionConsensusState", data);
73
+ return promise.then(function (data) {
74
+ return _query.QueryConnectionConsensusStateResponse.decode(new _m0.Reader(data));
75
+ });
76
+ }
77
+ }]);
78
+ return QueryClientImpl;
79
+ }();
80
+ var createRpcQueryExtension = exports.createRpcQueryExtension = function createRpcQueryExtension(base) {
81
+ var rpc = (0, _stargate.createProtobufRpcClient)(base);
82
+ var queryService = new QueryClientImpl(rpc);
83
+ return {
84
+ connection: function connection(request) {
85
+ return queryService.connection(request);
86
+ },
87
+ connections: function connections(request) {
88
+ return queryService.connections(request);
89
+ },
90
+ clientConnections: function clientConnections(request) {
91
+ return queryService.clientConnections(request);
92
+ },
93
+ connectionClientState: function connectionClientState(request) {
94
+ return queryService.connectionClientState(request);
95
+ },
96
+ connectionConsensusState: function connectionConsensusState(request) {
97
+ return queryService.connectionConsensusState(request);
98
+ }
99
+ };
100
+ };
@@ -0,0 +1,268 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AminoConverter = void 0;
7
+ var _helpers = require("../../../../helpers");
8
+ var AminoConverter = exports.AminoConverter = {
9
+ "/ibc.core.connection.v1.MsgConnectionOpenInit": {
10
+ aminoType: "cosmos-sdk/MsgConnectionOpenInit",
11
+ toAmino: function toAmino(_ref) {
12
+ var clientId = _ref.clientId,
13
+ counterparty = _ref.counterparty,
14
+ version = _ref.version,
15
+ delayPeriod = _ref.delayPeriod,
16
+ signer = _ref.signer;
17
+ return {
18
+ client_id: clientId,
19
+ counterparty: {
20
+ client_id: counterparty.clientId,
21
+ connection_id: counterparty.connectionId,
22
+ prefix: {
23
+ key_prefix: counterparty.prefix.keyPrefix
24
+ }
25
+ },
26
+ version: {
27
+ identifier: version.identifier,
28
+ features: version.features
29
+ },
30
+ delay_period: delayPeriod.toString(),
31
+ signer: signer
32
+ };
33
+ },
34
+ fromAmino: function fromAmino(_ref2) {
35
+ var client_id = _ref2.client_id,
36
+ counterparty = _ref2.counterparty,
37
+ version = _ref2.version,
38
+ delay_period = _ref2.delay_period,
39
+ signer = _ref2.signer;
40
+ return {
41
+ clientId: client_id,
42
+ counterparty: {
43
+ clientId: counterparty.client_id,
44
+ connectionId: counterparty.connection_id,
45
+ prefix: {
46
+ keyPrefix: counterparty.prefix.key_prefix
47
+ }
48
+ },
49
+ version: {
50
+ identifier: version.identifier,
51
+ features: version.features
52
+ },
53
+ delayPeriod: _helpers.Long.fromString(delay_period),
54
+ signer: signer
55
+ };
56
+ }
57
+ },
58
+ "/ibc.core.connection.v1.MsgConnectionOpenTry": {
59
+ aminoType: "cosmos-sdk/MsgConnectionOpenTry",
60
+ toAmino: function toAmino(_ref3) {
61
+ var _omitDefault, _omitDefault2, _omitDefault3, _omitDefault4;
62
+ var clientId = _ref3.clientId,
63
+ previousConnectionId = _ref3.previousConnectionId,
64
+ clientState = _ref3.clientState,
65
+ counterparty = _ref3.counterparty,
66
+ delayPeriod = _ref3.delayPeriod,
67
+ counterpartyVersions = _ref3.counterpartyVersions,
68
+ proofHeight = _ref3.proofHeight,
69
+ proofInit = _ref3.proofInit,
70
+ proofClient = _ref3.proofClient,
71
+ proofConsensus = _ref3.proofConsensus,
72
+ consensusHeight = _ref3.consensusHeight,
73
+ signer = _ref3.signer;
74
+ return {
75
+ client_id: clientId,
76
+ previous_connection_id: previousConnectionId,
77
+ client_state: {
78
+ type_url: clientState.typeUrl,
79
+ value: clientState.value
80
+ },
81
+ counterparty: {
82
+ client_id: counterparty.clientId,
83
+ connection_id: counterparty.connectionId,
84
+ prefix: {
85
+ key_prefix: counterparty.prefix.keyPrefix
86
+ }
87
+ },
88
+ delay_period: delayPeriod.toString(),
89
+ counterparty_versions: counterpartyVersions.map(function (el0) {
90
+ return {
91
+ identifier: el0.identifier,
92
+ features: el0.features
93
+ };
94
+ }),
95
+ proof_height: proofHeight ? {
96
+ revision_height: (_omitDefault = (0, _helpers.omitDefault)(proofHeight.revisionHeight)) === null || _omitDefault === void 0 ? void 0 : _omitDefault.toString(),
97
+ revision_number: (_omitDefault2 = (0, _helpers.omitDefault)(proofHeight.revisionNumber)) === null || _omitDefault2 === void 0 ? void 0 : _omitDefault2.toString()
98
+ } : {},
99
+ proof_init: proofInit,
100
+ proof_client: proofClient,
101
+ proof_consensus: proofConsensus,
102
+ consensus_height: consensusHeight ? {
103
+ revision_height: (_omitDefault3 = (0, _helpers.omitDefault)(consensusHeight.revisionHeight)) === null || _omitDefault3 === void 0 ? void 0 : _omitDefault3.toString(),
104
+ revision_number: (_omitDefault4 = (0, _helpers.omitDefault)(consensusHeight.revisionNumber)) === null || _omitDefault4 === void 0 ? void 0 : _omitDefault4.toString()
105
+ } : {},
106
+ signer: signer
107
+ };
108
+ },
109
+ fromAmino: function fromAmino(_ref4) {
110
+ var client_id = _ref4.client_id,
111
+ previous_connection_id = _ref4.previous_connection_id,
112
+ client_state = _ref4.client_state,
113
+ counterparty = _ref4.counterparty,
114
+ delay_period = _ref4.delay_period,
115
+ counterparty_versions = _ref4.counterparty_versions,
116
+ proof_height = _ref4.proof_height,
117
+ proof_init = _ref4.proof_init,
118
+ proof_client = _ref4.proof_client,
119
+ proof_consensus = _ref4.proof_consensus,
120
+ consensus_height = _ref4.consensus_height,
121
+ signer = _ref4.signer;
122
+ return {
123
+ clientId: client_id,
124
+ previousConnectionId: previous_connection_id,
125
+ clientState: {
126
+ typeUrl: client_state.type_url,
127
+ value: client_state.value
128
+ },
129
+ counterparty: {
130
+ clientId: counterparty.client_id,
131
+ connectionId: counterparty.connection_id,
132
+ prefix: {
133
+ keyPrefix: counterparty.prefix.key_prefix
134
+ }
135
+ },
136
+ delayPeriod: _helpers.Long.fromString(delay_period),
137
+ counterpartyVersions: counterparty_versions.map(function (el0) {
138
+ return {
139
+ identifier: el0.identifier,
140
+ features: el0.features
141
+ };
142
+ }),
143
+ proofHeight: proof_height ? {
144
+ revisionHeight: _helpers.Long.fromString(proof_height.revision_height || "0", true),
145
+ revisionNumber: _helpers.Long.fromString(proof_height.revision_number || "0", true)
146
+ } : undefined,
147
+ proofInit: proof_init,
148
+ proofClient: proof_client,
149
+ proofConsensus: proof_consensus,
150
+ consensusHeight: consensus_height ? {
151
+ revisionHeight: _helpers.Long.fromString(consensus_height.revision_height || "0", true),
152
+ revisionNumber: _helpers.Long.fromString(consensus_height.revision_number || "0", true)
153
+ } : undefined,
154
+ signer: signer
155
+ };
156
+ }
157
+ },
158
+ "/ibc.core.connection.v1.MsgConnectionOpenAck": {
159
+ aminoType: "cosmos-sdk/MsgConnectionOpenAck",
160
+ toAmino: function toAmino(_ref5) {
161
+ var _omitDefault5, _omitDefault6, _omitDefault7, _omitDefault8;
162
+ var connectionId = _ref5.connectionId,
163
+ counterpartyConnectionId = _ref5.counterpartyConnectionId,
164
+ version = _ref5.version,
165
+ clientState = _ref5.clientState,
166
+ proofHeight = _ref5.proofHeight,
167
+ proofTry = _ref5.proofTry,
168
+ proofClient = _ref5.proofClient,
169
+ proofConsensus = _ref5.proofConsensus,
170
+ consensusHeight = _ref5.consensusHeight,
171
+ signer = _ref5.signer;
172
+ return {
173
+ connection_id: connectionId,
174
+ counterparty_connection_id: counterpartyConnectionId,
175
+ version: {
176
+ identifier: version.identifier,
177
+ features: version.features
178
+ },
179
+ client_state: {
180
+ type_url: clientState.typeUrl,
181
+ value: clientState.value
182
+ },
183
+ proof_height: proofHeight ? {
184
+ revision_height: (_omitDefault5 = (0, _helpers.omitDefault)(proofHeight.revisionHeight)) === null || _omitDefault5 === void 0 ? void 0 : _omitDefault5.toString(),
185
+ revision_number: (_omitDefault6 = (0, _helpers.omitDefault)(proofHeight.revisionNumber)) === null || _omitDefault6 === void 0 ? void 0 : _omitDefault6.toString()
186
+ } : {},
187
+ proof_try: proofTry,
188
+ proof_client: proofClient,
189
+ proof_consensus: proofConsensus,
190
+ consensus_height: consensusHeight ? {
191
+ revision_height: (_omitDefault7 = (0, _helpers.omitDefault)(consensusHeight.revisionHeight)) === null || _omitDefault7 === void 0 ? void 0 : _omitDefault7.toString(),
192
+ revision_number: (_omitDefault8 = (0, _helpers.omitDefault)(consensusHeight.revisionNumber)) === null || _omitDefault8 === void 0 ? void 0 : _omitDefault8.toString()
193
+ } : {},
194
+ signer: signer
195
+ };
196
+ },
197
+ fromAmino: function fromAmino(_ref6) {
198
+ var connection_id = _ref6.connection_id,
199
+ counterparty_connection_id = _ref6.counterparty_connection_id,
200
+ version = _ref6.version,
201
+ client_state = _ref6.client_state,
202
+ proof_height = _ref6.proof_height,
203
+ proof_try = _ref6.proof_try,
204
+ proof_client = _ref6.proof_client,
205
+ proof_consensus = _ref6.proof_consensus,
206
+ consensus_height = _ref6.consensus_height,
207
+ signer = _ref6.signer;
208
+ return {
209
+ connectionId: connection_id,
210
+ counterpartyConnectionId: counterparty_connection_id,
211
+ version: {
212
+ identifier: version.identifier,
213
+ features: version.features
214
+ },
215
+ clientState: {
216
+ typeUrl: client_state.type_url,
217
+ value: client_state.value
218
+ },
219
+ proofHeight: proof_height ? {
220
+ revisionHeight: _helpers.Long.fromString(proof_height.revision_height || "0", true),
221
+ revisionNumber: _helpers.Long.fromString(proof_height.revision_number || "0", true)
222
+ } : undefined,
223
+ proofTry: proof_try,
224
+ proofClient: proof_client,
225
+ proofConsensus: proof_consensus,
226
+ consensusHeight: consensus_height ? {
227
+ revisionHeight: _helpers.Long.fromString(consensus_height.revision_height || "0", true),
228
+ revisionNumber: _helpers.Long.fromString(consensus_height.revision_number || "0", true)
229
+ } : undefined,
230
+ signer: signer
231
+ };
232
+ }
233
+ },
234
+ "/ibc.core.connection.v1.MsgConnectionOpenConfirm": {
235
+ aminoType: "cosmos-sdk/MsgConnectionOpenConfirm",
236
+ toAmino: function toAmino(_ref7) {
237
+ var _omitDefault9, _omitDefault10;
238
+ var connectionId = _ref7.connectionId,
239
+ proofAck = _ref7.proofAck,
240
+ proofHeight = _ref7.proofHeight,
241
+ signer = _ref7.signer;
242
+ return {
243
+ connection_id: connectionId,
244
+ proof_ack: proofAck,
245
+ proof_height: proofHeight ? {
246
+ revision_height: (_omitDefault9 = (0, _helpers.omitDefault)(proofHeight.revisionHeight)) === null || _omitDefault9 === void 0 ? void 0 : _omitDefault9.toString(),
247
+ revision_number: (_omitDefault10 = (0, _helpers.omitDefault)(proofHeight.revisionNumber)) === null || _omitDefault10 === void 0 ? void 0 : _omitDefault10.toString()
248
+ } : {},
249
+ signer: signer
250
+ };
251
+ },
252
+ fromAmino: function fromAmino(_ref8) {
253
+ var connection_id = _ref8.connection_id,
254
+ proof_ack = _ref8.proof_ack,
255
+ proof_height = _ref8.proof_height,
256
+ signer = _ref8.signer;
257
+ return {
258
+ connectionId: connection_id,
259
+ proofAck: proof_ack,
260
+ proofHeight: proof_height ? {
261
+ revisionHeight: _helpers.Long.fromString(proof_height.revision_height || "0", true),
262
+ revisionNumber: _helpers.Long.fromString(proof_height.revision_number || "0", true)
263
+ } : undefined,
264
+ signer: signer
265
+ };
266
+ }
267
+ }
268
+ };