@bze/bzejs 0.0.7 → 0.0.8

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 (384) hide show
  1. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
  2. package/main/codegen/beezee/cointrunk/article.js +1 -1
  3. package/main/codegen/beezee/cointrunk/events.js +1 -1
  4. package/main/codegen/beezee/cointrunk/genesis.js +1 -1
  5. package/main/codegen/beezee/cointrunk/publisher.js +1 -1
  6. package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
  7. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -0
  8. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  9. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  10. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
  11. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
  12. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
  13. package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
  14. package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
  15. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
  16. package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
  17. package/main/codegen/cosmos/gov/v1/gov.js +21 -2
  18. package/main/codegen/cosmos/gov/v1/query.js +1 -1
  19. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  20. package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -2
  21. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
  22. package/main/codegen/cosmos/group/v1/events.js +1 -1
  23. package/main/codegen/cosmos/group/v1/genesis.js +1 -1
  24. package/main/codegen/cosmos/group/v1/query.js +1 -1
  25. package/main/codegen/cosmos/group/v1/tx.js +7 -1
  26. package/main/codegen/cosmos/group/v1/types.js +38 -4
  27. package/main/codegen/cosmos/orm/v1alpha1/schema.js +10 -1
  28. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
  29. package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -1
  30. package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -1
  31. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +2 -0
  32. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
  33. package/main/codegen/cosmos/tx/v1beta1/service.js +17 -2
  34. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  35. package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
  36. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
  37. package/main/codegen/cosmos_proto/cosmos.js +7 -1
  38. package/main/codegen/google/protobuf/descriptor.js +63 -6
  39. package/main/codegen/google/protobuf/duration.js +1 -1
  40. package/main/codegen/google/protobuf/timestamp.js +1 -1
  41. package/main/codegen/helpers.js +1 -1
  42. package/main/codegen/index.js +11 -0
  43. package/main/codegen/tendermint/abci/types.js +33 -4
  44. package/main/codegen/tendermint/crypto/proof.js +1 -1
  45. package/main/codegen/tendermint/libs/bits/types.js +1 -1
  46. package/main/codegen/tendermint/p2p/types.js +1 -1
  47. package/main/codegen/tendermint/types/types.js +18 -2
  48. package/main/codegen/tendermint/types/validator.js +1 -1
  49. package/main/codegen/tendermint/version/types.js +1 -1
  50. package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
  51. package/module/codegen/beezee/cointrunk/article.js +1 -1
  52. package/module/codegen/beezee/cointrunk/events.js +1 -1
  53. package/module/codegen/beezee/cointrunk/genesis.js +1 -1
  54. package/module/codegen/beezee/cointrunk/publisher.js +1 -1
  55. package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
  56. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -0
  57. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  58. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  59. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
  60. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
  61. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
  62. package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
  63. package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
  64. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
  65. package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
  66. package/module/codegen/cosmos/gov/v1/gov.js +21 -2
  67. package/module/codegen/cosmos/gov/v1/query.js +1 -1
  68. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  69. package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
  70. package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
  71. package/module/codegen/cosmos/group/v1/events.js +1 -1
  72. package/module/codegen/cosmos/group/v1/genesis.js +1 -1
  73. package/module/codegen/cosmos/group/v1/query.js +1 -1
  74. package/module/codegen/cosmos/group/v1/tx.js +7 -1
  75. package/module/codegen/cosmos/group/v1/types.js +38 -4
  76. package/module/codegen/cosmos/orm/v1alpha1/schema.js +10 -1
  77. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
  78. package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
  79. package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
  80. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +1 -0
  81. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
  82. package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
  83. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  84. package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
  85. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
  86. package/module/codegen/cosmos_proto/cosmos.js +7 -1
  87. package/module/codegen/google/protobuf/descriptor.js +63 -6
  88. package/module/codegen/google/protobuf/duration.js +1 -1
  89. package/module/codegen/google/protobuf/timestamp.js +1 -1
  90. package/module/codegen/helpers.js +1 -1
  91. package/module/codegen/index.js +3 -2
  92. package/module/codegen/tendermint/abci/types.js +33 -4
  93. package/module/codegen/tendermint/crypto/proof.js +1 -1
  94. package/module/codegen/tendermint/libs/bits/types.js +1 -1
  95. package/module/codegen/tendermint/p2p/types.js +1 -1
  96. package/module/codegen/tendermint/types/evidence.js +1 -1
  97. package/module/codegen/tendermint/types/types.js +19 -3
  98. package/module/codegen/tendermint/types/validator.js +1 -1
  99. package/module/codegen/tendermint/version/types.js +1 -1
  100. package/package.json +2 -2
  101. package/src/codegen/beezee/burner/query.ts +1 -0
  102. package/src/codegen/beezee/burner/tx.amino.ts +3 -3
  103. package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
  104. package/src/codegen/beezee/cointrunk/article.ts +1 -1
  105. package/src/codegen/beezee/cointrunk/events.ts +1 -1
  106. package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
  107. package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
  108. package/src/codegen/beezee/cointrunk/query.ts +1 -0
  109. package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
  110. package/src/codegen/cosmos/app/v1alpha1/config.ts +18 -0
  111. package/src/codegen/cosmos/app/v1alpha1/module.ts +67 -0
  112. package/src/codegen/cosmos/app/v1alpha1/query.ts +1 -0
  113. package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
  114. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +3 -0
  115. package/src/codegen/cosmos/auth/v1beta1/query.ts +7 -0
  116. package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
  117. package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
  118. package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
  119. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +10 -9
  120. package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
  121. package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
  122. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
  123. package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
  124. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
  125. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
  126. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
  127. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +2 -0
  128. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
  129. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +6 -1
  130. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
  131. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +3 -0
  132. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +15 -1
  133. package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
  134. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +10 -1
  135. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +4 -0
  136. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
  137. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
  138. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
  139. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
  140. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
  141. package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
  142. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
  143. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
  144. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +1 -0
  145. package/src/codegen/cosmos/evidence/v1beta1/query.ts +6 -0
  146. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
  147. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +1 -0
  148. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +34 -0
  149. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +14 -0
  150. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
  151. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +8 -0
  152. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +1 -0
  153. package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
  154. package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
  155. package/src/codegen/cosmos/gov/v1/query.ts +43 -3
  156. package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
  157. package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
  158. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
  159. package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
  160. package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
  161. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
  162. package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
  163. package/src/codegen/cosmos/group/v1/events.ts +16 -3
  164. package/src/codegen/cosmos/group/v1/genesis.ts +25 -1
  165. package/src/codegen/cosmos/group/v1/query.ts +61 -1
  166. package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
  167. package/src/codegen/cosmos/group/v1/tx.ts +121 -5
  168. package/src/codegen/cosmos/group/v1/types.ts +205 -8
  169. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +3 -0
  170. package/src/codegen/cosmos/mint/v1beta1/mint.ts +14 -0
  171. package/src/codegen/cosmos/mint/v1beta1/query.ts +3 -0
  172. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +4 -0
  173. package/src/codegen/cosmos/nft/v1beta1/nft.ts +22 -0
  174. package/src/codegen/cosmos/nft/v1beta1/query.ts +1 -0
  175. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
  176. package/src/codegen/cosmos/nft/v1beta1/tx.ts +7 -0
  177. package/src/codegen/cosmos/orm/v1/orm.ts +71 -0
  178. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +70 -2
  179. package/src/codegen/cosmos/params/v1beta1/query.ts +4 -0
  180. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +20 -0
  181. package/src/codegen/cosmos/slashing/v1beta1/query.ts +3 -0
  182. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +21 -1
  183. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
  184. package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
  185. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
  186. package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
  187. package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
  188. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +16 -15
  189. package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
  190. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
  191. package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
  192. package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
  193. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
  194. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
  195. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
  196. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
  197. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
  198. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
  199. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
  200. package/src/codegen/cosmos_proto/cosmos.ts +37 -2
  201. package/src/codegen/google/api/http.ts +66 -0
  202. package/src/codegen/google/protobuf/any.ts +31 -0
  203. package/src/codegen/google/protobuf/descriptor.ts +641 -15
  204. package/src/codegen/google/protobuf/duration.ts +15 -1
  205. package/src/codegen/google/protobuf/timestamp.ts +13 -1
  206. package/src/codegen/helpers.ts +1 -3
  207. package/src/codegen/index.ts +3 -2
  208. package/src/codegen/tendermint/abci/types.ts +109 -8
  209. package/src/codegen/tendermint/crypto/proof.ts +4 -1
  210. package/src/codegen/tendermint/libs/bits/types.ts +1 -1
  211. package/src/codegen/tendermint/p2p/types.ts +1 -1
  212. package/src/codegen/tendermint/types/evidence.ts +1 -1
  213. package/src/codegen/tendermint/types/params.ts +36 -0
  214. package/src/codegen/tendermint/types/types.ts +50 -6
  215. package/src/codegen/tendermint/types/validator.ts +1 -1
  216. package/src/codegen/tendermint/version/types.ts +1 -1
  217. package/types/codegen/beezee/burner/burn_coins_proposal.d.ts +2 -3
  218. package/types/codegen/beezee/burner/burned_coins.d.ts +2 -3
  219. package/types/codegen/beezee/burner/events.d.ts +3 -6
  220. package/types/codegen/beezee/burner/genesis.d.ts +2 -3
  221. package/types/codegen/beezee/burner/params.d.ts +2 -3
  222. package/types/codegen/beezee/burner/query.d.ts +5 -12
  223. package/types/codegen/beezee/burner/tx.amino.d.ts +16 -0
  224. package/types/codegen/beezee/burner/tx.d.ts +3 -6
  225. package/types/codegen/beezee/burner/tx.registry.d.ts +24 -0
  226. package/types/codegen/beezee/cointrunk/accepted_domain.d.ts +2 -3
  227. package/types/codegen/beezee/cointrunk/accepted_domain_proposal.d.ts +2 -3
  228. package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +2 -4
  229. package/types/codegen/beezee/cointrunk/article.d.ts +2 -4
  230. package/types/codegen/beezee/cointrunk/events.d.ts +7 -19
  231. package/types/codegen/beezee/cointrunk/genesis.d.ts +2 -4
  232. package/types/codegen/beezee/cointrunk/params.d.ts +3 -7
  233. package/types/codegen/beezee/cointrunk/publisher.d.ts +2 -4
  234. package/types/codegen/beezee/cointrunk/publisher_proposal.d.ts +2 -3
  235. package/types/codegen/beezee/cointrunk/query.d.ts +13 -36
  236. package/types/codegen/beezee/cointrunk/tx.amino.d.ts +31 -0
  237. package/types/codegen/beezee/cointrunk/tx.d.ts +5 -13
  238. package/types/codegen/beezee/cointrunk/tx.registry.d.ts +36 -0
  239. package/types/codegen/bze/bundle.d.ts +3692 -145
  240. package/types/codegen/bze/client.d.ts +56 -0
  241. package/types/codegen/cosmos/app/v1alpha1/config.d.ts +3 -6
  242. package/types/codegen/cosmos/app/v1alpha1/module.d.ts +4 -9
  243. package/types/codegen/cosmos/app/v1alpha1/query.d.ts +3 -6
  244. package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +4 -10
  245. package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +2 -3
  246. package/types/codegen/cosmos/auth/v1beta1/query.d.ts +15 -42
  247. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +9 -17
  248. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +3 -6
  249. package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +2 -3
  250. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +7 -18
  251. package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
  252. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +7 -18
  253. package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +48 -0
  254. package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +2 -3
  255. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +8 -21
  256. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +3 -6
  257. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +20 -57
  258. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
  259. package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +5 -12
  260. package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
  261. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +11 -31
  262. package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +3 -6
  263. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +3 -7
  264. package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +5 -12
  265. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +27 -78
  266. package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +10 -28
  267. package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +4 -10
  268. package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +2 -3
  269. package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +16 -46
  270. package/types/codegen/cosmos/base/v1beta1/coin.d.ts +5 -12
  271. package/types/codegen/cosmos/bundle.d.ts +45768 -1838
  272. package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +4 -10
  273. package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +3 -7
  274. package/types/codegen/cosmos/client.d.ts +952 -0
  275. package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +2 -3
  276. package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
  277. package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +3 -6
  278. package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +24 -0
  279. package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +3 -6
  280. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +2 -3
  281. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -15
  282. package/types/codegen/cosmos/crypto/multisig/keys.d.ts +2 -3
  283. package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +3 -6
  284. package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +3 -6
  285. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +3 -6
  286. package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +13 -37
  287. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +9 -25
  288. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +19 -55
  289. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
  290. package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +9 -24
  291. package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
  292. package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +4 -7
  293. package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +2 -3
  294. package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +5 -12
  295. package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
  296. package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +3 -6
  297. package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +24 -0
  298. package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +9 -17
  299. package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +2 -3
  300. package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +7 -18
  301. package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
  302. package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +5 -12
  303. package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +36 -0
  304. package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +2 -3
  305. package/types/codegen/cosmos/gov/v1/genesis.d.ts +2 -4
  306. package/types/codegen/cosmos/gov/v1/gov.d.ts +17 -34
  307. package/types/codegen/cosmos/gov/v1/query.d.ts +17 -49
  308. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
  309. package/types/codegen/cosmos/gov/v1/tx.d.ts +11 -31
  310. package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
  311. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +2 -4
  312. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +18 -37
  313. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +17 -49
  314. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
  315. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +9 -25
  316. package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
  317. package/types/codegen/cosmos/group/v1/events.d.ts +10 -28
  318. package/types/codegen/cosmos/group/v1/genesis.d.ts +2 -4
  319. package/types/codegen/cosmos/group/v1/query.d.ts +27 -79
  320. package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
  321. package/types/codegen/cosmos/group/v1/tx.d.ts +29 -85
  322. package/types/codegen/cosmos/group/v1/tx.registry.d.ts +180 -0
  323. package/types/codegen/cosmos/group/v1/types.d.ts +24 -47
  324. package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +2 -3
  325. package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +3 -7
  326. package/types/codegen/cosmos/mint/v1beta1/query.d.ts +7 -18
  327. package/types/codegen/cosmos/nft/v1beta1/event.d.ts +4 -9
  328. package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +3 -6
  329. package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +3 -6
  330. package/types/codegen/cosmos/nft/v1beta1/query.d.ts +15 -43
  331. package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
  332. package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +3 -6
  333. package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +24 -0
  334. package/types/codegen/cosmos/orm/v1/orm.d.ts +5 -12
  335. package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +3 -6
  336. package/types/codegen/cosmos/params/v1beta1/params.d.ts +3 -6
  337. package/types/codegen/cosmos/params/v1beta1/query.d.ts +6 -15
  338. package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +5 -13
  339. package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +7 -18
  340. package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +5 -10
  341. package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
  342. package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +3 -6
  343. package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +24 -0
  344. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +3 -6
  345. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +3 -7
  346. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +29 -85
  347. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +29 -70
  348. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
  349. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +15 -35
  350. package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
  351. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +6 -16
  352. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +11 -31
  353. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +14 -40
  354. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +11 -31
  355. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
  356. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +5 -12
  357. package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
  358. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +7 -16
  359. package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
  360. package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +7 -19
  361. package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +48 -0
  362. package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +7 -19
  363. package/types/codegen/cosmos_proto/bundle.d.ts +9 -6
  364. package/types/codegen/cosmos_proto/cosmos.d.ts +3 -6
  365. package/types/codegen/google/api/http.d.ts +4 -9
  366. package/types/codegen/google/bundle.d.ts +8819 -102
  367. package/types/codegen/google/protobuf/any.d.ts +2 -3
  368. package/types/codegen/google/protobuf/descriptor.d.ts +28 -82
  369. package/types/codegen/google/protobuf/duration.d.ts +2 -4
  370. package/types/codegen/google/protobuf/empty.d.ts +2 -3
  371. package/types/codegen/google/protobuf/timestamp.d.ts +2 -4
  372. package/types/codegen/index.d.ts +2 -0
  373. package/types/codegen/tendermint/abci/types.d.ts +49 -138
  374. package/types/codegen/tendermint/bundle.d.ts +19282 -255
  375. package/types/codegen/tendermint/crypto/keys.d.ts +2 -3
  376. package/types/codegen/tendermint/crypto/proof.d.ts +6 -16
  377. package/types/codegen/tendermint/libs/bits/types.d.ts +2 -4
  378. package/types/codegen/tendermint/p2p/types.d.ts +12 -23
  379. package/types/codegen/tendermint/types/block.d.ts +2 -3
  380. package/types/codegen/tendermint/types/evidence.d.ts +9 -18
  381. package/types/codegen/tendermint/types/params.d.ts +7 -19
  382. package/types/codegen/tendermint/types/types.d.ts +22 -49
  383. package/types/codegen/tendermint/types/validator.d.ts +4 -10
  384. package/types/codegen/tendermint/version/types.d.ts +3 -7
