juno-network 0.0.4 → 0.1.1

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 (412) hide show
  1. package/README.md +21 -0
  2. package/main/codegen/cosmos/bundle.js +55 -143
  3. package/main/codegen/cosmos/client.js +2 -34
  4. package/main/codegen/cosmos/lcd.js +33 -168
  5. package/main/codegen/cosmos/rpc.query.js +34 -164
  6. package/main/codegen/cosmos/rpc.tx.js +33 -137
  7. package/main/codegen/cosmwasm/bundle.js +10 -10
  8. package/main/codegen/cosmwasm/lcd.js +42 -177
  9. package/main/codegen/cosmwasm/rpc.query.js +42 -172
  10. package/main/codegen/cosmwasm/rpc.tx.js +42 -146
  11. package/main/codegen/ibc/bundle.js +19 -41
  12. package/main/codegen/ibc/client.js +2 -10
  13. package/main/codegen/ibc/lcd.js +54 -219
  14. package/main/codegen/ibc/rpc.query.js +54 -223
  15. package/main/codegen/ibc/rpc.tx.js +54 -184
  16. package/main/codegen/juno/bundle.js +6 -6
  17. package/main/codegen/juno/lcd.js +40 -175
  18. package/main/codegen/juno/rpc.query.js +40 -170
  19. package/module/codegen/cosmos/bundle.js +55 -99
  20. package/module/codegen/cosmos/client.js +2 -18
  21. package/module/codegen/cosmos/lcd.js +0 -45
  22. package/module/codegen/cosmos/rpc.query.js +0 -30
  23. package/module/codegen/cosmos/rpc.tx.js +0 -24
  24. package/module/codegen/cosmwasm/bundle.js +10 -10
  25. package/module/codegen/cosmwasm/lcd.js +0 -45
  26. package/module/codegen/cosmwasm/rpc.query.js +0 -30
  27. package/module/codegen/cosmwasm/rpc.tx.js +0 -24
  28. package/module/codegen/ibc/bundle.js +19 -30
  29. package/module/codegen/ibc/client.js +2 -6
  30. package/module/codegen/ibc/lcd.js +0 -55
  31. package/module/codegen/ibc/rpc.query.js +0 -39
  32. package/module/codegen/ibc/rpc.tx.js +0 -30
  33. package/module/codegen/juno/bundle.js +6 -6
  34. package/module/codegen/juno/lcd.js +0 -45
  35. package/module/codegen/juno/rpc.query.js +0 -30
  36. package/package.json +7 -6
  37. package/types/codegen/JunoSwap.react-query.d.ts +10 -10
  38. package/types/codegen/contracts.d.ts +11 -10
  39. package/types/codegen/cosmos/bundle.d.ts +5486 -10208
  40. package/types/codegen/cosmos/lcd.d.ts +0 -27
  41. package/types/codegen/cosmos/rpc.query.d.ts +0 -30
  42. package/types/codegen/cosmos/rpc.tx.d.ts +0 -24
  43. package/types/codegen/cosmwasm/bundle.d.ts +27 -177
  44. package/types/codegen/cosmwasm/lcd.d.ts +0 -27
  45. package/types/codegen/cosmwasm/rpc.query.d.ts +0 -30
  46. package/types/codegen/cosmwasm/rpc.tx.d.ts +0 -24
  47. package/types/codegen/google/bundle.d.ts +1 -58
  48. package/types/codegen/ibc/bundle.d.ts +146 -2097
  49. package/types/codegen/ibc/lcd.d.ts +0 -33
  50. package/types/codegen/ibc/rpc.query.d.ts +0 -39
  51. package/types/codegen/ibc/rpc.tx.d.ts +0 -30
  52. package/types/codegen/ics23/bundle.d.ts +1 -569
  53. package/types/codegen/juno/bundle.d.ts +6 -63
  54. package/types/codegen/juno/lcd.d.ts +0 -27
  55. package/types/codegen/juno/rpc.query.d.ts +0 -30
  56. package/main/codegen/confio/proofs.js +0 -1471
  57. package/main/codegen/cosmos/app/v1alpha1/config.js +0 -172
  58. package/main/codegen/cosmos/app/v1alpha1/module.js +0 -272
  59. package/main/codegen/cosmos/app/v1alpha1/query.js +0 -113
  60. package/main/codegen/cosmos/app/v1alpha1/query.rpc.query.js +0 -48
  61. package/main/codegen/cosmos/auth/v1beta1/auth.js +0 -323
  62. package/main/codegen/cosmos/auth/v1beta1/genesis.js +0 -118
  63. package/main/codegen/cosmos/auth/v1beta1/query.js +0 -827
  64. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +0 -297
  65. package/main/codegen/cosmos/auth/v1beta1/query.rpc.query.js +0 -114
  66. package/main/codegen/cosmos/authz/v1beta1/authz.js +0 -324
  67. package/main/codegen/cosmos/authz/v1beta1/event.js +0 -178
  68. package/main/codegen/cosmos/authz/v1beta1/genesis.js +0 -102
  69. package/main/codegen/cosmos/authz/v1beta1/query.js +0 -533
  70. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -183
  71. package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +0 -70
  72. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
  73. package/main/codegen/cosmos/authz/v1beta1/tx.js +0 -439
  74. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -130
  75. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +0 -70
  76. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +0 -1128
  77. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +0 -170
  78. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +0 -190
  79. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -277
  80. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +0 -745
  81. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +0 -251
  82. package/main/codegen/cosmos/base/store/v1beta1/listening.js +0 -109
  83. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +0 -1130
  84. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +0 -103
  85. package/main/codegen/cosmos/base/v1beta1/coin.js +0 -268
  86. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +0 -73
  87. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
  88. package/main/codegen/cosmos/crisis/v1beta1/tx.js +0 -137
  89. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -70
  90. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +0 -48
  91. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +0 -111
  92. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +0 -102
  93. package/main/codegen/cosmos/evidence/v1beta1/query.js +0 -285
  94. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +0 -127
  95. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +0 -59
  96. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
  97. package/main/codegen/cosmos/evidence/v1beta1/tx.js +0 -144
  98. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -70
  99. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +0 -48
  100. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +0 -444
  101. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -102
  102. package/main/codegen/cosmos/feegrant/v1beta1/query.js +0 -472
  103. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +0 -160
  104. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +0 -70
  105. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
  106. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +0 -248
  107. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -100
  108. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +0 -59
  109. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +0 -101
  110. package/main/codegen/cosmos/mint/v1beta1/genesis.js +0 -85
  111. package/main/codegen/cosmos/mint/v1beta1/mint.js +0 -202
  112. package/main/codegen/cosmos/mint/v1beta1/query.js +0 -307
  113. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +0 -143
  114. package/main/codegen/cosmos/mint/v1beta1/query.rpc.query.js +0 -70
  115. package/main/codegen/cosmos/nft/v1beta1/event.js +0 -271
  116. package/main/codegen/cosmos/nft/v1beta1/genesis.js +0 -229
  117. package/main/codegen/cosmos/nft/v1beta1/nft.js +0 -252
  118. package/main/codegen/cosmos/nft/v1beta1/query.js +0 -944
  119. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +0 -336
  120. package/main/codegen/cosmos/nft/v1beta1/query.rpc.query.js +0 -114
  121. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
  122. package/main/codegen/cosmos/nft/v1beta1/tx.js +0 -149
  123. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -70
  124. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +0 -48
  125. package/main/codegen/cosmos/orm/v1/orm.js +0 -332
  126. package/main/codegen/cosmos/params/v1beta1/params.js +0 -206
  127. package/main/codegen/cosmos/params/v1beta1/query.js +0 -358
  128. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +0 -124
  129. package/main/codegen/cosmos/params/v1beta1/query.rpc.query.js +0 -59
  130. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +0 -377
  131. package/main/codegen/cosmos/slashing/v1beta1/query.js +0 -380
  132. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +0 -159
  133. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +0 -70
  134. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +0 -242
  135. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
  136. package/main/codegen/cosmos/slashing/v1beta1/tx.js +0 -113
  137. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -70
  138. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +0 -48
  139. package/main/codegen/cosmos/upgrade/v1beta1/query.js +0 -577
  140. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -230
  141. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +0 -92
  142. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -64
  143. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +0 -224
  144. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -100
  145. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +0 -59
  146. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +0 -344
  147. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -133
  148. package/main/codegen/cosmos/vesting/v1beta1/tx.js +0 -494
  149. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -130
  150. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +0 -70
  151. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +0 -570
  152. package/main/codegen/google/api/annotations.js +0 -5
  153. package/main/codegen/google/api/http.js +0 -369
  154. package/main/codegen/ibc/core/client/v1/client.js +0 -585
  155. package/main/codegen/ibc/core/client/v1/genesis.js +0 -367
  156. package/main/codegen/ibc/core/client/v1/query.js +0 -1047
  157. package/main/codegen/ibc/core/client/v1/query.lcd.js +0 -361
  158. package/main/codegen/ibc/core/client/v1/query.rpc.query.js +0 -125
  159. package/main/codegen/ibc/core/client/v1/tx.amino.js +0 -149
  160. package/main/codegen/ibc/core/client/v1/tx.js +0 -538
  161. package/main/codegen/ibc/core/client/v1/tx.registry.js +0 -160
  162. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +0 -81
  163. package/main/codegen/ibc/core/connection/v1/connection.js +0 -755
  164. package/main/codegen/ibc/core/connection/v1/genesis.js +0 -162
  165. package/main/codegen/ibc/core/connection/v1/query.js +0 -799
  166. package/main/codegen/ibc/core/connection/v1/query.lcd.js +0 -258
  167. package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +0 -92
  168. package/main/codegen/ibc/core/connection/v1/tx.amino.js +0 -274
  169. package/main/codegen/ibc/core/connection/v1/tx.js +0 -763
  170. package/main/codegen/ibc/core/connection/v1/tx.registry.js +0 -160
  171. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +0 -81
  172. package/main/codegen/ibc/core/port/v1/query.js +0 -192
  173. package/main/codegen/ibc/core/port/v1/query.rpc.query.js +0 -48
  174. package/main/codegen/ibc/core/types/v1/genesis.js +0 -101
  175. package/module/codegen/confio/proofs.js +0 -1371
  176. package/module/codegen/cosmos/app/v1alpha1/config.js +0 -148
  177. package/module/codegen/cosmos/app/v1alpha1/module.js +0 -227
  178. package/module/codegen/cosmos/app/v1alpha1/query.js +0 -104
  179. package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +0 -20
  180. package/module/codegen/cosmos/auth/v1beta1/auth.js +0 -297
  181. package/module/codegen/cosmos/auth/v1beta1/genesis.js +0 -82
  182. package/module/codegen/cosmos/auth/v1beta1/query.js +0 -806
  183. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +0 -86
  184. package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +0 -62
  185. package/module/codegen/cosmos/authz/v1beta1/authz.js +0 -298
  186. package/module/codegen/cosmos/authz/v1beta1/event.js +0 -169
  187. package/module/codegen/cosmos/authz/v1beta1/genesis.js +0 -67
  188. package/module/codegen/cosmos/authz/v1beta1/query.js +0 -473
  189. package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -72
  190. package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +0 -34
  191. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
  192. package/module/codegen/cosmos/authz/v1beta1/tx.js +0 -402
  193. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -124
  194. package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +0 -34
  195. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +0 -982
  196. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +0 -139
  197. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +0 -189
  198. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +0 -235
  199. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +0 -712
  200. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +0 -225
  201. package/module/codegen/cosmos/base/store/v1beta1/listening.js +0 -104
  202. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +0 -1091
  203. package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +0 -55
  204. package/module/codegen/cosmos/base/v1beta1/coin.js +0 -268
  205. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +0 -61
  206. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
  207. package/module/codegen/cosmos/crisis/v1beta1/tx.js +0 -129
  208. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -54
  209. package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +0 -20
  210. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +0 -102
  211. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +0 -67
  212. package/module/codegen/cosmos/evidence/v1beta1/query.js +0 -255
  213. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +0 -41
  214. package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +0 -27
  215. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
  216. package/module/codegen/cosmos/evidence/v1beta1/tx.js +0 -137
  217. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -54
  218. package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +0 -20
  219. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +0 -365
  220. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +0 -67
  221. package/module/codegen/cosmos/feegrant/v1beta1/query.js +0 -429
  222. package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +0 -49
  223. package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +0 -34
  224. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
  225. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +0 -247
  226. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -89
  227. package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +0 -27
  228. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +0 -68
  229. package/module/codegen/cosmos/mint/v1beta1/genesis.js +0 -73
  230. package/module/codegen/cosmos/mint/v1beta1/mint.js +0 -193
  231. package/module/codegen/cosmos/mint/v1beta1/query.js +0 -308
  232. package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +0 -32
  233. package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +0 -34
  234. package/module/codegen/cosmos/nft/v1beta1/event.js +0 -264
  235. package/module/codegen/cosmos/nft/v1beta1/genesis.js +0 -163
  236. package/module/codegen/cosmos/nft/v1beta1/nft.js +0 -242
  237. package/module/codegen/cosmos/nft/v1beta1/query.js +0 -917
  238. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +0 -125
  239. package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +0 -62
  240. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
  241. package/module/codegen/cosmos/nft/v1beta1/tx.js +0 -141
  242. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -54
  243. package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +0 -20
  244. package/module/codegen/cosmos/orm/v1/orm.js +0 -305
  245. package/module/codegen/cosmos/params/v1beta1/params.js +0 -175
  246. package/module/codegen/cosmos/params/v1beta1/query.js +0 -317
  247. package/module/codegen/cosmos/params/v1beta1/query.lcd.js +0 -38
  248. package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +0 -27
  249. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +0 -317
  250. package/module/codegen/cosmos/slashing/v1beta1/query.js +0 -355
  251. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +0 -48
  252. package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +0 -34
  253. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +0 -234
  254. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
  255. package/module/codegen/cosmos/slashing/v1beta1/tx.js +0 -105
  256. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -54
  257. package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +0 -20
  258. package/module/codegen/cosmos/upgrade/v1beta1/query.js +0 -565
  259. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -69
  260. package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +0 -48
  261. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
  262. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +0 -224
  263. package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -89
  264. package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +0 -27
  265. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +0 -337
  266. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
  267. package/module/codegen/cosmos/vesting/v1beta1/tx.js +0 -440
  268. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -124
  269. package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +0 -34
  270. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +0 -480
  271. package/module/codegen/google/api/annotations.js +0 -1
  272. package/module/codegen/google/api/http.js +0 -328
  273. package/module/codegen/ibc/core/client/v1/client.js +0 -549
  274. package/module/codegen/ibc/core/client/v1/genesis.js +0 -287
  275. package/module/codegen/ibc/core/client/v1/query.js +0 -1029
  276. package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -125
  277. package/module/codegen/ibc/core/client/v1/query.rpc.query.js +0 -69
  278. package/module/codegen/ibc/core/client/v1/tx.amino.js +0 -150
  279. package/module/codegen/ibc/core/client/v1/tx.js +0 -544
  280. package/module/codegen/ibc/core/client/v1/tx.registry.js +0 -159
  281. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +0 -41
  282. package/module/codegen/ibc/core/connection/v1/connection.js +0 -663
  283. package/module/codegen/ibc/core/connection/v1/genesis.js +0 -110
  284. package/module/codegen/ibc/core/connection/v1/query.js +0 -766
  285. package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -97
  286. package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +0 -48
  287. package/module/codegen/ibc/core/connection/v1/tx.amino.js +0 -269
  288. package/module/codegen/ibc/core/connection/v1/tx.js +0 -747
  289. package/module/codegen/ibc/core/connection/v1/tx.registry.js +0 -159
  290. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +0 -41
  291. package/module/codegen/ibc/core/port/v1/query.js +0 -182
  292. package/module/codegen/ibc/core/port/v1/query.rpc.query.js +0 -20
  293. package/module/codegen/ibc/core/types/v1/genesis.js +0 -87
  294. package/types/codegen/confio/proofs.d.ts +0 -309
  295. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +0 -51
  296. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +0 -105
  297. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +0 -25
  298. package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +0 -11
  299. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +0 -49
  300. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +0 -18
  301. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +0 -171
  302. package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +0 -14
  303. package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +0 -23
  304. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +0 -67
  305. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +0 -34
  306. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +0 -14
  307. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +0 -88
  308. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +0 -10
  309. package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +0 -15
  310. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +0 -54
  311. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +0 -88
  312. package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +0 -76
  313. package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +0 -15
  314. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +0 -224
  315. package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +0 -25
  316. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +0 -79
  317. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +0 -53
  318. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -118
  319. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +0 -47
  320. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +0 -24
  321. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +0 -197
  322. package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +0 -21
  323. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +0 -58
  324. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +0 -18
  325. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +0 -17
  326. package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +0 -25
  327. package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +0 -36
  328. package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +0 -11
  329. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +0 -19
  330. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +0 -15
  331. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +0 -60
  332. package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +0 -9
  333. package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +0 -13
  334. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +0 -19
  335. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +0 -30
  336. package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +0 -36
  337. package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +0 -11
  338. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -89
  339. package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +0 -14
  340. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +0 -84
  341. package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -10
  342. package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +0 -15
  343. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +0 -32
  344. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +0 -56
  345. package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +0 -56
  346. package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +0 -13
  347. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +0 -14
  348. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +0 -17
  349. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +0 -38
  350. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +0 -78
  351. package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +0 -10
  352. package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +0 -15
  353. package/types/codegen/cosmos/nft/v1beta1/event.d.ts +0 -42
  354. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +0 -30
  355. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +0 -47
  356. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +0 -166
  357. package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +0 -14
  358. package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +0 -23
  359. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +0 -18
  360. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +0 -30
  361. package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +0 -36
  362. package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +0 -11
  363. package/types/codegen/cosmos/orm/v1/orm.d.ts +0 -117
  364. package/types/codegen/cosmos/params/v1beta1/params.d.ts +0 -31
  365. package/types/codegen/cosmos/params/v1beta1/query.d.ts +0 -71
  366. package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +0 -9
  367. package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +0 -13
  368. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +0 -70
  369. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +0 -85
  370. package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +0 -10
  371. package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +0 -15
  372. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +0 -52
  373. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +0 -15
  374. package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +0 -23
  375. package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +0 -36
  376. package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +0 -11
  377. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +0 -163
  378. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +0 -12
  379. package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +0 -19
  380. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +0 -39
  381. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +0 -65
  382. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +0 -56
  383. package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +0 -13
  384. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -102
  385. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +0 -58
  386. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +0 -88
  387. package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +0 -76
  388. package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +0 -15
  389. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +0 -97
  390. package/types/codegen/google/api/annotations.d.ts +0 -1
  391. package/types/codegen/google/api/http.d.ts +0 -375
  392. package/types/codegen/ibc/core/client/v1/client.d.ts +0 -143
  393. package/types/codegen/ibc/core/client/v1/genesis.d.ts +0 -56
  394. package/types/codegen/ibc/core/client/v1/query.d.ts +0 -263
  395. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +0 -15
  396. package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +0 -25
  397. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +0 -77
  398. package/types/codegen/ibc/core/client/v1/tx.d.ts +0 -131
  399. package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +0 -96
  400. package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +0 -17
  401. package/types/codegen/ibc/core/connection/v1/connection.d.ts +0 -164
  402. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +0 -18
  403. package/types/codegen/ibc/core/connection/v1/query.d.ts +0 -180
  404. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +0 -12
  405. package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +0 -19
  406. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +0 -103
  407. package/types/codegen/ibc/core/connection/v1/tx.d.ts +0 -151
  408. package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +0 -96
  409. package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +0 -17
  410. package/types/codegen/ibc/core/port/v1/query.d.ts +0 -37
  411. package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +0 -11
  412. package/types/codegen/ibc/core/types/v1/genesis.d.ts +0 -21
