juno-network 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. package/main/codegen/confio/proofs.js +29 -3
  2. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  3. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  4. package/main/codegen/cosmos/bundle.js +47 -47
  5. package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
  6. package/main/codegen/cosmos/gov/v1/gov.js +21 -4
  7. package/main/codegen/cosmos/gov/v1/query.js +1 -1
  8. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  9. package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -4
  10. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
  11. package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
  12. package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
  13. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
  14. package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
  15. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  16. package/main/codegen/cosmos_proto/cosmos.js +7 -1
  17. package/main/codegen/cosmwasm/bundle.js +10 -10
  18. package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  19. package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
  20. package/main/codegen/gaia/bundle.js +28 -0
  21. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
  22. package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
  23. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
  24. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
  25. package/main/codegen/gaia/lcd.js +167 -0
  26. package/main/codegen/gaia/rpc.query.js +134 -0
  27. package/main/codegen/gogoproto/bundle.js +2 -2
  28. package/main/codegen/google/bundle.js +6 -6
  29. package/main/codegen/google/protobuf/descriptor.js +63 -8
  30. package/main/codegen/google/protobuf/duration.js +1 -1
  31. package/main/codegen/google/protobuf/timestamp.js +1 -1
  32. package/main/codegen/helpers.js +1 -1
  33. package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  34. package/main/codegen/ibc/bundle.js +56 -56
  35. package/main/codegen/ibc/core/channel/v1/channel.js +21 -4
  36. package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
  37. package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
  38. package/main/codegen/ibc/core/connection/v1/connection.js +13 -3
  39. package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
  40. package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
  41. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
  42. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
  43. package/main/codegen/index.js +30 -19
  44. package/main/codegen/juno/bundle.js +20 -20
  45. package/main/codegen/juno/mint/mint.js +1 -1
  46. package/main/codegen/osmosis/bundle.js +15 -15
  47. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
  48. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
  49. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  50. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
  51. package/main/codegen/router/bundle.js +8 -8
  52. package/main/codegen/tendermint/abci/types.js +33 -4
  53. package/main/codegen/tendermint/bundle.js +17 -17
  54. package/main/codegen/tendermint/crypto/proof.js +1 -1
  55. package/main/codegen/tendermint/libs/bits/types.js +1 -1
  56. package/main/codegen/tendermint/p2p/types.js +1 -1
  57. package/main/codegen/tendermint/types/types.js +18 -4
  58. package/main/codegen/tendermint/types/validator.js +1 -1
  59. package/main/codegen/tendermint/version/types.js +1 -1
  60. package/module/codegen/confio/proofs.js +29 -2
  61. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  62. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  63. package/module/codegen/cosmos/bundle.js +47 -47
  64. package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
  65. package/module/codegen/cosmos/gov/v1/gov.js +21 -2
  66. package/module/codegen/cosmos/gov/v1/query.js +1 -1
  67. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  68. package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
  69. package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
  70. package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
  71. package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
  72. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
  73. package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
  74. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  75. package/module/codegen/cosmos_proto/cosmos.js +7 -1
  76. package/module/codegen/cosmwasm/bundle.js +10 -10
  77. package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  78. package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
  79. package/module/codegen/gaia/bundle.js +17 -0
  80. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
  81. package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
  82. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
  83. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
  84. package/module/codegen/gaia/lcd.js +57 -0
  85. package/module/codegen/gaia/rpc.query.js +39 -0
  86. package/module/codegen/gogoproto/bundle.js +2 -2
  87. package/module/codegen/google/bundle.js +6 -6
  88. package/module/codegen/google/protobuf/descriptor.js +63 -6
  89. package/module/codegen/google/protobuf/duration.js +1 -1
  90. package/module/codegen/google/protobuf/timestamp.js +1 -1
  91. package/module/codegen/helpers.js +1 -1
  92. package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  93. package/module/codegen/ibc/bundle.js +56 -56
  94. package/module/codegen/ibc/core/channel/v1/channel.js +21 -2
  95. package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
  96. package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
  97. package/module/codegen/ibc/core/connection/v1/connection.js +13 -2
  98. package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
  99. package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
  100. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
  101. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
  102. package/module/codegen/index.js +2 -1
  103. package/module/codegen/juno/bundle.js +20 -20
  104. package/module/codegen/juno/mint/mint.js +1 -1
  105. package/module/codegen/osmosis/bundle.js +15 -15
  106. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
  107. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
  108. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  109. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
  110. package/module/codegen/router/bundle.js +8 -8
  111. package/module/codegen/tendermint/abci/types.js +33 -4
  112. package/module/codegen/tendermint/bundle.js +17 -17
  113. package/module/codegen/tendermint/crypto/proof.js +1 -1
  114. package/module/codegen/tendermint/libs/bits/types.js +1 -1
  115. package/module/codegen/tendermint/p2p/types.js +1 -1
  116. package/module/codegen/tendermint/types/evidence.js +1 -1
  117. package/module/codegen/tendermint/types/types.js +19 -3
  118. package/module/codegen/tendermint/types/validator.js +1 -1
  119. package/module/codegen/tendermint/version/types.js +1 -1
  120. package/package.json +2 -2
  121. package/src/codegen/confio/proofs.ts +80 -8
  122. package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
  123. package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
  124. package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
  125. package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
  126. package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
  127. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
  128. package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
  129. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
  130. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
  131. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
  132. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
  133. package/src/codegen/cosmos/bundle.ts +76 -76
  134. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
  135. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
  136. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
  137. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
  138. package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
  139. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
  140. package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
  141. package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
  142. package/src/codegen/cosmos/gov/v1/query.ts +43 -3
  143. package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
  144. package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
  145. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
  146. package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
  147. package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
  148. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
  149. package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
  150. package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
  151. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
  152. package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
  153. package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
  154. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
  155. package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
  156. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
  157. package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
  158. package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
  159. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
  160. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
  161. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
  162. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
  163. package/src/codegen/cosmos_proto/cosmos.ts +37 -2
  164. package/src/codegen/cosmwasm/bundle.ts +14 -14
  165. package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
  166. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
  167. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
  168. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
  169. package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
  170. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
  171. package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
  172. package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
  173. package/src/codegen/gaia/bundle.ts +18 -0
  174. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
  175. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
  176. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
  177. package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
  178. package/src/codegen/gaia/lcd.ts +59 -0
  179. package/src/codegen/gaia/rpc.query.ts +41 -0
  180. package/src/codegen/gogoproto/bundle.ts +2 -2
  181. package/src/codegen/google/bundle.ts +9 -9
  182. package/src/codegen/google/protobuf/any.ts +31 -0
  183. package/src/codegen/google/protobuf/descriptor.ts +641 -15
  184. package/src/codegen/google/protobuf/duration.ts +15 -1
  185. package/src/codegen/google/protobuf/timestamp.ts +13 -1
  186. package/src/codegen/helpers.ts +1 -1
  187. package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
  188. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
  189. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
  190. package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
  191. package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
  192. package/src/codegen/ibc/bundle.ts +74 -74
  193. package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
  194. package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
  195. package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
  196. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
  197. package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
  198. package/src/codegen/ibc/core/client/v1/client.ts +32 -0
  199. package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
  200. package/src/codegen/ibc/core/client/v1/query.ts +35 -0
  201. package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
  202. package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
  203. package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
  204. package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
  205. package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
  206. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
  207. package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
  208. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
  209. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
  210. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
  211. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
  212. package/src/codegen/index.ts +2 -1
  213. package/src/codegen/juno/bundle.ts +32 -32
  214. package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
  215. package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
  216. package/src/codegen/juno/feeshare/v1/query.ts +25 -0
  217. package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
  218. package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
  219. package/src/codegen/juno/mint/genesis.ts +3 -0
  220. package/src/codegen/juno/mint/mint.ts +7 -1
  221. package/src/codegen/juno/mint/query.ts +3 -0
  222. package/src/codegen/osmosis/bundle.ts +24 -24
  223. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
  224. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
  225. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
  226. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
  227. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
  228. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
  229. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
  230. package/src/codegen/router/bundle.ts +12 -12
  231. package/src/codegen/router/v1/genesis.ts +7 -0
  232. package/src/codegen/router/v1/query.ts +1 -0
  233. package/src/codegen/tendermint/abci/types.ts +109 -8
  234. package/src/codegen/tendermint/bundle.ts +21 -21
  235. package/src/codegen/tendermint/crypto/proof.ts +4 -1
  236. package/src/codegen/tendermint/libs/bits/types.ts +1 -1
  237. package/src/codegen/tendermint/p2p/types.ts +1 -1
  238. package/src/codegen/tendermint/types/evidence.ts +1 -1
  239. package/src/codegen/tendermint/types/params.ts +36 -0
  240. package/src/codegen/tendermint/types/types.ts +50 -6
  241. package/src/codegen/tendermint/types/validator.ts +1 -1
  242. package/src/codegen/tendermint/version/types.ts +1 -1
  243. package/types/codegen/confio/proofs.d.ts +64 -8
  244. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
  245. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
  246. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
  247. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
  248. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
  249. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
  250. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
  251. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  252. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
  253. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
  254. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
  255. package/types/codegen/cosmos/bundle.d.ts +70 -70
  256. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
  257. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
  258. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
  259. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
  260. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
  261. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  262. package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
  263. package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
  264. package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
  265. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  266. package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
  267. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
  268. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
  269. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
  270. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  271. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  272. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +27 -2
  273. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
  274. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
  275. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
  276. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  277. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
  278. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
  279. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
  280. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
  281. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
  282. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  283. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
  284. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
  285. package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
  286. package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
  287. package/types/codegen/cosmwasm/bundle.d.ts +10 -10
  288. package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
  289. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
  290. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
  291. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
  292. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
  293. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
  294. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
  295. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
  296. package/types/codegen/gaia/bundle.d.ts +174 -0
  297. package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
  298. package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
  299. package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
  300. package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
  301. package/types/codegen/gaia/lcd.d.ts +33 -0
  302. package/types/codegen/gaia/rpc.query.d.ts +105 -0
  303. package/types/codegen/google/bundle.d.ts +123 -123
  304. package/types/codegen/google/protobuf/any.d.ts +30 -0
  305. package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
  306. package/types/codegen/google/protobuf/duration.d.ts +14 -1
  307. package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
  308. package/types/codegen/helpers.d.ts +1 -1
  309. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
  310. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
  311. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
  312. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
  313. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
  314. package/types/codegen/ibc/bundle.d.ts +773 -773
  315. package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
  316. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
  317. package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
  318. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
  319. package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
  320. package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
  321. package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
  322. package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
  323. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
  324. package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
  325. package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
  326. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
  327. package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
  328. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
  329. package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
  330. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
  331. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
  332. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
  333. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
  334. package/types/codegen/ics23/bundle.d.ts +2 -2
  335. package/types/codegen/index.d.ts +2 -1
  336. package/types/codegen/juno/bundle.d.ts +141 -141
  337. package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
  338. package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
  339. package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
  340. package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
  341. package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
  342. package/types/codegen/juno/mint/genesis.d.ts +2 -0
  343. package/types/codegen/juno/mint/mint.d.ts +5 -1
  344. package/types/codegen/juno/mint/query.d.ts +3 -0
  345. package/types/codegen/osmosis/bundle.d.ts +163 -116
  346. package/types/codegen/osmosis/client.d.ts +29 -4
  347. package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
  348. package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
  349. package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
  350. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
  351. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
  352. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
  353. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
  354. package/types/codegen/router/bundle.d.ts +27 -27
  355. package/types/codegen/router/v1/genesis.d.ts +6 -0
  356. package/types/codegen/router/v1/query.d.ts +1 -0
  357. package/types/codegen/tendermint/abci/types.d.ts +78 -8
  358. package/types/codegen/tendermint/bundle.d.ts +291 -291
  359. package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
  360. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  361. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  362. package/types/codegen/tendermint/types/params.d.ts +32 -0
  363. package/types/codegen/tendermint/types/types.d.ts +36 -5
  364. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  365. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -11,7 +11,12 @@ export let CheckTxType;
