@bze/bzejs 3.2.0 → 4.0.0

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 (441) hide show
  1. package/README.md +18 -1
  2. package/dist/bze/bundle.d.ts +5982 -3068
  3. package/dist/bze/bundle.js +144 -93
  4. package/dist/bze/burner/burned_coins.d.ts +60 -0
  5. package/dist/bze/burner/burned_coins.js +92 -1
  6. package/dist/bze/burner/genesis.d.ts +4 -1
  7. package/dist/bze/burner/genesis.js +20 -4
  8. package/dist/bze/burner/params.d.ts +22 -0
  9. package/dist/bze/burner/params.js +29 -4
  10. package/dist/bze/dao/events.d.ts +1208 -0
  11. package/dist/bze/dao/events.js +1840 -0
  12. package/dist/bze/dao/genesis.d.ts +307 -0
  13. package/dist/bze/dao/genesis.js +435 -0
  14. package/dist/bze/dao/module/module.d.ts +64 -0
  15. package/dist/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
  16. package/dist/bze/dao/params.d.ts +210 -0
  17. package/dist/bze/dao/params.js +268 -0
  18. package/dist/bze/dao/query.d.ts +1607 -0
  19. package/dist/bze/dao/query.js +2368 -0
  20. package/dist/bze/dao/query.lcd.d.ts +20 -0
  21. package/dist/bze/dao/query.lcd.js +125 -0
  22. package/dist/bze/dao/query.rpc.func.d.ts +88 -0
  23. package/dist/bze/dao/query.rpc.func.js +165 -0
  24. package/dist/bze/dao/store.d.ts +946 -0
  25. package/dist/bze/dao/store.js +1546 -0
  26. package/dist/bze/dao/tx.d.ts +2014 -0
  27. package/dist/bze/dao/tx.js +2823 -0
  28. package/dist/bze/dao/tx.registry.d.ts +191 -0
  29. package/dist/bze/dao/tx.registry.js +283 -0
  30. package/dist/bze/dao/tx.rpc.func.d.ts +124 -0
  31. package/dist/bze/dao/tx.rpc.func.js +159 -0
  32. package/dist/bze/guardian/module/module.d.ts +64 -0
  33. package/dist/bze/guardian/module/module.js +84 -0
  34. package/dist/bze/guardian/v1/events.d.ts +632 -0
  35. package/dist/bze/guardian/v1/events.js +985 -0
  36. package/dist/bze/guardian/v1/genesis.d.ts +85 -0
  37. package/dist/bze/guardian/v1/genesis.js +118 -0
  38. package/dist/bze/guardian/v1/params.d.ts +68 -0
  39. package/dist/bze/guardian/v1/params.js +91 -0
  40. package/dist/bze/guardian/v1/query.d.ts +472 -0
  41. package/dist/bze/guardian/v1/query.js +598 -0
  42. package/dist/bze/guardian/v1/query.lcd.d.ts +12 -0
  43. package/dist/bze/guardian/v1/query.lcd.js +34 -0
  44. package/dist/bze/guardian/v1/query.rpc.func.d.ts +29 -0
  45. package/dist/bze/guardian/v1/query.rpc.func.js +58 -0
  46. package/dist/bze/guardian/v1/tx.d.ts +1487 -0
  47. package/dist/bze/guardian/v1/tx.js +1870 -0
  48. package/dist/bze/guardian/v1/tx.registry.d.ts +143 -0
  49. package/dist/bze/guardian/v1/tx.registry.js +211 -0
  50. package/dist/bze/guardian/v1/tx.rpc.func.d.ts +91 -0
  51. package/dist/bze/guardian/v1/tx.rpc.func.js +118 -0
  52. package/dist/bze/lcd.d.ts +4 -3
  53. package/dist/bze/lcd.js +8 -5
  54. package/dist/bze/rewards/events.d.ts +79 -0
  55. package/dist/bze/rewards/events.js +109 -5
  56. package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
  57. package/dist/bze/tokenfactory/denom_authority.js +16 -4
  58. package/dist/bze/tokenfactory/denom_config.d.ts +92 -0
  59. package/dist/bze/tokenfactory/denom_config.js +111 -0
  60. package/dist/bze/tokenfactory/events.d.ts +122 -0
  61. package/dist/bze/tokenfactory/events.js +207 -1
  62. package/dist/bze/tokenfactory/genesis.d.ts +10 -0
  63. package/dist/bze/tokenfactory/genesis.js +15 -1
  64. package/dist/bze/tokenfactory/query.d.ts +107 -0
  65. package/dist/bze/tokenfactory/query.js +163 -1
  66. package/dist/bze/tokenfactory/query.lcd.d.ts +2 -1
  67. package/dist/bze/tokenfactory/query.lcd.js +12 -0
  68. package/dist/bze/tokenfactory/query.rpc.func.d.ts +8 -1
  69. package/dist/bze/tokenfactory/query.rpc.func.js +14 -1
  70. package/dist/bze/tokenfactory/tx.d.ts +396 -0
  71. package/dist/bze/tokenfactory/tx.js +542 -1
  72. package/dist/bze/tokenfactory/tx.registry.d.ts +37 -1
  73. package/dist/bze/tokenfactory/tx.registry.js +55 -1
  74. package/dist/bze/tokenfactory/tx.rpc.func.d.ts +25 -1
  75. package/dist/bze/tokenfactory/tx.rpc.func.js +31 -1
  76. package/dist/bze/tradebin/events.d.ts +312 -174
  77. package/dist/bze/tradebin/events.js +509 -321
  78. package/dist/bze/tradebin/genesis.d.ts +1 -4
  79. package/dist/bze/tradebin/genesis.js +3 -19
  80. package/dist/bze/tradebin/query.d.ts +109 -0
  81. package/dist/bze/tradebin/query.js +170 -1
  82. package/dist/bze/tradebin/query.lcd.d.ts +2 -1
  83. package/dist/bze/tradebin/query.lcd.js +13 -0
  84. package/dist/bze/tradebin/query.rpc.func.d.ts +9 -1
  85. package/dist/bze/tradebin/query.rpc.func.js +15 -1
  86. package/dist/bze/tradebin/store.d.ts +78 -77
  87. package/dist/bze/tradebin/store.js +120 -179
  88. package/dist/bze/tradebin/tx.d.ts +204 -0
  89. package/dist/bze/tradebin/tx.js +286 -1
  90. package/dist/bze/tradebin/tx.registry.d.ts +13 -1
  91. package/dist/bze/tradebin/tx.registry.js +19 -1
  92. package/dist/bze/tradebin/tx.rpc.func.d.ts +8 -1
  93. package/dist/bze/tradebin/tx.rpc.func.js +10 -1
  94. package/dist/bze/tradebin/v2/params.d.ts +54 -12
  95. package/dist/bze/tradebin/v2/params.js +61 -36
  96. package/dist/bze/txfeecollector/events.d.ts +185 -0
  97. package/dist/bze/txfeecollector/events.js +222 -1
  98. package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +28 -2
  99. package/dist/cosmos/app/runtime/v1alpha1/module.js +34 -4
  100. package/dist/cosmos/auth/module/v1/module.d.ts +13 -0
  101. package/dist/cosmos/auth/module/v1/module.js +16 -4
  102. package/dist/cosmos/auth/v1beta1/auth.d.ts +0 -8
  103. package/dist/cosmos/auth/v1beta1/auth.js +0 -2
  104. package/dist/cosmos/auth/v1beta1/query.d.ts +0 -116
  105. package/dist/cosmos/auth/v1beta1/query.js +0 -28
  106. package/dist/cosmos/auth/v1beta1/query.lcd.js +7 -21
  107. package/dist/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -14
  108. package/dist/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  109. package/dist/cosmos/auth/v1beta1/tx.d.ts +0 -16
  110. package/dist/cosmos/auth/v1beta1/tx.js +0 -4
  111. package/dist/cosmos/auth/v1beta1/tx.rpc.func.d.ts +0 -2
  112. package/dist/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  113. package/dist/cosmos/authz/v1beta1/query.lcd.js +2 -6
  114. package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +0 -4
  115. package/dist/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  116. package/dist/cosmos/bank/v1beta1/authz.d.ts +0 -12
  117. package/dist/cosmos/bank/v1beta1/authz.js +0 -2
  118. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -16
  119. package/dist/cosmos/bank/v1beta1/genesis.d.ts +0 -4
  120. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -92
  121. package/dist/cosmos/bank/v1beta1/query.js +0 -20
  122. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
  123. package/dist/cosmos/bank/v1beta1/query.lcd.js +29 -30
  124. package/dist/cosmos/bank/v1beta1/query.rpc.func.d.ts +9 -19
  125. package/dist/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  126. package/dist/cosmos/bank/v1beta1/tx.d.ts +0 -32
  127. package/dist/cosmos/bank/v1beta1/tx.js +0 -8
  128. package/dist/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -4
  129. package/dist/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  130. package/dist/cosmos/base/abci/v1beta1/abci.d.ts +0 -12
  131. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -4
  132. package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +0 -18
  133. package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  134. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +0 -2
  135. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  136. package/dist/cosmos/bundle.d.ts +8277 -10119
  137. package/dist/cosmos/bundle.js +366 -415
  138. package/dist/cosmos/consensus/v1/tx.d.ts +0 -6
  139. package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +0 -2
  140. package/dist/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  141. package/dist/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  142. package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +2 -0
  143. package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  144. package/dist/cosmos/distribution/v1beta1/tx.d.ts +0 -60
  145. package/dist/cosmos/distribution/v1beta1/tx.js +0 -12
  146. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +3 -5
  147. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  148. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -16
  149. package/dist/cosmos/feegrant/v1beta1/query.js +0 -4
  150. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  151. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +0 -2
  152. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  153. package/dist/cosmos/feegrant/v1beta1/tx.d.ts +0 -16
  154. package/dist/cosmos/feegrant/v1beta1/tx.js +0 -4
  155. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -2
  156. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  157. package/dist/cosmos/gov/v1/genesis.d.ts +0 -8
  158. package/dist/cosmos/gov/v1/gov.d.ts +0 -48
  159. package/dist/cosmos/gov/v1/gov.js +0 -2
  160. package/dist/cosmos/gov/v1/query.d.ts +0 -4
  161. package/dist/cosmos/gov/v1/tx.d.ts +0 -44
  162. package/dist/cosmos/gov/v1/tx.js +0 -8
  163. package/dist/cosmos/gov/v1/tx.rpc.func.d.ts +0 -4
  164. package/dist/cosmos/gov/v1/tx.rpc.func.js +0 -4
  165. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -12
  166. package/dist/cosmos/gov/v1beta1/gov.js +0 -2
  167. package/dist/cosmos/gov/v1beta1/tx.d.ts +0 -16
  168. package/dist/cosmos/gov/v1beta1/tx.js +0 -4
  169. package/dist/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -2
  170. package/dist/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  171. package/dist/cosmos/lcd.d.ts +0 -3
  172. package/dist/cosmos/lcd.js +0 -5
  173. package/dist/cosmos/mint/v1beta1/tx.d.ts +0 -16
  174. package/dist/cosmos/mint/v1beta1/tx.js +0 -4
  175. package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +0 -2
  176. package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  177. package/dist/cosmos/params/v1beta1/query.d.ts +0 -24
  178. package/dist/cosmos/params/v1beta1/query.js +0 -6
  179. package/dist/cosmos/params/v1beta1/query.lcd.js +1 -3
  180. package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +0 -2
  181. package/dist/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  182. package/dist/cosmos/staking/v1beta1/authz.d.ts +1 -13
  183. package/dist/cosmos/staking/v1beta1/authz.js +1 -7
  184. package/dist/cosmos/staking/v1beta1/staking.d.ts +0 -4
  185. package/dist/cosmos/staking/v1beta1/tx.d.ts +0 -36
  186. package/dist/cosmos/staking/v1beta1/tx.js +0 -8
  187. package/dist/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -3
  188. package/dist/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  189. package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +0 -40
  190. package/dist/cosmos/store/snapshots/v1/snapshot.js +0 -10
  191. package/dist/cosmos/store/v1beta1/listening.d.ts +0 -8
  192. package/dist/cosmos/store/v1beta1/listening.js +0 -2
  193. package/dist/cosmos/tx/v1beta1/service.d.ts +0 -88
  194. package/dist/cosmos/tx/v1beta1/service.js +0 -20
  195. package/dist/cosmos/tx/v1beta1/service.lcd.js +1 -3
  196. package/dist/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -10
  197. package/dist/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  198. package/dist/cosmos/tx/v1beta1/tx.d.ts +76 -46
  199. package/dist/cosmos/tx/v1beta1/tx.js +28 -9
  200. package/dist/cosmos/upgrade/v1beta1/query.d.ts +0 -38
  201. package/dist/cosmos/upgrade/v1beta1/query.js +0 -8
  202. package/dist/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  203. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +0 -4
  204. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  205. package/dist/cosmos/upgrade/v1beta1/tx.d.ts +0 -32
  206. package/dist/cosmos/upgrade/v1beta1/tx.js +0 -8
  207. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +0 -4
  208. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  209. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -8
  210. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  211. package/dist/cosmos/vesting/v1beta1/tx.d.ts +0 -32
  212. package/dist/cosmos/vesting/v1beta1/tx.js +0 -8
  213. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -4
  214. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  215. package/dist/cosmos/vesting/v1beta1/vesting.d.ts +0 -8
  216. package/dist/cosmos/vesting/v1beta1/vesting.js +0 -2
  217. package/dist/cosmos_proto/bundle.d.ts +30 -30
  218. package/dist/cosmos_proto/bundle.js +2 -2
  219. package/dist/esm/bze/bundle.js +144 -93
  220. package/dist/esm/bze/burner/burned_coins.js +91 -0
  221. package/dist/esm/bze/burner/genesis.js +21 -5
  222. package/dist/esm/bze/burner/params.js +29 -4
  223. package/dist/esm/bze/dao/events.js +1837 -0
  224. package/dist/esm/bze/dao/genesis.js +432 -0
  225. package/dist/esm/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
  226. package/dist/esm/bze/dao/params.js +265 -0
  227. package/dist/esm/bze/dao/query.js +2363 -0
  228. package/dist/esm/bze/dao/query.lcd.js +121 -0
  229. package/dist/esm/bze/dao/query.rpc.func.js +162 -0
  230. package/dist/esm/bze/dao/store.js +1533 -0
  231. package/dist/esm/bze/dao/tx.js +2820 -0
  232. package/dist/esm/bze/dao/tx.registry.js +280 -0
  233. package/dist/esm/bze/dao/tx.rpc.func.js +156 -0
  234. package/dist/esm/bze/guardian/module/module.js +81 -0
  235. package/dist/esm/bze/guardian/v1/events.js +982 -0
  236. package/dist/esm/bze/guardian/v1/genesis.js +115 -0
  237. package/dist/esm/bze/guardian/v1/params.js +88 -0
  238. package/dist/esm/bze/guardian/v1/query.js +595 -0
  239. package/dist/esm/bze/guardian/v1/query.lcd.js +30 -0
  240. package/dist/esm/bze/guardian/v1/query.rpc.func.js +55 -0
  241. package/dist/esm/bze/guardian/v1/tx.js +1867 -0
  242. package/dist/esm/bze/guardian/v1/tx.registry.js +208 -0
  243. package/dist/esm/bze/guardian/v1/tx.rpc.func.js +115 -0
  244. package/dist/esm/bze/lcd.js +8 -5
  245. package/dist/esm/bze/rewards/events.js +108 -4
  246. package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
  247. package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
  248. package/dist/esm/bze/tokenfactory/events.js +206 -0
  249. package/dist/esm/bze/tokenfactory/genesis.js +15 -1
  250. package/dist/esm/bze/tokenfactory/query.js +162 -0
  251. package/dist/esm/bze/tokenfactory/query.lcd.js +12 -0
  252. package/dist/esm/bze/tokenfactory/query.rpc.func.js +14 -1
  253. package/dist/esm/bze/tokenfactory/tx.js +541 -0
  254. package/dist/esm/bze/tokenfactory/tx.registry.js +56 -2
  255. package/dist/esm/bze/tokenfactory/tx.rpc.func.js +31 -1
  256. package/dist/esm/bze/tradebin/events.js +508 -320
  257. package/dist/esm/bze/tradebin/genesis.js +4 -20
  258. package/dist/esm/bze/tradebin/query.js +169 -0
  259. package/dist/esm/bze/tradebin/query.lcd.js +13 -0
  260. package/dist/esm/bze/tradebin/query.rpc.func.js +15 -1
  261. package/dist/esm/bze/tradebin/store.js +119 -178
  262. package/dist/esm/bze/tradebin/tx.js +285 -0
  263. package/dist/esm/bze/tradebin/tx.registry.js +20 -2
  264. package/dist/esm/bze/tradebin/tx.rpc.func.js +10 -1
  265. package/dist/esm/bze/tradebin/v2/params.js +61 -36
  266. package/dist/esm/bze/txfeecollector/events.js +221 -0
  267. package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +34 -4
  268. package/dist/esm/cosmos/auth/module/v1/module.js +16 -4
  269. package/dist/esm/cosmos/auth/v1beta1/auth.js +0 -2
  270. package/dist/esm/cosmos/auth/v1beta1/query.js +0 -28
  271. package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
  272. package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  273. package/dist/esm/cosmos/auth/v1beta1/tx.js +0 -4
  274. package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  275. package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
  276. package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  277. package/dist/esm/cosmos/bank/v1beta1/authz.js +0 -2
  278. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -20
  279. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +29 -30
  280. package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  281. package/dist/esm/cosmos/bank/v1beta1/tx.js +0 -8
  282. package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  283. package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  284. package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  285. package/dist/esm/cosmos/bundle.js +366 -415
  286. package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  287. package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  288. package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  289. package/dist/esm/cosmos/distribution/v1beta1/tx.js +0 -12
  290. package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  291. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -4
  292. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  293. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  294. package/dist/esm/cosmos/feegrant/v1beta1/tx.js +0 -4
  295. package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  296. package/dist/esm/cosmos/gov/v1/gov.js +0 -2
  297. package/dist/esm/cosmos/gov/v1/tx.js +0 -8
  298. package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +0 -4
  299. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -2
  300. package/dist/esm/cosmos/gov/v1beta1/tx.js +0 -4
  301. package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  302. package/dist/esm/cosmos/lcd.js +0 -5
  303. package/dist/esm/cosmos/mint/v1beta1/tx.js +0 -4
  304. package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  305. package/dist/esm/cosmos/params/v1beta1/query.js +0 -6
  306. package/dist/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
  307. package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  308. package/dist/esm/cosmos/staking/v1beta1/authz.js +1 -7
  309. package/dist/esm/cosmos/staking/v1beta1/tx.js +0 -8
  310. package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  311. package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +0 -10
  312. package/dist/esm/cosmos/store/v1beta1/listening.js +0 -2
  313. package/dist/esm/cosmos/tx/v1beta1/service.js +0 -20
  314. package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
  315. package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  316. package/dist/esm/cosmos/tx/v1beta1/tx.js +29 -10
  317. package/dist/esm/cosmos/upgrade/v1beta1/query.js +0 -8
  318. package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  319. package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  320. package/dist/esm/cosmos/upgrade/v1beta1/tx.js +0 -8
  321. package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  322. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  323. package/dist/esm/cosmos/vesting/v1beta1/tx.js +0 -8
  324. package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  325. package/dist/esm/cosmos/vesting/v1beta1/vesting.js +0 -2
  326. package/dist/esm/cosmos_proto/bundle.js +2 -2
  327. package/dist/esm/gogoproto/bundle.js +2 -2
  328. package/dist/esm/google/bundle.js +8 -8
  329. package/dist/esm/ibc/applications/transfer/v1/tx.js +4 -16
  330. package/dist/esm/ibc/bundle.js +93 -121
  331. package/dist/esm/ibc/core/client/v1/tx.js +187 -0
  332. package/dist/esm/ibc/core/client/v1/tx.registry.js +20 -2
  333. package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +10 -1
  334. package/dist/esm/ibc/lcd.js +0 -10
  335. package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +93 -0
  336. package/dist/esm/index.js +1 -0
  337. package/dist/esm/ratelimit/bundle.js +35 -0
  338. package/dist/esm/ratelimit/lcd.js +106 -0
  339. package/dist/esm/ratelimit/module/v1/module.js +81 -0
  340. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.js +49 -27
  341. package/dist/esm/ratelimit/v1/params.js +68 -0
  342. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +105 -195
  343. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  344. package/dist/esm/ratelimit/v1/query.rpc.func.js +83 -0
  345. package/dist/esm/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  346. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  347. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  348. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  349. package/dist/esm/tendermint/bundle.js +20 -20
  350. package/dist/gogoproto/bundle.js +2 -2
  351. package/dist/google/bundle.d.ts +550 -550
  352. package/dist/google/bundle.js +8 -8
  353. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -19
  354. package/dist/ibc/applications/transfer/v1/tx.js +4 -16
  355. package/dist/ibc/bundle.d.ts +506 -1065
  356. package/dist/ibc/bundle.js +93 -121
  357. package/dist/ibc/core/client/v1/tx.d.ts +155 -0
  358. package/dist/ibc/core/client/v1/tx.js +188 -1
  359. package/dist/ibc/core/client/v1/tx.registry.d.ts +13 -1
  360. package/dist/ibc/core/client/v1/tx.registry.js +19 -1
  361. package/dist/ibc/core/client/v1/tx.rpc.func.d.ts +8 -1
  362. package/dist/ibc/core/client/v1/tx.rpc.func.js +10 -1
  363. package/dist/ibc/lcd.d.ts +0 -6
  364. package/dist/ibc/lcd.js +0 -10
  365. package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +75 -0
  366. package/dist/ibc/lightclients/wasm/v1/wasm.js +94 -1
  367. package/dist/index.d.ts +1 -0
  368. package/dist/index.js +1 -0
  369. package/dist/ratelimit/bundle.d.ts +625 -0
  370. package/dist/ratelimit/bundle.js +71 -0
  371. package/dist/ratelimit/lcd.d.ts +63 -0
  372. package/dist/ratelimit/lcd.js +143 -0
  373. package/dist/ratelimit/module/v1/module.d.ts +64 -0
  374. package/dist/ratelimit/module/v1/module.js +84 -0
  375. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.d.ts +19 -14
  376. package/dist/ratelimit/v1/genesis.js +182 -0
  377. package/dist/ratelimit/v1/params.d.ts +55 -0
  378. package/dist/ratelimit/v1/params.js +71 -0
  379. package/dist/ratelimit/v1/query.d.ts +656 -0
  380. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +142 -232
  381. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.d.ts +3 -3
  382. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  383. package/dist/ratelimit/v1/query.rpc.func.d.ts +45 -0
  384. package/dist/ratelimit/v1/query.rpc.func.js +86 -0
  385. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.d.ts → ratelimit/v1/ratelimit.d.ts} +62 -82
  386. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  387. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.d.ts +97 -121
  388. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  389. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.d.ts +1 -1
  390. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  391. package/dist/ratelimit/v1/tx.rpc.func.d.ts +29 -0
  392. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  393. package/dist/tendermint/bundle.d.ts +1120 -1120
  394. package/dist/tendermint/bundle.js +20 -20
  395. package/package.json +10 -5
  396. package/dist/cosmos/group/module/v1/module.d.ts +0 -80
  397. package/dist/cosmos/group/module/v1/module.js +0 -104
  398. package/dist/cosmos/group/v1/events.d.ts +0 -771
  399. package/dist/cosmos/group/v1/events.js +0 -1031
  400. package/dist/cosmos/group/v1/genesis.d.ts +0 -136
  401. package/dist/cosmos/group/v1/genesis.js +0 -201
  402. package/dist/cosmos/group/v1/query.d.ts +0 -2001
  403. package/dist/cosmos/group/v1/query.js +0 -2787
  404. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  405. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  406. package/dist/cosmos/group/v1/query.rpc.func.d.ts +0 -105
  407. package/dist/cosmos/group/v1/query.rpc.func.js +0 -194
  408. package/dist/cosmos/group/v1/tx.d.ts +0 -2124
  409. package/dist/cosmos/group/v1/tx.js +0 -2821
  410. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -179
  411. package/dist/cosmos/group/v1/tx.registry.js +0 -265
  412. package/dist/cosmos/group/v1/tx.rpc.func.d.ts +0 -99
  413. package/dist/cosmos/group/v1/tx.rpc.func.js +0 -132
  414. package/dist/cosmos/group/v1/types.d.ts +0 -1297
  415. package/dist/cosmos/group/v1/types.js +0 -1677
  416. package/dist/cosmos/orm/module/v1alpha1/module.d.ts +0 -65
  417. package/dist/cosmos/orm/query/v1alpha1/query.d.ts +0 -622
  418. package/dist/cosmos/orm/query/v1alpha1/query.js +0 -835
  419. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -15
  420. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -32
  421. package/dist/esm/cosmos/group/module/v1/module.js +0 -101
  422. package/dist/esm/cosmos/group/v1/events.js +0 -1028
  423. package/dist/esm/cosmos/group/v1/genesis.js +0 -198
  424. package/dist/esm/cosmos/group/v1/query.js +0 -2784
  425. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  426. package/dist/esm/cosmos/group/v1/query.rpc.func.js +0 -191
  427. package/dist/esm/cosmos/group/v1/tx.js +0 -2816
  428. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -262
  429. package/dist/esm/cosmos/group/v1/tx.rpc.func.js +0 -129
  430. package/dist/esm/cosmos/group/v1/types.js +0 -1668
  431. package/dist/esm/cosmos/orm/query/v1alpha1/query.js +0 -832
  432. package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -29
  433. package/dist/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -409
  434. package/dist/esm/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -83
  435. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -225
  436. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -412
  437. package/dist/ibc/applications/rate_limiting/v1/genesis.js +0 -160
  438. package/dist/ibc/applications/rate_limiting/v1/query.d.ts +0 -704
  439. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.d.ts +0 -45
  440. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -86
  441. package/dist/ibc/applications/rate_limiting/v1/tx.rpc.func.d.ts +0 -29
