@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,685 @@
1
+ import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment";
2
+ import { Long, DeepPartial } from "../../../../helpers";
3
+ import * as _m0 from "protobufjs/minimal";
4
+ /**
5
+ * State defines if a connection is in one of the following states:
6
+ * INIT, TRYOPEN, OPEN or UNINITIALIZED.
7
+ */
8
+
9
+ export enum State {
10
+ /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
11
+ STATE_UNINITIALIZED_UNSPECIFIED = 0,
12
+
13
+ /** STATE_INIT - A connection end has just started the opening handshake. */
14
+ STATE_INIT = 1,
15
+
16
+ /**
17
+ * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
18
+ * chain.
19
+ */
20
+ STATE_TRYOPEN = 2,
21
+
22
+ /** STATE_OPEN - A connection end has completed the handshake. */
23
+ STATE_OPEN = 3,
24
+ UNRECOGNIZED = -1,
25
+ }
26
+ export const StateSDKType = State;
27
+ export function stateFromJSON(object: any): State {
28
+ switch (object) {
29
+ case 0:
30
+ case "STATE_UNINITIALIZED_UNSPECIFIED":
31
+ return State.STATE_UNINITIALIZED_UNSPECIFIED;
32
+
33
+ case 1:
34
+ case "STATE_INIT":
35
+ return State.STATE_INIT;
36
+
37
+ case 2:
38
+ case "STATE_TRYOPEN":
39
+ return State.STATE_TRYOPEN;
40
+
41
+ case 3:
42
+ case "STATE_OPEN":
43
+ return State.STATE_OPEN;
44
+
45
+ case -1:
46
+ case "UNRECOGNIZED":
47
+ default:
48
+ return State.UNRECOGNIZED;
49
+ }
50
+ }
51
+ export function stateToJSON(object: State): string {
52
+ switch (object) {
53
+ case State.STATE_UNINITIALIZED_UNSPECIFIED:
54
+ return "STATE_UNINITIALIZED_UNSPECIFIED";
55
+
56
+ case State.STATE_INIT:
57
+ return "STATE_INIT";
58
+
59
+ case State.STATE_TRYOPEN:
60
+ return "STATE_TRYOPEN";
61
+
62
+ case State.STATE_OPEN:
63
+ return "STATE_OPEN";
64
+
65
+ case State.UNRECOGNIZED:
66
+ default:
67
+ return "UNRECOGNIZED";
68
+ }
69
+ }
70
+ /**
71
+ * ConnectionEnd defines a stateful object on a chain connected to another
72
+ * separate one.
73
+ * NOTE: there must only be 2 defined ConnectionEnds to establish
74
+ * a connection between two chains.
75
+ */
76
+
77
+ export interface ConnectionEnd {
78
+ /** client associated with this connection. */
79
+ clientId: string;
80
+ /**
81
+ * IBC version which can be utilised to determine encodings or protocols for
82
+ * channels or packets utilising this connection.
83
+ */
84
+
85
+ versions: Version[];
86
+ /** current state of the connection end. */
87
+
88
+ state: State;
89
+ /** counterparty chain associated with this connection. */
90
+
91
+ counterparty?: Counterparty;
92
+ /**
93
+ * delay period that must pass before a consensus state can be used for
94
+ * packet-verification NOTE: delay period logic is only implemented by some
95
+ * clients.
96
+ */
97
+
98
+ delayPeriod: Long;
99
+ }
100
+ /**
101
+ * ConnectionEnd defines a stateful object on a chain connected to another
102
+ * separate one.
103
+ * NOTE: there must only be 2 defined ConnectionEnds to establish
104
+ * a connection between two chains.
105
+ */
106
+
107
+ export interface ConnectionEndSDKType {
108
+ client_id: string;
109
+ versions: VersionSDKType[];
110
+ state: State;
111
+ counterparty?: CounterpartySDKType;
112
+ delay_period: Long;
113
+ }
114
+ /**
115
+ * IdentifiedConnection defines a connection with additional connection
116
+ * identifier field.
117
+ */
118
+
119
+ export interface IdentifiedConnection {
120
+ /** connection identifier. */
121
+ id: string;
122
+ /** client associated with this connection. */
123
+
124
+ clientId: string;
125
+ /**
126
+ * IBC version which can be utilised to determine encodings or protocols for
127
+ * channels or packets utilising this connection
128
+ */
129
+
130
+ versions: Version[];
131
+ /** current state of the connection end. */
132
+
133
+ state: State;
134
+ /** counterparty chain associated with this connection. */
135
+
136
+ counterparty?: Counterparty;
137
+ /** delay period associated with this connection. */
138
+
139
+ delayPeriod: Long;
140
+ }
141
+ /**
142
+ * IdentifiedConnection defines a connection with additional connection
143
+ * identifier field.
144
+ */
145
+
146
+ export interface IdentifiedConnectionSDKType {
147
+ id: string;
148
+ client_id: string;
149
+ versions: VersionSDKType[];
150
+ state: State;
151
+ counterparty?: CounterpartySDKType;
152
+ delay_period: Long;
153
+ }
154
+ /** Counterparty defines the counterparty chain associated with a connection end. */
155
+
156
+ export interface Counterparty {
157
+ /**
158
+ * identifies the client on the counterparty chain associated with a given
159
+ * connection.
160
+ */
161
+ clientId: string;
162
+ /**
163
+ * identifies the connection end on the counterparty chain associated with a
164
+ * given connection.
165
+ */
166
+
167
+ connectionId: string;
168
+ /** commitment merkle prefix of the counterparty chain. */
169
+
170
+ prefix?: MerklePrefix;
171
+ }
172
+ /** Counterparty defines the counterparty chain associated with a connection end. */
173
+
174
+ export interface CounterpartySDKType {
175
+ client_id: string;
176
+ connection_id: string;
177
+ prefix?: MerklePrefixSDKType;
178
+ }
179
+ /** ClientPaths define all the connection paths for a client state. */
180
+
181
+ export interface ClientPaths {
182
+ /** list of connection paths */
183
+ paths: string[];
184
+ }
185
+ /** ClientPaths define all the connection paths for a client state. */
186
+
187
+ export interface ClientPathsSDKType {
188
+ paths: string[];
189
+ }
190
+ /** ConnectionPaths define all the connection paths for a given client state. */
191
+
192
+ export interface ConnectionPaths {
193
+ /** client state unique identifier */
194
+ clientId: string;
195
+ /** list of connection paths */
196
+
197
+ paths: string[];
198
+ }
199
+ /** ConnectionPaths define all the connection paths for a given client state. */
200
+
201
+ export interface ConnectionPathsSDKType {
202
+ client_id: string;
203
+ paths: string[];
204
+ }
205
+ /**
206
+ * Version defines the versioning scheme used to negotiate the IBC verison in
207
+ * the connection handshake.
208
+ */
209
+
210
+ export interface Version {
211
+ /** unique version identifier */
212
+ identifier: string;
213
+ /** list of features compatible with the specified identifier */
214
+
215
+ features: string[];
216
+ }
217
+ /**
218
+ * Version defines the versioning scheme used to negotiate the IBC verison in
219
+ * the connection handshake.
220
+ */
221
+
222
+ export interface VersionSDKType {
223
+ identifier: string;
224
+ features: string[];
225
+ }
226
+ /** Params defines the set of Connection parameters. */
227
+
228
+ export interface Params {
229
+ /**
230
+ * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
231
+ * largest amount of time that the chain might reasonably take to produce the next block under normal operating
232
+ * conditions. A safe choice is 3-5x the expected time per block.
233
+ */
234
+ maxExpectedTimePerBlock: Long;
235
+ }
236
+ /** Params defines the set of Connection parameters. */
237
+
238
+ export interface ParamsSDKType {
239
+ max_expected_time_per_block: Long;
240
+ }
241
+
242
+ function createBaseConnectionEnd(): ConnectionEnd {
243
+ return {
244
+ clientId: "",
245
+ versions: [],
246
+ state: 0,
247
+ counterparty: undefined,
248
+ delayPeriod: Long.UZERO
249
+ };
250
+ }
251
+
252
+ export const ConnectionEnd = {
253
+ encode(message: ConnectionEnd, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
254
+ if (message.clientId !== "") {
255
+ writer.uint32(10).string(message.clientId);
256
+ }
257
+
258
+ for (const v of message.versions) {
259
+ Version.encode(v!, writer.uint32(18).fork()).ldelim();
260
+ }
261
+
262
+ if (message.state !== 0) {
263
+ writer.uint32(24).int32(message.state);
264
+ }
265
+
266
+ if (message.counterparty !== undefined) {
267
+ Counterparty.encode(message.counterparty, writer.uint32(34).fork()).ldelim();
268
+ }
269
+
270
+ if (!message.delayPeriod.isZero()) {
271
+ writer.uint32(40).uint64(message.delayPeriod);
272
+ }
273
+
274
+ return writer;
275
+ },
276
+
277
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd {
278
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
279
+ let end = length === undefined ? reader.len : reader.pos + length;
280
+ const message = createBaseConnectionEnd();
281
+
282
+ while (reader.pos < end) {
283
+ const tag = reader.uint32();
284
+
285
+ switch (tag >>> 3) {
286
+ case 1:
287
+ message.clientId = reader.string();
288
+ break;
289
+
290
+ case 2:
291
+ message.versions.push(Version.decode(reader, reader.uint32()));
292
+ break;
293
+
294
+ case 3:
295
+ message.state = (reader.int32() as any);
296
+ break;
297
+
298
+ case 4:
299
+ message.counterparty = Counterparty.decode(reader, reader.uint32());
300
+ break;
301
+
302
+ case 5:
303
+ message.delayPeriod = (reader.uint64() as Long);
304
+ break;
305
+
306
+ default:
307
+ reader.skipType(tag & 7);
308
+ break;
309
+ }
310
+ }
311
+
312
+ return message;
313
+ },
314
+
315
+ fromPartial(object: DeepPartial<ConnectionEnd>): ConnectionEnd {
316
+ const message = createBaseConnectionEnd();
317
+ message.clientId = object.clientId ?? "";
318
+ message.versions = object.versions?.map(e => Version.fromPartial(e)) || [];
319
+ message.state = object.state ?? 0;
320
+ message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined;
321
+ message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO;
322
+ return message;
323
+ }
324
+
325
+ };
326
+
327
+ function createBaseIdentifiedConnection(): IdentifiedConnection {
328
+ return {
329
+ id: "",
330
+ clientId: "",
331
+ versions: [],
332
+ state: 0,
333
+ counterparty: undefined,
334
+ delayPeriod: Long.UZERO
335
+ };
336
+ }
337
+
338
+ export const IdentifiedConnection = {
339
+ encode(message: IdentifiedConnection, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
340
+ if (message.id !== "") {
341
+ writer.uint32(10).string(message.id);
342
+ }
343
+
344
+ if (message.clientId !== "") {
345
+ writer.uint32(18).string(message.clientId);
346
+ }
347
+
348
+ for (const v of message.versions) {
349
+ Version.encode(v!, writer.uint32(26).fork()).ldelim();
350
+ }
351
+
352
+ if (message.state !== 0) {
353
+ writer.uint32(32).int32(message.state);
354
+ }
355
+
356
+ if (message.counterparty !== undefined) {
357
+ Counterparty.encode(message.counterparty, writer.uint32(42).fork()).ldelim();
358
+ }
359
+
360
+ if (!message.delayPeriod.isZero()) {
361
+ writer.uint32(48).uint64(message.delayPeriod);
362
+ }
363
+
364
+ return writer;
365
+ },
366
+
367
+ decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection {
368
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
369
+ let end = length === undefined ? reader.len : reader.pos + length;
370
+ const message = createBaseIdentifiedConnection();
371
+
372
+ while (reader.pos < end) {
373
+ const tag = reader.uint32();
374
+
375
+ switch (tag >>> 3) {
376
+ case 1:
377
+ message.id = reader.string();
378
+ break;
379
+
380
+ case 2:
381
+ message.clientId = reader.string();
382
+ break;
383
+
384
+ case 3:
385
+ message.versions.push(Version.decode(reader, reader.uint32()));
386
+ break;
387
+
388
+ case 4:
389
+ message.state = (reader.int32() as any);
390
+ break;
391
+
392
+ case 5:
393
+ message.counterparty = Counterparty.decode(reader, reader.uint32());
394
+ break;
395
+
396
+ case 6:
397
+ message.delayPeriod = (reader.uint64() as Long);
398
+ break;
399
+
400
+ default:
401
+ reader.skipType(tag & 7);
402
+ break;
403
+ }
404
+ }
405
+
406
+ return message;
407
+ },
408
+
409
+ fromPartial(object: DeepPartial<IdentifiedConnection>): IdentifiedConnection {
410
+ const message = createBaseIdentifiedConnection();
411
+ message.id = object.id ?? "";
412
+ message.clientId = object.clientId ?? "";
413
+ message.versions = object.versions?.map(e => Version.fromPartial(e)) || [];
414
+ message.state = object.state ?? 0;
415
+ message.counterparty = object.counterparty !== undefined && object.counterparty !== null ? Counterparty.fromPartial(object.counterparty) : undefined;
416
+ message.delayPeriod = object.delayPeriod !== undefined && object.delayPeriod !== null ? Long.fromValue(object.delayPeriod) : Long.UZERO;
417
+ return message;
418
+ }
419
+
420
+ };
421
+
422
+ function createBaseCounterparty(): Counterparty {
423
+ return {
424
+ clientId: "",
425
+ connectionId: "",
426
+ prefix: undefined
427
+ };
428
+ }
429
+
430
+ export const Counterparty = {
431
+ encode(message: Counterparty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
432
+ if (message.clientId !== "") {
433
+ writer.uint32(10).string(message.clientId);
434
+ }
435
+
436
+ if (message.connectionId !== "") {
437
+ writer.uint32(18).string(message.connectionId);
438
+ }
439
+
440
+ if (message.prefix !== undefined) {
441
+ MerklePrefix.encode(message.prefix, writer.uint32(26).fork()).ldelim();
442
+ }
443
+
444
+ return writer;
445
+ },
446
+
447
+ decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty {
448
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
449
+ let end = length === undefined ? reader.len : reader.pos + length;
450
+ const message = createBaseCounterparty();
451
+
452
+ while (reader.pos < end) {
453
+ const tag = reader.uint32();
454
+
455
+ switch (tag >>> 3) {
456
+ case 1:
457
+ message.clientId = reader.string();
458
+ break;
459
+
460
+ case 2:
461
+ message.connectionId = reader.string();
462
+ break;
463
+
464
+ case 3:
465
+ message.prefix = MerklePrefix.decode(reader, reader.uint32());
466
+ break;
467
+
468
+ default:
469
+ reader.skipType(tag & 7);
470
+ break;
471
+ }
472
+ }
473
+
474
+ return message;
475
+ },
476
+
477
+ fromPartial(object: DeepPartial<Counterparty>): Counterparty {
478
+ const message = createBaseCounterparty();
479
+ message.clientId = object.clientId ?? "";
480
+ message.connectionId = object.connectionId ?? "";
481
+ message.prefix = object.prefix !== undefined && object.prefix !== null ? MerklePrefix.fromPartial(object.prefix) : undefined;
482
+ return message;
483
+ }
484
+
485
+ };
486
+
487
+ function createBaseClientPaths(): ClientPaths {
488
+ return {
489
+ paths: []
490
+ };
491
+ }
492
+
493
+ export const ClientPaths = {
494
+ encode(message: ClientPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
495
+ for (const v of message.paths) {
496
+ writer.uint32(10).string(v!);
497
+ }
498
+
499
+ return writer;
500
+ },
501
+
502
+ decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths {
503
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
504
+ let end = length === undefined ? reader.len : reader.pos + length;
505
+ const message = createBaseClientPaths();
506
+
507
+ while (reader.pos < end) {
508
+ const tag = reader.uint32();
509
+
510
+ switch (tag >>> 3) {
511
+ case 1:
512
+ message.paths.push(reader.string());
513
+ break;
514
+
515
+ default:
516
+ reader.skipType(tag & 7);
517
+ break;
518
+ }
519
+ }
520
+
521
+ return message;
522
+ },
523
+
524
+ fromPartial(object: DeepPartial<ClientPaths>): ClientPaths {
525
+ const message = createBaseClientPaths();
526
+ message.paths = object.paths?.map(e => e) || [];
527
+ return message;
528
+ }
529
+
530
+ };
531
+
532
+ function createBaseConnectionPaths(): ConnectionPaths {
533
+ return {
534
+ clientId: "",
535
+ paths: []
536
+ };
537
+ }
538
+
539
+ export const ConnectionPaths = {
540
+ encode(message: ConnectionPaths, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
541
+ if (message.clientId !== "") {
542
+ writer.uint32(10).string(message.clientId);
543
+ }
544
+
545
+ for (const v of message.paths) {
546
+ writer.uint32(18).string(v!);
547
+ }
548
+
549
+ return writer;
550
+ },
551
+
552
+ decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths {
553
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
554
+ let end = length === undefined ? reader.len : reader.pos + length;
555
+ const message = createBaseConnectionPaths();
556
+
557
+ while (reader.pos < end) {
558
+ const tag = reader.uint32();
559
+
560
+ switch (tag >>> 3) {
561
+ case 1:
562
+ message.clientId = reader.string();
563
+ break;
564
+
565
+ case 2:
566
+ message.paths.push(reader.string());
567
+ break;
568
+
569
+ default:
570
+ reader.skipType(tag & 7);
571
+ break;
572
+ }
573
+ }
574
+
575
+ return message;
576
+ },
577
+
578
+ fromPartial(object: DeepPartial<ConnectionPaths>): ConnectionPaths {
579
+ const message = createBaseConnectionPaths();
580
+ message.clientId = object.clientId ?? "";
581
+ message.paths = object.paths?.map(e => e) || [];
582
+ return message;
583
+ }
584
+
585
+ };
586
+
587
+ function createBaseVersion(): Version {
588
+ return {
589
+ identifier: "",
590
+ features: []
591
+ };
592
+ }
593
+
594
+ export const Version = {
595
+ encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
596
+ if (message.identifier !== "") {
597
+ writer.uint32(10).string(message.identifier);
598
+ }
599
+
600
+ for (const v of message.features) {
601
+ writer.uint32(18).string(v!);
602
+ }
603
+
604
+ return writer;
605
+ },
606
+
607
+ decode(input: _m0.Reader | Uint8Array, length?: number): Version {
608
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
609
+ let end = length === undefined ? reader.len : reader.pos + length;
610
+ const message = createBaseVersion();
611
+
612
+ while (reader.pos < end) {
613
+ const tag = reader.uint32();
614
+
615
+ switch (tag >>> 3) {
616
+ case 1:
617
+ message.identifier = reader.string();
618
+ break;
619
+
620
+ case 2:
621
+ message.features.push(reader.string());
622
+ break;
623
+
624
+ default:
625
+ reader.skipType(tag & 7);
626
+ break;
627
+ }
628
+ }
629
+
630
+ return message;
631
+ },
632
+
633
+ fromPartial(object: DeepPartial<Version>): Version {
634
+ const message = createBaseVersion();
635
+ message.identifier = object.identifier ?? "";
636
+ message.features = object.features?.map(e => e) || [];
637
+ return message;
638
+ }
639
+
640
+ };
641
+
642
+ function createBaseParams(): Params {
643
+ return {
644
+ maxExpectedTimePerBlock: Long.UZERO
645
+ };
646
+ }
647
+
648
+ export const Params = {
649
+ encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
650
+ if (!message.maxExpectedTimePerBlock.isZero()) {
651
+ writer.uint32(8).uint64(message.maxExpectedTimePerBlock);
652
+ }
653
+
654
+ return writer;
655
+ },
656
+
657
+ decode(input: _m0.Reader | Uint8Array, length?: number): Params {
658
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
659
+ let end = length === undefined ? reader.len : reader.pos + length;
660
+ const message = createBaseParams();
661
+
662
+ while (reader.pos < end) {
663
+ const tag = reader.uint32();
664
+
665
+ switch (tag >>> 3) {
666
+ case 1:
667
+ message.maxExpectedTimePerBlock = (reader.uint64() as Long);
668
+ break;
669
+
670
+ default:
671
+ reader.skipType(tag & 7);
672
+ break;
673
+ }
674
+ }
675
+
676
+ return message;
677
+ },
678
+
679
+ fromPartial(object: DeepPartial<Params>): Params {
680
+ const message = createBaseParams();
681
+ message.maxExpectedTimePerBlock = object.maxExpectedTimePerBlock !== undefined && object.maxExpectedTimePerBlock !== null ? Long.fromValue(object.maxExpectedTimePerBlock) : Long.UZERO;
682
+ return message;
683
+ }
684
+
685
+ };