11
11
  CheckTxType[CheckTxType["RECHECK"] = 1] = "RECHECK";
12
12
  CheckTxType[CheckTxType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
13
13
  })(CheckTxType || (CheckTxType = {}));
14
- export const CheckTxTypeSDKType = CheckTxType;
14
+ export let CheckTxTypeSDKType;
15
+ (function (CheckTxTypeSDKType) {
16
+ CheckTxTypeSDKType[CheckTxTypeSDKType["NEW"] = 0] = "NEW";
17
+ CheckTxTypeSDKType[CheckTxTypeSDKType["RECHECK"] = 1] = "RECHECK";
18
+ CheckTxTypeSDKType[CheckTxTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
19
+ })(CheckTxTypeSDKType || (CheckTxTypeSDKType = {}));
15
20
  export function checkTxTypeFromJSON(object) {
16
21
  switch (object) {
17
22
  case 0:
@@ -47,7 +52,16 @@ export let ResponseOfferSnapshot_Result;
47
52
  ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["REJECT_SENDER"] = 5] = "REJECT_SENDER";
48
53
  ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
49
54
  })(ResponseOfferSnapshot_Result || (ResponseOfferSnapshot_Result = {}));
50
- export const ResponseOfferSnapshot_ResultSDKType = ResponseOfferSnapshot_Result;
55
+ export let ResponseOfferSnapshot_ResultSDKType;
56
+ (function (ResponseOfferSnapshot_ResultSDKType) {
57
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
58
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
59
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ABORT"] = 2] = "ABORT";
60
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT"] = 3] = "REJECT";
61
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_FORMAT"] = 4] = "REJECT_FORMAT";
62
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_SENDER"] = 5] = "REJECT_SENDER";
63
+ ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
64
+ })(ResponseOfferSnapshot_ResultSDKType || (ResponseOfferSnapshot_ResultSDKType = {}));
51
65
  export function responseOfferSnapshot_ResultFromJSON(object) {
52
66
  switch (object) {
53
67
  case 0:
@@ -103,7 +117,16 @@ export let ResponseApplySnapshotChunk_Result;
103
117
  ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
104
118
  ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
105
119
  })(ResponseApplySnapshotChunk_Result || (ResponseApplySnapshotChunk_Result = {}));
