@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
@@ -1,4 +1,4 @@
1
- import { Member, MemberSDKType, VoteOption } from "./types";
1
+ import { Member, MemberSDKType, VoteOption, VoteOptionSDKType } from "./types";
2
2
  import { Any, AnySDKType } from "../../../google/protobuf/any";
3
3
  import * as _m0 from "protobufjs/minimal";
4
4
  import { DeepPartial, Long } from "../../../helpers";
@@ -20,7 +20,24 @@ export enum Exec {
20
20
  EXEC_TRY = 1,
21
21
  UNRECOGNIZED = -1,
22
22
  }
23
- export const ExecSDKType = Exec;
23
+ /** Exec defines modes of execution of a proposal on creation or on new vote. */
24
+
25
+ export enum ExecSDKType {
26
+ /**
27
+ * EXEC_UNSPECIFIED - An empty value means that there should be a separate
28
+ * MsgExec request for the proposal to execute.
29
+ */
30
+ EXEC_UNSPECIFIED = 0,
31
+
32
+ /**
33
+ * EXEC_TRY - Try to execute the proposal immediately.
34
+ * If the proposal is not allowed per the DecisionPolicy,
35
+ * the proposal will still be open and could
36
+ * be executed at a later point.
37
+ */
38
+ EXEC_TRY = 1,
39
+ UNRECOGNIZED = -1,
40
+ }
24
41
  export function execFromJSON(object: any): Exec {
25
42
  switch (object) {
26
43
  case 0:
@@ -65,8 +82,13 @@ export interface MsgCreateGroup {
65
82
  /** MsgCreateGroup is the Msg/CreateGroup request type. */
66
83
 
67
84
  export interface MsgCreateGroupSDKType {
85
+ /** admin is the account address of the group admin. */
68
86
  admin: string;
87
+ /** members defines the group members. */
88
+
69
89
  members: MemberSDKType[];
90
+ /** metadata is any arbitrary metadata to attached to the group. */
91
+
70
92
  metadata: string;
71
93
  }
72
94
  /** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
@@ -78,6 +100,7 @@ export interface MsgCreateGroupResponse {
78
100
  /** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
79
101
 
80
102
  export interface MsgCreateGroupResponseSDKType {
103
+ /** group_id is the unique ID of the newly created group. */
81
104
  group_id: Long;
82
105
  }
83
106
  /** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
@@ -98,8 +121,16 @@ export interface MsgUpdateGroupMembers {
98
121
  /** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
99
122
 
100
123
  export interface MsgUpdateGroupMembersSDKType {
124
+ /** admin is the account address of the group admin. */
101
125
  admin: string;
126
+ /** group_id is the unique ID of the group. */
127
+
102
128
  group_id: Long;
129
+ /**
130
+ * member_updates is the list of members to update,
131
+ * set weight to 0 to remove a member.
132
+ */
133
+
103
134
  member_updates: MemberSDKType[];
104
135
  }
105
136
  /** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
@@ -123,8 +154,13 @@ export interface MsgUpdateGroupAdmin {
123
154
  /** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
124
155
 
125
156
  export interface MsgUpdateGroupAdminSDKType {
157
+ /** admin is the current account address of the group admin. */
126
158
  admin: string;
159
+ /** group_id is the unique ID of the group. */
160
+
127
161
  group_id: Long;
162
+ /** new_admin is the group new admin account address. */
163
+
128
164
  new_admin: string;
129
165
  }
130
166
  /** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
@@ -148,8 +184,13 @@ export interface MsgUpdateGroupMetadata {
148
184
  /** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
149
185
 
150
186
  export interface MsgUpdateGroupMetadataSDKType {
187
+ /** admin is the account address of the group admin. */
151
188
  admin: string;
189
+ /** group_id is the unique ID of the group. */
190
+
152
191
  group_id: Long;
192
+ /** metadata is the updated group's metadata. */
193
+
153
194
  metadata: string;
154
195
  }
155
196
  /** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
@@ -176,9 +217,16 @@ export interface MsgCreateGroupPolicy {
176
217
  /** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
177
218
 
178
219
  export interface MsgCreateGroupPolicySDKType {
220
+ /** admin is the account address of the group admin. */
179
221
  admin: string;
222
+ /** group_id is the unique ID of the group. */
223
+
180
224
  group_id: Long;
225
+ /** metadata is any arbitrary metadata attached to the group policy. */
226
+
181
227
  metadata: string;
