@gitopia/gitopiajs 0.0.3 → 0.0.4

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 (309) hide show
  1. package/package.json +3 -3
  2. package/dist/LICENSE +0 -21
  3. package/dist/amino/amino.d.ts +0 -1
  4. package/dist/amino/amino.js +0 -2
  5. package/dist/amino/bundle.d.ts +0 -1
  6. package/dist/amino/bundle.js +0 -41
  7. package/dist/binary.d.ts +0 -130
  8. package/dist/binary.js +0 -371
  9. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
  10. package/dist/cosmos/bank/v1beta1/bank.js +0 -664
  11. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
  12. package/dist/cosmos/bank/v1beta1/query.js +0 -1759
  13. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
  14. package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
  15. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
  16. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
  17. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
  18. package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
  19. package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
  20. package/dist/cosmos/base/v1beta1/coin.js +0 -306
  21. package/dist/cosmos/bundle.d.ts +0 -2311
  22. package/dist/cosmos/bundle.js +0 -134
  23. package/dist/cosmos/client.d.ts +0 -84
  24. package/dist/cosmos/client.js +0 -65
  25. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
  26. package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
  27. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
  28. package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
  29. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
  30. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
  31. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
  32. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
  33. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
  34. package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
  35. package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
  36. package/dist/cosmos/gov/v1beta1/query.js +0 -1264
  37. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
  38. package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
  39. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
  40. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
  41. package/dist/cosmos/group/v1/query.d.ts +0 -1097
  42. package/dist/cosmos/group/v1/query.js +0 -2182
  43. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  44. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  45. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
  46. package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
  47. package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
  48. package/dist/cosmos/group/v1/tx.amino.js +0 -77
  49. package/dist/cosmos/group/v1/tx.d.ts +0 -1198
  50. package/dist/cosmos/group/v1/tx.js +0 -2362
  51. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
  52. package/dist/cosmos/group/v1/tx.registry.js +0 -271
  53. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
  54. package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
  55. package/dist/cosmos/group/v1/types.d.ts +0 -873
  56. package/dist/cosmos/group/v1/types.js +0 -1495
  57. package/dist/cosmos/msg/v1/msg.d.ts +0 -1
  58. package/dist/cosmos/msg/v1/msg.js +0 -2
  59. package/dist/cosmos/query/v1/query.d.ts +0 -1
  60. package/dist/cosmos/query/v1/query.js +0 -2
  61. package/dist/cosmos/rpc.query.d.ts +0 -59
  62. package/dist/cosmos/rpc.query.js +0 -60
  63. package/dist/cosmos/rpc.tx.d.ts +0 -10
  64. package/dist/cosmos/rpc.tx.js +0 -44
  65. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
  66. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
  67. package/dist/cosmos_proto/bundle.d.ts +0 -32
  68. package/dist/cosmos_proto/bundle.js +0 -41
  69. package/dist/cosmos_proto/cosmos.d.ts +0 -171
  70. package/dist/cosmos_proto/cosmos.js +0 -221
  71. package/dist/esm/amino/amino.js +0 -1
  72. package/dist/esm/amino/bundle.js +0 -5
  73. package/dist/esm/binary.js +0 -366
  74. package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
  75. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
  76. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
  77. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
  78. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
  79. package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
  80. package/dist/esm/cosmos/bundle.js +0 -98
  81. package/dist/esm/cosmos/client.js +0 -27
  82. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
  83. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
  84. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
  85. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
  86. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
  87. package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
  88. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
  89. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
  90. package/dist/esm/cosmos/group/v1/query.js +0 -2179
  91. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  92. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
  93. package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
  94. package/dist/esm/cosmos/group/v1/tx.js +0 -2354
  95. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
  96. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
  97. package/dist/esm/cosmos/group/v1/types.js +0 -1483
  98. package/dist/esm/cosmos/msg/v1/msg.js +0 -1
  99. package/dist/esm/cosmos/query/v1/query.js +0 -1
  100. package/dist/esm/cosmos/rpc.query.js +0 -23
  101. package/dist/esm/cosmos/rpc.tx.js +0 -7
  102. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
  103. package/dist/esm/cosmos_proto/bundle.js +0 -5
  104. package/dist/esm/cosmos_proto/cosmos.js +0 -216
  105. package/dist/esm/gitopia/bundle.js +0 -95
  106. package/dist/esm/gitopia/client.js +0 -32
  107. package/dist/esm/gitopia/custom-lcd-client.js +0 -50
  108. package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
  109. package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
  110. package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
  111. package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
  112. package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
  113. package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
  114. package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
  115. package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
  116. package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
  117. package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
  118. package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
  119. package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
  120. package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
  121. package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
  122. package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
  123. package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
  124. package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
  125. package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
  126. package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
  127. package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
  128. package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
  129. package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
  130. package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
  131. package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
  132. package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
  133. package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
  134. package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
  135. package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
  136. package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
  137. package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
  138. package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
  139. package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
  140. package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
  141. package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
  142. package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
  143. package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
  144. package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
  145. package/dist/esm/gitopia/rpc.query.js +0 -29
  146. package/dist/esm/gitopia/rpc.tx.js +0 -13
  147. package/dist/esm/gogoproto/bundle.js +0 -5
  148. package/dist/esm/gogoproto/gogo.js +0 -1
  149. package/dist/esm/google/api/annotations.js +0 -1
  150. package/dist/esm/google/api/http.js +0 -329
  151. package/dist/esm/google/bundle.js +0 -14
  152. package/dist/esm/google/protobuf/any.js +0 -74
  153. package/dist/esm/google/protobuf/descriptor.js +0 -4848
  154. package/dist/esm/google/protobuf/duration.js +0 -71
  155. package/dist/esm/google/protobuf/timestamp.js +0 -68
  156. package/dist/esm/helpers.js +0 -129
  157. package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
  158. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
  159. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
  160. package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
  161. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
  162. package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
  163. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
  164. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
  165. package/dist/esm/ibc/bundle.js +0 -44
  166. package/dist/esm/ibc/client.js +0 -29
  167. package/dist/esm/ibc/core/client/v1/client.js +0 -611
  168. package/dist/esm/ibc/rpc.query.js +0 -30
  169. package/dist/esm/ibc/rpc.tx.js +0 -14
  170. package/dist/esm/index.js +0 -19
  171. package/dist/esm/utf8.js +0 -137
  172. package/dist/esm/varint.js +0 -408
  173. package/dist/gitopia/bundle.d.ts +0 -6123
  174. package/dist/gitopia/bundle.js +0 -131
  175. package/dist/gitopia/client.d.ts +0 -492
  176. package/dist/gitopia/client.js +0 -70
  177. package/dist/gitopia/custom-lcd-client.d.ts +0 -31
  178. package/dist/gitopia/custom-lcd-client.js +0 -87
  179. package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
  180. package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
  181. package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
  182. package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
  183. package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
  184. package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
  185. package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
  186. package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
  187. package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
  188. package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
  189. package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
  190. package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
  191. package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
  192. package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
  193. package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
  194. package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
  195. package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
  196. package/dist/gitopia/gitopia/gitopia/params.js +0 -296
  197. package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
  198. package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
  199. package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
  200. package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
  201. package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
  202. package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
  203. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
  204. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
  205. package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
  206. package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
  207. package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
  208. package/dist/gitopia/gitopia/gitopia/release.js +0 -228
  209. package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
  210. package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
  211. package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
  212. package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
  213. package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
  214. package/dist/gitopia/gitopia/gitopia/task.js +0 -204
  215. package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
  216. package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
  217. package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
  218. package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
  219. package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
  220. package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
  221. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
  222. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
  223. package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
  224. package/dist/gitopia/gitopia/gitopia/user.js +0 -343
  225. package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
  226. package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
  227. package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
  228. package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
  229. package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
  230. package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
  231. package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
  232. package/dist/gitopia/gitopia/rewards/params.js +0 -84
  233. package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
  234. package/dist/gitopia/gitopia/rewards/pool.js +0 -196
  235. package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
  236. package/dist/gitopia/gitopia/rewards/query.js +0 -657
  237. package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
  238. package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
  239. package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
  240. package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
  241. package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
  242. package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
  243. package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
  244. package/dist/gitopia/gitopia/rewards/task.js +0 -181
  245. package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
  246. package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
  247. package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
  248. package/dist/gitopia/gitopia/rewards/tx.js +0 -528
  249. package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
  250. package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
  251. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
  252. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
  253. package/dist/gitopia/rpc.query.d.ts +0 -117
  254. package/dist/gitopia/rpc.query.js +0 -66
  255. package/dist/gitopia/rpc.tx.d.ts +0 -16
  256. package/dist/gitopia/rpc.tx.js +0 -50
  257. package/dist/gogoproto/bundle.d.ts +0 -1
  258. package/dist/gogoproto/bundle.js +0 -41
  259. package/dist/gogoproto/gogo.d.ts +0 -1
  260. package/dist/gogoproto/gogo.js +0 -2
  261. package/dist/google/api/annotations.d.ts +0 -1
  262. package/dist/google/api/annotations.js +0 -2
  263. package/dist/google/api/http.d.ts +0 -1049
  264. package/dist/google/api/http.js +0 -332
  265. package/dist/google/bundle.d.ts +0 -525
  266. package/dist/google/bundle.js +0 -50
  267. package/dist/google/protobuf/any.d.ts +0 -358
  268. package/dist/google/protobuf/any.js +0 -77
  269. package/dist/google/protobuf/descriptor.d.ts +0 -3178
  270. package/dist/google/protobuf/descriptor.js +0 -4886
  271. package/dist/google/protobuf/duration.d.ts +0 -223
  272. package/dist/google/protobuf/duration.js +0 -74
  273. package/dist/google/protobuf/timestamp.d.ts +0 -314
  274. package/dist/google/protobuf/timestamp.js +0 -71
  275. package/dist/helpers.d.ts +0 -82
  276. package/dist/helpers.js +0 -144
  277. package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
  278. package/dist/ibc/applications/transfer/v1/query.js +0 -850
  279. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
  280. package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
  281. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
  282. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
  283. package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
  284. package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
  285. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
  286. package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
  287. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
  288. package/dist/ibc/applications/transfer/v1/tx.js +0 -229
  289. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
  290. package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
  291. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
  292. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
  293. package/dist/ibc/bundle.d.ts +0 -450
  294. package/dist/ibc/bundle.js +0 -80
  295. package/dist/ibc/client.d.ts +0 -22
  296. package/dist/ibc/client.js +0 -67
  297. package/dist/ibc/core/client/v1/client.d.ts +0 -408
  298. package/dist/ibc/core/client/v1/client.js +0 -614
  299. package/dist/ibc/rpc.query.d.ts +0 -73
  300. package/dist/ibc/rpc.query.js +0 -67
  301. package/dist/ibc/rpc.tx.d.ts +0 -17
  302. package/dist/ibc/rpc.tx.js +0 -51
  303. package/dist/index.d.ts +0 -18
  304. package/dist/index.js +0 -35
  305. package/dist/package.json +0 -46
  306. package/dist/utf8.d.ts +0 -27
  307. package/dist/utf8.js +0 -141
  308. package/dist/varint.d.ts +0 -105
  309. package/dist/varint.js +0 -426