@@ -50,7 +50,54 @@ export enum SignMode {
50
50
  SIGN_MODE_LEGACY_AMINO_JSON = 127,
51
51
  UNRECOGNIZED = -1,
52
52
  }
53
- export const SignModeSDKType = SignMode;
53
+ /**
54
+ * SignMode represents a signing mode with its own security guarantees.
55
+ *
56
+ * This enum should be considered a registry of all known sign modes
57
+ * in the Cosmos ecosystem. Apps are not expected to support all known
58
+ * sign modes. Apps that would like to support custom sign modes are
59
+ * encouraged to open a small PR against this file to add a new case
60
+ * to this SignMode enum describing their sign mode so that different
61
+ * apps have a consistent version of this enum.
62
+ */
63
+
64
+ export enum SignModeSDKType {
65
+ /**
66
+ * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be
67
+ * rejected.
68
+ */
69
+ SIGN_MODE_UNSPECIFIED = 0,
70
+
71
+ /**
72
+ * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is
73
+ * verified with raw bytes from Tx.
74
+ */
75
+ SIGN_MODE_DIRECT = 1,
76
+
77
+ /**
78
+ * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some
79
+ * human-readable textual representation on top of the binary representation
80
+ * from SIGN_MODE_DIRECT. It is currently not supported.
81
+ */
82
+ SIGN_MODE_TEXTUAL = 2,
83
+
84
+ /**
85
+ * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses
86
+ * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not
87
+ * require signers signing over other signers' `signer_info`. It also allows
88
+ * for adding Tips in transactions.
89
+ *
90
+ * Since: cosmos-sdk 0.46
91
+ */
92
+ SIGN_MODE_DIRECT_AUX = 3,
93
+
94
+ /**
95
+ * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses
96
+ * Amino JSON and will be removed in the future.
97
+ */
98
+ SIGN_MODE_LEGACY_AMINO_JSON = 127,
99
+ UNRECOGNIZED = -1,
100
+ }
54
101
  export function signModeFromJSON(object: any): SignMode {
55
102
  switch (object) {
56
103
  case 0:
@@ -110,6 +157,7 @@ export interface SignatureDescriptors {
110
157
  /** SignatureDescriptors wraps multiple SignatureDescriptor's. */
111
158
 
112
159
  export interface SignatureDescriptorsSDKType {
160
+ /** signatures are the signature descriptors */
113
161
  signatures: SignatureDescriptorSDKType[];
114
162
  }
115
163
  /**
@@ -139,8 +187,15 @@ export interface SignatureDescriptor {
139
187
  */
140
188
 
141
189
  export interface SignatureDescriptorSDKType {
190
+ /** public_key is the public key of the signer */
142
191
  public_key?: AnySDKType;
143
192
  data?: SignatureDescriptor_DataSDKType;
193
+ /**
194
+ * sequence is the sequence of the account, which describes the
195
+ * number of committed transactions signed by a given address. It is used to prevent
196
+ * replay attacks.
197
+ */
198
+
144
199
  sequence: Long;
145
200
  }
146
201
  /** Data represents signature data */
@@ -155,7 +210,10 @@ export interface SignatureDescriptor_Data {
155
210
  /** Data represents signature data */
156
211
 
157
212
  export interface SignatureDescriptor_DataSDKType {
213
+ /** single represents a single signer */
158
214
  single?: SignatureDescriptor_Data_SingleSDKType;
215
+ /** multi represents a multisig signer */
216
+
159
217
  multi?: SignatureDescriptor_Data_MultiSDKType;
160
218
  }
161
219
  /** Single is the signature data for a single signer */
@@ -170,7 +228,10 @@ export interface SignatureDescriptor_Data_Single {
170
228
  /** Single is the signature data for a single signer */
171
229
 
172
230
  export interface SignatureDescriptor_Data_SingleSDKType {
173
- mode: SignMode;
231
+ /** mode is the signing mode of the single signer */
232
+ mode: SignModeSDKType;
233
+ /** signature is the raw signature bytes */
234
+
174
235
  signature: Uint8Array;
175
236
  }
176
237
  /** Multi is the signature data for a multisig public key */
@@ -185,7 +246,10 @@ export interface SignatureDescriptor_Data_Multi {
185
246
  /** Multi is the signature data for a multisig public key */
186
247
 
187
248
  export interface SignatureDescriptor_Data_MultiSDKType {
249
+ /** bitarray specifies which keys within the multisig are signing */
188
250
  bitarray?: CompactBitArraySDKType;
251
+ /** signatures is the signatures of the multi-signature */
252
+
189
253
  signatures: SignatureDescriptor_DataSDKType[];
190
254
  }
191
255
 
@@ -18,7 +18,19 @@ export enum OrderBy {
18
18
  ORDER_BY_DESC = 2,
19
19
  UNRECOGNIZED = -1,
20
20
  }
21
- export const OrderBySDKType = OrderBy;
21
+ /** OrderBy defines the sorting order */
22
+
23
+ export enum OrderBySDKType {
24
+ /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */
25
+ ORDER_BY_UNSPECIFIED = 0,
26
+
27
+ /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */
28
+ ORDER_BY_ASC = 1,
29
+
30
+ /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */
31
+ ORDER_BY_DESC = 2,
32
+ UNRECOGNIZED = -1,
33
+ }
22
34
  export function orderByFromJSON(object: any): OrderBy {
23
35
  switch (object) {
24
36
  case 0:
@@ -80,7 +92,31 @@ export enum BroadcastMode {
80
92
  BROADCAST_MODE_ASYNC = 3,
81
93
  UNRECOGNIZED = -1,
82
94
  }
83
- export const BroadcastModeSDKType = BroadcastMode;
95
+ /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */
96
+
97
+ export enum BroadcastModeSDKType {
98
+ /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */
99
+ BROADCAST_MODE_UNSPECIFIED = 0,
100
+
101
+ /**
102
+ * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for
103
+ * the tx to be committed in a block.
104
+ */
105
+ BROADCAST_MODE_BLOCK = 1,
106
+
107
+ /**
108
+ * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
109
+ * a CheckTx execution response only.
110
+ */
111
+ BROADCAST_MODE_SYNC = 2,
112
+
113
+ /**
114
+ * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
115
+ * immediately.
116
+ */
117
+ BROADCAST_MODE_ASYNC = 3,
118
+ UNRECOGNIZED = -1,
119
+ }
84
120
  export function broadcastModeFromJSON(object: any): BroadcastMode {
85
121
  switch (object) {
86
122
  case 0:
@@ -143,9 +179,12 @@ export interface GetTxsEventRequest {
143
179
  */
144
180
 
145
181
  export interface GetTxsEventRequestSDKType {
182
+ /** events is the list of transaction event type. */
146
183
  events: string[];
184
+ /** pagination defines a pagination for the request. */
185
+
147
186
  pagination?: PageRequestSDKType;
148
- order_by: OrderBy;
187
+ order_by: OrderBySDKType;
149
188
  }
150
189
  /**
151
190
  * GetTxsEventResponse is the response type for the Service.TxsByEvents
@@ -168,8 +207,13 @@ export interface GetTxsEventResponse {
168
207
  */
169
208
 
170
209
  export interface GetTxsEventResponseSDKType {
210
+ /** txs is the list of queried transactions. */
171
211
  txs: TxSDKType[];
212
+ /** tx_responses is the list of queried TxResponses. */
213
+
172
214
  tx_responses: TxResponseSDKType[];
215
+ /** pagination defines a pagination for the response. */
216
+
173
217
  pagination?: PageResponseSDKType;
174
218
  }
175
219
  /**
@@ -188,8 +232,9 @@ export interface BroadcastTxRequest {
188
232
  */
189
233
 
190
234
  export interface BroadcastTxRequestSDKType {
235
+ /** tx_bytes is the raw transaction. */
191
236
  tx_bytes: Uint8Array;
192
- mode: BroadcastMode;
237
+ mode: BroadcastModeSDKType;
193
238
  }
194
239
  /**
195
240
  * BroadcastTxResponse is the response type for the
@@ -206,6 +251,7 @@ export interface BroadcastTxResponse {
206
251
  */
207
252
 
208
253
  export interface BroadcastTxResponseSDKType {
254
+ /** tx_response is the queried TxResponses. */
209
255
  tx_response?: TxResponseSDKType;
210
256
  }
211
257
  /**
@@ -235,8 +281,19 @@ export interface SimulateRequest {
235
281
  */
236
282
 
237
283
  export interface SimulateRequestSDKType {
284
+ /**
285
+ * tx is the transaction to simulate.
286
+ * Deprecated. Send raw tx bytes instead.
287
+ */
288
+
238
289
  /** @deprecated */
239
290
  tx?: TxSDKType;
291
+ /**
292
+ * tx_bytes is the raw transaction.
293
+ *
294
+ * Since: cosmos-sdk 0.43
295
+ */
296
+
240
297
  tx_bytes: Uint8Array;
241
298
  }
242
299
  /**
@@ -257,7 +314,10 @@ export interface SimulateResponse {
257
314
  */
258
315
 
259
316
  export interface SimulateResponseSDKType {
317
+ /** gas_info is the information about gas used in the simulation. */
260
318
  gas_info?: GasInfoSDKType;
319
+ /** result is the result of the simulation. */
320
+
261
321
  result?: ResultSDKType;
262
322
  }
263
323
  /**
@@ -275,6 +335,7 @@ export interface GetTxRequest {
275
335
  */
276
336
 
277
337
  export interface GetTxRequestSDKType {
338
+ /** hash is the tx hash to query, encoded as a hex string. */
278
339
  hash: string;
279
340
  }
280
341
  /** GetTxResponse is the response type for the Service.GetTx method. */
@@ -289,7 +350,10 @@ export interface GetTxResponse {
289
350
  /** GetTxResponse is the response type for the Service.GetTx method. */
290
351
 
291
352
  export interface GetTxResponseSDKType {
353
+ /** tx is the queried transaction. */
292
354
  tx?: TxSDKType;
355
+ /** tx_response is the queried TxResponses. */
356
+
293
357
  tx_response?: TxResponseSDKType;
294
358
  }
295
359
  /**
@@ -314,7 +378,10 @@ export interface GetBlockWithTxsRequest {
314
378
  */
315
379
 
316
380
  export interface GetBlockWithTxsRequestSDKType {
381
+ /** height is the height of the block to query. */
317
382
  height: Long;
383
+ /** pagination defines a pagination for the request. */
384
+
318
385
  pagination?: PageRequestSDKType;
319
386
  }
320
387
  /**
@@ -339,9 +406,12 @@ export interface GetBlockWithTxsResponse {
339
406
  */
340
407
 
341
408
  export interface GetBlockWithTxsResponseSDKType {
409
+ /** txs are the transactions in the block. */
342
410
  txs: TxSDKType[];
343
411
  block_id?: BlockIDSDKType;
344
412
  block?: BlockSDKType;
413
+ /** pagination defines a pagination for the response. */
414
+
345
415
  pagination?: PageResponseSDKType;
346
416
  }
347
417
 
@@ -1,5 +1,5 @@
1
1
  import { Any, AnySDKType } from "../../../google/protobuf/any";
2
- import { SignMode } from "../signing/v1beta1/signing";
2
+ import { SignMode, SignModeSDKType } from "../signing/v1beta1/signing";
3
3
  import { CompactBitArray, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig";
4
4
  import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
5
5
  import * as _m0 from "protobufjs/minimal";
@@ -26,8 +26,20 @@ export interface Tx {
26
26
  /** Tx is the standard type used for broadcasting transactions. */
27
27
 
28
28
  export interface TxSDKType {
29
+ /** body is the processable content of the transaction */
29
30
  body?: TxBodySDKType;
31
+ /**
32
+ * auth_info is the authorization related content of the transaction,
33
+ * specifically signers, signer modes and fee
34
+ */
35
+
30
36
  auth_info?: AuthInfoSDKType;
37
+ /**
38
+ * signatures is a list of signatures that matches the length and order of
39
+ * AuthInfo's signer_infos to allow connecting signature meta information like
40
+ * public key and signing mode by position.
41
+ */
42
+
31
43
  signatures: Uint8Array[];
32
44
  }
33
45
  /**
@@ -67,8 +79,23 @@ export interface TxRaw {
67
79
  */
68
80
 
69
81
  export interface TxRawSDKType {
82
+ /**
83
+ * body_bytes is a protobuf serialization of a TxBody that matches the
84
+ * representation in SignDoc.
85
+ */
70
86
  body_bytes: Uint8Array;
87
+ /**
88
+ * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
89
+ * representation in SignDoc.
90
+ */
91
+
71
92
  auth_info_bytes: Uint8Array;
93
+ /**
94
+ * signatures is a list of signatures that matches the length and order of
95
+ * AuthInfo's signer_infos to allow connecting signature meta information like
96
+ * public key and signing mode by position.
97
+ */
98
+
72
99
  signatures: Uint8Array[];
73
100
  }
74
101
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
@@ -99,9 +126,26 @@ export interface SignDoc {
99
126
  /** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */
100
127
 
101
128
  export interface SignDocSDKType {
129
+ /**
130
+ * body_bytes is protobuf serialization of a TxBody that matches the
131
+ * representation in TxRaw.
132
+ */
102
133
  body_bytes: Uint8Array;
134
+ /**
135
+ * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
136
+ * representation in TxRaw.
137
+ */
138
+
103
139
  auth_info_bytes: Uint8Array;
140
+ /**
141
+ * chain_id is the unique identifier of the chain this transaction targets.
142
+ * It prevents signed transactions from being used on another chain by an
143
+ * attacker
144
+ */
145
+
104
146
  chain_id: string;
147
+ /** account_number is the account number of the account in state */
148
+
105
149
  account_number: Long;
106
150
  }
107
151
  /**
@@ -148,11 +192,32 @@ export interface SignDocDirectAux {
148
192
  */
149
193
 
150
194
  export interface SignDocDirectAuxSDKType {
195
+ /**
196
+ * body_bytes is protobuf serialization of a TxBody that matches the
197
+ * representation in TxRaw.
198
+ */
151
199
  body_bytes: Uint8Array;
200
+ /** public_key is the public key of the signing account. */
201
+
152
202
  public_key?: AnySDKType;
203
+ /**
204
+ * chain_id is the identifier of the chain this transaction targets.
205
+ * It prevents signed transactions from being used on another chain by an
206
+ * attacker.
207
+ */
208
+
153
209
  chain_id: string;
210
+ /** account_number is the account number of the account in state. */
211
+
154
212
  account_number: Long;
213
+ /** sequence is the sequence number of the signing account. */
214
+
155
215
  sequence: Long;
216
+ /**
217
+ * Tip is the optional tip used for meta-transactions. It should be left
218
+ * empty if the signer is not the tipper for this transaction.
219
+ */
220
+
156
221
  tip?: TipSDKType;
157
222
  }
158
223
  /** TxBody is the body of a transaction that all signers sign over. */
@@ -199,10 +264,42 @@ export interface TxBody {
199
264
  /** TxBody is the body of a transaction that all signers sign over. */
200
265
 
201
266
  export interface TxBodySDKType {
267
+ /**
268
+ * messages is a list of messages to be executed. The required signers of
269
+ * those messages define the number and order of elements in AuthInfo's
270
+ * signer_infos and Tx's signatures. Each required signer address is added to
271
+ * the list only the first time it occurs.
272
+ * By convention, the first required signer (usually from the first message)
273
+ * is referred to as the primary signer and pays the fee for the whole
274
+ * transaction.
275
+ */
202
276
  messages: AnySDKType[];
277
+ /**
278
+ * memo is any arbitrary note/comment to be added to the transaction.
279
+ * WARNING: in clients, any publicly exposed text should not be called memo,
280
+ * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
281
+ */
282
+
203
283
  memo: string;
284
+ /**
285
+ * timeout is the block height after which this transaction will not
286
+ * be processed by the chain
287
+ */
288
+
204
289
  timeout_height: Long;
290
+ /**
291
+ * extension_options are arbitrary options that can be added by chains
292
+ * when the default options are not sufficient. If any of these are present
293
+ * and can't be handled, the transaction will be rejected
294
+ */
295
+
205
296
  extension_options: AnySDKType[];
297
+ /**
298
+ * extension_options are arbitrary options that can be added by chains
299
+ * when the default options are not sufficient. If any of these are present
300
+ * and can't be handled, they will be ignored
301
+ */
302
+
206
303
  non_critical_extension_options: AnySDKType[];
207
304
  }
208
305
  /**
@@ -240,8 +337,27 @@ export interface AuthInfo {
240
337
  */
241
338
 
242
339
  export interface AuthInfoSDKType {
340
+ /**
341
+ * signer_infos defines the signing modes for the required signers. The number
342
+ * and order of elements must match the required signers from TxBody's
343
+ * messages. The first element is the primary signer and the one which pays
344
+ * the fee.
345
+ */
243
346
  signer_infos: SignerInfoSDKType[];
347
+ /**
348
+ * Fee is the fee and gas limit for the transaction. The first signer is the
349
+ * primary signer and the one which pays the fee. The fee can be calculated
350
+ * based on the cost of evaluating the body and doing signature verification
351
+ * of the signers. This can be estimated via simulation.
352
+ */
353
+
244
354
  fee?: FeeSDKType;
355
+ /**
356
+ * Tip is the optional tip used for meta-transactions.
357
+ *
358
+ * Since: cosmos-sdk 0.46
359
+ */
360
+
245
361
  tip?: TipSDKType;
246
362
  }
247
363
  /**
@@ -276,8 +392,24 @@ export interface SignerInfo {
276
392
  */
277
393
 
278
394
  export interface SignerInfoSDKType {
395
+ /**
396
+ * public_key is the public key of the signer. It is optional for accounts
397
+ * that already exist in state. If unset, the verifier can use the required \
398
+ * signer address for this position and lookup the public key.
399
+ */
279
400
  public_key?: AnySDKType;
401
+ /**
402
+ * mode_info describes the signing mode of the signer and is a nested
403
+ * structure to support nested multisig pubkey's
404
+ */
405
+
280
406
  mode_info?: ModeInfoSDKType;
407
+ /**
408
+ * sequence is the sequence of the account, which describes the
409
+ * number of committed transactions signed by a given address. It is used to
410
+ * prevent replay attacks.
411
+ */
412
+
281
413
  sequence: Long;
282
414
  }
283
415
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
@@ -292,7 +424,10 @@ export interface ModeInfo {
292
424
  /** ModeInfo describes the signing mode of a single or nested multisig signer. */
293
425
 
294
426
  export interface ModeInfoSDKType {
427
+ /** single represents a single signer */
295
428
  single?: ModeInfo_SingleSDKType;
429
+ /** multi represents a nested multisig signer */
430
+
296
431
  multi?: ModeInfo_MultiSDKType;
297
432
  }
298
433
  /**
@@ -312,7 +447,8 @@ export interface ModeInfo_Single {
312
447
  */
313
448
 
314
449
  export interface ModeInfo_SingleSDKType {
315
- mode: SignMode;
450
+ /** mode is the signing mode of the single signer */
451
+ mode: SignModeSDKType;
316
452
  }
317
453
  /** Multi is the mode info for a multisig public key */
318
454
 
@@ -329,7 +465,13 @@ export interface ModeInfo_Multi {
329
465
  /** Multi is the mode info for a multisig public key */
330
466
 
331
467
  export interface ModeInfo_MultiSDKType {
468
+ /** bitarray specifies which keys within the multisig are signing */
332
469
  bitarray?: CompactBitArraySDKType;
470
+ /**
471
+ * mode_infos is the corresponding modes of the signers of the multisig
472
+ * which could include nested multisig public keys
473
+ */
474
+
333
475
  mode_infos: ModeInfoSDKType[];
334
476
  }
335
477
  /**
@@ -369,9 +511,27 @@ export interface Fee {
369
511
  */
370
512
 
371
513
  export interface FeeSDKType {
514
+ /** amount is the amount of coins to be paid as a fee */
372
515
  amount: CoinSDKType[];
516
+ /**
517
+ * gas_limit is the maximum gas that can be used in transaction processing
518
+ * before an out of gas error occurs
519
+ */
520
+
373
521
  gas_limit: Long;
522
+ /**
523
+ * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
524
+ * the payer must be a tx signer (and thus have signed this field in AuthInfo).
525
+ * setting this field does *not* change the ordering of required signers for the transaction.
526
+ */
527
+
374
528
  payer: string;
529
+ /**
530
+ * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
531
+ * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
532
+ * not support fee grants, this will fail
533
+ */
534
+
375
535
  granter: string;
376
536
  }
377
537
  /**
@@ -394,7 +554,10 @@ export interface Tip {
394
554
  */
395
555
 
396
556
  export interface TipSDKType {
557
+ /** amount is the amount of the tip */
397
558
  amount: CoinSDKType[];
559
+ /** tipper is the address of the account paying for the tip */
560
+
398
561
  tipper: string;
399
562
  }
400
563
  /**
@@ -437,9 +600,24 @@ export interface AuxSignerData {
437
600
  */
438
601
 
439
602
  export interface AuxSignerDataSDKType {
603
+ /**
604
+ * address is the bech32-encoded address of the auxiliary signer. If using
605
+ * AuxSignerData across different chains, the bech32 prefix of the target
606
+ * chain (where the final transaction is broadcasted) should be used.
607
+ */
440
608
  address: string;
609
+ /**
610
+ * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer
611
+ * signs. Note: we use the same sign doc even if we're signing with
612
+ * LEGACY_AMINO_JSON.
613
+ */
614
+
441
615
  sign_doc?: SignDocDirectAuxSDKType;
442
- mode: SignMode;
616
+ /** mode is the signing mode of the single signer */
617
+
618
+ mode: SignModeSDKType;
619
+ /** sig is the signature of the sign doc. */
620
+
443
621
  sig: Uint8Array;
444
622
  }
445
623
 
@@ -28,6 +28,7 @@ export interface QueryCurrentPlanResponse {
28
28
  */
29
29
 
30
30
  export interface QueryCurrentPlanResponseSDKType {
31
+ /** plan is the current upgrade plan. */
31
32
  plan?: PlanSDKType;
32
33
  }
33
34
  /**
@@ -45,6 +46,7 @@ export interface QueryAppliedPlanRequest {
45
46
  */
46
47
 
47
48
  export interface QueryAppliedPlanRequestSDKType {
49
+ /** name is the name of the applied plan to query for. */
48
50
  name: string;
49
51
  }
50
52
  /**
@@ -62,6 +64,7 @@ export interface QueryAppliedPlanResponse {
62
64
  */
63
65
 
64
66
  export interface QueryAppliedPlanResponseSDKType {
67
+ /** height is the block height at which the plan was applied. */
65
68
  height: Long;
66
69
  }
67
70
  /**
@@ -86,6 +89,10 @@ export interface QueryUpgradedConsensusStateRequest {
86
89
  /** @deprecated */
87
90
 
88
91
  export interface QueryUpgradedConsensusStateRequestSDKType {
92
+ /**
93
+ * last height of the current chain must be sent in request
94
+ * as this is the height under which next consensus state is stored
95
+ */
89
96
  last_height: Long;
90
97
  }
91
98
  /**
@@ -107,6 +114,7 @@ export interface QueryUpgradedConsensusStateResponse {
107
114
  /** @deprecated */
108
115
 
109
116
  export interface QueryUpgradedConsensusStateResponseSDKType {
117
+ /** Since: cosmos-sdk 0.43 */
110
118
  upgraded_consensus_state: Uint8Array;
111
119
  }
112
120
  /**
@@ -132,6 +140,11 @@ export interface QueryModuleVersionsRequest {
132
140
  */
133
141
 
134
142
  export interface QueryModuleVersionsRequestSDKType {
143
+ /**
144
+ * module_name is a field to query a specific module
145
+ * consensus version from state. Leaving this empty will
146
+ * fetch the full list of module versions from state
147
+ */
135
148
  module_name: string;
136
149
  }
137
150
  /**
@@ -153,6 +166,7 @@ export interface QueryModuleVersionsResponse {
153
166
  */
154
167
 
155
168
  export interface QueryModuleVersionsResponseSDKType {
169
+ /** module_versions is a list of module names with their consensus versions. */
156
170
  module_versions: ModuleVersionSDKType[];
157
171
  }
158
172
  /**
@@ -1,7 +1,7 @@
1
1
  import { AminoMsg } from "@cosmjs/amino";
2
2
  import { Long } from "../../../helpers";
3
3
  import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx";
4
- export interface MsgSoftwareUpgradeAminoType extends AminoMsg {
4
+ export interface AminoMsgSoftwareUpgrade extends AminoMsg {
5
5
  type: "cosmos-sdk/MsgSoftwareUpgrade";
6
6
  value: {
7
7
  authority: string;
@@ -20,7 +20,7 @@ export interface MsgSoftwareUpgradeAminoType extends AminoMsg {
20
20
  };
21
21
  };
22
22
  }
23
- export interface MsgCancelUpgradeAminoType extends AminoMsg {
23
+ export interface AminoMsgCancelUpgrade extends AminoMsg {
24
24
  type: "cosmos-sdk/MsgCancelUpgrade";
25
25
  value: {
26
26
  authority: string;
@@ -32,7 +32,7 @@ export const AminoConverter = {
32
32
  toAmino: ({
33
33
  authority,
34
34
  plan
35
- }: MsgSoftwareUpgrade): MsgSoftwareUpgradeAminoType["value"] => {
35
+ }: MsgSoftwareUpgrade): AminoMsgSoftwareUpgrade["value"] => {
36
36
  return {
37
37
  authority,
38
38
  plan: {
@@ -50,7 +50,7 @@ export const AminoConverter = {
50
50
  fromAmino: ({
51
51
  authority,
52
52
  plan
53
- }: MsgSoftwareUpgradeAminoType["value"]): MsgSoftwareUpgrade => {
53
+ }: AminoMsgSoftwareUpgrade["value"]): MsgSoftwareUpgrade => {
54
54
  return {
55
55
  authority,
56
56
  plan: {
@@ -70,14 +70,14 @@ export const AminoConverter = {
70
70
  aminoType: "cosmos-sdk/MsgCancelUpgrade",
71
71
  toAmino: ({
72
72
  authority
73
- }: MsgCancelUpgrade): MsgCancelUpgradeAminoType["value"] => {
73
+ }: MsgCancelUpgrade): AminoMsgCancelUpgrade["value"] => {
74
74
  return {
75
75
  authority
76
76
  };
77
77
  },
78
78
  fromAmino: ({
79
79
  authority
80
- }: MsgCancelUpgradeAminoType["value"]): MsgCancelUpgrade => {
80
+ }: AminoMsgCancelUpgrade["value"]): MsgCancelUpgrade => {
81
81
  return {
82
82
  authority
83
83
  };