228
+ /** decision_policy specifies the group policy's decision policy. */
229
+
182
230
  decision_policy?: AnySDKType;
183
231
  }
184
232
  /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
@@ -190,6 +238,7 @@ export interface MsgCreateGroupPolicyResponse {
190
238
  /** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
191
239
 
192
240
  export interface MsgCreateGroupPolicyResponseSDKType {
241
+ /** address is the account address of the newly created group policy. */
193
242
  address: string;
194
243
  }
195
244
  /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
@@ -207,8 +256,13 @@ export interface MsgUpdateGroupPolicyAdmin {
207
256
  /** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
208
257
 
209
258
  export interface MsgUpdateGroupPolicyAdminSDKType {
259
+ /** admin is the account address of the group admin. */
210
260
  admin: string;
261
+ /** address is the account address of the group policy. */
262
+
211
263
  address: string;
264
+ /** new_admin is the new group policy admin. */
265
+
212
266
  new_admin: string;
213
267
  }
214
268
  /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
@@ -235,11 +289,22 @@ export interface MsgCreateGroupWithPolicy {
235
289
  /** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
236
290
 
237
291
  export interface MsgCreateGroupWithPolicySDKType {
292
+ /** admin is the account address of the group and group policy admin. */
238
293
  admin: string;
294
+ /** members defines the group members. */
295
+
239
296
  members: MemberSDKType[];
297
+ /** group_metadata is any arbitrary metadata attached to the group. */
298
+
240
299
  group_metadata: string;
300
+ /** group_policy_metadata is any arbitrary metadata attached to the group policy. */
301
+
241
302
  group_policy_metadata: string;
303
+ /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */
304
+
242
305
  group_policy_as_admin: boolean;
306
+ /** decision_policy specifies the group policy's decision policy. */
307
+
243
308
  decision_policy?: AnySDKType;
244
309
  }
245
310
  /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
@@ -254,7 +319,10 @@ export interface MsgCreateGroupWithPolicyResponse {
254
319
  /** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
255
320
 
256
321
  export interface MsgCreateGroupWithPolicyResponseSDKType {
322
+ /** group_id is the unique ID of the newly created group with policy. */
257
323
  group_id: Long;
324
+ /** group_policy_address is the account address of the newly created group policy. */
325
+
258
326
  group_policy_address: string;
259
327
  }
260
328
  /** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
@@ -278,8 +346,13 @@ export interface MsgUpdateGroupPolicyDecisionPolicy {
278
346
  /** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
279
347
 
280
348
  export interface MsgUpdateGroupPolicyDecisionPolicySDKType {
349
+ /** admin is the account address of the group admin. */
281
350
  admin: string;
351
+ /** address is the account address of group policy. */
352
+
282
353
  address: string;
354
+ /** decision_policy is the updated group policy's decision policy. */
355
+
283
356
  decision_policy?: AnySDKType;
284
357
  }
285
358
  /** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
@@ -303,8 +376,13 @@ export interface MsgUpdateGroupPolicyMetadata {
303
376
  /** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
304
377
 
305
378
  export interface MsgUpdateGroupPolicyMetadataSDKType {
379
+ /** admin is the account address of the group admin. */
306
380
  admin: string;
381
+ /** address is the account address of group policy. */
382
+
307
383
  address: string;
384
+ /** metadata is the updated group policy metadata. */
385
+
308
386
  metadata: string;
309
387
  }
310
388
  /** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
@@ -341,11 +419,27 @@ export interface MsgSubmitProposal {
341
419
  /** MsgSubmitProposal is the Msg/SubmitProposal request type. */
342
420
 
343
421
  export interface MsgSubmitProposalSDKType {
422
+ /** address is the account address of group policy. */
344
423
  address: string;
424
+ /**
425
+ * proposers are the account addresses of the proposers.
426
+ * Proposers signatures will be counted as yes votes.
427
+ */
428
+
345
429
  proposers: string[];
430
+ /** metadata is any arbitrary metadata to attached to the proposal. */
431
+
346
432
  metadata: string;
433
+ /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
434
+
347
435
  messages: AnySDKType[];
348
- exec: Exec;
436
+ /**
437
+ * exec defines the mode of execution of the proposal,
438
+ * whether it should be executed immediately on creation or not.
439
+ * If so, proposers signatures are considered as Yes votes.
440
+ */
441
+
442
+ exec: ExecSDKType;
349
443
  }
350
444
  /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
351
445
 