@@ -1,873 +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
- */
77
- export interface Member {
78
- /** address is the member's account address. */
79
- address: string;
80
- /** weight is the member's voting weight that should be greater than 0. */
81
- weight: string;
82
- /** metadata is any arbitrary metadata attached to the member. */
83
- metadata: string;
84
- /** added_at is a timestamp specifying when a member was added. */
85
- addedAt: Date;
86
- }
87
- export interface MemberProtoMsg {
88
- typeUrl: "/cosmos.group.v1.Member";
89
- value: Uint8Array;
90
- }
91
- /**
92
- * Member represents a group member with an account address,
93
- * non-zero weight, metadata and added_at timestamp.
94
- */
95
- export interface MemberAmino {
96
- /** address is the member's account address. */
97
- address?: string;
98
- /** weight is the member's voting weight that should be greater than 0. */
99
- weight?: string;
100
- /** metadata is any arbitrary metadata attached to the member. */
101
- metadata?: string;
102
- /** added_at is a timestamp specifying when a member was added. */
103
- added_at: string;
104
- }
105
- export interface MemberAminoMsg {
106
- type: "cosmos-sdk/Member";
107
- value: MemberAmino;
108
- }
109
- /**
110
- * Member represents a group member with an account address,
111
- * non-zero weight, metadata and added_at timestamp.
112
- */
113
- export interface MemberSDKType {
114
- address: string;
115
- weight: string;
116
- metadata: string;
117
- added_at: Date;
118
- }
119
- /**
120
- * MemberRequest represents a group member to be used in Msg server requests.
121
- * Contrary to `Member`, it doesn't have any `added_at` field
122
- * since this field cannot be set as part of requests.
123
- */
124
- export interface MemberRequest {
125
- /** address is the member's account address. */
126
- address: string;
127
- /** weight is the member's voting weight that should be greater than 0. */
128
- weight: string;
129
- /** metadata is any arbitrary metadata attached to the member. */
130
- metadata: string;
131
- }
132
- export interface MemberRequestProtoMsg {
133
- typeUrl: "/cosmos.group.v1.MemberRequest";
134
- value: Uint8Array;
135
- }
136
- /**
137
- * MemberRequest represents a group member to be used in Msg server requests.
138
- * Contrary to `Member`, it doesn't have any `added_at` field
139
- * since this field cannot be set as part of requests.
140
- */
141
- export interface MemberRequestAmino {
142
- /** address is the member's account address. */
143
- address?: string;
144
- /** weight is the member's voting weight that should be greater than 0. */
145
- weight?: string;
146
- /** metadata is any arbitrary metadata attached to the member. */
147
- metadata?: string;
148
- }
149
- export interface MemberRequestAminoMsg {
150
- type: "cosmos-sdk/MemberRequest";
151
- value: MemberRequestAmino;
152
- }
153
- /**
154
- * MemberRequest represents a group member to be used in Msg server requests.
155
- * Contrary to `Member`, it doesn't have any `added_at` field
156
- * since this field cannot be set as part of requests.
157
- */
158
- export interface MemberRequestSDKType {
159
- address: string;
160
- weight: string;
161
- metadata: string;
162
- }
163
- /**
164
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
165
- * satisfies the two following conditions:
166
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
167
- * `threshold`.
168
- * 2. The voting and execution periods of the proposal respect the parameters
169
- * given by `windows`.
170
- */
171
- export interface ThresholdDecisionPolicy {
172
- $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy";
173
- /**
174
- * threshold is the minimum weighted sum of `YES` votes that must be met or
175
- * exceeded for a proposal to succeed.
176
- */
177
- threshold: string;
178
- /** windows defines the different windows for voting and execution. */
179
- windows?: DecisionPolicyWindows;
180
- }
181
- export interface ThresholdDecisionPolicyProtoMsg {
182
- typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy";
183
- value: Uint8Array;
184
- }
185
- /**
186
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
187
- * satisfies the two following conditions:
188
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
189
- * `threshold`.
190
- * 2. The voting and execution periods of the proposal respect the parameters
191
- * given by `windows`.
192
- */
193
- export interface ThresholdDecisionPolicyAmino {
194
- /**
195
- * threshold is the minimum weighted sum of `YES` votes that must be met or
196
- * exceeded for a proposal to succeed.
197
- */
198
- threshold?: string;
199
- /** windows defines the different windows for voting and execution. */
200
- windows?: DecisionPolicyWindowsAmino;
201
- }
202
- export interface ThresholdDecisionPolicyAminoMsg {
203
- type: "cosmos-sdk/ThresholdDecisionPolicy";
204
- value: ThresholdDecisionPolicyAmino;
205
- }
206
- /**
207
- * ThresholdDecisionPolicy is a decision policy where a proposal passes when it
208
- * satisfies the two following conditions:
209
- * 1. The sum of all `YES` voter's weights is greater or equal than the defined
210
- * `threshold`.
211
- * 2. The voting and execution periods of the proposal respect the parameters
212
- * given by `windows`.
213
- */
214
- export interface ThresholdDecisionPolicySDKType {
215
- $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy";
216
- threshold: string;
217
- windows?: DecisionPolicyWindowsSDKType;
218
- }
219
- /**
220
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
221
- * it satisfies the two following conditions:
222
- * 1. The percentage of all `YES` voters' weights out of the total group weight
223
- * is greater or equal than the given `percentage`.
224
- * 2. The voting and execution periods of the proposal respect the parameters
225
- * given by `windows`.
226
- */
227
- export interface PercentageDecisionPolicy {
228
- $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy";
229
- /**
230
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
231
- * meet for a proposal to succeed.
232
- */
233
- percentage: string;
234
- /** windows defines the different windows for voting and execution. */
235
- windows?: DecisionPolicyWindows;
236
- }
237
- export interface PercentageDecisionPolicyProtoMsg {
238
- typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy";
239
- value: Uint8Array;
240
- }
241
- /**
242
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
243
- * it satisfies the two following conditions:
244
- * 1. The percentage of all `YES` voters' weights out of the total group weight
245
- * is greater or equal than the given `percentage`.
246
- * 2. The voting and execution periods of the proposal respect the parameters
247
- * given by `windows`.
248
- */
249
- export interface PercentageDecisionPolicyAmino {
250
- /**
251
- * percentage is the minimum percentage of the weighted sum of `YES` votes must
252
- * meet for a proposal to succeed.
253
- */
254
- percentage?: string;
255
- /** windows defines the different windows for voting and execution. */
256
- windows?: DecisionPolicyWindowsAmino;
257
- }
258
- export interface PercentageDecisionPolicyAminoMsg {
259
- type: "cosmos-sdk/PercentageDecisionPolicy";
260
- value: PercentageDecisionPolicyAmino;
261
- }
262
- /**
263
- * PercentageDecisionPolicy is a decision policy where a proposal passes when
264
- * it satisfies the two following conditions:
265
- * 1. The percentage of all `YES` voters' weights out of the total group weight
266
- * is greater or equal than the given `percentage`.
267
- * 2. The voting and execution periods of the proposal respect the parameters
268
- * given by `windows`.
269
- */
270
- export interface PercentageDecisionPolicySDKType {
271
- $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy";
272
- percentage: string;
273
- windows?: DecisionPolicyWindowsSDKType;
274
- }
275
- /** DecisionPolicyWindows defines the different windows for voting and execution. */
276
- export interface DecisionPolicyWindows {
277
- /**
278
- * voting_period is the duration from submission of a proposal to the end of voting period
279
- * Within this times votes can be submitted with MsgVote.
280
- */
281
- votingPeriod: Duration;
282
- /**
283
- * min_execution_period is the minimum duration after the proposal submission
284
- * where members can start sending MsgExec. This means that the window for
285
- * sending a MsgExec transaction is:
286
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
287
- * where max_execution_period is a app-specific config, defined in the keeper.
288
- * If not set, min_execution_period will default to 0.
289
- *
290
- * Please make sure to set a `min_execution_period` that is smaller than
291
- * `voting_period + max_execution_period`, or else the above execution window
292
- * is empty, meaning that all proposals created with this decision policy
293
- * won't be able to be executed.
294
- */
295
- minExecutionPeriod: Duration;
296
- }
297
- export interface DecisionPolicyWindowsProtoMsg {
298
- typeUrl: "/cosmos.group.v1.DecisionPolicyWindows";
299
- value: Uint8Array;
300
- }
301
- /** DecisionPolicyWindows defines the different windows for voting and execution. */
302
- export interface DecisionPolicyWindowsAmino {
303
- /**
304
- * voting_period is the duration from submission of a proposal to the end of voting period
305
- * Within this times votes can be submitted with MsgVote.
306
- */
307
- voting_period: DurationAmino;
308
- /**
309
- * min_execution_period is the minimum duration after the proposal submission
310
- * where members can start sending MsgExec. This means that the window for
311
- * sending a MsgExec transaction is:
312
- * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
313
- * where max_execution_period is a app-specific config, defined in the keeper.
314
- * If not set, min_execution_period will default to 0.
315
- *
316
- * Please make sure to set a `min_execution_period` that is smaller than
317
- * `voting_period + max_execution_period`, or else the above execution window
318
- * is empty, meaning that all proposals created with this decision policy
319
- * won't be able to be executed.
320
- */
321
- min_execution_period: DurationAmino;
322
- }
323
- export interface DecisionPolicyWindowsAminoMsg {
324
- type: "cosmos-sdk/DecisionPolicyWindows";
325
- value: DecisionPolicyWindowsAmino;
326
- }
327
- /** DecisionPolicyWindows defines the different windows for voting and execution. */
328
- export interface DecisionPolicyWindowsSDKType {
329
- voting_period: DurationSDKType;
330
- min_execution_period: DurationSDKType;
331
- }
332
- /** GroupInfo represents the high-level on-chain information for a group. */
333
- export interface GroupInfo {
334
- /** id is the unique ID of the group. */
335
- id: bigint;
336
- /** admin is the account address of the group's admin. */
337
- admin: string;
338
- /** metadata is any arbitrary metadata to attached to the group. */
339
- metadata: string;
340
- /**
341
- * version is used to track changes to a group's membership structure that
342
- * would break existing proposals. Whenever any members weight is changed,
343
- * or any member is added or removed this version is incremented and will
344
- * cause proposals based on older versions of this group to fail
345
- */
346
- version: bigint;
347
- /** total_weight is the sum of the group members' weights. */
348
- totalWeight: string;
349
- /** created_at is a timestamp specifying when a group was created. */
350
- createdAt: Date;
351
- }
352
- export interface GroupInfoProtoMsg {
353
- typeUrl: "/cosmos.group.v1.GroupInfo";
354
- value: Uint8Array;
355
- }
356
- /** GroupInfo represents the high-level on-chain information for a group. */
357
- export interface GroupInfoAmino {
358
- /** id is the unique ID of the group. */
359
- id?: string;
360
- /** admin is the account address of the group's admin. */
361
- admin?: string;
362
- /** metadata is any arbitrary metadata to attached to the group. */
363
- metadata?: string;
364
- /**
365
- * version is used to track changes to a group's membership structure that
366
- * would break existing proposals. Whenever any members weight is changed,
367
- * or any member is added or removed this version is incremented and will
368
- * cause proposals based on older versions of this group to fail
369
- */
370
- version?: string;
371
- /** total_weight is the sum of the group members' weights. */
372
- total_weight?: string;
373
- /** created_at is a timestamp specifying when a group was created. */
374
- created_at: string;
375
- }
376
- export interface GroupInfoAminoMsg {
377
- type: "cosmos-sdk/GroupInfo";
378
- value: GroupInfoAmino;
379
- }
380
- /** GroupInfo represents the high-level on-chain information for a group. */
381
- export interface GroupInfoSDKType {
382
- id: bigint;
383
- admin: string;
384
- metadata: string;
385
- version: bigint;
386
- total_weight: string;
387
- created_at: Date;
388
- }
389
- /** GroupMember represents the relationship between a group and a member. */
390
- export interface GroupMember {
391
- /** group_id is the unique ID of the group. */
392
- groupId: bigint;
393
- /** member is the member data. */
394
- member?: Member;
395
- }
396
- export interface GroupMemberProtoMsg {
397
- typeUrl: "/cosmos.group.v1.GroupMember";
398
- value: Uint8Array;
399
- }
400
- /** GroupMember represents the relationship between a group and a member. */
401
- export interface GroupMemberAmino {
402
- /** group_id is the unique ID of the group. */
403
- group_id?: string;
404
- /** member is the member data. */
405
- member?: MemberAmino;
406
- }
407
- export interface GroupMemberAminoMsg {
408
- type: "cosmos-sdk/GroupMember";
409
- value: GroupMemberAmino;
410
- }
411
- /** GroupMember represents the relationship between a group and a member. */
412
- export interface GroupMemberSDKType {
413
- group_id: bigint;
414
- member?: MemberSDKType;
415
- }
416
- /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
417
- export interface GroupPolicyInfo {
418
- /** address is the account address of group policy. */
419
- address: string;
420
- /** group_id is the unique ID of the group. */
421
- groupId: bigint;
422
- /** admin is the account address of the group admin. */
423
- admin: string;
424
- /**
425
- * metadata is any arbitrary metadata attached to the group policy.
426
- * the recommended format of the metadata is to be found here:
427
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
428
- */
429
- metadata: string;
430
- /**
431
- * version is used to track changes to a group's GroupPolicyInfo structure that
432
- * would create a different result on a running proposal.
433
- */
434
- version: bigint;
435
- /** decision_policy specifies the group policy's decision policy. */
436
- decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined;
437
- /** created_at is a timestamp specifying when a group policy was created. */
438
- createdAt: Date;
439
- }
440
- export interface GroupPolicyInfoProtoMsg {
441
- typeUrl: "/cosmos.group.v1.GroupPolicyInfo";
442
- value: Uint8Array;
443
- }
444
- export type GroupPolicyInfoEncoded = Omit<GroupPolicyInfo, "decisionPolicy"> & {
445
- /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined;
446
- };
447
- /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
448
- export interface GroupPolicyInfoAmino {
449
- /** address is the account address of group policy. */
450
- address?: string;
451
- /** group_id is the unique ID of the group. */
452
- group_id?: string;
453
- /** admin is the account address of the group admin. */
454
- admin?: string;
455
- /**
456
- * metadata is any arbitrary metadata attached to the group policy.
457
- * the recommended format of the metadata is to be found here:
458
- * https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
459
- */
460
- metadata?: string;
461
- /**
462
- * version is used to track changes to a group's GroupPolicyInfo structure that
463
- * would create a different result on a running proposal.
464
- */
465
- version?: string;
466
- /** decision_policy specifies the group policy's decision policy. */
467
- decision_policy?: AnyAmino;
468
- /** created_at is a timestamp specifying when a group policy was created. */
469
- created_at: string;
470
- }
471
- export interface GroupPolicyInfoAminoMsg {
472
- type: "cosmos-sdk/GroupPolicyInfo";
473
- value: GroupPolicyInfoAmino;
474
- }
475
- /** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
476
- export interface GroupPolicyInfoSDKType {
477
- address: string;
478
- group_id: bigint;
479
- admin: string;
480
- metadata: string;
481
- version: bigint;
482
- decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined;
483
- created_at: Date;
484
- }
485
- /**
486
- * Proposal defines a group proposal. Any member of a group can submit a proposal
487
- * for a group policy to decide upon.
488
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
489
- * passes as well as some optional metadata associated with the proposal.
490
- */
491
- export interface Proposal {
492
- /** id is the unique id of the proposal. */
493
- id: bigint;
494
- /** group_policy_address is the account address of group policy. */
495
- groupPolicyAddress: string;
496
- /**
497
- * metadata is any arbitrary metadata attached to the proposal.
498
- * the recommended format of the metadata is to be found here:
499
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
500
- */
501
- metadata: string;
502
- /** proposers are the account addresses of the proposers. */
503
- proposers: string[];
504
- /** submit_time is a timestamp specifying when a proposal was submitted. */
505
- submitTime: Date;
506
- /**
507
- * group_version tracks the version of the group at proposal submission.
508
- * This field is here for informational purposes only.
509
- */
510
- groupVersion: bigint;
511
- /**
512
- * group_policy_version tracks the version of the group policy at proposal submission.
513
- * When a decision policy is changed, existing proposals from previous policy
514
- * versions will become invalid with the `ABORTED` status.
515
- * This field is here for informational purposes only.
516
- */
517
- groupPolicyVersion: bigint;
518
- /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
519
- status: ProposalStatus;
520
- /**
521
- * final_tally_result contains the sums of all weighted votes for this
522
- * proposal for each vote option. It is empty at submission, and only
523
- * populated after tallying, at voting period end or at proposal execution,
524
- * whichever happens first.
525
- */
526
- finalTallyResult: TallyResult;
527
- /**
528
- * voting_period_end is the timestamp before which voting must be done.
529
- * Unless a successful MsgExec is called before (to execute a proposal whose
530
- * tally is successful before the voting period ends), tallying will be done
531
- * at this point, and the `final_tally_result`and `status` fields will be
532
- * accordingly updated.
533
- */
534
- votingPeriodEnd: Date;
535
- /** executor_result is the final result of the proposal execution. Initial value is NotRun. */
536
- executorResult: ProposalExecutorResult;
537
- /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
538
- messages: Any[];
539
- /**
540
- * title is the title of the proposal
541
- *
542
- * Since: cosmos-sdk 0.47
543
- */
544
- title: string;
545
- /**
546
- * summary is a short summary of the proposal
547
- *
548
- * Since: cosmos-sdk 0.47
549
- */
550
- summary: string;
551
- }
552
- export interface ProposalProtoMsg {
553
- typeUrl: "/cosmos.group.v1.Proposal";
554
- value: Uint8Array;
555
- }
556
- /**
557
- * Proposal defines a group proposal. Any member of a group can submit a proposal
558
- * for a group policy to decide upon.
559
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
560
- * passes as well as some optional metadata associated with the proposal.
561
- */
562
- export interface ProposalAmino {
563
- /** id is the unique id of the proposal. */
564
- id?: string;
565
- /** group_policy_address is the account address of group policy. */
566
- group_policy_address?: string;
567
- /**
568
- * metadata is any arbitrary metadata attached to the proposal.
569
- * the recommended format of the metadata is to be found here:
570
- * https://docs.cosmos.network/v0.47/modules/group#proposal-4
571
- */
572
- metadata?: string;
573
- /** proposers are the account addresses of the proposers. */
574
- proposers?: string[];
575
- /** submit_time is a timestamp specifying when a proposal was submitted. */
576
- submit_time: string;
577
- /**
578
- * group_version tracks the version of the group at proposal submission.
579
- * This field is here for informational purposes only.
580
- */
581
- group_version?: string;
582
- /**
583
- * group_policy_version tracks the version of the group policy at proposal submission.
584
- * When a decision policy is changed, existing proposals from previous policy
585
- * versions will become invalid with the `ABORTED` status.
586
- * This field is here for informational purposes only.
587
- */
588
- group_policy_version?: string;
589
- /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
590
- status?: ProposalStatus;
591
- /**
592
- * final_tally_result contains the sums of all weighted votes for this
593
- * proposal for each vote option. It is empty at submission, and only
594
- * populated after tallying, at voting period end or at proposal execution,
595
- * whichever happens first.
596
- */
597
- final_tally_result: TallyResultAmino;
598
- /**
599
- * voting_period_end is the timestamp before which voting must be done.
600
- * Unless a successful MsgExec is called before (to execute a proposal whose
601
- * tally is successful before the voting period ends), tallying will be done
602
- * at this point, and the `final_tally_result`and `status` fields will be
603
- * accordingly updated.
604
- */
605
- voting_period_end: string;
606
- /** executor_result is the final result of the proposal execution. Initial value is NotRun. */
607
- executor_result?: ProposalExecutorResult;
608
- /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
609
- messages?: AnyAmino[];
610
- /**
611
- * title is the title of the proposal
612
- *
613
- * Since: cosmos-sdk 0.47
614
- */
615
- title?: string;
616
- /**
617
- * summary is a short summary of the proposal
618
- *
619
- * Since: cosmos-sdk 0.47
620
- */
621
- summary?: string;
622
- }
623
- export interface ProposalAminoMsg {
624
- type: "cosmos-sdk/Proposal";
625
- value: ProposalAmino;
626
- }
627
- /**
628
- * Proposal defines a group proposal. Any member of a group can submit a proposal
629
- * for a group policy to decide upon.
630
- * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
631
- * passes as well as some optional metadata associated with the proposal.
632
- */
633
- export interface ProposalSDKType {
634
- id: bigint;
635
- group_policy_address: string;
636
- metadata: string;
637
- proposers: string[];
638
- submit_time: Date;
639
- group_version: bigint;
640
- group_policy_version: bigint;
641
- status: ProposalStatus;
642
- final_tally_result: TallyResultSDKType;
643
- voting_period_end: Date;
644
- executor_result: ProposalExecutorResult;
645
- messages: AnySDKType[];
646
- title: string;
647
- summary: string;
648
- }
649
- /** TallyResult represents the sum of weighted votes for each vote option. */
650
- export interface TallyResult {
651
- /** yes_count is the weighted sum of yes votes. */
652
- yesCount: string;
653
- /** abstain_count is the weighted sum of abstainers. */
654
- abstainCount: string;
655
- /** no_count is the weighted sum of no votes. */
656
- noCount: string;
657
- /** no_with_veto_count is the weighted sum of veto. */
658
- noWithVetoCount: string;
659
- }
660
- export interface TallyResultProtoMsg {
661
- typeUrl: "/cosmos.group.v1.TallyResult";
662
- value: Uint8Array;
663
- }
664
- /** TallyResult represents the sum of weighted votes for each vote option. */
665
- export interface TallyResultAmino {
666
- /** yes_count is the weighted sum of yes votes. */
667
- yes_count?: string;
668
- /** abstain_count is the weighted sum of abstainers. */
669
- abstain_count?: string;
670
- /** no_count is the weighted sum of no votes. */
671
- no_count?: string;
672
- /** no_with_veto_count is the weighted sum of veto. */
673
- no_with_veto_count?: string;
674
- }
675
- export interface TallyResultAminoMsg {
676
- type: "cosmos-sdk/TallyResult";
677
- value: TallyResultAmino;
678
- }
679
- /** TallyResult represents the sum of weighted votes for each vote option. */
680
- export interface TallyResultSDKType {
681
- yes_count: string;
682
- abstain_count: string;
683
- no_count: string;
684
- no_with_veto_count: string;
685
- }
686
- /** Vote represents a vote for a proposal. */
687
- export interface Vote {
688
- /** proposal is the unique ID of the proposal. */
689
- proposalId: bigint;
690
- /** voter is the account address of the voter. */
691
- voter: string;
692
- /** option is the voter's choice on the proposal. */
693
- option: VoteOption;
694
- /** metadata is any arbitrary metadata attached to the vote. */
695
- metadata: string;
696
- /** submit_time is the timestamp when the vote was submitted. */
697
- submitTime: Date;
698
- }
699
- export interface VoteProtoMsg {
700
- typeUrl: "/cosmos.group.v1.Vote";
701
- value: Uint8Array;
702
- }
703
- /** Vote represents a vote for a proposal. */
704
- export interface VoteAmino {
705
- /** proposal is the unique ID of the proposal. */
706
- proposal_id?: string;
707
- /** voter is the account address of the voter. */
708
- voter?: string;
709
- /** option is the voter's choice on the proposal. */
710
- option?: VoteOption;
711
- /** metadata is any arbitrary metadata attached to the vote. */
712
- metadata?: string;
713
- /** submit_time is the timestamp when the vote was submitted. */
714
- submit_time: string;
715
- }
716
- export interface VoteAminoMsg {
717
- type: "cosmos-sdk/Vote";
718
- value: VoteAmino;
719
- }
720
- /** Vote represents a vote for a proposal. */
721
- export interface VoteSDKType {
722
- proposal_id: bigint;
723
- voter: string;
724
- option: VoteOption;
725
- metadata: string;
726
- submit_time: Date;
727
- }
728
- export declare const Member: {
729
- typeUrl: string;
730
- encode(message: Member, writer?: BinaryWriter): BinaryWriter;
731
- decode(input: BinaryReader | Uint8Array, length?: number): Member;
732
- fromPartial(object: Partial<Member>): Member;
733
- fromAmino(object: MemberAmino): Member;
734
- toAmino(message: Member): MemberAmino;
735
- fromAminoMsg(object: MemberAminoMsg): Member;
736
- toAminoMsg(message: Member): MemberAminoMsg;
737
- fromProtoMsg(message: MemberProtoMsg): Member;
738
- toProto(message: Member): Uint8Array;
739
- toProtoMsg(message: Member): MemberProtoMsg;
740
- };
741
- export declare const MemberRequest: {
742
- typeUrl: string;
743
- encode(message: MemberRequest, writer?: BinaryWriter): BinaryWriter;
744
- decode(input: BinaryReader | Uint8Array, length?: number): MemberRequest;
745
- fromPartial(object: Partial<MemberRequest>): MemberRequest;
746
- fromAmino(object: MemberRequestAmino): MemberRequest;
747
- toAmino(message: MemberRequest): MemberRequestAmino;
748
- fromAminoMsg(object: MemberRequestAminoMsg): MemberRequest;
749
- toAminoMsg(message: MemberRequest): MemberRequestAminoMsg;
750
- fromProtoMsg(message: MemberRequestProtoMsg): MemberRequest;
751
- toProto(message: MemberRequest): Uint8Array;
752
- toProtoMsg(message: MemberRequest): MemberRequestProtoMsg;
753
- };
754
- export declare const ThresholdDecisionPolicy: {
755
- typeUrl: string;
756
- encode(message: ThresholdDecisionPolicy, writer?: BinaryWriter): BinaryWriter;
757
- decode(input: BinaryReader | Uint8Array, length?: number): ThresholdDecisionPolicy;
758
- fromPartial(object: Partial<ThresholdDecisionPolicy>): ThresholdDecisionPolicy;
759
- fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy;
760
- toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino;
761
- fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy;
762
- toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg;
763
- fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy;
764
- toProto(message: ThresholdDecisionPolicy): Uint8Array;
765
- toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg;
766
- };
767
- export declare const PercentageDecisionPolicy: {
768
- typeUrl: string;
769
- encode(message: PercentageDecisionPolicy, writer?: BinaryWriter): BinaryWriter;
770
- decode(input: BinaryReader | Uint8Array, length?: number): PercentageDecisionPolicy;
771
- fromPartial(object: Partial<PercentageDecisionPolicy>): PercentageDecisionPolicy;
772
- fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy;
773
- toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino;
774
- fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy;
775
- toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg;
776
- fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy;
777
- toProto(message: PercentageDecisionPolicy): Uint8Array;
778
- toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg;
779
- };
780
- export declare const DecisionPolicyWindows: {
781
- typeUrl: string;
782
- encode(message: DecisionPolicyWindows, writer?: BinaryWriter): BinaryWriter;
783
- decode(input: BinaryReader | Uint8Array, length?: number): DecisionPolicyWindows;
784
- fromPartial(object: Partial<DecisionPolicyWindows>): DecisionPolicyWindows;
785
- fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows;
786
- toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino;
787
- fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows;
788
- toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg;
789
- fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows;
790
- toProto(message: DecisionPolicyWindows): Uint8Array;
791
- toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg;
792
- };
793
- export declare const GroupInfo: {
794
- typeUrl: string;
795
- encode(message: GroupInfo, writer?: BinaryWriter): BinaryWriter;
796
- decode(input: BinaryReader | Uint8Array, length?: number): GroupInfo;
797
- fromPartial(object: Partial<GroupInfo>): GroupInfo;
798
- fromAmino(object: GroupInfoAmino): GroupInfo;
799
- toAmino(message: GroupInfo): GroupInfoAmino;
800
- fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo;
801
- toAminoMsg(message: GroupInfo): GroupInfoAminoMsg;
802
- fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo;
803
- toProto(message: GroupInfo): Uint8Array;
804
- toProtoMsg(message: GroupInfo): GroupInfoProtoMsg;
805
- };
806
- export declare const GroupMember: {
807
- typeUrl: string;
808
- encode(message: GroupMember, writer?: BinaryWriter): BinaryWriter;
809
- decode(input: BinaryReader | Uint8Array, length?: number): GroupMember;
810
- fromPartial(object: Partial<GroupMember>): GroupMember;
811
- fromAmino(object: GroupMemberAmino): GroupMember;
812
- toAmino(message: GroupMember): GroupMemberAmino;
813
- fromAminoMsg(object: GroupMemberAminoMsg): GroupMember;
814
- toAminoMsg(message: GroupMember): GroupMemberAminoMsg;
815
- fromProtoMsg(message: GroupMemberProtoMsg): GroupMember;
816
- toProto(message: GroupMember): Uint8Array;
817
- toProtoMsg(message: GroupMember): GroupMemberProtoMsg;
818
- };
819
- export declare const GroupPolicyInfo: {
820
- typeUrl: string;
821
- encode(message: GroupPolicyInfo, writer?: BinaryWriter): BinaryWriter;
822
- decode(input: BinaryReader | Uint8Array, length?: number): GroupPolicyInfo;
823
- fromPartial(object: Partial<GroupPolicyInfo>): GroupPolicyInfo;
824
- fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo;
825
- toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino;
826
- fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo;
827
- toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg;
828
- fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo;
829
- toProto(message: GroupPolicyInfo): Uint8Array;
830
- toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg;
831
- };
832
- export declare const Proposal: {
833
- typeUrl: string;
834
- encode(message: Proposal, writer?: BinaryWriter): BinaryWriter;
835
- decode(input: BinaryReader | Uint8Array, length?: number): Proposal;
836
- fromPartial(object: Partial<Proposal>): Proposal;
837
- fromAmino(object: ProposalAmino): Proposal;
838
- toAmino(message: Proposal): ProposalAmino;
839
- fromAminoMsg(object: ProposalAminoMsg): Proposal;
840
- toAminoMsg(message: Proposal): ProposalAminoMsg;
841
- fromProtoMsg(message: ProposalProtoMsg): Proposal;
842
- toProto(message: Proposal): Uint8Array;
843
- toProtoMsg(message: Proposal): ProposalProtoMsg;
844
- };
845
- export declare const TallyResult: {
846
- typeUrl: string;
847
- encode(message: TallyResult, writer?: BinaryWriter): BinaryWriter;
848
- decode(input: BinaryReader | Uint8Array, length?: number): TallyResult;
849
- fromPartial(object: Partial<TallyResult>): TallyResult;
850
- fromAmino(object: TallyResultAmino): TallyResult;
851
- toAmino(message: TallyResult): TallyResultAmino;
852
- fromAminoMsg(object: TallyResultAminoMsg): TallyResult;
853
- toAminoMsg(message: TallyResult): TallyResultAminoMsg;
854
- fromProtoMsg(message: TallyResultProtoMsg): TallyResult;
855
- toProto(message: TallyResult): Uint8Array;
856
- toProtoMsg(message: TallyResult): TallyResultProtoMsg;
857
- };
858
- export declare const Vote: {
859
- typeUrl: string;
860
- encode(message: Vote, writer?: BinaryWriter): BinaryWriter;
861
- decode(input: BinaryReader | Uint8Array, length?: number): Vote;
862
- fromPartial(object: Partial<Vote>): Vote;
863
- fromAmino(object: VoteAmino): Vote;
864
- toAmino(message: Vote): VoteAmino;
865
- fromAminoMsg(object: VoteAminoMsg): Vote;
866
- toAminoMsg(message: Vote): VoteAminoMsg;
867
- fromProtoMsg(message: VoteProtoMsg): Vote;
868
- toProto(message: Vote): Uint8Array;
869
- toProtoMsg(message: Vote): VoteProtoMsg;
870
- };
871
- export declare const Cosmos_groupv1DecisionPolicy_InterfaceDecoder: (input: BinaryReader | Uint8Array) => ThresholdDecisionPolicy | PercentageDecisionPolicy | Any;
872
- export declare const Cosmos_groupv1DecisionPolicy_FromAmino: (content: AnyAmino) => Any;
873
- export declare const Cosmos_groupv1DecisionPolicy_ToAmino: (content: Any) => AnyAmino;