106
- export const ResponseApplySnapshotChunk_ResultSDKType = ResponseApplySnapshotChunk_Result;
120
+ export let ResponseApplySnapshotChunk_ResultSDKType;
121
+ (function (ResponseApplySnapshotChunk_ResultSDKType) {
122
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
123
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
124
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ABORT"] = 2] = "ABORT";
125
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["RETRY"] = 3] = "RETRY";
126
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["RETRY_SNAPSHOT"] = 4] = "RETRY_SNAPSHOT";
127
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
128
+ ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
129
+ })(ResponseApplySnapshotChunk_ResultSDKType || (ResponseApplySnapshotChunk_ResultSDKType = {}));
107
130
  export function responseApplySnapshotChunk_ResultFromJSON(object) {
108
131
  switch (object) {
109
132
  case 0:
@@ -156,7 +179,13 @@ export let EvidenceType;
156
179
  EvidenceType[EvidenceType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
157
180
  EvidenceType[EvidenceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
158
181
  })(EvidenceType || (EvidenceType = {}));
159
- export const EvidenceTypeSDKType = EvidenceType;
182
+ export let EvidenceTypeSDKType;
183
+ (function (EvidenceTypeSDKType) {
184
+ EvidenceTypeSDKType[EvidenceTypeSDKType["UNKNOWN"] = 0] = "UNKNOWN";
185
+ EvidenceTypeSDKType[EvidenceTypeSDKType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
186
+ EvidenceTypeSDKType[EvidenceTypeSDKType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
187
+ EvidenceTypeSDKType[EvidenceTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
188
+ })(EvidenceTypeSDKType || (EvidenceTypeSDKType = {}));
160
189
  export function evidenceTypeFromJSON(object) {
161
190
  switch (object) {
162
191
  case 0:
@@ -1,26 +1,26 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
3
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
- import * as _94 from "./abci/types";
5
- import * as _95 from "./crypto/keys";
6
- import * as _96 from "./crypto/proof";
7
- import * as _97 from "./libs/bits/types";
8
- import * as _98 from "./p2p/types";
9
- import * as _99 from "./types/block";
10
- import * as _100 from "./types/evidence";
11
- import * as _101 from "./types/params";
12
- import * as _102 from "./types/types";
13
- import * as _103 from "./types/validator";
14
- import * as _104 from "./version/types";
4
+ import * as _96 from "./abci/types";
5
+ import * as _97 from "./crypto/keys";
6
+ import * as _98 from "./crypto/proof";
7
+ import * as _99 from "./libs/bits/types";
8
+ import * as _100 from "./p2p/types";
9
+ import * as _101 from "./types/block";
10
+ import * as _102 from "./types/evidence";
11
+ import * as _103 from "./types/params";
12
+ import * as _104 from "./types/types";
13
+ import * as _105 from "./types/validator";
14
+ import * as _106 from "./version/types";
15
15
  export let tendermint;
16
16
  (function (_tendermint) {
17
- const abci = _tendermint.abci = _objectSpread({}, _94);
18
- const crypto = _tendermint.crypto = _objectSpread(_objectSpread({}, _95), _96);
17
+ const abci = _tendermint.abci = _objectSpread({}, _96);
18
+ const crypto = _tendermint.crypto = _objectSpread(_objectSpread({}, _97), _98);
19
19
  let libs;
20
20
  (function (_libs) {
21
- const bits = _libs.bits = _objectSpread({}, _97);
21
+ const bits = _libs.bits = _objectSpread({}, _99);
22
22
  })(libs || (libs = _tendermint.libs || (_tendermint.libs = {})));
23
- const p2p = _tendermint.p2p = _objectSpread({}, _98);
24
- const types = _tendermint.types = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _99), _100), _101), _102), _103);
25
- const version = _tendermint.version = _objectSpread({}, _104);
23
+ const p2p = _tendermint.p2p = _objectSpread({}, _100);
24
+ const types = _tendermint.types = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _101), _102), _103), _104), _105);
25
+ const version = _tendermint.version = _objectSpread({}, _106);
26
26
  })(tendermint || (tendermint = {}));