@@ -356,6 +450,7 @@ export interface MsgSubmitProposalResponse {
356
450
  /** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
357
451
 
358
452
  export interface MsgSubmitProposalResponseSDKType {
453
+ /** proposal is the unique ID of the proposal. */
359
454
  proposal_id: Long;
360
455
  }
361
456
  /** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
@@ -370,7 +465,10 @@ export interface MsgWithdrawProposal {
370
465
  /** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
371
466
 
372
467
  export interface MsgWithdrawProposalSDKType {
468
+ /** proposal is the unique ID of the proposal. */
373
469
  proposal_id: Long;
470
+ /** address is the admin of the group policy or one of the proposer of the proposal. */
471
+
374
472
  address: string;
375
473
  }
376
474
  /** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
@@ -403,11 +501,23 @@ export interface MsgVote {
403
501
  /** MsgVote is the Msg/Vote request type. */
404
502
 
405
503
  export interface MsgVoteSDKType {
504
+ /** proposal is the unique ID of the proposal. */
406
505
  proposal_id: Long;
506
+ /** voter is the voter account address. */
507
+
407
508
  voter: string;
408
- option: VoteOption;
509
+ /** option is the voter's choice on the proposal. */
510
+
511
+ option: VoteOptionSDKType;
512
+ /** metadata is any arbitrary metadata to attached to the vote. */
513
+
409
514
  metadata: string;
410
- exec: Exec;
515
+ /**
516
+ * exec defines whether the proposal should be executed
517
+ * immediately after voting or not.
518
+ */
519
+
520
+ exec: ExecSDKType;
411
521
  }
412
522
  /** MsgVoteResponse is the Msg/Vote response type. */
413
523
 