@@ -1,1297 +0,0 @@
1
- import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration";
2
- import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
3
- import { BinaryReader, BinaryWriter } from "../../../binary";
4
- /** VoteOption enumerates the valid vote options for a given proposal. */
5
- export declare enum VoteOption {
6
- /**
7
- * VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will
8
- * return an error.
9
- */
10
- VOTE_OPTION_UNSPECIFIED = 0,
11
- /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
12
- VOTE_OPTION_YES = 1,
13
- /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
14
- VOTE_OPTION_ABSTAIN = 2,
15
- /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
16
- VOTE_OPTION_NO = 3,
17
- /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
18
- VOTE_OPTION_NO_WITH_VETO = 4,
19
- UNRECOGNIZED = -1
20
- }
21
- export declare const VoteOptionSDKType: typeof VoteOption;
22
- export declare const VoteOptionAmino: typeof VoteOption;
23
- export declare function voteOptionFromJSON(object: any): VoteOption;
24
- export declare function voteOptionToJSON(object: VoteOption): string;
25
- /** ProposalStatus defines proposal statuses. */
26
- export declare enum ProposalStatus {
27
- /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
28
- PROPOSAL_STATUS_UNSPECIFIED = 0,
29
- /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */
30
- PROPOSAL_STATUS_SUBMITTED = 1,
31
- /**
32
- * PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome
33
- * passes the group policy's decision policy.
34
- */
35
- PROPOSAL_STATUS_ACCEPTED = 2,
36
- /**
37
- * PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome
38
- * is rejected by the group policy's decision policy.
39
- */
40
- PROPOSAL_STATUS_REJECTED = 3,
41
- /**
42
- * PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the
43
- * final tally.
44
- */
45
- PROPOSAL_STATUS_ABORTED = 4,
46
- /**
47
- * PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner.
48
- * When this happens the final status is Withdrawn.
49
- */
50
- PROPOSAL_STATUS_WITHDRAWN = 5,
51
- UNRECOGNIZED = -1
52
- }
53
- export declare const ProposalStatusSDKType: typeof ProposalStatus;
54
- export declare const ProposalStatusAmino: typeof ProposalStatus;
55
- export declare function proposalStatusFromJSON(object: any): ProposalStatus;
56
- export declare function proposalStatusToJSON(object: ProposalStatus): string;
57
- /** ProposalExecutorResult defines types of proposal executor results. */
58
- export declare enum ProposalExecutorResult {
59
- /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
60
- PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
61
- /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
62
- PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
63
- /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
64
- PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
65
- /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
66
- PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
67
- UNRECOGNIZED = -1
68
- }
69
- export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult;
70
- export declare const ProposalExecutorResultAmino: typeof ProposalExecutorResult;
71
- export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult;
72
- export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string;
73
- /**
74
- * Member represents a group member with an account address,
75
- * non-zero weight, metadata and added_at timestamp.
76
- * @name Member
77
- * @package cosmos.group.v1
78
- * @see proto type: cosmos.group.v1.Member
79
- */
80
- export interface Member {
81
- /**
82
- * address is the member's account address.
83
- */
84
- address: string;
85
- /**
86
- * weight is the member's voting weight that should be greater than 0.
87
- */
88
- weight: string;
89
- /**
90
- * metadata is any arbitrary metadata attached to the member.
91
- */
92
- metadata: string;
93
- /**
94
- * added_at is a timestamp specifying when a member was added.
95
- */
96
- addedAt: Date;
97
- }
98
- export interface MemberProtoMsg {
99
- typeUrl: "/cosmos.group.v1.Member";
100
- value: Uint8Array;
101
- }
102
- /**
103
- * Member represents a group member with an account address,
104
- * non-zero weight, metadata and added_at timestamp.
105
- * @name MemberAmino
106
- * @package cosmos.group.v1
107
- * @see proto type: cosmos.group.v1.Member
108
- */
109
- export interface MemberAmino {
110
- /**
111
- * address is the member's account address.
112
- */
113
- address?: string;
114
- /**
115
- * weight is the member's voting weight that should be greater than 0.
116
- */
117
- weight?: string;
118
- /**
119
- * metadata is any arbitrary metadata attached to the member.
120
- */
121
- metadata?: string;
122
- /**
123
- * added_at is a timestamp specifying when a member was added.
124
- */
125
- added_at: string;
126
- }
127
- export interface MemberAminoMsg {
128
- type: "cosmos-sdk/Member";
129
- value: MemberAmino;
130
- }
131
- /**
132
- * Member represents a group member with an account address,
133
- * non-zero weight, metadata and added_at timestamp.
134
- * @name MemberSDKType
135
- * @package cosmos.group.v1
136
- * @see proto type: cosmos.group.v1.Member
137
- */
138
- export interface MemberSDKType {
139
- address: string;
140
- weight: string;
141
- metadata: string;
142
- added_at: Date;
143
- }
144
- /**
145
- * MemberRequest represents a group member to be used in Msg server requests.
146
- * Contrary to `Member`, it doesn't have any `added_at` field
147
- * since this field cannot be set as part of requests.
148
- * @name MemberRequest
149
- * @package cosmos.group.v1
150
- * @see proto type: cosmos.group.v1.MemberRequest
151
- */
152
- export interface MemberRequest {
153
- /**
154
- * address is the member's account address.
155
- */
156
- address: string;
157
- /**
158
- * weight is the member's voting weight that should be greater than 0.
159
- */
160
- weight: string;
161
- /**
162
- * metadata is any arbitrary metadata attached to the member.
163
- */
164
- metadata: string;
165
- }
166
- export interface MemberRequestProtoMsg {
167
- typeUrl: "/cosmos.group.v1.MemberRequest";
168
- value: Uint8Array;
169
- }
170
- /**
171
- * MemberRequest represents a group member to be used in Msg server requests.
172
- * Contrary to `Member`, it doesn't have any `added_at` field
173
- * since this field cannot be set as part of requests.
174
- * @name MemberRequestAmino
175
- * @package cosmos.group.v1
176
- * @see proto type: cosmos.group.v1.MemberRequest
177
- */
178
- export interface MemberRequestAmino {
179
- /**
180
- * address is the member's account address.
181
- */
182
- address?: string;
183
- /**
184
- * weight is the member's voting weight that should be greater than 0.
185
- */
186
- weight?: string;
187
- /**
188
- * metadata is any arbitrary metadata attached to the member.
189
- */
190
- metadata?: string;
191
- }
192
- export interface MemberRequestAminoMsg {
193
- type: "cosmos-sdk/MemberRequest";
194
- value: MemberRequestAmino;
195
- }
196
- /**
197
- * MemberRequest represents a group member to be used in Msg server requests.
198
- * Contrary to `Member`, it doesn't have any `added_at` field
199
- * since this field cannot be set as part of requests.
200
- * @name MemberRequestSDKType
201
- * @package cosmos.group.v1
202
- * @see proto type: cosmos.group.v1.MemberRequest
203
- */
204
- export interface MemberRequestSDKType {
205
- address: string;
206
- weight: string;
207
- metadata: string;
208
- }
209
- /**
210
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
211
- * satisfies the two following conditions:
212
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
213
- * `threshold`.
214
- * 2. The voting and execution periods of the proposal respect the parameters
215
- * given by `windows`.
216
- * @name ThresholdDecisionPolicy
217
- * @package cosmos.group.v1
218
- * @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
219
- */
220
- export interface ThresholdDecisionPolicy {
221
- $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy";
222
- /**
223
- * threshold is the minimum weighted sum of `YES` votes that must be met or
224
- * exceeded for a proposal to succeed.
225
- */
226
- threshold: string;
227
- /**
228
- * windows defines the different windows for voting and execution.
229
- */
230
- windows?: DecisionPolicyWindows;
231
- }
232
- export interface ThresholdDecisionPolicyProtoMsg {
233
- typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy";
234
- value: Uint8Array;
235
- }
236
- /**
237
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
238
- * satisfies the two following conditions:
239
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
240
- * `threshold`.
241
- * 2. The voting and execution periods of the proposal respect the parameters
242
- * given by `windows`.
243
- * @name ThresholdDecisionPolicyAmino
244
- * @package cosmos.group.v1
245
- * @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
246
- */
247
- export interface ThresholdDecisionPolicyAmino {
248
- /**
249
- * threshold is the minimum weighted sum of `YES` votes that must be met or
250
- * exceeded for a proposal to succeed.
251
- */
252
- threshold?: string;
253
- /**
254
- * windows defines the different windows for voting and execution.
255
- */
256
- windows?: DecisionPolicyWindowsAmino;
257
- }
258
- export interface ThresholdDecisionPolicyAminoMsg {
259
- type: "cosmos-sdk/ThresholdDecisionPolicy";
260
- value: ThresholdDecisionPolicyAmino;
261
- }
262
- /**
263
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
264
- * satisfies the two following conditions:
265
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
266
- * `threshold`.
267
- * 2. The voting and execution periods of the proposal respect the parameters
268
- * given by `windows`.
269
- * @name ThresholdDecisionPolicySDKType
270
- * @package cosmos.group.v1
271
- * @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
272
- */
273
- export interface ThresholdDecisionPolicySDKType {
274
- $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy";
275
- threshold: string;
276
- windows?: DecisionPolicyWindowsSDKType;
277
- }
278
- /**
279
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
280
- * it satisfies the two following conditions:
281
- * 1. The percentage of all `YES` voters' weights out of the total group weight
282
- * is greater or equal than the given `percentage`.
283
- * 2. The voting and execution periods of the proposal respect the parameters
284
- * given by `windows`.
285
- * @name PercentageDecisionPolicy
286
- * @package cosmos.group.v1
287
- * @see proto type: cosmos.group.v1.PercentageDecisionPolicy
288
- */
289
- export interface PercentageDecisionPolicy {
290
- $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy";
291
- /**
292
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
293
- * meet for a proposal to succeed.
294
- */
295
- percentage: string;
296
- /**
297
- * windows defines the different windows for voting and execution.
298
- */
299
- windows?: DecisionPolicyWindows;
300
- }
301
- export interface PercentageDecisionPolicyProtoMsg {
302
- typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy";
303
- value: Uint8Array;
304
- }
305
- /**
306
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
307
- * it satisfies the two following conditions:
308
- * 1. The percentage of all `YES` voters' weights out of the total group weight
309
- * is greater or equal than the given `percentage`.
310
- * 2. The voting and execution periods of the proposal respect the parameters
311
- * given by `windows`.
312
- * @name PercentageDecisionPolicyAmino
313
- * @package cosmos.group.v1
314
- * @see proto type: cosmos.group.v1.PercentageDecisionPolicy
315
- */
316
- export interface PercentageDecisionPolicyAmino {
317
- /**
318
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
319
- * meet for a proposal to succeed.
320
- */
321
- percentage?: string;
322
- /**
323
- * windows defines the different windows for voting and execution.
324
- */
325
- windows?: DecisionPolicyWindowsAmino;
326
- }
327
- export interface PercentageDecisionPolicyAminoMsg {
328
- type: "cosmos-sdk/PercentageDecisionPolicy";
329
- value: PercentageDecisionPolicyAmino;
330
- }
331
- /**
332
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
333
- * it satisfies the two following conditions:
334
- * 1. The percentage of all `YES` voters' weights out of the total group weight
335
- * is greater or equal than the given `percentage`.
336
- * 2. The voting and execution periods of the proposal respect the parameters
337
- * given by `windows`.
338
- * @name PercentageDecisionPolicySDKType
339
- * @package cosmos.group.v1
340
- * @see proto type: cosmos.group.v1.PercentageDecisionPolicy
341
- */
342
- export interface PercentageDecisionPolicySDKType {
343
- $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy";
344
- percentage: string;
345
- windows?: DecisionPolicyWindowsSDKType;
346
- }
347
- /**
348
- * DecisionPolicyWindows defines the different windows for voting and execution.
349
- * @name DecisionPolicyWindows
350
- * @package cosmos.group.v1
351
- * @see proto type: cosmos.group.v1.DecisionPolicyWindows
352
- */
353
- export interface DecisionPolicyWindows {
354
- /**
355
- * voting_period is the duration from submission of a proposal to the end of voting period
356
- * Within this times votes can be submitted with MsgVote.
357
- */
358
- votingPeriod: Duration;
359
- /**
360
- * min_execution_period is the minimum duration after the proposal submission
361
- * where members can start sending MsgExec. This means that the window for
362
- * sending a MsgExec transaction is:
363
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
364
- * where max_execution_period is a app-specific config, defined in the keeper.
365
- * If not set, min_execution_period will default to 0.
366
- *
367
- * Please make sure to set a `min_execution_period` that is smaller than
368
- * `voting_period + max_execution_period`, or else the above execution window
369
- * is empty, meaning that all proposals created with this decision policy
370
- * won't be able to be executed.
371
- */
372
- minExecutionPeriod: Duration;
373
- }
374
- export interface DecisionPolicyWindowsProtoMsg {
375
- typeUrl: "/cosmos.group.v1.DecisionPolicyWindows";
376
- value: Uint8Array;
377
- }
378
- /**
379
- * DecisionPolicyWindows defines the different windows for voting and execution.
380
- * @name DecisionPolicyWindowsAmino
381
- * @package cosmos.group.v1
382
- * @see proto type: cosmos.group.v1.DecisionPolicyWindows
383
- */
384
- export interface DecisionPolicyWindowsAmino {
385
- /**
386
- * voting_period is the duration from submission of a proposal to the end of voting period
387
- * Within this times votes can be submitted with MsgVote.
388
- */
389
- voting_period: DurationAmino;
390
- /**
391
- * min_execution_period is the minimum duration after the proposal submission
392
- * where members can start sending MsgExec. This means that the window for
393
- * sending a MsgExec transaction is:
394
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
395
- * where max_execution_period is a app-specific config, defined in the keeper.
396
- * If not set, min_execution_period will default to 0.
397
- *
398
- * Please make sure to set a `min_execution_period` that is smaller than
399
- * `voting_period + max_execution_period`, or else the above execution window
400
- * is empty, meaning that all proposals created with this decision policy
401
- * won't be able to be executed.
402
- */
403
- min_execution_period: DurationAmino;
404
- }
405
- export interface DecisionPolicyWindowsAminoMsg {
406
- type: "cosmos-sdk/DecisionPolicyWindows";
407
- value: DecisionPolicyWindowsAmino;
408
- }
409
- /**
410
- * DecisionPolicyWindows defines the different windows for voting and execution.
411
- * @name DecisionPolicyWindowsSDKType
412
- * @package cosmos.group.v1
413
- * @see proto type: cosmos.group.v1.DecisionPolicyWindows
414
- */
415
- export interface DecisionPolicyWindowsSDKType {
416
- voting_period: DurationSDKType;
417
- min_execution_period: DurationSDKType;
418
- }
419
- /**
420
- * GroupInfo represents the high-level on-chain information for a group.
421
- * @name GroupInfo
422
- * @package cosmos.group.v1
423
- * @see proto type: cosmos.group.v1.GroupInfo
424
- */
425
- export interface GroupInfo {
426
- /**
427
- * id is the unique ID of the group.
428
- */
429
- id: bigint;
430
- /**
431
- * admin is the account address of the group's admin.
432
- */
433
- admin: string;
434
- /**
435
- * metadata is any arbitrary metadata to attached to the group.
436
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
437
- */
438
- metadata: string;
439
- /**
440
- * version is used to track changes to a group's membership structure that
441
- * would break existing proposals. Whenever any members weight is changed,
442
- * or any member is added or removed this version is incremented and will
443
- * cause proposals based on older versions of this group to fail
444
- */
445
- version: bigint;
446
- /**
447
- * total_weight is the sum of the group members' weights.
448
- */
449
- totalWeight: string;
450
- /**
451
- * created_at is a timestamp specifying when a group was created.
452
- */
453
- createdAt: Date;
454
- }
455
- export interface GroupInfoProtoMsg {
456
- typeUrl: "/cosmos.group.v1.GroupInfo";
457
- value: Uint8Array;
458
- }
459
- /**
460
- * GroupInfo represents the high-level on-chain information for a group.
461
- * @name GroupInfoAmino
462
- * @package cosmos.group.v1
463
- * @see proto type: cosmos.group.v1.GroupInfo
464
- */
465
- export interface GroupInfoAmino {
466
- /**
467
- * id is the unique ID of the group.
468
- */
469
- id?: string;
470
- /**
471
- * admin is the account address of the group's admin.
472
- */
473
- admin?: string;
474
- /**
475
- * metadata is any arbitrary metadata to attached to the group.
476
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
477
- */
478
- metadata?: string;
479
- /**
480
- * version is used to track changes to a group's membership structure that
481
- * would break existing proposals. Whenever any members weight is changed,
482
- * or any member is added or removed this version is incremented and will
483
- * cause proposals based on older versions of this group to fail
484
- */
485
- version?: string;
486
- /**
487
- * total_weight is the sum of the group members' weights.
488
- */
489
- total_weight?: string;
490
- /**
491
- * created_at is a timestamp specifying when a group was created.
492
- */
493
- created_at: string;
494
- }
495
- export interface GroupInfoAminoMsg {
496
- type: "cosmos-sdk/GroupInfo";
497
- value: GroupInfoAmino;
498
- }
499
- /**
500
- * GroupInfo represents the high-level on-chain information for a group.
501
- * @name GroupInfoSDKType
502
- * @package cosmos.group.v1
503
- * @see proto type: cosmos.group.v1.GroupInfo
504
- */
505
- export interface GroupInfoSDKType {
506
- id: bigint;
507
- admin: string;
508
- metadata: string;
509
- version: bigint;
510
- total_weight: string;
511
- created_at: Date;
512
- }
513
- /**
514
- * GroupMember represents the relationship between a group and a member.
515
- * @name GroupMember
516
- * @package cosmos.group.v1
517
- * @see proto type: cosmos.group.v1.GroupMember
518
- */
519
- export interface GroupMember {
520
- /**
521
- * group_id is the unique ID of the group.
522
- */
523
- groupId: bigint;
524
- /**
525
- * member is the member data.
526
- */
527
- member?: Member;
528
- }
529
- export interface GroupMemberProtoMsg {
530
- typeUrl: "/cosmos.group.v1.GroupMember";
531
- value: Uint8Array;
532
- }
533
- /**
534
- * GroupMember represents the relationship between a group and a member.
535
- * @name GroupMemberAmino
536
- * @package cosmos.group.v1
537
- * @see proto type: cosmos.group.v1.GroupMember
538
- */
539
- export interface GroupMemberAmino {
540
- /**
541
- * group_id is the unique ID of the group.
542
- */
543
- group_id?: string;
544
- /**
545
- * member is the member data.
546
- */
547
- member?: MemberAmino;
548
- }
549
- export interface GroupMemberAminoMsg {
550
- type: "cosmos-sdk/GroupMember";
551
- value: GroupMemberAmino;
552
- }
553
- /**
554
- * GroupMember represents the relationship between a group and a member.
555
- * @name GroupMemberSDKType
556
- * @package cosmos.group.v1
557
- * @see proto type: cosmos.group.v1.GroupMember
558
- */
559
- export interface GroupMemberSDKType {
560
- group_id: bigint;
561
- member?: MemberSDKType;
562
- }
563
- /**
564
- * GroupPolicyInfo represents the high-level on-chain information for a group policy.
565
- * @name GroupPolicyInfo
566
- * @package cosmos.group.v1
567
- * @see proto type: cosmos.group.v1.GroupPolicyInfo
568
- */
569
- export interface GroupPolicyInfo {
570
- /**
571
- * address is the account address of group policy.
572
- */
573
- address: string;
574
- /**
575
- * group_id is the unique ID of the group.
576
- */
577
- groupId: bigint;
578
- /**
579
- * admin is the account address of the group admin.
580
- */
581
- admin: string;
582
- /**
583
- * metadata is any arbitrary metadata attached to the group policy.
584
- * the recommended format of the metadata is to be found here:
585
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
586
- */
587
- metadata: string;
588
- /**
589
- * version is used to track changes to a group's GroupPolicyInfo structure that
590
- * would create a different result on a running proposal.
591
- */
592
- version: bigint;
593
- /**
594
- * decision_policy specifies the group policy's decision policy.
595
- */
596
- decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
597
- /**
598
- * created_at is a timestamp specifying when a group policy was created.
599
- */
600
- createdAt: Date;
601
- }
602
- export interface GroupPolicyInfoProtoMsg {
603
- typeUrl: "/cosmos.group.v1.GroupPolicyInfo";
604
- value: Uint8Array;
605
- }
606
- export type GroupPolicyInfoEncoded = Omit<GroupPolicyInfo, "decisionPolicy"> & {
607
- /**
608
- * decision_policy specifies the group policy's decision policy.
609
- */
610
- decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
611
- };
612
- /**
613
- * GroupPolicyInfo represents the high-level on-chain information for a group policy.
614
- * @name GroupPolicyInfoAmino
615
- * @package cosmos.group.v1
616
- * @see proto type: cosmos.group.v1.GroupPolicyInfo
617
- */
618
- export interface GroupPolicyInfoAmino {
619
- /**
620
- * address is the account address of group policy.
621
- */
622
- address?: string;
623
- /**
624
- * group_id is the unique ID of the group.
625
- */
626
- group_id?: string;
627
- /**
628
- * admin is the account address of the group admin.
629
- */
630
- admin?: string;
631
- /**
632
- * metadata is any arbitrary metadata attached to the group policy.
633
- * the recommended format of the metadata is to be found here:
634
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
635
- */
636
- metadata?: string;
637
- /**
638
- * version is used to track changes to a group's GroupPolicyInfo structure that
639
- * would create a different result on a running proposal.
640
- */
641
- version?: string;
642
- /**
643
- * decision_policy specifies the group policy's decision policy.
644
- */
645
- decision_policy?: AnyAmino;
646
- /**
647
- * created_at is a timestamp specifying when a group policy was created.
648
- */
649
- created_at: string;
650
- }
651
- export interface GroupPolicyInfoAminoMsg {
652
- type: "cosmos-sdk/GroupPolicyInfo";
653
- value: GroupPolicyInfoAmino;
654
- }
655
- /**
656
- * GroupPolicyInfo represents the high-level on-chain information for a group policy.
657
- * @name GroupPolicyInfoSDKType
658
- * @package cosmos.group.v1
659
- * @see proto type: cosmos.group.v1.GroupPolicyInfo
660
- */
661
- export interface GroupPolicyInfoSDKType {
662
- address: string;
663
- group_id: bigint;
664
- admin: string;
665
- metadata: string;
666
- version: bigint;
667
- decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined;
668
- created_at: Date;
669
- }
670
- /**
671
- * Proposal defines a group proposal. Any member of a group can submit a proposal
672
- * for a group policy to decide upon.
673
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
674
- * passes as well as some optional metadata associated with the proposal.
675
- * @name Proposal
676
- * @package cosmos.group.v1
677
- * @see proto type: cosmos.group.v1.Proposal
678
- */
679
- export interface Proposal {
680
- /**
681
- * id is the unique id of the proposal.
682
- */
683
- id: bigint;
684
- /**
685
- * group_policy_address is the account address of group policy.
686
- */
687
- groupPolicyAddress: string;
688
- /**
689
- * metadata is any arbitrary metadata attached to the proposal.
690
- * the recommended format of the metadata is to be found here:
691
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
692
- */
693
- metadata: string;
694
- /**
695
- * proposers are the account addresses of the proposers.
696
- */
697
- proposers: string[];
698
- /**
699
- * submit_time is a timestamp specifying when a proposal was submitted.
700
- */
701
- submitTime: Date;
702
- /**
703
- * group_version tracks the version of the group at proposal submission.
704
- * This field is here for informational purposes only.
705
- */
706
- groupVersion: bigint;
707
- /**
708
- * group_policy_version tracks the version of the group policy at proposal submission.
709
- * When a decision policy is changed, existing proposals from previous policy
710
- * versions will become invalid with the `ABORTED` status.
711
- * This field is here for informational purposes only.
712
- */
713
- groupPolicyVersion: bigint;
714
- /**
715
- * status represents the high level position in the life cycle of the proposal. Initial value is Submitted.
716
- */
717
- status: ProposalStatus;
718
- /**
719
- * final_tally_result contains the sums of all weighted votes for this
720
- * proposal for each vote option. It is empty at submission, and only
721
- * populated after tallying, at voting period end or at proposal execution,
722
- * whichever happens first.
723
- */
724
- finalTallyResult: TallyResult;
725
- /**
726
- * voting_period_end is the timestamp before which voting must be done.
727
- * Unless a successful MsgExec is called before (to execute a proposal whose
728
- * tally is successful before the voting period ends), tallying will be done
729
- * at this point, and the `final_tally_result`and `status` fields will be
730
- * accordingly updated.
731
- */
732
- votingPeriodEnd: Date;
733
- /**
734
- * executor_result is the final result of the proposal execution. Initial value is NotRun.
735
- */
736
- executorResult: ProposalExecutorResult;
737
- /**
738
- * messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
739
- */
740
- messages: Any[];
741
- /**
742
- * title is the title of the proposal
743
- *
744
- * Since: cosmos-sdk 0.47
745
- */
746
- title: string;
747
- /**
748
- * summary is a short summary of the proposal
749
- *
750
- * Since: cosmos-sdk 0.47
751
- */
752
- summary: string;
753
- }
754
- export interface ProposalProtoMsg {
755
- typeUrl: "/cosmos.group.v1.Proposal";
756
- value: Uint8Array;
757
- }
758
- /**
759
- * Proposal defines a group proposal. Any member of a group can submit a proposal
760
- * for a group policy to decide upon.
761
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
762
- * passes as well as some optional metadata associated with the proposal.
763
- * @name ProposalAmino
764
- * @package cosmos.group.v1
765
- * @see proto type: cosmos.group.v1.Proposal
766
- */
767
- export interface ProposalAmino {
768
- /**
769
- * id is the unique id of the proposal.
770
- */
771
- id?: string;
772
- /**
773
- * group_policy_address is the account address of group policy.
774
- */
775
- group_policy_address?: string;
776
- /**
777
- * metadata is any arbitrary metadata attached to the proposal.
778
- * the recommended format of the metadata is to be found here:
779
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
780
- */
781
- metadata?: string;
782
- /**
783
- * proposers are the account addresses of the proposers.
784
- */
785
- proposers?: string[];
786
- /**
787
- * submit_time is a timestamp specifying when a proposal was submitted.
788
- */
789
- submit_time: string;
790
- /**
791
- * group_version tracks the version of the group at proposal submission.
792
- * This field is here for informational purposes only.
793
- */
794
- group_version?: string;
795
- /**
796
- * group_policy_version tracks the version of the group policy at proposal submission.
797
- * When a decision policy is changed, existing proposals from previous policy
798
- * versions will become invalid with the `ABORTED` status.
799
- * This field is here for informational purposes only.
800
- */
801
- group_policy_version?: string;
802
- /**
803
- * status represents the high level position in the life cycle of the proposal. Initial value is Submitted.
804
- */
805
- status?: ProposalStatus;
806
- /**
807
- * final_tally_result contains the sums of all weighted votes for this
808
- * proposal for each vote option. It is empty at submission, and only
809
- * populated after tallying, at voting period end or at proposal execution,
810
- * whichever happens first.
811
- */
812
- final_tally_result: TallyResultAmino;
813
- /**
814
- * voting_period_end is the timestamp before which voting must be done.
815
- * Unless a successful MsgExec is called before (to execute a proposal whose
816
- * tally is successful before the voting period ends), tallying will be done
817
- * at this point, and the `final_tally_result`and `status` fields will be
818
- * accordingly updated.
819
- */
820
- voting_period_end: string;
821
- /**
822
- * executor_result is the final result of the proposal execution. Initial value is NotRun.
823
- */
824
- executor_result?: ProposalExecutorResult;
825
- /**
826
- * messages is a list of `sdk.Msg`s that will be executed if the proposal passes.
827
- */
828
- messages?: AnyAmino[];
829
- /**
830
- * title is the title of the proposal
831
- *
832
- * Since: cosmos-sdk 0.47
833
- */
834
- title?: string;
835
- /**
836
- * summary is a short summary of the proposal
837
- *
838
- * Since: cosmos-sdk 0.47
839
- */
840
- summary?: string;
841
- }
842
- export interface ProposalAminoMsg {
843
- type: "cosmos-sdk/Proposal";
844
- value: ProposalAmino;
845
- }
846
- /**
847
- * Proposal defines a group proposal. Any member of a group can submit a proposal
848
- * for a group policy to decide upon.
849
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
850
- * passes as well as some optional metadata associated with the proposal.
851
- * @name ProposalSDKType
852
- * @package cosmos.group.v1
853
- * @see proto type: cosmos.group.v1.Proposal
854
- */
855
- export interface ProposalSDKType {
856
- id: bigint;
857
- group_policy_address: string;
858
- metadata: string;
859
- proposers: string[];
860
- submit_time: Date;
861
- group_version: bigint;
862
- group_policy_version: bigint;
863
- status: ProposalStatus;
864
- final_tally_result: TallyResultSDKType;
865
- voting_period_end: Date;
866
- executor_result: ProposalExecutorResult;
867
- messages: AnySDKType[];
868
- title: string;
869
- summary: string;
870
- }
871
- /**
872
- * TallyResult represents the sum of weighted votes for each vote option.
873
- * @name TallyResult
874
- * @package cosmos.group.v1
875
- * @see proto type: cosmos.group.v1.TallyResult
876
- */
877
- export interface TallyResult {
878
- /**
879
- * yes_count is the weighted sum of yes votes.
880
- */
881
- yesCount: string;
882
- /**
883
- * abstain_count is the weighted sum of abstainers.
884
- */
885
- abstainCount: string;
886
- /**
887
- * no_count is the weighted sum of no votes.
888
- */
889
- noCount: string;
890
- /**
891
- * no_with_veto_count is the weighted sum of veto.
892
- */
893
- noWithVetoCount: string;
894
- }
895
- export interface TallyResultProtoMsg {
896
- typeUrl: "/cosmos.group.v1.TallyResult";
897
- value: Uint8Array;
898
- }
899
- /**
900
- * TallyResult represents the sum of weighted votes for each vote option.
901
- * @name TallyResultAmino
902
- * @package cosmos.group.v1
903
- * @see proto type: cosmos.group.v1.TallyResult
904
- */
905
- export interface TallyResultAmino {
906
- /**
907
- * yes_count is the weighted sum of yes votes.
908
- */
909
- yes_count?: string;
910
- /**
911
- * abstain_count is the weighted sum of abstainers.
912
- */
913
- abstain_count?: string;
914
- /**
915
- * no_count is the weighted sum of no votes.
916
- */
917
- no_count?: string;
918
- /**
919
- * no_with_veto_count is the weighted sum of veto.
920
- */
921
- no_with_veto_count?: string;
922
- }
923
- export interface TallyResultAminoMsg {
924
- type: "cosmos-sdk/TallyResult";
925
- value: TallyResultAmino;
926
- }
927
- /**
928
- * TallyResult represents the sum of weighted votes for each vote option.
929
- * @name TallyResultSDKType
930
- * @package cosmos.group.v1
931
- * @see proto type: cosmos.group.v1.TallyResult
932
- */
933
- export interface TallyResultSDKType {
934
- yes_count: string;
935
- abstain_count: string;
936
- no_count: string;
937
- no_with_veto_count: string;
938
- }
939
- /**
940
- * Vote represents a vote for a proposal.string metadata
941
- * @name Vote
942
- * @package cosmos.group.v1
943
- * @see proto type: cosmos.group.v1.Vote
944
- */
945
- export interface Vote {
946
- /**
947
- * proposal is the unique ID of the proposal.
948
- */
949
- proposalId: bigint;
950
- /**
951
- * voter is the account address of the voter.
952
- */
953
- voter: string;
954
- /**
955
- * option is the voter's choice on the proposal.
956
- */
957
- option: VoteOption;
958
- /**
959
- * metadata is any arbitrary metadata attached to the vote.
960
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
961
- */
962
- metadata: string;
963
- /**
964
- * submit_time is the timestamp when the vote was submitted.
965
- */
966
- submitTime: Date;
967
- }
968
- export interface VoteProtoMsg {
969
- typeUrl: "/cosmos.group.v1.Vote";
970
- value: Uint8Array;
971
- }
972
- /**
973
- * Vote represents a vote for a proposal.string metadata
974
- * @name VoteAmino
975
- * @package cosmos.group.v1
976
- * @see proto type: cosmos.group.v1.Vote
977
- */
978
- export interface VoteAmino {
979
- /**
980
- * proposal is the unique ID of the proposal.
981
- */
982
- proposal_id?: string;
983
- /**
984
- * voter is the account address of the voter.
985
- */
986
- voter?: string;
987
- /**
988
- * option is the voter's choice on the proposal.
989
- */
990
- option?: VoteOption;
991
- /**
992
- * metadata is any arbitrary metadata attached to the vote.
993
- * the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
994
- */
995
- metadata?: string;
996
- /**
997
- * submit_time is the timestamp when the vote was submitted.
998
- */
999
- submit_time: string;
1000
- }
1001
- export interface VoteAminoMsg {
1002
- type: "cosmos-sdk/Vote";
1003
- value: VoteAmino;
1004
- }
1005
- /**
1006
- * Vote represents a vote for a proposal.string metadata
1007
- * @name VoteSDKType
1008
- * @package cosmos.group.v1
1009
- * @see proto type: cosmos.group.v1.Vote
1010
- */
1011
- export interface VoteSDKType {
1012
- proposal_id: bigint;
1013
- voter: string;
1014
- option: VoteOption;
1015
- metadata: string;
1016
- submit_time: Date;
1017
- }
1018
- /**
1019
- * Member represents a group member with an account address,
1020
- * non-zero weight, metadata and added_at timestamp.
1021
- * @name Member
1022
- * @package cosmos.group.v1
1023
- * @see proto type: cosmos.group.v1.Member
1024
- */
1025
- export declare const Member: {
1026
- typeUrl: string;
1027
- aminoType: string;
1028
- is(o: any): o is Member;
1029
- isSDK(o: any): o is MemberSDKType;
1030
- isAmino(o: any): o is MemberAmino;
1031
- encode(message: Member, writer?: BinaryWriter): BinaryWriter;
1032
- decode(input: BinaryReader | Uint8Array, length?: number): Member;
1033
- fromPartial(object: Partial<Member>): Member;
1034
- fromAmino(object: MemberAmino): Member;
1035
- toAmino(message: Member): MemberAmino;
1036
- fromAminoMsg(object: MemberAminoMsg): Member;
1037
- toAminoMsg(message: Member): MemberAminoMsg;
1038
- fromProtoMsg(message: MemberProtoMsg): Member;
1039
- toProto(message: Member): Uint8Array;
1040
- toProtoMsg(message: Member): MemberProtoMsg;
1041
- registerTypeUrl(): void;
1042
- };
1043
- /**
1044
- * MemberRequest represents a group member to be used in Msg server requests.
1045
- * Contrary to `Member`, it doesn't have any `added_at` field
1046
- * since this field cannot be set as part of requests.
1047
- * @name MemberRequest
1048
- * @package cosmos.group.v1
1049
- * @see proto type: cosmos.group.v1.MemberRequest
1050
- */
1051
- export declare const MemberRequest: {
1052
- typeUrl: string;
1053
- aminoType: string;
1054
- is(o: any): o is MemberRequest;
1055
- isSDK(o: any): o is MemberRequestSDKType;
1056
- isAmino(o: any): o is MemberRequestAmino;
1057
- encode(message: MemberRequest, writer?: BinaryWriter): BinaryWriter;
1058
- decode(input: BinaryReader | Uint8Array, length?: number): MemberRequest;
1059
- fromPartial(object: Partial<MemberRequest>): MemberRequest;
1060
- fromAmino(object: MemberRequestAmino): MemberRequest;
1061
- toAmino(message: MemberRequest): MemberRequestAmino;
1062
- fromAminoMsg(object: MemberRequestAminoMsg): MemberRequest;
1063
- toAminoMsg(message: MemberRequest): MemberRequestAminoMsg;
1064
- fromProtoMsg(message: MemberRequestProtoMsg): MemberRequest;
1065
- toProto(message: MemberRequest): Uint8Array;
1066
- toProtoMsg(message: MemberRequest): MemberRequestProtoMsg;
1067
- registerTypeUrl(): void;
1068
- };
1069
- /**
1070
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
1071
- * satisfies the two following conditions:
1072
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
1073
- * `threshold`.
1074
- * 2. The voting and execution periods of the proposal respect the parameters
1075
- * given by `windows`.
1076
- * @name ThresholdDecisionPolicy
1077
- * @package cosmos.group.v1
1078
- * @see proto type: cosmos.group.v1.ThresholdDecisionPolicy
1079
- */
1080
- export declare const ThresholdDecisionPolicy: {
1081
- typeUrl: string;
1082
- aminoType: string;
1083
- is(o: any): o is ThresholdDecisionPolicy;
1084
- isSDK(o: any): o is ThresholdDecisionPolicySDKType;
1085
- isAmino(o: any): o is ThresholdDecisionPolicyAmino;
1086
- encode(message: ThresholdDecisionPolicy, writer?: BinaryWriter): BinaryWriter;
1087
- decode(input: BinaryReader | Uint8Array, length?: number): ThresholdDecisionPolicy;
1088
- fromPartial(object: Partial<ThresholdDecisionPolicy>): ThresholdDecisionPolicy;
1089
- fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy;
1090
- toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino;
1091
- fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy;
1092
- toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg;
1093
- fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy;
1094
- toProto(message: ThresholdDecisionPolicy): Uint8Array;
1095
- toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg;
1096
- registerTypeUrl(): void;
1097
- };
1098
- /**
1099
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
1100
- * it satisfies the two following conditions:
1101
- * 1. The percentage of all `YES` voters' weights out of the total group weight
1102
- * is greater or equal than the given `percentage`.
1103
- * 2. The voting and execution periods of the proposal respect the parameters
1104
- * given by `windows`.
1105
- * @name PercentageDecisionPolicy
1106
- * @package cosmos.group.v1
1107
- * @see proto type: cosmos.group.v1.PercentageDecisionPolicy
1108
- */
1109
- export declare const PercentageDecisionPolicy: {
1110
- typeUrl: string;
1111
- aminoType: string;
1112
- is(o: any): o is PercentageDecisionPolicy;
1113
- isSDK(o: any): o is PercentageDecisionPolicySDKType;
1114
- isAmino(o: any): o is PercentageDecisionPolicyAmino;
1115
- encode(message: PercentageDecisionPolicy, writer?: BinaryWriter): BinaryWriter;
1116
- decode(input: BinaryReader | Uint8Array, length?: number): PercentageDecisionPolicy;
1117
- fromPartial(object: Partial<PercentageDecisionPolicy>): PercentageDecisionPolicy;
1118
- fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy;
1119
- toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino;
1120
- fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy;
1121
- toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg;
1122
- fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy;
1123
- toProto(message: PercentageDecisionPolicy): Uint8Array;
1124
- toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg;
1125
- registerTypeUrl(): void;
1126
- };
1127
- /**
1128
- * DecisionPolicyWindows defines the different windows for voting and execution.
1129
- * @name DecisionPolicyWindows
1130
- * @package cosmos.group.v1
1131
- * @see proto type: cosmos.group.v1.DecisionPolicyWindows
1132
- */
1133
- export declare const DecisionPolicyWindows: {
1134
- typeUrl: string;
1135
- aminoType: string;
1136
- is(o: any): o is DecisionPolicyWindows;
1137
- isSDK(o: any): o is DecisionPolicyWindowsSDKType;
1138
- isAmino(o: any): o is DecisionPolicyWindowsAmino;
1139
- encode(message: DecisionPolicyWindows, writer?: BinaryWriter): BinaryWriter;
1140
- decode(input: BinaryReader | Uint8Array, length?: number): DecisionPolicyWindows;
1141
- fromPartial(object: Partial<DecisionPolicyWindows>): DecisionPolicyWindows;
1142
- fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows;
1143
- toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino;
1144
- fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows;
1145
- toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg;
1146
- fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows;
1147
- toProto(message: DecisionPolicyWindows): Uint8Array;
1148
- toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg;
1149
- registerTypeUrl(): void;
1150
- };
1151
- /**
1152
- * GroupInfo represents the high-level on-chain information for a group.
1153
- * @name GroupInfo
1154
- * @package cosmos.group.v1
1155
- * @see proto type: cosmos.group.v1.GroupInfo
1156
- */
1157
- export declare const GroupInfo: {
1158
- typeUrl: string;
1159
- aminoType: string;
1160
- is(o: any): o is GroupInfo;
1161
- isSDK(o: any): o is GroupInfoSDKType;
1162
- isAmino(o: any): o is GroupInfoAmino;
1163
- encode(message: GroupInfo, writer?: BinaryWriter): BinaryWriter;
1164
- decode(input: BinaryReader | Uint8Array, length?: number): GroupInfo;
1165
- fromPartial(object: Partial<GroupInfo>): GroupInfo;
1166
- fromAmino(object: GroupInfoAmino): GroupInfo;
1167
- toAmino(message: GroupInfo): GroupInfoAmino;
1168
- fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo;
1169
- toAminoMsg(message: GroupInfo): GroupInfoAminoMsg;
1170
- fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo;
1171
- toProto(message: GroupInfo): Uint8Array;
1172
- toProtoMsg(message: GroupInfo): GroupInfoProtoMsg;
1173
- registerTypeUrl(): void;
1174
- };
1175
- /**
1176
- * GroupMember represents the relationship between a group and a member.
1177
- * @name GroupMember
1178
- * @package cosmos.group.v1
1179
- * @see proto type: cosmos.group.v1.GroupMember
1180
- */
1181
- export declare const GroupMember: {
1182
- typeUrl: string;
1183
- aminoType: string;
1184
- is(o: any): o is GroupMember;
1185
- isSDK(o: any): o is GroupMemberSDKType;
1186
- isAmino(o: any): o is GroupMemberAmino;
1187
- encode(message: GroupMember, writer?: BinaryWriter): BinaryWriter;
1188
- decode(input: BinaryReader | Uint8Array, length?: number): GroupMember;
1189
- fromPartial(object: Partial<GroupMember>): GroupMember;
1190
- fromAmino(object: GroupMemberAmino): GroupMember;
1191
- toAmino(message: GroupMember): GroupMemberAmino;
1192
- fromAminoMsg(object: GroupMemberAminoMsg): GroupMember;
1193
- toAminoMsg(message: GroupMember): GroupMemberAminoMsg;
1194
- fromProtoMsg(message: GroupMemberProtoMsg): GroupMember;
1195
- toProto(message: GroupMember): Uint8Array;
1196
- toProtoMsg(message: GroupMember): GroupMemberProtoMsg;
1197
- registerTypeUrl(): void;
1198
- };
1199
- /**
1200
- * GroupPolicyInfo represents the high-level on-chain information for a group policy.
1201
- * @name GroupPolicyInfo
1202
- * @package cosmos.group.v1
1203
- * @see proto type: cosmos.group.v1.GroupPolicyInfo
1204
- */
1205
- export declare const GroupPolicyInfo: {
1206
- typeUrl: string;
1207
- aminoType: string;
1208
- is(o: any): o is GroupPolicyInfo;
1209
- isSDK(o: any): o is GroupPolicyInfoSDKType;
1210
- isAmino(o: any): o is GroupPolicyInfoAmino;
1211
- encode(message: GroupPolicyInfo, writer?: BinaryWriter): BinaryWriter;
1212
- decode(input: BinaryReader | Uint8Array, length?: number): GroupPolicyInfo;
1213
- fromPartial(object: Partial<GroupPolicyInfo>): GroupPolicyInfo;
1214
- fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo;
1215
- toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino;
1216
- fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo;
1217
- toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg;
1218
- fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo;
1219
- toProto(message: GroupPolicyInfo): Uint8Array;
1220
- toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg;
1221
- registerTypeUrl(): void;
1222
- };
1223
- /**
1224
- * Proposal defines a group proposal. Any member of a group can submit a proposal
1225
- * for a group policy to decide upon.
1226
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
1227
- * passes as well as some optional metadata associated with the proposal.
1228
- * @name Proposal
1229
- * @package cosmos.group.v1
1230
- * @see proto type: cosmos.group.v1.Proposal
1231
- */
1232
- export declare const Proposal: {
1233
- typeUrl: string;
1234
- aminoType: string;
1235
- is(o: any): o is Proposal;
1236
- isSDK(o: any): o is ProposalSDKType;
1237
- isAmino(o: any): o is ProposalAmino;
1238
- encode(message: Proposal, writer?: BinaryWriter): BinaryWriter;
1239
- decode(input: BinaryReader | Uint8Array, length?: number): Proposal;
1240
- fromPartial(object: Partial<Proposal>): Proposal;
1241
- fromAmino(object: ProposalAmino): Proposal;
1242
- toAmino(message: Proposal): ProposalAmino;
1243
- fromAminoMsg(object: ProposalAminoMsg): Proposal;
1244
- toAminoMsg(message: Proposal): ProposalAminoMsg;
1245
- fromProtoMsg(message: ProposalProtoMsg): Proposal;
1246
- toProto(message: Proposal): Uint8Array;
1247
- toProtoMsg(message: Proposal): ProposalProtoMsg;
1248
- registerTypeUrl(): void;
1249
- };
1250
- /**
1251
- * TallyResult represents the sum of weighted votes for each vote option.
1252
- * @name TallyResult
1253
- * @package cosmos.group.v1
1254
- * @see proto type: cosmos.group.v1.TallyResult
1255
- */
1256
- export declare const TallyResult: {
1257
- typeUrl: string;
1258
- aminoType: string;
1259
- is(o: any): o is TallyResult;
1260
- isSDK(o: any): o is TallyResultSDKType;
1261
- isAmino(o: any): o is TallyResultAmino;
1262
- encode(message: TallyResult, writer?: BinaryWriter): BinaryWriter;
1263
- decode(input: BinaryReader | Uint8Array, length?: number): TallyResult;
1264
- fromPartial(object: Partial<TallyResult>): TallyResult;
1265
- fromAmino(object: TallyResultAmino): TallyResult;
1266
- toAmino(message: TallyResult): TallyResultAmino;
1267
- fromAminoMsg(object: TallyResultAminoMsg): TallyResult;
1268
- toAminoMsg(message: TallyResult): TallyResultAminoMsg;
1269
- fromProtoMsg(message: TallyResultProtoMsg): TallyResult;
1270
- toProto(message: TallyResult): Uint8Array;
1271
- toProtoMsg(message: TallyResult): TallyResultProtoMsg;
1272
- registerTypeUrl(): void;
1273
- };
1274
- /**
1275
- * Vote represents a vote for a proposal.string metadata
1276
- * @name Vote
1277
- * @package cosmos.group.v1
1278
- * @see proto type: cosmos.group.v1.Vote
1279
- */
1280
- export declare const Vote: {
1281
- typeUrl: string;
1282
- aminoType: string;
1283
- is(o: any): o is Vote;
1284
- isSDK(o: any): o is VoteSDKType;
1285
- isAmino(o: any): o is VoteAmino;
1286
- encode(message: Vote, writer?: BinaryWriter): BinaryWriter;
1287
- decode(input: BinaryReader | Uint8Array, length?: number): Vote;
1288
- fromPartial(object: Partial<Vote>): Vote;
1289
- fromAmino(object: VoteAmino): Vote;
1290
- toAmino(message: Vote): VoteAmino;
1291
- fromAminoMsg(object: VoteAminoMsg): Vote;
1292
- toAminoMsg(message: Vote): VoteAminoMsg;
1293
- fromProtoMsg(message: VoteProtoMsg): Vote;
1294
- toProto(message: Vote): Uint8Array;
1295
- toProtoMsg(message: Vote): VoteProtoMsg;
1296
- registerTypeUrl(): void;
1297
- };