@@ -1,164 +0,0 @@
1
- import { MerklePrefix } from "../../commitment/v1/commitment";
2
- import * as _m0 from "protobufjs/minimal";
3
- import { Long, DeepPartial } from "@osmonauts/helpers";
4
- /**
5
- * State defines if a connection is in one of the following states:
6
- * INIT, TRYOPEN, OPEN or UNINITIALIZED.
7
- */
8
- export declare enum State {
9
- /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */
10
- STATE_UNINITIALIZED_UNSPECIFIED = 0,
11
- /** STATE_INIT - A connection end has just started the opening handshake. */
12
- STATE_INIT = 1,
13
- /**
14
- * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty
15
- * chain.
16
- */
17
- STATE_TRYOPEN = 2,
18
- /** STATE_OPEN - A connection end has completed the handshake. */
19
- STATE_OPEN = 3,
20
- UNRECOGNIZED = -1
21
- }
22
- export declare function stateFromJSON(object: any): State;
23
- export declare function stateToJSON(object: State): string;
24
- /**
25
- * ConnectionEnd defines a stateful object on a chain connected to another
26
- * separate one.
27
- * NOTE: there must only be 2 defined ConnectionEnds to establish
28
- * a connection between two chains.
29
- */
30
- export interface ConnectionEnd {
31
- /** client associated with this connection. */
32
- clientId: string;
33
- /**
34
- * IBC version which can be utilised to determine encodings or protocols for
35
- * channels or packets utilising this connection.
36
- */
37
- versions: Version[];
38
- /** current state of the connection end. */
39
- state: State;
40
- /** counterparty chain associated with this connection. */
41
- counterparty: Counterparty;
42
- /**
43
- * delay period that must pass before a consensus state can be used for
44
- * packet-verification NOTE: delay period logic is only implemented by some
45
- * clients.
46
- */
47
- delayPeriod: Long;
48
- }
49
- /**
50
- * IdentifiedConnection defines a connection with additional connection
51
- * identifier field.
52
- */
53
- export interface IdentifiedConnection {
54
- /** connection identifier. */
55
- id: string;
56
- /** client associated with this connection. */
57
- clientId: string;
58
- /**
59
- * IBC version which can be utilised to determine encodings or protocols for
60
- * channels or packets utilising this connection
61
- */
62
- versions: Version[];
63
- /** current state of the connection end. */
64
- state: State;
65
- /** counterparty chain associated with this connection. */
66
- counterparty: Counterparty;
67
- /** delay period associated with this connection. */
68
- delayPeriod: Long;
69
- }
70
- /** Counterparty defines the counterparty chain associated with a connection end. */
71
- export interface Counterparty {
72
- /**
73
- * identifies the client on the counterparty chain associated with a given
74
- * connection.
75
- */
76
- clientId: string;
77
- /**
78
- * identifies the connection end on the counterparty chain associated with a
79
- * given connection.
80
- */
81
- connectionId: string;
82
- /** commitment merkle prefix of the counterparty chain. */
83
- prefix: MerklePrefix;
84
- }
85
- /** ClientPaths define all the connection paths for a client state. */
86
- export interface ClientPaths {
87
- /** list of connection paths */
88
- paths: string[];
89
- }
90
- /** ConnectionPaths define all the connection paths for a given client state. */
91
- export interface ConnectionPaths {
92
- /** client state unique identifier */
93
- clientId: string;
94
- /** list of connection paths */
95
- paths: string[];
96
- }
97
- /**
98
- * Version defines the versioning scheme used to negotiate the IBC verison in
99
- * the connection handshake.
100
- */
101
- export interface Version {
102
- /** unique version identifier */
103
- identifier: string;
104
- /** list of features compatible with the specified identifier */
105
- features: string[];
106
- }
107
- /** Params defines the set of Connection parameters. */
108
- export interface Params {
109
- /**
110
- * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the
111
- * largest amount of time that the chain might reasonably take to produce the next block under normal operating
112
- * conditions. A safe choice is 3-5x the expected time per block.
113
- */
114
- maxExpectedTimePerBlock: Long;
115
- }
116
- export declare const ConnectionEnd: {
117
- encode(message: ConnectionEnd, writer?: _m0.Writer): _m0.Writer;
118
- decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd;
119
- fromJSON(object: any): ConnectionEnd;
120
- toJSON(message: ConnectionEnd): unknown;
121
- fromPartial(object: DeepPartial<ConnectionEnd>): ConnectionEnd;
122
- };
123
- export declare const IdentifiedConnection: {
124
- encode(message: IdentifiedConnection, writer?: _m0.Writer): _m0.Writer;
125
- decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection;
126
- fromJSON(object: any): IdentifiedConnection;
127
- toJSON(message: IdentifiedConnection): unknown;
128
- fromPartial(object: DeepPartial<IdentifiedConnection>): IdentifiedConnection;
129
- };
130
- export declare const Counterparty: {
131
- encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer;
132
- decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty;
133
- fromJSON(object: any): Counterparty;
134
- toJSON(message: Counterparty): unknown;
135
- fromPartial(object: DeepPartial<Counterparty>): Counterparty;
136
- };
137
- export declare const ClientPaths: {
138
- encode(message: ClientPaths, writer?: _m0.Writer): _m0.Writer;
139
- decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths;
140
- fromJSON(object: any): ClientPaths;
141
- toJSON(message: ClientPaths): unknown;
142
- fromPartial(object: DeepPartial<ClientPaths>): ClientPaths;
143
- };
144
- export declare const ConnectionPaths: {
145
- encode(message: ConnectionPaths, writer?: _m0.Writer): _m0.Writer;
146
- decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths;
147
- fromJSON(object: any): ConnectionPaths;
148
- toJSON(message: ConnectionPaths): unknown;
149
- fromPartial(object: DeepPartial<ConnectionPaths>): ConnectionPaths;
150
- };
151
- export declare const Version: {
152
- encode(message: Version, writer?: _m0.Writer): _m0.Writer;
153
- decode(input: _m0.Reader | Uint8Array, length?: number): Version;
154
- fromJSON(object: any): Version;
155
- toJSON(message: Version): unknown;
156
- fromPartial(object: DeepPartial<Version>): Version;
157
- };
158
- export declare const Params: {
159
- encode(message: Params, writer?: _m0.Writer): _m0.Writer;
160
- decode(input: _m0.Reader | Uint8Array, length?: number): Params;
161
- fromJSON(object: any): Params;
162
- toJSON(message: Params): unknown;
163
- fromPartial(object: DeepPartial<Params>): Params;
164
- };
@@ -1,18 +0,0 @@
1
- import { IdentifiedConnection, ConnectionPaths, Params } from "./connection";
2
- import * as _m0 from "protobufjs/minimal";
3
- import { Long, DeepPartial } from "@osmonauts/helpers";
4
- /** GenesisState defines the ibc connection submodule's genesis state. */
5
- export interface GenesisState {
6
- connections: IdentifiedConnection[];
7
- clientConnectionPaths: ConnectionPaths[];
8
- /** the sequence for the next generated connection identifier */
9
- nextConnectionSequence: Long;
10
- params: Params;
11
- }
12
- export declare const GenesisState: {
13
- encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
14
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
15
- fromJSON(object: any): GenesisState;
16
- toJSON(message: GenesisState): unknown;
17
- fromPartial(object: DeepPartial<GenesisState>): GenesisState;
18
- };
@@ -1,180 +0,0 @@
1
- import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
2
- import { ConnectionEnd, IdentifiedConnection } from "./connection";
3
- import { Height, IdentifiedClientState } from "../../client/v1/client";
4
- import { Any } from "../../../../google/protobuf/any";
5
- import * as _m0 from "protobufjs/minimal";
6
- import { DeepPartial, Long } from "@osmonauts/helpers";
7
- /**
8
- * QueryConnectionRequest is the request type for the Query/Connection RPC
9
- * method
10
- */
11
- export interface QueryConnectionRequest {
12
- /** connection unique identifier */
13
- connectionId: string;
14
- }
15
- /**
16
- * QueryConnectionResponse is the response type for the Query/Connection RPC
17
- * method. Besides the connection end, it includes a proof and the height from
18
- * which the proof was retrieved.
19
- */
20
- export interface QueryConnectionResponse {
21
- /** connection associated with the request identifier */
22
- connection: ConnectionEnd;
23
- /** merkle proof of existence */
24
- proof: Uint8Array;
25
- /** height at which the proof was retrieved */
26
- proofHeight: Height;
27
- }
28
- /**
29
- * QueryConnectionsRequest is the request type for the Query/Connections RPC
30
- * method
31
- */
32
- export interface QueryConnectionsRequest {
33
- pagination: PageRequest;
34
- }
35
- /**
36
- * QueryConnectionsResponse is the response type for the Query/Connections RPC
37
- * method.
38
- */
39
- export interface QueryConnectionsResponse {
40
- /** list of stored connections of the chain. */
41
- connections: IdentifiedConnection[];
42
- /** pagination response */
43
- pagination: PageResponse;
44
- /** query block height */
45
- height: Height;
46
- }
47
- /**
48
- * QueryClientConnectionsRequest is the request type for the
49
- * Query/ClientConnections RPC method
50
- */
51
- export interface QueryClientConnectionsRequest {
52
- /** client identifier associated with a connection */
53
- clientId: string;
54
- }
55
- /**
56
- * QueryClientConnectionsResponse is the response type for the
57
- * Query/ClientConnections RPC method
58
- */
59
- export interface QueryClientConnectionsResponse {
60
- /** slice of all the connection paths associated with a client. */
61
- connectionPaths: string[];
62
- /** merkle proof of existence */
63
- proof: Uint8Array;
64
- /** height at which the proof was generated */
65
- proofHeight: Height;
66
- }
67
- /**
68
- * QueryConnectionClientStateRequest is the request type for the
69
- * Query/ConnectionClientState RPC method
70
- */
71
- export interface QueryConnectionClientStateRequest {
72
- /** connection identifier */
73
- connectionId: string;
74
- }
75
- /**
76
- * QueryConnectionClientStateResponse is the response type for the
77
- * Query/ConnectionClientState RPC method
78
- */
79
- export interface QueryConnectionClientStateResponse {
80
- /** client state associated with the channel */
81
- identifiedClientState: IdentifiedClientState;
82
- /** merkle proof of existence */
83
- proof: Uint8Array;
84
- /** height at which the proof was retrieved */
85
- proofHeight: Height;
86
- }
87
- /**
88
- * QueryConnectionConsensusStateRequest is the request type for the
89
- * Query/ConnectionConsensusState RPC method
90
- */
91
- export interface QueryConnectionConsensusStateRequest {
92
- /** connection identifier */
93
- connectionId: string;
94
- revisionNumber: Long;
95
- revisionHeight: Long;
96
- }
97
- /**
98
- * QueryConnectionConsensusStateResponse is the response type for the
99
- * Query/ConnectionConsensusState RPC method
100
- */
101
- export interface QueryConnectionConsensusStateResponse {
102
- /** consensus state associated with the channel */
103
- consensusState: Any;
104
- /** client ID associated with the consensus state */
105
- clientId: string;
106
- /** merkle proof of existence */
107
- proof: Uint8Array;
108
- /** height at which the proof was retrieved */
109
- proofHeight: Height;
110
- }
111
- export declare const QueryConnectionRequest: {
112
- encode(message: QueryConnectionRequest, writer?: _m0.Writer): _m0.Writer;
113
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest;
114
- fromJSON(object: any): QueryConnectionRequest;
115
- toJSON(message: QueryConnectionRequest): unknown;
116
- fromPartial(object: DeepPartial<QueryConnectionRequest>): QueryConnectionRequest;
117
- };
118
- export declare const QueryConnectionResponse: {
119
- encode(message: QueryConnectionResponse, writer?: _m0.Writer): _m0.Writer;
120
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse;
121
- fromJSON(object: any): QueryConnectionResponse;
122
- toJSON(message: QueryConnectionResponse): unknown;
123
- fromPartial(object: DeepPartial<QueryConnectionResponse>): QueryConnectionResponse;
124
- };
125
- export declare const QueryConnectionsRequest: {
126
- encode(message: QueryConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
127
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest;
128
- fromJSON(object: any): QueryConnectionsRequest;
129
- toJSON(message: QueryConnectionsRequest): unknown;
130
- fromPartial(object: DeepPartial<QueryConnectionsRequest>): QueryConnectionsRequest;
131
- };
132
- export declare const QueryConnectionsResponse: {
133
- encode(message: QueryConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
134
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse;
135
- fromJSON(object: any): QueryConnectionsResponse;
136
- toJSON(message: QueryConnectionsResponse): unknown;
137
- fromPartial(object: DeepPartial<QueryConnectionsResponse>): QueryConnectionsResponse;
138
- };
139
- export declare const QueryClientConnectionsRequest: {
140
- encode(message: QueryClientConnectionsRequest, writer?: _m0.Writer): _m0.Writer;
141
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest;
142
- fromJSON(object: any): QueryClientConnectionsRequest;
143
- toJSON(message: QueryClientConnectionsRequest): unknown;
144
- fromPartial(object: DeepPartial<QueryClientConnectionsRequest>): QueryClientConnectionsRequest;
145
- };
146
- export declare const QueryClientConnectionsResponse: {
147
- encode(message: QueryClientConnectionsResponse, writer?: _m0.Writer): _m0.Writer;
148
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse;
149
- fromJSON(object: any): QueryClientConnectionsResponse;
150
- toJSON(message: QueryClientConnectionsResponse): unknown;
151
- fromPartial(object: DeepPartial<QueryClientConnectionsResponse>): QueryClientConnectionsResponse;
152
- };
153
- export declare const QueryConnectionClientStateRequest: {
154
- encode(message: QueryConnectionClientStateRequest, writer?: _m0.Writer): _m0.Writer;
155
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest;
156
- fromJSON(object: any): QueryConnectionClientStateRequest;
157
- toJSON(message: QueryConnectionClientStateRequest): unknown;
158
- fromPartial(object: DeepPartial<QueryConnectionClientStateRequest>): QueryConnectionClientStateRequest;
159
- };
160
- export declare const QueryConnectionClientStateResponse: {
161
- encode(message: QueryConnectionClientStateResponse, writer?: _m0.Writer): _m0.Writer;
162
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse;
163
- fromJSON(object: any): QueryConnectionClientStateResponse;
164
- toJSON(message: QueryConnectionClientStateResponse): unknown;
165
- fromPartial(object: DeepPartial<QueryConnectionClientStateResponse>): QueryConnectionClientStateResponse;
166
- };
167
- export declare const QueryConnectionConsensusStateRequest: {
168
- encode(message: QueryConnectionConsensusStateRequest, writer?: _m0.Writer): _m0.Writer;
169
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest;
170
- fromJSON(object: any): QueryConnectionConsensusStateRequest;
171
- toJSON(message: QueryConnectionConsensusStateRequest): unknown;
172
- fromPartial(object: DeepPartial<QueryConnectionConsensusStateRequest>): QueryConnectionConsensusStateRequest;
173
- };
174
- export declare const QueryConnectionConsensusStateResponse: {
175
- encode(message: QueryConnectionConsensusStateResponse, writer?: _m0.Writer): _m0.Writer;
176
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse;
177
- fromJSON(object: any): QueryConnectionConsensusStateResponse;
178
- toJSON(message: QueryConnectionConsensusStateResponse): unknown;
179
- fromPartial(object: DeepPartial<QueryConnectionConsensusStateResponse>): QueryConnectionConsensusStateResponse;
180
- };
@@ -1,12 +0,0 @@
1
- import { LCDClient } from "@osmonauts/lcd";
2
- import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query";
3
- export declare class LCDQueryClient extends LCDClient {
4
- constructor({ restEndpoint }: {
5
- restEndpoint: any;
6
- });
7
- connection(params: QueryConnectionRequest): Promise<QueryConnectionResponse>;
8
- connections(params: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
9
- clientConnections(params: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
10
- connectionClientState(params: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
11
- connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
12
- }
@@ -1,19 +0,0 @@
1
- import { Rpc } from "@osmonauts/helpers";
2
- import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query";
3
- /** Query defines the RPC service */
4
- export interface Query {
5
- connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
6
- connections(request: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
7
- clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
8
- connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
9
- connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
10
- }
11
- export declare class QueryClientImpl implements Query {
12
- private readonly rpc;
13
- constructor(rpc: Rpc);
14
- connection(request: QueryConnectionRequest): Promise<QueryConnectionResponse>;
15
- connections(request: QueryConnectionsRequest): Promise<QueryConnectionsResponse>;
16
- clientConnections(request: QueryClientConnectionsRequest): Promise<QueryClientConnectionsResponse>;
17
- connectionClientState(request: QueryConnectionClientStateRequest): Promise<QueryConnectionClientStateResponse>;
18
- connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise<QueryConnectionConsensusStateResponse>;
19
- }
@@ -1,103 +0,0 @@
1
- import { AminoMsg } from "@cosmjs/amino";
2
- import { AminoHeight } from "@osmonauts/helpers";
3
- import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx";
4
- export interface AminoMsgConnectionOpenInit extends AminoMsg {
5
- type: "cosmos-sdk/MsgConnectionOpenInit";
6
- value: {
7
- client_id: string;
8
- counterparty: {
9
- client_id: string;
10
- connection_id: string;
11
- prefix: {
12
- key_prefix: Uint8Array;
13
- };
14
- };
15
- version: {
16
- identifier: string;
17
- features: string[];
18
- };
19
- delay_period: string;
20
- signer: string;
21
- };
22
- }
23
- export interface AminoMsgConnectionOpenTry extends AminoMsg {
24
- type: "cosmos-sdk/MsgConnectionOpenTry";
25
- value: {
26
- client_id: string;
27
- previous_connection_id: string;
28
- client_state: {
29
- type_url: string;
30
- value: Uint8Array;
31
- };
32
- counterparty: {
33
- client_id: string;
34
- connection_id: string;
35
- prefix: {
36
- key_prefix: Uint8Array;
37
- };
38
- };
39
- delay_period: string;
40
- counterparty_versions: {
41
- identifier: string;
42
- features: string[];
43
- }[];
44
- proof_height: AminoHeight;
45
- proof_init: Uint8Array;
46
- proof_client: Uint8Array;
47
- proof_consensus: Uint8Array;
48
- consensus_height: AminoHeight;
49
- signer: string;
50
- };
51
- }
52
- export interface AminoMsgConnectionOpenAck extends AminoMsg {
53
- type: "cosmos-sdk/MsgConnectionOpenAck";
54
- value: {
55
- connection_id: string;
56
- counterparty_connection_id: string;
57
- version: {
58
- identifier: string;
59
- features: string[];
60
- };
61
- client_state: {
62
- type_url: string;
63
- value: Uint8Array;
64
- };
65
- proof_height: AminoHeight;
66
- proof_try: Uint8Array;
67
- proof_client: Uint8Array;
68
- proof_consensus: Uint8Array;
69
- consensus_height: AminoHeight;
70
- signer: string;
71
- };
72
- }
73
- export interface AminoMsgConnectionOpenConfirm extends AminoMsg {
74
- type: "cosmos-sdk/MsgConnectionOpenConfirm";
75
- value: {
76
- connection_id: string;
77
- proof_ack: Uint8Array;
78
- proof_height: AminoHeight;
79
- signer: string;
80
- };
81
- }
82
- export declare const AminoConverter: {
83
- "/ibc.core.connection.v1.MsgConnectionOpenInit": {
84
- aminoType: string;
85
- toAmino: ({ clientId, counterparty, version, delayPeriod, signer }: MsgConnectionOpenInit) => AminoMsgConnectionOpenInit["value"];
86
- fromAmino: ({ client_id, counterparty, version, delay_period, signer }: AminoMsgConnectionOpenInit["value"]) => MsgConnectionOpenInit;
87
- };
88
- "/ibc.core.connection.v1.MsgConnectionOpenTry": {
89
- aminoType: string;
90
- toAmino: ({ clientId, previousConnectionId, clientState, counterparty, delayPeriod, counterpartyVersions, proofHeight, proofInit, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenTry) => AminoMsgConnectionOpenTry["value"];
91
- fromAmino: ({ client_id, previous_connection_id, client_state, counterparty, delay_period, counterparty_versions, proof_height, proof_init, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenTry["value"]) => MsgConnectionOpenTry;
92
- };
93
- "/ibc.core.connection.v1.MsgConnectionOpenAck": {
94
- aminoType: string;
95
- toAmino: ({ connectionId, counterpartyConnectionId, version, clientState, proofHeight, proofTry, proofClient, proofConsensus, consensusHeight, signer }: MsgConnectionOpenAck) => AminoMsgConnectionOpenAck["value"];
96
- fromAmino: ({ connection_id, counterparty_connection_id, version, client_state, proof_height, proof_try, proof_client, proof_consensus, consensus_height, signer }: AminoMsgConnectionOpenAck["value"]) => MsgConnectionOpenAck;
97
- };
98
- "/ibc.core.connection.v1.MsgConnectionOpenConfirm": {
99
- aminoType: string;
100
- toAmino: ({ connectionId, proofAck, proofHeight, signer }: MsgConnectionOpenConfirm) => AminoMsgConnectionOpenConfirm["value"];
101
- fromAmino: ({ connection_id, proof_ack, proof_height, signer }: AminoMsgConnectionOpenConfirm["value"]) => MsgConnectionOpenConfirm;
102
- };
103
- };
@@ -1,151 +0,0 @@
1
- import { Counterparty, Version } from "./connection";
2
- import { Any } from "../../../../google/protobuf/any";
3
- import { Height } from "../../client/v1/client";
4
- import * as _m0 from "protobufjs/minimal";
5
- import { Long, DeepPartial } from "@osmonauts/helpers";
6
- /**
7
- * MsgConnectionOpenInit defines the msg sent by an account on Chain A to
8
- * initialize a connection with Chain B.
9
- */
10
- export interface MsgConnectionOpenInit {
11
- clientId: string;
12
- counterparty: Counterparty;
13
- version: Version;
14
- delayPeriod: Long;
15
- signer: string;
16
- }
17
- /**
18
- * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response
19
- * type.
20
- */
21
- export interface MsgConnectionOpenInitResponse {
22
- }
23
- /**
24
- * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a
25
- * connection on Chain B.
26
- */
27
- export interface MsgConnectionOpenTry {
28
- clientId: string;
29
- /**
30
- * in the case of crossing hello's, when both chains call OpenInit, we need
31
- * the connection identifier of the previous connection in state INIT
32
- */
33
- previousConnectionId: string;
34
- clientState: Any;
35
- counterparty: Counterparty;
36
- delayPeriod: Long;
37
- counterpartyVersions: Version[];
38
- proofHeight: Height;
39
- /**
40
- * proof of the initialization the connection on Chain A: `UNITIALIZED ->
41
- * INIT`
42
- */
43
- proofInit: Uint8Array;
44
- /** proof of client state included in message */
45
- proofClient: Uint8Array;
46
- /** proof of client consensus state */
47
- proofConsensus: Uint8Array;
48
- consensusHeight: Height;
49
- signer: string;
50
- }
51
- /** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */
52
- export interface MsgConnectionOpenTryResponse {
53
- }
54
- /**
55
- * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to
56
- * acknowledge the change of connection state to TRYOPEN on Chain B.
57
- */
58
- export interface MsgConnectionOpenAck {
59
- connectionId: string;
60
- counterpartyConnectionId: string;
61
- version: Version;
62
- clientState: Any;
63
- proofHeight: Height;
64
- /**
65
- * proof of the initialization the connection on Chain B: `UNITIALIZED ->
66
- * TRYOPEN`
67
- */
68
- proofTry: Uint8Array;
69
- /** proof of client state included in message */
70
- proofClient: Uint8Array;
71
- /** proof of client consensus state */
72
- proofConsensus: Uint8Array;
73
- consensusHeight: Height;
74
- signer: string;
75
- }
76
- /** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */
77
- export interface MsgConnectionOpenAckResponse {
78
- }
79
- /**
80
- * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to
81
- * acknowledge the change of connection state to OPEN on Chain A.
82
- */
83
- export interface MsgConnectionOpenConfirm {
84
- connectionId: string;
85
- /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */
86
- proofAck: Uint8Array;
87
- proofHeight: Height;
88
- signer: string;
89
- }
90
- /**
91
- * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm
92
- * response type.
93
- */
94
- export interface MsgConnectionOpenConfirmResponse {
95
- }
96
- export declare const MsgConnectionOpenInit: {
97
- encode(message: MsgConnectionOpenInit, writer?: _m0.Writer): _m0.Writer;
98
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit;
99
- fromJSON(object: any): MsgConnectionOpenInit;
100
- toJSON(message: MsgConnectionOpenInit): unknown;
101
- fromPartial(object: DeepPartial<MsgConnectionOpenInit>): MsgConnectionOpenInit;
102
- };
103
- export declare const MsgConnectionOpenInitResponse: {
104
- encode(_: MsgConnectionOpenInitResponse, writer?: _m0.Writer): _m0.Writer;
105
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse;
106
- fromJSON(_: any): MsgConnectionOpenInitResponse;
107
- toJSON(_: MsgConnectionOpenInitResponse): unknown;
108
- fromPartial(_: DeepPartial<MsgConnectionOpenInitResponse>): MsgConnectionOpenInitResponse;
109
- };
110
- export declare const MsgConnectionOpenTry: {
111
- encode(message: MsgConnectionOpenTry, writer?: _m0.Writer): _m0.Writer;
112
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry;
113
- fromJSON(object: any): MsgConnectionOpenTry;
114
- toJSON(message: MsgConnectionOpenTry): unknown;
115
- fromPartial(object: DeepPartial<MsgConnectionOpenTry>): MsgConnectionOpenTry;
116
- };
117
- export declare const MsgConnectionOpenTryResponse: {
118
- encode(_: MsgConnectionOpenTryResponse, writer?: _m0.Writer): _m0.Writer;
119
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse;
120
- fromJSON(_: any): MsgConnectionOpenTryResponse;
121
- toJSON(_: MsgConnectionOpenTryResponse): unknown;
122
- fromPartial(_: DeepPartial<MsgConnectionOpenTryResponse>): MsgConnectionOpenTryResponse;
123
- };
124
- export declare const MsgConnectionOpenAck: {
125
- encode(message: MsgConnectionOpenAck, writer?: _m0.Writer): _m0.Writer;
126
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck;
127
- fromJSON(object: any): MsgConnectionOpenAck;
128
- toJSON(message: MsgConnectionOpenAck): unknown;
129
- fromPartial(object: DeepPartial<MsgConnectionOpenAck>): MsgConnectionOpenAck;
130
- };
131
- export declare const MsgConnectionOpenAckResponse: {
132
- encode(_: MsgConnectionOpenAckResponse, writer?: _m0.Writer): _m0.Writer;
133
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse;
134
- fromJSON(_: any): MsgConnectionOpenAckResponse;
135
- toJSON(_: MsgConnectionOpenAckResponse): unknown;
136
- fromPartial(_: DeepPartial<MsgConnectionOpenAckResponse>): MsgConnectionOpenAckResponse;
137
- };
138
- export declare const MsgConnectionOpenConfirm: {
139
- encode(message: MsgConnectionOpenConfirm, writer?: _m0.Writer): _m0.Writer;
140
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm;
141
- fromJSON(object: any): MsgConnectionOpenConfirm;
142
- toJSON(message: MsgConnectionOpenConfirm): unknown;
143
- fromPartial(object: DeepPartial<MsgConnectionOpenConfirm>): MsgConnectionOpenConfirm;
144
- };
145
- export declare const MsgConnectionOpenConfirmResponse: {
146
- encode(_: MsgConnectionOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer;
147
- decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse;
148
- fromJSON(_: any): MsgConnectionOpenConfirmResponse;
149
- toJSON(_: MsgConnectionOpenConfirmResponse): unknown;
150
- fromPartial(_: DeepPartial<MsgConnectionOpenConfirmResponse>): MsgConnectionOpenConfirmResponse;
151
- };