@@ -427,7 +537,10 @@ export interface MsgExec {
427
537
  /** MsgExec is the Msg/Exec request type. */
428
538
 
429
539
  export interface MsgExecSDKType {
540
+ /** proposal is the unique ID of the proposal. */
430
541
  proposal_id: Long;
542
+ /** signer is the account address used to execute the proposal. */
543
+
431
544
  signer: string;
432
545
  }
433
546
  /** MsgExecResponse is the Msg/Exec request type. */
@@ -448,7 +561,10 @@ export interface MsgLeaveGroup {
448
561
  /** MsgLeaveGroup is the Msg/LeaveGroup request type. */
449
562
 
450
563
  export interface MsgLeaveGroupSDKType {
564
+ /** address is the account address of the group member. */
451
565
  address: string;
566
+ /** group_id is the unique ID of the group. */
567
+
452
568
  group_id: Long;
453
569
  }
454
570
  /** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
@@ -22,7 +22,25 @@ export enum VoteOption {
22
22
  VOTE_OPTION_NO_WITH_VETO = 4,
23
23
  UNRECOGNIZED = -1,
24
24
  }
25
- export const VoteOptionSDKType = VoteOption;
25
+ /** VoteOption enumerates the valid vote options for a given proposal. */
26
+
27
+ export enum VoteOptionSDKType {
28
+ /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */
29
+ VOTE_OPTION_UNSPECIFIED = 0,
30
+
31
+ /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
32
+ VOTE_OPTION_YES = 1,
33
+
34
+ /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
35
+ VOTE_OPTION_ABSTAIN = 2,
36
+
37
+ /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
38
+ VOTE_OPTION_NO = 3,
39
+
40
+ /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
41
+ VOTE_OPTION_NO_WITH_VETO = 4,
42
+ UNRECOGNIZED = -1,
43
+ }
26
44
  export function voteOptionFromJSON(object: any): VoteOption {
27
45
  switch (object) {
28
46
  case 0:
@@ -95,7 +113,28 @@ export enum ProposalStatus {
95
113
  PROPOSAL_STATUS_WITHDRAWN = 4,
96
114
  UNRECOGNIZED = -1,
97
115
  }
98
- export const ProposalStatusSDKType = ProposalStatus;
116
+ /** ProposalStatus defines proposal statuses. */
117
+
118
+ export enum ProposalStatusSDKType {
119
+ /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
120
+ PROPOSAL_STATUS_UNSPECIFIED = 0,
121
+
122
+ /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */
123
+ PROPOSAL_STATUS_SUBMITTED = 1,
124
+
125
+ /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */
126
+ PROPOSAL_STATUS_CLOSED = 2,
127
+
128
+ /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */
129
+ PROPOSAL_STATUS_ABORTED = 3,
130
+
131
+ /**
132
+ * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status
133
+ * is Withdrawn.
134
+ */
135
+ PROPOSAL_STATUS_WITHDRAWN = 4,
136
+ UNRECOGNIZED = -1,
137
+ }
99
138
  export function proposalStatusFromJSON(object: any): ProposalStatus {
100
139
  switch (object) {
101
140
  case 0:
@@ -162,7 +201,22 @@ export enum ProposalResult {
162
201
  PROPOSAL_RESULT_REJECTED = 3,
163
202
  UNRECOGNIZED = -1,
164
203
  }
165
- export const ProposalResultSDKType = ProposalResult;
204
+ /** ProposalResult defines types of proposal results. */
205
+
206
+ export enum ProposalResultSDKType {
207
+ /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */
208
+ PROPOSAL_RESULT_UNSPECIFIED = 0,
209
+
210
+ /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */
211
+ PROPOSAL_RESULT_UNFINALIZED = 1,
212
+
213
+ /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */
214
+ PROPOSAL_RESULT_ACCEPTED = 2,
215
+
216
+ /** PROPOSAL_RESULT_REJECTED - Final result of the tally */
217
+ PROPOSAL_RESULT_REJECTED = 3,
218
+ UNRECOGNIZED = -1,
219
+ }
166
220
  export function proposalResultFromJSON(object: any): ProposalResult {
167
221
  switch (object) {
168
222
  case 0:
@@ -222,7 +276,22 @@ export enum ProposalExecutorResult {
222
276
  PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
223
277
  UNRECOGNIZED = -1,
224
278
  }
225
- export const ProposalExecutorResultSDKType = ProposalExecutorResult;
279
+ /** ProposalExecutorResult defines types of proposal executor results. */
280
+
281
+ export enum ProposalExecutorResultSDKType {
282
+ /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
283
+ PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
284
+
285
+ /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
286
+ PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
287
+
288
+ /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
289
+ PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
290
+
291
+ /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
292
+ PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
293
+ UNRECOGNIZED = -1,
294
+ }
226
295
  export function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult {
227
296
  switch (object) {
228
297
  case 0:
@@ -290,9 +359,16 @@ export interface Member {
290
359
  */
291
360
 
292
361
  export interface MemberSDKType {
362
+ /** address is the member's account address. */
293
363
  address: string;
364
+ /** weight is the member's voting weight that should be greater than 0. */
365
+
294
366
  weight: string;
367
+ /** metadata is any arbitrary metadata to attached to the member. */
368
+
295
369
  metadata: string;
370
+ /** added_at is a timestamp specifying when a member was added. */
371
+
296
372
  added_at?: Date;
297
373
  }
298
374
  /** Members defines a repeated slice of Member objects. */
@@ -304,6 +380,7 @@ export interface Members {
304
380
  /** Members defines a repeated slice of Member objects. */
305
381
 
306
382
  export interface MembersSDKType {
383
+ /** members is the list of members. */
307
384
  members: MemberSDKType[];
308
385
  }
309
386
  /** ThresholdDecisionPolicy implements the DecisionPolicy interface */
@@ -318,7 +395,10 @@ export interface ThresholdDecisionPolicy {
318
395
  /** ThresholdDecisionPolicy implements the DecisionPolicy interface */
319
396
 
320
397
  export interface ThresholdDecisionPolicySDKType {
398
+ /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */
321
399
  threshold: string;
400
+ /** windows defines the different windows for voting and execution. */
401
+
322
402
  windows?: DecisionPolicyWindowsSDKType;
323
403
  }
324
404
  /** PercentageDecisionPolicy implements the DecisionPolicy interface */
@@ -333,7 +413,10 @@ export interface PercentageDecisionPolicy {
333
413
  /** PercentageDecisionPolicy implements the DecisionPolicy interface */
334
414
 
335
415
  export interface PercentageDecisionPolicySDKType {
416
+ /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */
336
417
  percentage: string;
418
+ /** windows defines the different windows for voting and execution. */
419
+
337
420
  windows?: DecisionPolicyWindowsSDKType;
338
421
  }
339
422
  /** DecisionPolicyWindows defines the different windows for voting and execution. */
@@ -363,7 +446,25 @@ export interface DecisionPolicyWindows {
363
446
  /** DecisionPolicyWindows defines the different windows for voting and execution. */
364
447
 
365
448
  export interface DecisionPolicyWindowsSDKType {
449
+ /**
450
+ * voting_period is the duration from submission of a proposal to the end of voting period
451
+ * Within this times votes can be submitted with MsgVote.
452
+ */
366
453
  voting_period?: DurationSDKType;
454
+ /**
455
+ * min_execution_period is the minimum duration after the proposal submission
456
+ * where members can start sending MsgExec. This means that the window for
457
+ * sending a MsgExec transaction is:
458
+ * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
459
+ * where max_execution_period is a app-specific config, defined in the keeper.
460
+ * If not set, min_execution_period will default to 0.
461
+ *
462
+ * Please make sure to set a `min_execution_period` that is smaller than
463
+ * `voting_period + max_execution_period`, or else the above execution window
464
+ * is empty, meaning that all proposals created with this decision policy
465
+ * won't be able to be executed.
466
+ */
467
+
367
468
  min_execution_period?: DurationSDKType;
368
469
  }
369
470
  /** GroupInfo represents the high-level on-chain information for a group. */
@@ -395,11 +496,27 @@ export interface GroupInfo {
395
496
  /** GroupInfo represents the high-level on-chain information for a group. */
396
497
 
397
498
  export interface GroupInfoSDKType {
499
+ /** id is the unique ID of the group. */
398
500
  id: Long;
501
+ /** admin is the account address of the group's admin. */
502
+
399
503
  admin: string;
504
+ /** metadata is any arbitrary metadata to attached to the group. */
505
+
400
506
  metadata: string;
507
+ /**
508
+ * version is used to track changes to a group's membership structure that
509
+ * would break existing proposals. Whenever any members weight is changed,
510
+ * or any member is added or removed this version is incremented and will
511
+ * cause proposals based on older versions of this group to fail
512
+ */
513
+
401
514
  version: Long;
515
+ /** total_weight is the sum of the group members' weights. */
516
+
402
517
  total_weight: string;
518
+ /** created_at is a timestamp specifying when a group was created. */
519
+
403
520
  created_at?: Date;
404
521
  }
405
522
  /** GroupMember represents the relationship between a group and a member. */
@@ -414,7 +531,10 @@ export interface GroupMember {
414
531
  /** GroupMember represents the relationship between a group and a member. */
415
532
 
416
533
  export interface GroupMemberSDKType {
534
+ /** group_id is the unique ID of the group. */
417
535
  group_id: Long;
536
+ /** member is the member data. */
537
+
418
538
  member?: MemberSDKType;
419
539
  }
420
540
  /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
@@ -447,12 +567,28 @@ export interface GroupPolicyInfo {
447
567
  /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
448
568
 
449
569
  export interface GroupPolicyInfoSDKType {
570
+ /** address is the account address of group policy. */
450
571
  address: string;
572
+ /** group_id is the unique ID of the group. */
573
+
451
574
  group_id: Long;
575
+ /** admin is the account address of the group admin. */
576
+
452
577
  admin: string;
578
+ /** metadata is any arbitrary metadata to attached to the group policy. */
579
+
453
580
  metadata: string;
581
+ /**
582
+ * version is used to track changes to a group's GroupPolicyInfo structure that
583
+ * would create a different result on a running proposal.
584
+ */
585
+
454
586
  version: Long;
587
+ /** decision_policy specifies the group policy's decision policy. */
588
+
455
589
  decision_policy?: AnySDKType;
590
+ /** created_at is a timestamp specifying when a group policy was created. */
591
+
456
592
  created_at?: Date;
457
593
  }
458
594
  /**
@@ -530,18 +666,63 @@ export interface Proposal {
530
666
  */
531
667
 
532
668
  export interface ProposalSDKType {
669
+ /** id is the unique id of the proposal. */
533
670
  id: Long;
671
+ /** address is the account address of group policy. */
672
+
534
673
  address: string;
674
+ /** metadata is any arbitrary metadata to attached to the proposal. */
675
+
535
676
  metadata: string;
677
+ /** proposers are the account addresses of the proposers. */
678
+
536
679
  proposers: string[];
680
+ /** submit_time is a timestamp specifying when a proposal was submitted. */
681
+
537
682
  submit_time?: Date;
683
+ /**
684
+ * group_version tracks the version of the group that this proposal corresponds to.
685
+ * When group membership is changed, existing proposals from previous group versions will become invalid.
686
+ */
687
+
538
688
  group_version: Long;
689
+ /**
690
+ * group_policy_version tracks the version of the group policy that this proposal corresponds to.
691
+ * When a decision policy is changed, existing proposals from previous policy versions will become invalid.
692
+ */
693
+
539
694
  group_policy_version: Long;
540
- status: ProposalStatus;
541
- result: ProposalResult;
695
+ /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
696
+
697
+ status: ProposalStatusSDKType;
698
+ /**
699
+ * result is the final result based on the votes and election rule. Initial value is unfinalized.
700
+ * The result is persisted so that clients can always rely on this state and not have to replicate the logic.
701
+ */
702
+
703
+ result: ProposalResultSDKType;
704
+ /**
705
+ * final_tally_result contains the sums of all weighted votes for this
706
+ * proposal for each vote option, after tallying. When querying a proposal
707
+ * via gRPC, this field is not populated until the proposal's voting period
708
+ * has ended.
709
+ */
710
+
542
711
  final_tally_result?: TallyResultSDKType;
712
+ /**
713
+ * voting_period_end is the timestamp before which voting must be done.
714
+ * Unless a successfull MsgExec is called before (to execute a proposal whose
715
+ * tally is successful before the voting period ends), tallying will be done
716
+ * at this point, and the `final_tally_result`, as well
717
+ * as `status` and `result` fields will be accordingly updated.
718
+ */
719
+
543
720
  voting_period_end?: Date;
544
- executor_result: ProposalExecutorResult;
721
+ /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */
722
+
723
+ executor_result: ProposalExecutorResultSDKType;
724
+ /** messages is a list of Msgs that will be executed if the proposal passes. */
725
+
545
726
  messages: AnySDKType[];
546
727
  }
547
728
  /** TallyResult represents the sum of weighted votes for each vote option. */
@@ -562,9 +743,16 @@ export interface TallyResult {
562
743
  /** TallyResult represents the sum of weighted votes for each vote option. */
563
744
 
564
745
  export interface TallyResultSDKType {
746
+ /** yes_count is the weighted sum of yes votes. */
565
747
  yes_count: string;
748
+ /** abstain_count is the weighted sum of abstainers. */
749
+
566
750
  abstain_count: string;
751
+ /** no is the weighted sum of no votes. */
752
+
567
753
  no_count: string;
754
+ /** no_with_veto_count is the weighted sum of veto. */
755
+
568
756
  no_with_veto_count: string;
569
757
  }
570
758
  /** Vote represents a vote for a proposal. */
@@ -588,10 +776,19 @@ export interface Vote {
588
776
  /** Vote represents a vote for a proposal. */
589
777
 
590
778
  export interface VoteSDKType {
779
+ /** proposal is the unique ID of the proposal. */
591
780
  proposal_id: Long;
781
+ /** voter is the account address of the voter. */
782
+
592
783
  voter: string;
593
- option: VoteOption;
784
+ /** option is the voter's choice on the proposal. */
785
+
786
+ option: VoteOptionSDKType;
787
+ /** metadata is any arbitrary metadata to attached to the vote. */
788
+
594
789
  metadata: string;
790
+ /** submit_time is the timestamp when the vote was submitted. */
791
+
595
792
  submit_time?: Date;
596
793
  }
597
794
 
@@ -13,7 +13,10 @@ export interface GenesisState {
13
13
  /** GenesisState defines the mint module's genesis state. */
14
14
 
15
15
  export interface GenesisStateSDKType {
16
+ /** minter is a space for holding current inflation information. */
16
17
  minter?: MinterSDKType;
18
+ /** params defines all the paramaters of the module. */
19
+
17
20
  params?: ParamsSDKType;
18
21
  }
19
22
 
@@ -12,7 +12,10 @@ export interface Minter {
12
12
  /** Minter represents the minting state. */
13
13
 
14
14
  export interface MinterSDKType {
15
+ /** current annual inflation rate */
15
16
  inflation: string;
17
+ /** current annual expected provisions */
18
+
16
19
  annual_provisions: string;
17
20
  }
18
21
  /** Params holds parameters for the mint module. */
@@ -39,11 +42,22 @@ export interface Params {
39
42
  /** Params holds parameters for the mint module. */
40
43
 
41
44
  export interface ParamsSDKType {
45
+ /** type of coin to mint */
42
46
  mint_denom: string;
47
+ /** maximum annual change in inflation rate */
48
+
43
49
  inflation_rate_change: string;
50
+ /** maximum inflation rate */
51
+
44
52
  inflation_max: string;
53
+ /** minimum inflation rate */
54
+
45
55
  inflation_min: string;
56
+ /** goal of percent bonded atoms */
57
+
46
58
  goal_bonded: string;
59
+ /** expected blocks per year */
60
+
47
61
  blocks_per_year: Long;
48
62
  }
49
63