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,375 +0,0 @@
1
- import * as _m0 from "protobufjs/minimal";
2
- import { DeepPartial } from "@osmonauts/helpers";
3
- /**
4
- * Defines the HTTP configuration for an API service. It contains a list of
5
- * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
6
- * to one or more HTTP REST API methods.
7
- */
8
- export interface Http {
9
- /**
10
- * A list of HTTP configuration rules that apply to individual API methods.
11
- *
12
- * **NOTE:** All service configuration rules follow "last one wins" order.
13
- */
14
- rules: HttpRule[];
15
- /**
16
- * When set to true, URL path parameters will be fully URI-decoded except in
17
- * cases of single segment matches in reserved expansion, where "%2F" will be
18
- * left encoded.
19
- *
20
- * The default behavior is to not decode RFC 6570 reserved characters in multi
21
- * segment matches.
22
- */
23
- fullyDecodeReservedExpansion: boolean;
24
- }
25
- /**
26
- * # gRPC Transcoding
27
- *
28
- * gRPC Transcoding is a feature for mapping between a gRPC method and one or
29
- * more HTTP REST endpoints. It allows developers to build a single API service
30
- * that supports both gRPC APIs and REST APIs. Many systems, including [Google
31
- * APIs](https://github.com/googleapis/googleapis),
32
- * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
33
- * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
34
- * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
35
- * and use it for large scale production services.
36
- *
37
- * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
38
- * how different portions of the gRPC request message are mapped to the URL
39
- * path, URL query parameters, and HTTP request body. It also controls how the
40
- * gRPC response message is mapped to the HTTP response body. `HttpRule` is
41
- * typically specified as an `google.api.http` annotation on the gRPC method.
42
- *
43
- * Each mapping specifies a URL path template and an HTTP method. The path
44
- * template may refer to one or more fields in the gRPC request message, as long
45
- * as each field is a non-repeated field with a primitive (non-message) type.
46
- * The path template controls how fields of the request message are mapped to
47
- * the URL path.
48
- *
49
- * Example:
50
- *
51
- * service Messaging {
52
- * rpc GetMessage(GetMessageRequest) returns (Message) {
53
- * option (google.api.http) = {
54
- * get: "/v1/{name=messages/*}"
55
- * };
56
- * }
57
- * }
58
- * message GetMessageRequest {
59
- * string name = 1; // Mapped to URL path.
60
- * }
61
- * message Message {
62
- * string text = 1; // The resource content.
63
- * }
64
- *
65
- * This enables an HTTP REST to gRPC mapping as below:
66
- *
67
- * HTTP | gRPC
68
- * -----|-----
69
- * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
70
- *
71
- * Any fields in the request message which are not bound by the path template
72
- * automatically become HTTP query parameters if there is no HTTP request body.
73
- * For example:
74
- *
75
- * service Messaging {
76
- * rpc GetMessage(GetMessageRequest) returns (Message) {
77
- * option (google.api.http) = {
78
- * get:"/v1/messages/{message_id}"
79
- * };
80
- * }
81
- * }
82
- * message GetMessageRequest {
83
- * message SubMessage {
84
- * string subfield = 1;
85
- * }
86
- * string message_id = 1; // Mapped to URL path.
87
- * int64 revision = 2; // Mapped to URL query parameter `revision`.
88
- * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
89
- * }
90
- *
91
- * This enables a HTTP JSON to RPC mapping as below:
92
- *
93
- * HTTP | gRPC
94
- * -----|-----
95
- * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
96
- * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
97
- * "foo"))`
98
- *
99
- * Note that fields which are mapped to URL query parameters must have a
100
- * primitive type or a repeated primitive type or a non-repeated message type.
101
- * In the case of a repeated type, the parameter can be repeated in the URL
102
- * as `...?param=A&param=B`. In the case of a message type, each field of the
103
- * message is mapped to a separate parameter, such as
104
- * `...?foo.a=A&foo.b=B&foo.c=C`.
105
- *
106
- * For HTTP methods that allow a request body, the `body` field
107
- * specifies the mapping. Consider a REST update method on the
108
- * message resource collection:
109
- *
110
- * service Messaging {
111
- * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
112
- * option (google.api.http) = {
113
- * patch: "/v1/messages/{message_id}"
114
- * body: "message"
115
- * };
116
- * }
117
- * }
118
- * message UpdateMessageRequest {
119
- * string message_id = 1; // mapped to the URL
120
- * Message message = 2; // mapped to the body
121
- * }
122
- *
123
- * The following HTTP JSON to RPC mapping is enabled, where the
124
- * representation of the JSON in the request body is determined by
125
- * protos JSON encoding:
126
- *
127
- * HTTP | gRPC
128
- * -----|-----
129
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
130
- * "123456" message { text: "Hi!" })`
131
- *
132
- * The special name `*` can be used in the body mapping to define that
133
- * every field not bound by the path template should be mapped to the
134
- * request body. This enables the following alternative definition of
135
- * the update method:
136
- *
137
- * service Messaging {
138
- * rpc UpdateMessage(Message) returns (Message) {
139
- * option (google.api.http) = {
140
- * patch: "/v1/messages/{message_id}"
141
- * body: "*"
142
- * };
143
- * }
144
- * }
145
- * message Message {
146
- * string message_id = 1;
147
- * string text = 2;
148
- * }
149
- *
150
- *
151
- * The following HTTP JSON to RPC mapping is enabled:
152
- *
153
- * HTTP | gRPC
154
- * -----|-----
155
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
156
- * "123456" text: "Hi!")`
157
- *
158
- * Note that when using `*` in the body mapping, it is not possible to
159
- * have HTTP parameters, as all fields not bound by the path end in
160
- * the body. This makes this option more rarely used in practice when
161
- * defining REST APIs. The common usage of `*` is in custom methods
162
- * which don't use the URL at all for transferring data.
163
- *
164
- * It is possible to define multiple HTTP methods for one RPC by using
165
- * the `additional_bindings` option. Example:
166
- *
167
- * service Messaging {
168
- * rpc GetMessage(GetMessageRequest) returns (Message) {
169
- * option (google.api.http) = {
170
- * get: "/v1/messages/{message_id}"
171
- * additional_bindings {
172
- * get: "/v1/users/{user_id}/messages/{message_id}"
173
- * }
174
- * };
175
- * }
176
- * }
177
- * message GetMessageRequest {
178
- * string message_id = 1;
179
- * string user_id = 2;
180
- * }
181
- *
182
- * This enables the following two alternative HTTP JSON to RPC mappings:
183
- *
184
- * HTTP | gRPC
185
- * -----|-----
186
- * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
187
- * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
188
- * "123456")`
189
- *
190
- * ## Rules for HTTP mapping
191
- *
192
- * 1. Leaf request fields (recursive expansion nested messages in the request
193
- * message) are classified into three categories:
194
- * - Fields referred by the path template. They are passed via the URL path.
195
- * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
196
- * request body.
197
- * - All other fields are passed via the URL query parameters, and the
198
- * parameter name is the field path in the request message. A repeated
199
- * field can be represented as multiple query parameters under the same
200
- * name.
201
- * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
202
- * are passed via URL path and HTTP request body.
203
- * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
204
- * fields are passed via URL path and URL query parameters.
205
- *
206
- * ### Path template syntax
207
- *
208
- * Template = "/" Segments [ Verb ] ;
209
- * Segments = Segment { "/" Segment } ;
210
- * Segment = "*" | "**" | LITERAL | Variable ;
211
- * Variable = "{" FieldPath [ "=" Segments ] "}" ;
212
- * FieldPath = IDENT { "." IDENT } ;
213
- * Verb = ":" LITERAL ;
214
- *
215
- * The syntax `*` matches a single URL path segment. The syntax `**` matches
216
- * zero or more URL path segments, which must be the last part of the URL path
217
- * except the `Verb`.
218
- *
219
- * The syntax `Variable` matches part of the URL path as specified by its
220
- * template. A variable template must not contain other variables. If a variable
221
- * matches a single path segment, its template may be omitted, e.g. `{var}`
222
- * is equivalent to `{var=*}`.
223
- *
224
- * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
225
- * contains any reserved character, such characters should be percent-encoded
226
- * before the matching.
227
- *
228
- * If a variable contains exactly one path segment, such as `"{var}"` or
229
- * `"{var=*}"`, when such a variable is expanded into a URL path on the client
230
- * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
231
- * server side does the reverse decoding. Such variables show up in the
232
- * [Discovery
233
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
234
- * `{var}`.
235
- *
236
- * If a variable contains multiple path segments, such as `"{var=foo/*}"`
237
- * or `"{var=**}"`, when such a variable is expanded into a URL path on the
238
- * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
239
- * The server side does the reverse decoding, except "%2F" and "%2f" are left
240
- * unchanged. Such variables show up in the
241
- * [Discovery
242
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
243
- * `{+var}`.
244
- *
245
- * ## Using gRPC API Service Configuration
246
- *
247
- * gRPC API Service Configuration (service config) is a configuration language
248
- * for configuring a gRPC service to become a user-facing product. The
249
- * service config is simply the YAML representation of the `google.api.Service`
250
- * proto message.
251
- *
252
- * As an alternative to annotating your proto file, you can configure gRPC
253
- * transcoding in your service config YAML files. You do this by specifying a
254
- * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
255
- * effect as the proto annotation. This can be particularly useful if you
256
- * have a proto that is reused in multiple services. Note that any transcoding
257
- * specified in the service config will override any matching transcoding
258
- * configuration in the proto.
259
- *
260
- * Example:
261
- *
262
- * http:
263
- * rules:
264
- * # Selects a gRPC method and applies HttpRule to it.
265
- * - selector: example.v1.Messaging.GetMessage
266
- * get: /v1/messages/{message_id}/{sub.subfield}
267
- *
268
- * ## Special notes
269
- *
270
- * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
271
- * proto to JSON conversion must follow the [proto3
272
- * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
273
- *
274
- * While the single segment variable follows the semantics of
275
- * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
276
- * Expansion, the multi segment variable **does not** follow RFC 6570 Section
277
- * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
278
- * does not expand special characters like `?` and `#`, which would lead
279
- * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
280
- * for multi segment variables.
281
- *
282
- * The path variables **must not** refer to any repeated or mapped field,
283
- * because client libraries are not capable of handling such variable expansion.
284
- *
285
- * The path variables **must not** capture the leading "/" character. The reason
286
- * is that the most common use case "{var}" does not capture the leading "/"
287
- * character. For consistency, all path variables must share the same behavior.
288
- *
289
- * Repeated message fields must not be mapped to URL query parameters, because
290
- * no client library can support such complicated mapping.
291
- *
292
- * If an API needs to use a JSON array for request or response body, it can map
293
- * the request or response body to a repeated field. However, some gRPC
294
- * Transcoding implementations may not support this feature.
295
- */
296
- export interface HttpRule {
297
- /**
298
- * Selects a method to which this rule applies.
299
- *
300
- * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
301
- */
302
- selector: string;
303
- /**
304
- * Maps to HTTP GET. Used for listing and getting information about
305
- * resources.
306
- */
307
- get?: string;
308
- /** Maps to HTTP PUT. Used for replacing a resource. */
309
- put?: string;
310
- /** Maps to HTTP POST. Used for creating a resource or performing an action. */
311
- post?: string;
312
- /** Maps to HTTP DELETE. Used for deleting a resource. */
313
- delete?: string;
314
- /** Maps to HTTP PATCH. Used for updating a resource. */
315
- patch?: string;
316
- /**
317
- * The custom pattern is used for specifying an HTTP method that is not
318
- * included in the `pattern` field, such as HEAD, or "*" to leave the
319
- * HTTP method unspecified for this rule. The wild-card rule is useful
320
- * for services that provide content to Web (HTML) clients.
321
- */
322
- custom?: CustomHttpPattern;
323
- /**
324
- * The name of the request field whose value is mapped to the HTTP request
325
- * body, or `*` for mapping all request fields not captured by the path
326
- * pattern to the HTTP body, or omitted for not having any HTTP request body.
327
- *
328
- * NOTE: the referred field must be present at the top-level of the request
329
- * message type.
330
- */
331
- body: string;
332
- /**
333
- * Optional. The name of the response field whose value is mapped to the HTTP
334
- * response body. When omitted, the entire response message will be used
335
- * as the HTTP response body.
336
- *
337
- * NOTE: The referred field must be present at the top-level of the response
338
- * message type.
339
- */
340
- responseBody: string;
341
- /**
342
- * Additional HTTP bindings for the selector. Nested bindings must
343
- * not contain an `additional_bindings` field themselves (that is,
344
- * the nesting may only be one level deep).
345
- */
346
- additionalBindings: HttpRule[];
347
- }
348
- /** A custom pattern is used for defining custom HTTP verb. */
349
- export interface CustomHttpPattern {
350
- /** The name of this custom HTTP verb. */
351
- kind: string;
352
- /** The path matched by this custom verb. */
353
- path: string;
354
- }
355
- export declare const Http: {
356
- encode(message: Http, writer?: _m0.Writer): _m0.Writer;
357
- decode(input: _m0.Reader | Uint8Array, length?: number): Http;
358
- fromJSON(object: any): Http;
359
- toJSON(message: Http): unknown;
360
- fromPartial(object: DeepPartial<Http>): Http;
361
- };
362
- export declare const HttpRule: {
363
- encode(message: HttpRule, writer?: _m0.Writer): _m0.Writer;
364
- decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule;
365
- fromJSON(object: any): HttpRule;
366
- toJSON(message: HttpRule): unknown;
367
- fromPartial(object: DeepPartial<HttpRule>): HttpRule;
368
- };
369
- export declare const CustomHttpPattern: {
370
- encode(message: CustomHttpPattern, writer?: _m0.Writer): _m0.Writer;
371
- decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern;
372
- fromJSON(object: any): CustomHttpPattern;
373
- toJSON(message: CustomHttpPattern): unknown;
374
- fromPartial(object: DeepPartial<CustomHttpPattern>): CustomHttpPattern;
375
- };
@@ -1,143 +0,0 @@
1
- import { Any } from "../../../../google/protobuf/any";
2
- import { Plan } from "../../../../cosmos/upgrade/v1beta1/upgrade";
3
- import * as _m0 from "protobufjs/minimal";
4
- import { DeepPartial, Long } from "@osmonauts/helpers";
5
- /**
6
- * IdentifiedClientState defines a client state with an additional client
7
- * identifier field.
8
- */
9
- export interface IdentifiedClientState {
10
- /** client identifier */
11
- clientId: string;
12
- /** client state */
13
- clientState: Any;
14
- }
15
- /**
16
- * ConsensusStateWithHeight defines a consensus state with an additional height
17
- * field.
18
- */
19
- export interface ConsensusStateWithHeight {
20
- /** consensus state height */
21
- height: Height;
22
- /** consensus state */
23
- consensusState: Any;
24
- }
25
- /**
26
- * ClientConsensusStates defines all the stored consensus states for a given
27
- * client.
28
- */
29
- export interface ClientConsensusStates {
30
- /** client identifier */
31
- clientId: string;
32
- /** consensus states and their heights associated with the client */
33
- consensusStates: ConsensusStateWithHeight[];
34
- }
35
- /**
36
- * ClientUpdateProposal is a governance proposal. If it passes, the substitute
37
- * client's latest consensus state is copied over to the subject client. The proposal
38
- * handler may fail if the subject and the substitute do not match in client and
39
- * chain parameters (with exception to latest height, frozen height, and chain-id).
40
- */
41
- export interface ClientUpdateProposal {
42
- /** the title of the update proposal */
43
- title: string;
44
- /** the description of the proposal */
45
- description: string;
46
- /** the client identifier for the client to be updated if the proposal passes */
47
- subjectClientId: string;
48
- /**
49
- * the substitute client identifier for the client standing in for the subject
50
- * client
51
- */
52
- substituteClientId: string;
53
- }
54
- /**
55
- * UpgradeProposal is a gov Content type for initiating an IBC breaking
56
- * upgrade.
57
- */
58
- export interface UpgradeProposal {
59
- title: string;
60
- description: string;
61
- plan: Plan;
62
- /**
63
- * An UpgradedClientState must be provided to perform an IBC breaking upgrade.
64
- * This will make the chain commit to the correct upgraded (self) client state
65
- * before the upgrade occurs, so that connecting chains can verify that the
66
- * new upgraded client is valid by verifying a proof on the previous version
67
- * of the chain. This will allow IBC connections to persist smoothly across
68
- * planned chain upgrades
69
- */
70
- upgradedClientState: Any;
71
- }
72
- /**
73
- * Height is a monotonically increasing data type
74
- * that can be compared against another Height for the purposes of updating and
75
- * freezing clients
76
- *
77
- * Normally the RevisionHeight is incremented at each height while keeping
78
- * RevisionNumber the same. However some consensus algorithms may choose to
79
- * reset the height in certain conditions e.g. hard forks, state-machine
80
- * breaking changes In these cases, the RevisionNumber is incremented so that
81
- * height continues to be monitonically increasing even as the RevisionHeight
82
- * gets reset
83
- */
84
- export interface Height {
85
- /** the revision that the client is currently on */
86
- revisionNumber: Long;
87
- /** the height within the given revision */
88
- revisionHeight: Long;
89
- }
90
- /** Params defines the set of IBC light client parameters. */
91
- export interface Params {
92
- /** allowed_clients defines the list of allowed client state types. */
93
- allowedClients: string[];
94
- }
95
- export declare const IdentifiedClientState: {
96
- encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer;
97
- decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState;
98
- fromJSON(object: any): IdentifiedClientState;
99
- toJSON(message: IdentifiedClientState): unknown;
100
- fromPartial(object: DeepPartial<IdentifiedClientState>): IdentifiedClientState;
101
- };
102
- export declare const ConsensusStateWithHeight: {
103
- encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer;
104
- decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight;
105
- fromJSON(object: any): ConsensusStateWithHeight;
106
- toJSON(message: ConsensusStateWithHeight): unknown;
107
- fromPartial(object: DeepPartial<ConsensusStateWithHeight>): ConsensusStateWithHeight;
108
- };
109
- export declare const ClientConsensusStates: {
110
- encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer;
111
- decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates;
112
- fromJSON(object: any): ClientConsensusStates;
113
- toJSON(message: ClientConsensusStates): unknown;
114
- fromPartial(object: DeepPartial<ClientConsensusStates>): ClientConsensusStates;
115
- };
116
- export declare const ClientUpdateProposal: {
117
- encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer;
118
- decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal;
119
- fromJSON(object: any): ClientUpdateProposal;
120
- toJSON(message: ClientUpdateProposal): unknown;
121
- fromPartial(object: DeepPartial<ClientUpdateProposal>): ClientUpdateProposal;
122
- };
123
- export declare const UpgradeProposal: {
124
- encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer;
125
- decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal;
126
- fromJSON(object: any): UpgradeProposal;
127
- toJSON(message: UpgradeProposal): unknown;
128
- fromPartial(object: DeepPartial<UpgradeProposal>): UpgradeProposal;
129
- };
130
- export declare const Height: {
131
- encode(message: Height, writer?: _m0.Writer): _m0.Writer;
132
- decode(input: _m0.Reader | Uint8Array, length?: number): Height;
133
- fromJSON(object: any): Height;
134
- toJSON(message: Height): unknown;
135
- fromPartial(object: DeepPartial<Height>): Height;
136
- };
137
- export declare const Params: {
138
- encode(message: Params, writer?: _m0.Writer): _m0.Writer;
139
- decode(input: _m0.Reader | Uint8Array, length?: number): Params;
140
- fromJSON(object: any): Params;
141
- toJSON(message: Params): unknown;
142
- fromPartial(object: DeepPartial<Params>): Params;
143
- };
@@ -1,56 +0,0 @@
1
- import { IdentifiedClientState, ClientConsensusStates, Params } from "./client";
2
- import * as _m0 from "protobufjs/minimal";
3
- import { Long, DeepPartial } from "@osmonauts/helpers";
4
- /** GenesisState defines the ibc client submodule's genesis state. */
5
- export interface GenesisState {
6
- /** client states with their corresponding identifiers */
7
- clients: IdentifiedClientState[];
8
- /** consensus states from each client */
9
- clientsConsensus: ClientConsensusStates[];
10
- /** metadata from each client */
11
- clientsMetadata: IdentifiedGenesisMetadata[];
12
- params: Params;
13
- /** create localhost on initialization */
14
- createLocalhost: boolean;
15
- /** the sequence for the next generated client identifier */
16
- nextClientSequence: Long;
17
- }
18
- /**
19
- * GenesisMetadata defines the genesis type for metadata that clients may return
20
- * with ExportMetadata
21
- */
22
- export interface GenesisMetadata {
23
- /** store key of metadata without clientID-prefix */
24
- key: Uint8Array;
25
- /** metadata value */
26
- value: Uint8Array;
27
- }
28
- /**
29
- * IdentifiedGenesisMetadata has the client metadata with the corresponding
30
- * client id.
31
- */
32
- export interface IdentifiedGenesisMetadata {
33
- clientId: string;
34
- clientMetadata: GenesisMetadata[];
35
- }
36
- export declare const GenesisState: {
37
- encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
38
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
39
- fromJSON(object: any): GenesisState;
40
- toJSON(message: GenesisState): unknown;
41
- fromPartial(object: DeepPartial<GenesisState>): GenesisState;
42
- };
43
- export declare const GenesisMetadata: {
44
- encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer;
45
- decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata;
46
- fromJSON(object: any): GenesisMetadata;
47
- toJSON(message: GenesisMetadata): unknown;
48
- fromPartial(object: DeepPartial<GenesisMetadata>): GenesisMetadata;
49
- };
50
- export declare const IdentifiedGenesisMetadata: {
51
- encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer;
52
- decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata;
53
- fromJSON(object: any): IdentifiedGenesisMetadata;
54
- toJSON(message: IdentifiedGenesisMetadata): unknown;
55
- fromPartial(object: DeepPartial<IdentifiedGenesisMetadata>): IdentifiedGenesisMetadata;
56
- };