@@ -1,5 +1,5 @@
1
- import { Long } from "../../helpers";
2
1
  import * as _m0 from "protobufjs/minimal";
2
+ import { Long } from "../../helpers";
3
3
  function createBaseProof() {
4
4
  return {
5
5
  total: Long.ZERO,
@@ -1,5 +1,5 @@
1
- import { Long } from "../../../helpers";
2
1
  import * as _m0 from "protobufjs/minimal";
2
+ import { Long } from "../../../helpers";
3
3
  function createBaseBitArray() {
4
4
  return {
5
5
  bits: Long.ZERO,
@@ -1,6 +1,6 @@
1
1
  import { Timestamp } from "../../google/protobuf/timestamp";
2
- import { Long, toTimestamp, fromTimestamp } from "../../helpers";
3
2
  import * as _m0 from "protobufjs/minimal";
3
+ import { Long, toTimestamp, fromTimestamp } from "../../helpers";
4
4
  function createBaseProtocolVersion() {
5
5
  return {
6
6
  p2p: Long.UZERO,
@@ -2,7 +2,7 @@ import { Vote, LightBlock } from "./types";
2
2
  import { Timestamp } from "../../google/protobuf/timestamp";
3
3
  import { Validator } from "./validator";
4
4
  import * as _m0 from "protobufjs/minimal";
5
- import { Long, toTimestamp, fromTimestamp } from "../../helpers";
5
+ import { toTimestamp, Long, fromTimestamp } from "../../helpers";
6
6
  function createBaseEvidence() {
7
7
  return {
8
8
  duplicateVoteEvidence: undefined,
@@ -3,10 +3,11 @@ import { Consensus } from "../version/types";
3
3
  import { Timestamp } from "../../google/protobuf/timestamp";
4
4
  import { ValidatorSet } from "./validator";
5
5
  import * as _m0 from "protobufjs/minimal";
6
- import { Long, toTimestamp, fromTimestamp } from "../../helpers";
6
+ import { toTimestamp, Long, fromTimestamp } from "../../helpers";
7
7
  /** BlockIdFlag indicates which BlcokID the signature is for */
8
8
 
9
9
  export let BlockIDFlag;
10
+ /** BlockIdFlag indicates which BlcokID the signature is for */
10
11
  (function (BlockIDFlag) {
11
12
  BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
12
13
  BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
@@ -14,7 +15,14 @@ export let BlockIDFlag;
14
15
  BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
15
16
  BlockIDFlag[BlockIDFlag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
16
17
  })(BlockIDFlag || (BlockIDFlag = {}));
17
- export const BlockIDFlagSDKType = BlockIDFlag;
18
+ export let BlockIDFlagSDKType;
19
+ (function (BlockIDFlagSDKType) {
20
+ BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
21
+ BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
22
+ BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_COMMIT"] = 2] = "BLOCK_ID_FLAG_COMMIT";
23
+ BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
24
+ BlockIDFlagSDKType[BlockIDFlagSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
25
+ })(BlockIDFlagSDKType || (BlockIDFlagSDKType = {}));
18
26
  export function blockIDFlagFromJSON(object) {
19
27
  switch (object) {
20
28
  case 0:
@@ -53,6 +61,7 @@ export function blockIDFlagToJSON(object) {
53
61
  /** SignedMsgType is a type of signed message in the consensus. */
54
62
 
55
63
  export let SignedMsgType;
64
+ /** SignedMsgType is a type of signed message in the consensus. */
56
65
  (function (SignedMsgType) {
57
66
  SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
58
67
  SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
@@ -60,7 +69,14 @@ export let SignedMsgType;
60
69
  SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
61
70
  SignedMsgType[SignedMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
62
71
  })(SignedMsgType || (SignedMsgType = {}));
63
- export const SignedMsgTypeSDKType = SignedMsgType;
72
+ export let SignedMsgTypeSDKType;
73
+ (function (SignedMsgTypeSDKType) {
74
+ SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
75
+ SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
76
+ SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PRECOMMIT"] = 2] = "SIGNED_MSG_TYPE_PRECOMMIT";
77
+ SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
78
+ SignedMsgTypeSDKType[SignedMsgTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
79
+ })(SignedMsgTypeSDKType || (SignedMsgTypeSDKType = {}));
64
80
  export function signedMsgTypeFromJSON(object) {
65
81
  switch (object) {
66
82
  case 0:
@@ -1,6 +1,6 @@
1
1
  import { PublicKey } from "../crypto/keys";
2
- import { Long } from "../../helpers";
3
2
  import * as _m0 from "protobufjs/minimal";
3
+ import { Long } from "../../helpers";
4
4
  function createBaseValidatorSet() {
5
5
  return {
6
6
  validators: [],
@@ -1,5 +1,5 @@
1
- import { Long } from "../../helpers";
2
1
  import * as _m0 from "protobufjs/minimal";
2
+ import { Long } from "../../helpers";
3
3
  /**
4
4
  * App includes the protocol and software version for the application.
5
5
  * This information is included in ResponseInfo. The App.Protocol can be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juno-network",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "juno",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/CosmosContracts/typescript#readme",
@@ -90,5 +90,5 @@
90
90
  "@osmonauts/lcd": "0.8.0",
91
91
  "protobufjs": "^6.11.2"
92
92
  },
93
- "gitHead": "2a9f1d4cd2daf768b508f7af20cc60a7c7404500"
93
+ "gitHead": "aa55b22304757c818352f7ca426b294758a3c0d3"
94
94
  }
@@ -12,7 +12,18 @@ export enum HashOp {
12
12
  BITCOIN = 5,
13
13
  UNRECOGNIZED = -1,
14
14
  }
15
- export const HashOpSDKType = HashOp;
15
+ export enum HashOpSDKType {
16
+ /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */
17
+ NO_HASH = 0,
18
+ SHA256 = 1,
19
+ SHA512 = 2,
20
+ KECCAK = 3,
21
+ RIPEMD160 = 4,
22
+
23
+ /** BITCOIN - ripemd160(sha256(x)) */
24
+ BITCOIN = 5,
25
+ UNRECOGNIZED = -1,
26
+ }
16
27
  export function hashOpFromJSON(object: any): HashOp {
17
28
  switch (object) {
18
29
  case 0:
@@ -106,7 +117,42 @@ export enum LengthOp {
106
117
  REQUIRE_64_BYTES = 8,
107
118
  UNRECOGNIZED = -1,
108
119
  }
109
- export const LengthOpSDKType = LengthOp;
120
+ /**
121
+ * LengthOp defines how to process the key and value of the LeafOp
122
+ * to include length information. After encoding the length with the given
123
+ * algorithm, the length will be prepended to the key and value bytes.
124
+ * (Each one with it's own encoded length)
125
+ */
126
+
127
+ export enum LengthOpSDKType {
128
+ /** NO_PREFIX - NO_PREFIX don't include any length info */
129
+ NO_PREFIX = 0,
130
+
131
+ /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */
132
+ VAR_PROTO = 1,
133
+
134
+ /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */
135
+ VAR_RLP = 2,
136
+
137
+ /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */
138
+ FIXED32_BIG = 3,
139
+
140
+ /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */
141
+ FIXED32_LITTLE = 4,
142
+
143
+ /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */
144
+ FIXED64_BIG = 5,
145
+
146
+ /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */
147
+ FIXED64_LITTLE = 6,
148
+
149
+ /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */
150
+ REQUIRE_32_BYTES = 7,
151
+
152
+ /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */
153
+ REQUIRE_64_BYTES = 8,
154
+ UNRECOGNIZED = -1,
155
+ }
110
156
  export function lengthOpFromJSON(object: any): LengthOp {
111
157
  switch (object) {
112
158
  case 0:
@@ -260,6 +306,7 @@ export interface NonExistenceProof {
260
306
  */
261
307
 
262
308
  export interface NonExistenceProofSDKType {
309
+ /** TODO: remove this as unnecessary??? we prove a range */
263
310
  key: Uint8Array;
264
311
  left?: ExistenceProofSDKType;
265
312
  right?: ExistenceProofSDKType;
@@ -327,10 +374,15 @@ export interface LeafOp {
327
374
  */
328
375
 
329
376
  export interface LeafOpSDKType {
330
- hash: HashOp;
331
- prehash_key: HashOp;
332
- prehash_value: HashOp;
333
- length: LengthOp;
377
+ hash: HashOpSDKType;
378
+ prehash_key: HashOpSDKType;
379
+ prehash_value: HashOpSDKType;
380
+ length: LengthOpSDKType;
381
+ /**
382
+ * prefix is a fixed bytes that may optionally be included at the beginning to differentiate
383
+ * a leaf node from an inner node.
384
+ */
385
+
334
386
  prefix: Uint8Array;
335
387
  }
336
388
  /**
@@ -375,7 +427,7 @@ export interface InnerOp {
375
427
  */
376
428
 
377
429
  export interface InnerOpSDKType {
378
- hash: HashOp;
430
+ hash: HashOpSDKType;
379
431
  prefix: Uint8Array;
380
432
  suffix: Uint8Array;
381
433
  }
@@ -420,9 +472,17 @@ export interface ProofSpec {
420
472
  */
421
473
 
422
474
  export interface ProofSpecSDKType {
475
+ /**
476
+ * any field in the ExistenceProof must be the same as in this spec.
477
+ * except Prefix, which is just the first bytes of prefix (spec can be longer)
478
+ */
423
479
  leaf_spec?: LeafOpSDKType;
424
480
  inner_spec?: InnerSpecSDKType;
481
+ /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */
482
+
425
483
  max_depth: number;
484
+ /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */
485
+
426
486
  min_depth: number;
427
487
  }
428
488
  /**
@@ -465,12 +525,21 @@ export interface InnerSpec {
465
525
  */
466
526
 
467
527
  export interface InnerSpecSDKType {
528
+ /**
529
+ * Child order is the ordering of the children node, must count from 0
530
+ * iavl tree is [0, 1] (left then right)
531
+ * merk is [0, 2, 1] (left, right, here)
532
+ */
468
533
  child_order: number[];
469
534
  child_size: number;
470
535
  min_prefix_length: number;
471
536
  max_prefix_length: number;
537
+ /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */
538
+
472
539
  empty_child: Uint8Array;
473
- hash: HashOp;
540
+ /** hash is the algorithm that must be used for each InnerOp */
541
+
542
+ hash: HashOpSDKType;
474
543
  }
475
544
  /** BatchProof is a group of multiple proof types than can be compressed */
476
545
 
@@ -526,6 +595,8 @@ export interface CompressedExistenceProofSDKType {
526
595
  key: Uint8Array;
527
596
  value: Uint8Array;
528
597
  leaf?: LeafOpSDKType;
598
+ /** these are indexes into the lookup_inners table in CompressedBatchProof */
599
+
529
600
  path: number[];
530
601
  }
531
602
  export interface CompressedNonExistenceProof {
@@ -535,6 +606,7 @@ export interface CompressedNonExistenceProof {
535
606
  right?: CompressedExistenceProof;
536
607
  }
537
608
  export interface CompressedNonExistenceProofSDKType {
609
+ /** TODO: remove this as unnecessary??? we prove a range */
538
610
  key: Uint8Array;
539
611
  left?: CompressedExistenceProofSDKType;
540
612
  right?: CompressedExistenceProofSDKType;
@@ -17,6 +17,7 @@ export interface GenericAuthorization {
17
17
  */
18
18
 
19
19
  export interface GenericAuthorizationSDKType {
20
+ /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */
20
21
  msg: string;
21
22
  }
22
23
  /**
@@ -41,6 +42,12 @@ export interface Grant {
41
42
 
42
43
  export interface GrantSDKType {
43
44
  authorization?: AnySDKType;
45
+ /**
46
+ * time when the grant will expire and will be pruned. If null, then the grant
47
+ * doesn't have a time expiration (other conditions in `authorization`
48
+ * may apply to invalidate the grant)
49
+ */
50
+
44
51
  expiration?: Date;
45
52
  }
46
53
  /**
@@ -74,6 +81,7 @@ export interface GrantQueueItem {
74
81
  /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
75
82
 
76
83
  export interface GrantQueueItemSDKType {
84
+ /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */
77
85
  msg_type_urls: string[];
78
86
  }
79
87
 
@@ -15,8 +15,13 @@ export interface EventGrant {
15
15
  /** EventGrant is emitted on Msg/Grant */
16
16
 
17
17
  export interface EventGrantSDKType {
18
+ /** Msg type URL for which an autorization is granted */
18
19
  msg_type_url: string;
20
+ /** Granter account address */
21
+
19
22
  granter: string;
23
+ /** Grantee account address */
24
+
20
25
  grantee: string;
21
26
  }
22
27
  /** EventRevoke is emitted on Msg/Revoke */
@@ -34,8 +39,13 @@ export interface EventRevoke {
34
39
  /** EventRevoke is emitted on Msg/Revoke */
35
40
 
36
41
  export interface EventRevokeSDKType {
42
+ /** Msg type URL for which an autorization is revoked */
37
43
  msg_type_url: string;
44
+ /** Granter account address */
45
+
38
46
  granter: string;
47
+ /** Grantee account address */
48
+
39
49
  grantee: string;
40
50
  }
41
51
 
@@ -19,7 +19,11 @@ export interface QueryGrantsRequest {
19
19
  export interface QueryGrantsRequestSDKType {
20
20
  granter: string;
21
21
  grantee: string;
22
+ /** Optional, msg_type_url, when set, will query only grants matching given msg type. */
23
+
22
24
  msg_type_url: string;
25
+ /** pagination defines an pagination for the request. */
26
+
23
27
  pagination?: PageRequestSDKType;
24
28
  }
25
29
  /** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
@@ -34,7 +38,10 @@ export interface QueryGrantsResponse {
34
38
  /** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */
35
39
 
36
40
  export interface QueryGrantsResponseSDKType {
41
+ /** authorizations is a list of grants granted for grantee by granter. */
37
42
  grants: GrantSDKType[];
43
+ /** pagination defines an pagination for the response. */
44
+
38
45
  pagination?: PageResponseSDKType;
39
46
  }
40
47
  /** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */
@@ -49,6 +56,8 @@ export interface QueryGranterGrantsRequest {
49
56
 
50
57
  export interface QueryGranterGrantsRequestSDKType {
51
58
  granter: string;
59
+ /** pagination defines an pagination for the request. */
60
+
52
61
  pagination?: PageRequestSDKType;
53
62
  }
54
63
  /** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
@@ -63,7 +72,10 @@ export interface QueryGranterGrantsResponse {
63
72
  /** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */
64
73
 
65
74
  export interface QueryGranterGrantsResponseSDKType {
75
+ /** grants is a list of grants granted by the granter. */
66
76
  grants: GrantAuthorizationSDKType[];
77
+ /** pagination defines an pagination for the response. */
78
+
67
79
  pagination?: PageResponseSDKType;
68
80
  }
69
81
  /** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */
@@ -78,6 +90,8 @@ export interface QueryGranteeGrantsRequest {
78
90
 
79
91
  export interface QueryGranteeGrantsRequestSDKType {
80
92
  grantee: string;
93
+ /** pagination defines an pagination for the request. */
94
+
81
95
  pagination?: PageRequestSDKType;
82
96
  }
83
97
  /** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
@@ -92,7 +106,10 @@ export interface QueryGranteeGrantsResponse {
92
106
  /** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */
93
107
 
94
108
  export interface QueryGranteeGrantsResponseSDKType {
109
+ /** grants is a list of grants granted to the grantee. */
95
110
  grants: GrantAuthorizationSDKType[];
111
+ /** pagination defines an pagination for the response. */
112
+
96
113
  pagination?: PageResponseSDKType;
97
114
  }
98
115
 
@@ -56,6 +56,12 @@ export interface MsgExec {
56
56
 
57
57
  export interface MsgExecSDKType {
58
58
  grantee: string;
59
+ /**
60
+ * Authorization Msg requests to execute. Each msg must implement Authorization interface
61
+ * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg))
62
+ * triple and validate it.
63
+ */
64
+
59
65
  msgs: AnySDKType[];
60
66
  }
61
67
  /** MsgGrantResponse defines the Msg/MsgGrant response type. */
@@ -104,8 +104,19 @@ export interface DenomUnit {
104
104
  */
105
105
 
106
106
  export interface DenomUnitSDKType {
107
+ /** denom represents the string name of the given denom unit (e.g uatom). */
107
108
  denom: string;
109
+ /**
110
+ * exponent represents power of 10 exponent that one must
111
+ * raise the base_denom to in order to equal the given DenomUnit's denom
112
+ * 1 denom = 10^exponent base_denom
113
+ * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with
114
+ * exponent = 6, thus: 1 atom = 10^6 uatom).
115
+ */
116
+
108
117
  exponent: number;
118
+ /** aliases is a list of string aliases for the given denom */
119
+
109
120
  aliases: string[];
110
121
  }
111
122
  /**
@@ -165,12 +176,47 @@ export interface Metadata {
165
176
 
166
177
  export interface MetadataSDKType {
167
178
  description: string;
179
+ /** denom_units represents the list of DenomUnit's for a given coin */
180
+
168
181
  denom_units: DenomUnitSDKType[];
182
+ /** base represents the base denom (should be the DenomUnit with exponent = 0). */
183
+
169
184
  base: string;
185
+ /**
186
+ * display indicates the suggested denom that should be
187
+ * displayed in clients.
188
+ */
189
+
170
190
  display: string;
191
+ /**
192
+ * name defines the name of the token (eg: Cosmos Atom)
193
+ *
194
+ * Since: cosmos-sdk 0.43
195
+ */
196
+
171
197
  name: string;
198
+ /**
199
+ * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can
200
+ * be the same as the display.
201
+ *
202
+ * Since: cosmos-sdk 0.43
203
+ */
204
+
172
205
  symbol: string;
206
+ /**
207
+ * URI to a document (on or off-chain) that contains additional information. Optional.
208
+ *
209
+ * Since: cosmos-sdk 0.46
210
+ */
211
+
173
212
  uri: string;
213
+ /**
214
+ * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that
215
+ * the document didn't change. Optional.
216
+ *
217
+ * Since: cosmos-sdk 0.46
218
+ */
219
+
174
220
  uri_hash: string;
175
221
  }
176
222
 
@@ -23,9 +23,19 @@ export interface GenesisState {
23
23
  /** GenesisState defines the bank module's genesis state. */
24
24
 
25
25
  export interface GenesisStateSDKType {
26
+ /** params defines all the paramaters of the module. */
26
27
  params?: ParamsSDKType;
28
+ /** balances is an array containing the balances of all the accounts. */
29
+
27
30
  balances: BalanceSDKType[];
31
+ /**
32
+ * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided
33
+ * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.
34
+ */
35
+
28
36
  supply: CoinSDKType[];
37
+ /** denom_metadata defines the metadata of the differents coins. */
38
+
29
39
  denom_metadata: MetadataSDKType[];
30
40
  }
31
41
  /**
@@ -46,7 +56,10 @@ export interface Balance {
46
56
  */
47
57
 
48
58
  export interface BalanceSDKType {
59
+ /** address is the address of the balance holder. */
49
60
  address: string;
61
+ /** coins defines the different coins this balance holds. */
62
+
50
63
  coins: CoinSDKType[];
51
64
  }
52
65