@bze/bzejs 3.1.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 (474) hide show
  1. package/README.md +18 -1
  2. package/dist/bze/bundle.d.ts +6334 -2203
  3. package/dist/bze/bundle.js +148 -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 +610 -0
  55. package/dist/bze/rewards/events.js +979 -5
  56. package/dist/bze/rewards/genesis.d.ts +28 -1
  57. package/dist/bze/rewards/genesis.js +109 -4
  58. package/dist/bze/rewards/params.d.ts +27 -0
  59. package/dist/bze/rewards/params.js +88 -4
  60. package/dist/bze/rewards/query.d.ts +667 -1
  61. package/dist/bze/rewards/query.js +1086 -1
  62. package/dist/bze/rewards/query.lcd.d.ts +7 -1
  63. package/dist/bze/rewards/query.lcd.js +82 -0
  64. package/dist/bze/rewards/query.rpc.func.d.ts +48 -1
  65. package/dist/bze/rewards/query.rpc.func.js +84 -1
  66. package/dist/bze/rewards/store.d.ts +481 -0
  67. package/dist/bze/rewards/store.js +684 -1
  68. package/dist/bze/rewards/tx.d.ts +911 -0
  69. package/dist/bze/rewards/tx.js +1432 -1
  70. package/dist/bze/rewards/tx.registry.d.ts +97 -1
  71. package/dist/bze/rewards/tx.registry.js +145 -1
  72. package/dist/bze/rewards/tx.rpc.func.d.ts +49 -1
  73. package/dist/bze/rewards/tx.rpc.func.js +65 -1
  74. package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
  75. package/dist/bze/tokenfactory/denom_authority.js +16 -4
  76. package/dist/bze/tokenfactory/denom_branding.d.ts +206 -0
  77. package/dist/bze/tokenfactory/denom_branding.js +329 -0
  78. package/dist/bze/tokenfactory/denom_config.d.ts +92 -0
  79. package/dist/bze/tokenfactory/denom_config.js +111 -0
  80. package/dist/bze/tokenfactory/events.d.ts +175 -0
  81. package/dist/bze/tokenfactory/events.js +285 -1
  82. package/dist/bze/tokenfactory/genesis.d.ts +14 -0
  83. package/dist/bze/tokenfactory/genesis.js +36 -5
  84. package/dist/bze/tokenfactory/query.d.ts +324 -0
  85. package/dist/bze/tokenfactory/query.js +508 -1
  86. package/dist/bze/tokenfactory/query.lcd.d.ts +4 -1
  87. package/dist/bze/tokenfactory/query.lcd.js +40 -0
  88. package/dist/bze/tokenfactory/query.rpc.func.d.ts +22 -1
  89. package/dist/bze/tokenfactory/query.rpc.func.js +40 -1
  90. package/dist/bze/tokenfactory/tx.d.ts +516 -0
  91. package/dist/bze/tokenfactory/tx.js +722 -1
  92. package/dist/bze/tokenfactory/tx.registry.d.ts +49 -1
  93. package/dist/bze/tokenfactory/tx.registry.js +73 -1
  94. package/dist/bze/tokenfactory/tx.rpc.func.d.ts +31 -1
  95. package/dist/bze/tokenfactory/tx.rpc.func.js +39 -1
  96. package/dist/bze/tradebin/events.d.ts +457 -121
  97. package/dist/bze/tradebin/events.js +693 -273
  98. package/dist/bze/tradebin/genesis.d.ts +10 -4
  99. package/dist/bze/tradebin/genesis.js +19 -20
  100. package/dist/bze/tradebin/query.d.ts +324 -0
  101. package/dist/bze/tradebin/query.js +507 -1
  102. package/dist/bze/tradebin/query.lcd.d.ts +4 -1
  103. package/dist/bze/tradebin/query.lcd.js +40 -0
  104. package/dist/bze/tradebin/query.rpc.func.d.ts +24 -1
  105. package/dist/bze/tradebin/query.rpc.func.js +42 -1
  106. package/dist/bze/tradebin/store.d.ts +78 -77
  107. package/dist/bze/tradebin/store.js +120 -179
  108. package/dist/bze/tradebin/tx.d.ts +477 -0
  109. package/dist/bze/tradebin/tx.js +638 -5
  110. package/dist/bze/tradebin/tx.registry.d.ts +37 -1
  111. package/dist/bze/tradebin/tx.registry.js +55 -1
  112. package/dist/bze/tradebin/tx.rpc.func.d.ts +22 -1
  113. package/dist/bze/tradebin/tx.rpc.func.js +28 -1
  114. package/dist/bze/tradebin/v2/params.d.ts +54 -12
  115. package/dist/bze/tradebin/v2/params.js +61 -36
  116. package/dist/bze/txfeecollector/events.d.ts +297 -0
  117. package/dist/bze/txfeecollector/events.js +356 -0
  118. package/dist/bze/txfeecollector/params.d.ts +101 -0
  119. package/dist/bze/txfeecollector/params.js +115 -5
  120. package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +28 -2
  121. package/dist/cosmos/app/runtime/v1alpha1/module.js +34 -4
  122. package/dist/cosmos/auth/module/v1/module.d.ts +13 -0
  123. package/dist/cosmos/auth/module/v1/module.js +16 -4
  124. package/dist/cosmos/auth/v1beta1/auth.d.ts +0 -8
  125. package/dist/cosmos/auth/v1beta1/auth.js +0 -2
  126. package/dist/cosmos/auth/v1beta1/query.d.ts +0 -116
  127. package/dist/cosmos/auth/v1beta1/query.js +0 -28
  128. package/dist/cosmos/auth/v1beta1/query.lcd.js +7 -21
  129. package/dist/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -14
  130. package/dist/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  131. package/dist/cosmos/auth/v1beta1/tx.d.ts +0 -16
  132. package/dist/cosmos/auth/v1beta1/tx.js +0 -4
  133. package/dist/cosmos/auth/v1beta1/tx.rpc.func.d.ts +0 -2
  134. package/dist/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  135. package/dist/cosmos/authz/v1beta1/query.lcd.js +2 -6
  136. package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +0 -4
  137. package/dist/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  138. package/dist/cosmos/bank/v1beta1/authz.d.ts +0 -12
  139. package/dist/cosmos/bank/v1beta1/authz.js +0 -2
  140. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -16
  141. package/dist/cosmos/bank/v1beta1/genesis.d.ts +0 -4
  142. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -92
  143. package/dist/cosmos/bank/v1beta1/query.js +0 -20
  144. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
  145. package/dist/cosmos/bank/v1beta1/query.lcd.js +29 -30
  146. package/dist/cosmos/bank/v1beta1/query.rpc.func.d.ts +9 -19
  147. package/dist/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  148. package/dist/cosmos/bank/v1beta1/tx.d.ts +0 -32
  149. package/dist/cosmos/bank/v1beta1/tx.js +0 -8
  150. package/dist/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -4
  151. package/dist/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  152. package/dist/cosmos/base/abci/v1beta1/abci.d.ts +0 -12
  153. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -4
  154. package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +0 -18
  155. package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  156. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +0 -2
  157. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  158. package/dist/cosmos/bundle.d.ts +8278 -10120
  159. package/dist/cosmos/bundle.js +366 -415
  160. package/dist/cosmos/consensus/v1/tx.d.ts +0 -6
  161. package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +0 -2
  162. package/dist/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  163. package/dist/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  164. package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +2 -0
  165. package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  166. package/dist/cosmos/distribution/v1beta1/tx.d.ts +0 -60
  167. package/dist/cosmos/distribution/v1beta1/tx.js +0 -12
  168. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +3 -5
  169. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  170. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -16
  171. package/dist/cosmos/feegrant/v1beta1/query.js +0 -4
  172. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  173. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +0 -2
  174. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  175. package/dist/cosmos/feegrant/v1beta1/tx.d.ts +0 -16
  176. package/dist/cosmos/feegrant/v1beta1/tx.js +0 -4
  177. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -2
  178. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  179. package/dist/cosmos/gov/v1/genesis.d.ts +0 -8
  180. package/dist/cosmos/gov/v1/gov.d.ts +0 -48
  181. package/dist/cosmos/gov/v1/gov.js +0 -2
  182. package/dist/cosmos/gov/v1/query.d.ts +0 -4
  183. package/dist/cosmos/gov/v1/tx.d.ts +0 -44
  184. package/dist/cosmos/gov/v1/tx.js +0 -8
  185. package/dist/cosmos/gov/v1/tx.rpc.func.d.ts +0 -4
  186. package/dist/cosmos/gov/v1/tx.rpc.func.js +0 -4
  187. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -12
  188. package/dist/cosmos/gov/v1beta1/gov.js +0 -2
  189. package/dist/cosmos/gov/v1beta1/tx.d.ts +0 -16
  190. package/dist/cosmos/gov/v1beta1/tx.js +0 -4
  191. package/dist/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -2
  192. package/dist/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  193. package/dist/cosmos/lcd.d.ts +0 -3
  194. package/dist/cosmos/lcd.js +0 -5
  195. package/dist/cosmos/mint/v1beta1/tx.d.ts +0 -16
  196. package/dist/cosmos/mint/v1beta1/tx.js +0 -4
  197. package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +0 -2
  198. package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  199. package/dist/cosmos/params/v1beta1/query.d.ts +0 -24
  200. package/dist/cosmos/params/v1beta1/query.js +0 -6
  201. package/dist/cosmos/params/v1beta1/query.lcd.js +1 -3
  202. package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +0 -2
  203. package/dist/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  204. package/dist/cosmos/staking/v1beta1/authz.d.ts +1 -13
  205. package/dist/cosmos/staking/v1beta1/authz.js +1 -7
  206. package/dist/cosmos/staking/v1beta1/staking.d.ts +0 -4
  207. package/dist/cosmos/staking/v1beta1/tx.d.ts +0 -36
  208. package/dist/cosmos/staking/v1beta1/tx.js +0 -8
  209. package/dist/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -3
  210. package/dist/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  211. package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +0 -40
  212. package/dist/cosmos/store/snapshots/v1/snapshot.js +0 -10
  213. package/dist/cosmos/store/v1beta1/listening.d.ts +0 -8
  214. package/dist/cosmos/store/v1beta1/listening.js +0 -2
  215. package/dist/cosmos/tx/v1beta1/service.d.ts +0 -88
  216. package/dist/cosmos/tx/v1beta1/service.js +0 -20
  217. package/dist/cosmos/tx/v1beta1/service.lcd.js +1 -3
  218. package/dist/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -10
  219. package/dist/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  220. package/dist/cosmos/tx/v1beta1/tx.d.ts +76 -46
  221. package/dist/cosmos/tx/v1beta1/tx.js +28 -9
  222. package/dist/cosmos/upgrade/v1beta1/query.d.ts +0 -38
  223. package/dist/cosmos/upgrade/v1beta1/query.js +0 -8
  224. package/dist/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  225. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +0 -4
  226. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  227. package/dist/cosmos/upgrade/v1beta1/tx.d.ts +0 -32
  228. package/dist/cosmos/upgrade/v1beta1/tx.js +0 -8
  229. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +0 -4
  230. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  231. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -8
  232. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  233. package/dist/cosmos/vesting/v1beta1/tx.d.ts +0 -32
  234. package/dist/cosmos/vesting/v1beta1/tx.js +0 -8
  235. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -4
  236. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  237. package/dist/cosmos/vesting/v1beta1/vesting.d.ts +0 -8
  238. package/dist/cosmos/vesting/v1beta1/vesting.js +0 -2
  239. package/dist/cosmos_proto/bundle.d.ts +30 -30
  240. package/dist/cosmos_proto/bundle.js +2 -2
  241. package/dist/esm/bze/bundle.js +148 -93
  242. package/dist/esm/bze/burner/burned_coins.js +91 -0
  243. package/dist/esm/bze/burner/genesis.js +21 -5
  244. package/dist/esm/bze/burner/params.js +29 -4
  245. package/dist/esm/bze/dao/events.js +1837 -0
  246. package/dist/esm/bze/dao/genesis.js +432 -0
  247. package/dist/esm/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
  248. package/dist/esm/bze/dao/params.js +265 -0
  249. package/dist/esm/bze/dao/query.js +2363 -0
  250. package/dist/esm/bze/dao/query.lcd.js +121 -0
  251. package/dist/esm/bze/dao/query.rpc.func.js +162 -0
  252. package/dist/esm/bze/dao/store.js +1533 -0
  253. package/dist/esm/bze/dao/tx.js +2820 -0
  254. package/dist/esm/bze/dao/tx.registry.js +280 -0
  255. package/dist/esm/bze/dao/tx.rpc.func.js +156 -0
  256. package/dist/esm/bze/guardian/module/module.js +81 -0
  257. package/dist/esm/bze/guardian/v1/events.js +982 -0
  258. package/dist/esm/bze/guardian/v1/genesis.js +115 -0
  259. package/dist/esm/bze/guardian/v1/params.js +88 -0
  260. package/dist/esm/bze/guardian/v1/query.js +595 -0
  261. package/dist/esm/bze/guardian/v1/query.lcd.js +30 -0
  262. package/dist/esm/bze/guardian/v1/query.rpc.func.js +55 -0
  263. package/dist/esm/bze/guardian/v1/tx.js +1867 -0
  264. package/dist/esm/bze/guardian/v1/tx.registry.js +208 -0
  265. package/dist/esm/bze/guardian/v1/tx.rpc.func.js +115 -0
  266. package/dist/esm/bze/lcd.js +8 -5
  267. package/dist/esm/bze/rewards/events.js +978 -4
  268. package/dist/esm/bze/rewards/genesis.js +110 -5
  269. package/dist/esm/bze/rewards/params.js +88 -4
  270. package/dist/esm/bze/rewards/query.js +1086 -1
  271. package/dist/esm/bze/rewards/query.lcd.js +82 -0
  272. package/dist/esm/bze/rewards/query.rpc.func.js +84 -1
  273. package/dist/esm/bze/rewards/store.js +683 -0
  274. package/dist/esm/bze/rewards/tx.js +1431 -0
  275. package/dist/esm/bze/rewards/tx.registry.js +146 -2
  276. package/dist/esm/bze/rewards/tx.rpc.func.js +65 -1
  277. package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
  278. package/dist/esm/bze/tokenfactory/denom_branding.js +326 -0
  279. package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
  280. package/dist/esm/bze/tokenfactory/events.js +284 -0
  281. package/dist/esm/bze/tokenfactory/genesis.js +36 -5
  282. package/dist/esm/bze/tokenfactory/query.js +507 -0
  283. package/dist/esm/bze/tokenfactory/query.lcd.js +40 -0
  284. package/dist/esm/bze/tokenfactory/query.rpc.func.js +40 -1
  285. package/dist/esm/bze/tokenfactory/tx.js +721 -0
  286. package/dist/esm/bze/tokenfactory/tx.registry.js +74 -2
  287. package/dist/esm/bze/tokenfactory/tx.rpc.func.js +39 -1
  288. package/dist/esm/bze/tradebin/events.js +692 -272
  289. package/dist/esm/bze/tradebin/genesis.js +20 -21
  290. package/dist/esm/bze/tradebin/query.js +506 -0
  291. package/dist/esm/bze/tradebin/query.lcd.js +40 -0
  292. package/dist/esm/bze/tradebin/query.rpc.func.js +42 -1
  293. package/dist/esm/bze/tradebin/store.js +119 -178
  294. package/dist/esm/bze/tradebin/tx.js +637 -4
  295. package/dist/esm/bze/tradebin/tx.registry.js +56 -2
  296. package/dist/esm/bze/tradebin/tx.rpc.func.js +28 -1
  297. package/dist/esm/bze/tradebin/v2/params.js +61 -36
  298. package/dist/esm/bze/txfeecollector/events.js +353 -0
  299. package/dist/esm/bze/txfeecollector/params.js +114 -4
  300. package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +34 -4
  301. package/dist/esm/cosmos/auth/module/v1/module.js +16 -4
  302. package/dist/esm/cosmos/auth/v1beta1/auth.js +0 -2
  303. package/dist/esm/cosmos/auth/v1beta1/query.js +0 -28
  304. package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
  305. package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  306. package/dist/esm/cosmos/auth/v1beta1/tx.js +0 -4
  307. package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  308. package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
  309. package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  310. package/dist/esm/cosmos/bank/v1beta1/authz.js +0 -2
  311. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -20
  312. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +29 -30
  313. package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  314. package/dist/esm/cosmos/bank/v1beta1/tx.js +0 -8
  315. package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  316. package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  317. package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  318. package/dist/esm/cosmos/bundle.js +366 -415
  319. package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  320. package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  321. package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  322. package/dist/esm/cosmos/distribution/v1beta1/tx.js +0 -12
  323. package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  324. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -4
  325. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  326. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  327. package/dist/esm/cosmos/feegrant/v1beta1/tx.js +0 -4
  328. package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  329. package/dist/esm/cosmos/gov/v1/gov.js +0 -2
  330. package/dist/esm/cosmos/gov/v1/tx.js +0 -8
  331. package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +0 -4
  332. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -2
  333. package/dist/esm/cosmos/gov/v1beta1/tx.js +0 -4
  334. package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  335. package/dist/esm/cosmos/lcd.js +0 -5
  336. package/dist/esm/cosmos/mint/v1beta1/tx.js +0 -4
  337. package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  338. package/dist/esm/cosmos/params/v1beta1/query.js +0 -6
  339. package/dist/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
  340. package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  341. package/dist/esm/cosmos/staking/v1beta1/authz.js +1 -7
  342. package/dist/esm/cosmos/staking/v1beta1/tx.js +0 -8
  343. package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  344. package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +0 -10
  345. package/dist/esm/cosmos/store/v1beta1/listening.js +0 -2
  346. package/dist/esm/cosmos/tx/v1beta1/service.js +0 -20
  347. package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
  348. package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  349. package/dist/esm/cosmos/tx/v1beta1/tx.js +29 -10
  350. package/dist/esm/cosmos/upgrade/v1beta1/query.js +0 -8
  351. package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  352. package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  353. package/dist/esm/cosmos/upgrade/v1beta1/tx.js +0 -8
  354. package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  355. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  356. package/dist/esm/cosmos/vesting/v1beta1/tx.js +0 -8
  357. package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  358. package/dist/esm/cosmos/vesting/v1beta1/vesting.js +0 -2
  359. package/dist/esm/cosmos_proto/bundle.js +2 -2
  360. package/dist/esm/gogoproto/bundle.js +2 -2
  361. package/dist/esm/google/bundle.js +8 -8
  362. package/dist/esm/ibc/applications/transfer/v1/tx.js +4 -16
  363. package/dist/esm/ibc/bundle.js +142 -170
  364. package/dist/esm/ibc/core/client/v1/tx.js +187 -0
  365. package/dist/esm/ibc/core/client/v1/tx.registry.js +20 -2
  366. package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +10 -1
  367. package/dist/esm/ibc/lcd.js +0 -10
  368. package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +93 -0
  369. package/dist/esm/index.js +1 -0
  370. package/dist/esm/ratelimit/bundle.js +35 -0
  371. package/dist/esm/ratelimit/lcd.js +106 -0
  372. package/dist/esm/ratelimit/module/v1/module.js +81 -0
  373. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.js +49 -27
  374. package/dist/esm/ratelimit/v1/params.js +68 -0
  375. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +105 -195
  376. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  377. package/dist/esm/ratelimit/v1/query.rpc.func.js +83 -0
  378. package/dist/esm/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  379. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  380. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  381. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  382. package/dist/esm/tendermint/bundle.js +20 -20
  383. package/dist/gogoproto/bundle.js +2 -2
  384. package/dist/google/bundle.d.ts +550 -550
  385. package/dist/google/bundle.js +8 -8
  386. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -19
  387. package/dist/ibc/applications/transfer/v1/tx.js +4 -16
  388. package/dist/ibc/bundle.d.ts +4056 -4615
  389. package/dist/ibc/bundle.js +142 -170
  390. package/dist/ibc/core/client/v1/tx.d.ts +155 -0
  391. package/dist/ibc/core/client/v1/tx.js +188 -1
  392. package/dist/ibc/core/client/v1/tx.registry.d.ts +13 -1
  393. package/dist/ibc/core/client/v1/tx.registry.js +19 -1
  394. package/dist/ibc/core/client/v1/tx.rpc.func.d.ts +8 -1
  395. package/dist/ibc/core/client/v1/tx.rpc.func.js +10 -1
  396. package/dist/ibc/lcd.d.ts +0 -6
  397. package/dist/ibc/lcd.js +0 -10
  398. package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +75 -0
  399. package/dist/ibc/lightclients/wasm/v1/wasm.js +94 -1
  400. package/dist/index.d.ts +1 -0
  401. package/dist/index.js +1 -0
  402. package/dist/ratelimit/bundle.d.ts +625 -0
  403. package/dist/ratelimit/bundle.js +71 -0
  404. package/dist/ratelimit/lcd.d.ts +63 -0
  405. package/dist/ratelimit/lcd.js +143 -0
  406. package/dist/ratelimit/module/v1/module.d.ts +64 -0
  407. package/dist/ratelimit/module/v1/module.js +84 -0
  408. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.d.ts +19 -14
  409. package/dist/ratelimit/v1/genesis.js +182 -0
  410. package/dist/ratelimit/v1/params.d.ts +55 -0
  411. package/dist/ratelimit/v1/params.js +71 -0
  412. package/dist/ratelimit/v1/query.d.ts +656 -0
  413. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +142 -232
  414. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.d.ts +3 -3
  415. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  416. package/dist/ratelimit/v1/query.rpc.func.d.ts +45 -0
  417. package/dist/ratelimit/v1/query.rpc.func.js +86 -0
  418. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.d.ts → ratelimit/v1/ratelimit.d.ts} +62 -82
  419. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  420. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.d.ts +97 -121
  421. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  422. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.d.ts +1 -1
  423. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  424. package/dist/ratelimit/v1/tx.rpc.func.d.ts +29 -0
  425. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  426. package/dist/tendermint/bundle.d.ts +1120 -1120
  427. package/dist/tendermint/bundle.js +20 -20
  428. package/package.json +10 -5
  429. package/dist/cosmos/group/module/v1/module.d.ts +0 -80
  430. package/dist/cosmos/group/module/v1/module.js +0 -104
  431. package/dist/cosmos/group/v1/events.d.ts +0 -771
  432. package/dist/cosmos/group/v1/events.js +0 -1031
  433. package/dist/cosmos/group/v1/genesis.d.ts +0 -136
  434. package/dist/cosmos/group/v1/genesis.js +0 -201
  435. package/dist/cosmos/group/v1/query.d.ts +0 -2001
  436. package/dist/cosmos/group/v1/query.js +0 -2787
  437. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  438. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  439. package/dist/cosmos/group/v1/query.rpc.func.d.ts +0 -105
  440. package/dist/cosmos/group/v1/query.rpc.func.js +0 -194
  441. package/dist/cosmos/group/v1/tx.d.ts +0 -2124
  442. package/dist/cosmos/group/v1/tx.js +0 -2821
  443. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -179
  444. package/dist/cosmos/group/v1/tx.registry.js +0 -265
  445. package/dist/cosmos/group/v1/tx.rpc.func.d.ts +0 -99
  446. package/dist/cosmos/group/v1/tx.rpc.func.js +0 -132
  447. package/dist/cosmos/group/v1/types.d.ts +0 -1297
  448. package/dist/cosmos/group/v1/types.js +0 -1677
  449. package/dist/cosmos/orm/module/v1alpha1/module.d.ts +0 -65
  450. package/dist/cosmos/orm/query/v1alpha1/query.d.ts +0 -622
  451. package/dist/cosmos/orm/query/v1alpha1/query.js +0 -835
  452. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -15
  453. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -32
  454. package/dist/esm/cosmos/group/module/v1/module.js +0 -101
  455. package/dist/esm/cosmos/group/v1/events.js +0 -1028
  456. package/dist/esm/cosmos/group/v1/genesis.js +0 -198
  457. package/dist/esm/cosmos/group/v1/query.js +0 -2784
  458. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  459. package/dist/esm/cosmos/group/v1/query.rpc.func.js +0 -191
  460. package/dist/esm/cosmos/group/v1/tx.js +0 -2816
  461. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -262
  462. package/dist/esm/cosmos/group/v1/tx.rpc.func.js +0 -129
  463. package/dist/esm/cosmos/group/v1/types.js +0 -1668
  464. package/dist/esm/cosmos/orm/query/v1alpha1/query.js +0 -832
  465. package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -29
  466. package/dist/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -409
  467. package/dist/esm/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -83
  468. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -225
  469. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -412
  470. package/dist/ibc/applications/rate_limiting/v1/genesis.js +0 -160
  471. package/dist/ibc/applications/rate_limiting/v1/query.d.ts +0 -704
  472. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.d.ts +0 -45
  473. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -86
  474. package/dist/ibc/applications/rate_limiting/v1/tx.rpc.func.d.ts +0 -29
@@ -0,0 +1,20 @@
1
+ import { LCDClient } from "@cosmology/lcd";
2
+ import { QueryParamsRequest, QueryParamsResponseSDKType, QueryDaoRequest, QueryDaoResponseSDKType, QueryDaoByAddressRequest, QueryDaoByAddressResponseSDKType, QueryDaoControllerRequest, QueryDaoControllerResponseSDKType, QueryProposalRequest, QueryProposalResponseSDKType, QueryBallotRequest, QueryBallotResponseSDKType, QueryVotingPowerRequest, QueryVotingPowerResponseSDKType, QueryJoinRecordRequest, QueryJoinRecordResponseSDKType, QueryDaosRequest, QueryDaosResponseSDKType, QueryDaosByAdminRequest, QueryDaosByAdminResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryBallotsRequest, QueryBallotsResponseSDKType } from "./query";
3
+ export declare class LCDQueryClient {
4
+ req: LCDClient;
5
+ constructor({ requestClient }: {
6
+ requestClient: LCDClient;
7
+ });
8
+ params(_params?: QueryParamsRequest): Promise<QueryParamsResponseSDKType>;
9
+ dao(params: QueryDaoRequest): Promise<QueryDaoResponseSDKType>;
10
+ daoByAddress(params: QueryDaoByAddressRequest): Promise<QueryDaoByAddressResponseSDKType>;
11
+ daoController(params: QueryDaoControllerRequest): Promise<QueryDaoControllerResponseSDKType>;
12
+ proposal(params: QueryProposalRequest): Promise<QueryProposalResponseSDKType>;
13
+ ballot(params: QueryBallotRequest): Promise<QueryBallotResponseSDKType>;
14
+ votingPower(params: QueryVotingPowerRequest): Promise<QueryVotingPowerResponseSDKType>;
15
+ joinRecord(params: QueryJoinRecordRequest): Promise<QueryJoinRecordResponseSDKType>;
16
+ daos(params?: QueryDaosRequest): Promise<QueryDaosResponseSDKType>;
17
+ daosByAdmin(params: QueryDaosByAdminRequest): Promise<QueryDaosByAdminResponseSDKType>;
18
+ proposals(params: QueryProposalsRequest): Promise<QueryProposalsResponseSDKType>;
19
+ ballots(params: QueryBallotsRequest): Promise<QueryBallotsResponseSDKType>;
20
+ }
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LCDQueryClient = void 0;
4
+ //@ts-nocheck
5
+ const helpers_1 = require("../../helpers");
6
+ class LCDQueryClient {
7
+ req;
8
+ constructor({ requestClient }) {
9
+ this.req = requestClient;
10
+ this.params = this.params.bind(this);
11
+ this.dao = this.dao.bind(this);
12
+ this.daoByAddress = this.daoByAddress.bind(this);
13
+ this.daoController = this.daoController.bind(this);
14
+ this.proposal = this.proposal.bind(this);
15
+ this.ballot = this.ballot.bind(this);
16
+ this.votingPower = this.votingPower.bind(this);
17
+ this.joinRecord = this.joinRecord.bind(this);
18
+ this.daos = this.daos.bind(this);
19
+ this.daosByAdmin = this.daosByAdmin.bind(this);
20
+ this.proposals = this.proposals.bind(this);
21
+ this.ballots = this.ballots.bind(this);
22
+ }
23
+ /* Params queries the parameters of the module. */
24
+ async params(_params = {}) {
25
+ const endpoint = `bze/dao/params`;
26
+ return await this.req.get(endpoint);
27
+ }
28
+ /* Dao returns a DAO by its id. */
29
+ async dao(params) {
30
+ const endpoint = `bze/dao/dao/${params.id}`;
31
+ return await this.req.get(endpoint);
32
+ }
33
+ /* DaoByAddress returns the DAO that owns the given account. */
34
+ async daoByAddress(params) {
35
+ const endpoint = `bze/dao/dao_by_address/${params.address}`;
36
+ return await this.req.get(endpoint);
37
+ }
38
+ /* DaoController follows a DAO's admin chain to who ultimately controls it. */
39
+ async daoController(params) {
40
+ const endpoint = `bze/dao/dao_controller/${params.daoId}`;
41
+ return await this.req.get(endpoint);
42
+ }
43
+ /* Proposal returns a proposal with its live status at the current block. */
44
+ async proposal(params) {
45
+ const endpoint = `bze/dao/proposal/${params.id}`;
46
+ return await this.req.get(endpoint);
47
+ }
48
+ /* Ballot returns a voter's ballot on a proposal. */
49
+ async ballot(params) {
50
+ const endpoint = `bze/dao/ballot/${params.proposalId}/${params.voter}`;
51
+ return await this.req.get(endpoint);
52
+ }
53
+ /* VotingPower returns an address's weight in a DAO now and on each of the
54
+ DAO's proposals in voting. */
55
+ async votingPower(params) {
56
+ const endpoint = `bze/dao/voting_power/${params.daoId}/${params.address}`;
57
+ return await this.req.get(endpoint);
58
+ }
59
+ /* JoinRecord returns the height an address joined a pinned source at. The
60
+ source is in the query string: it contains a slash. */
61
+ async joinRecord(params) {
62
+ const options = {
63
+ params: {}
64
+ };
65
+ if (typeof params?.source !== "undefined") {
66
+ options.params.source = params.source;
67
+ }
68
+ if (typeof params?.address !== "undefined") {
69
+ options.params.address = params.address;
70
+ }
71
+ const endpoint = `bze/dao/join_record`;
72
+ return await this.req.get(endpoint, options);
73
+ }
74
+ /* Daos lists every DAO, by id. */
75
+ async daos(params = {
76
+ pagination: undefined
77
+ }) {
78
+ const options = {
79
+ params: {}
80
+ };
81
+ if (typeof params?.pagination !== "undefined") {
82
+ (0, helpers_1.setPaginationParams)(options, params.pagination);
83
+ }
84
+ const endpoint = `bze/dao/daos`;
85
+ return await this.req.get(endpoint, options);
86
+ }
87
+ /* DaosByAdmin lists the DAOs an address is the admin of, by id. */
88
+ async daosByAdmin(params) {
89
+ const options = {
90
+ params: {}
91
+ };
92
+ if (typeof params?.pagination !== "undefined") {
93
+ (0, helpers_1.setPaginationParams)(options, params.pagination);
94
+ }
95
+ const endpoint = `bze/dao/daos_by_admin/${params.admin}`;
96
+ return await this.req.get(endpoint, options);
97
+ }
98
+ /* Proposals lists a DAO's proposals, by id, optionally only those with one
99
+ of the given statuses. Cleaned-up proposals are not listed. */
100
+ async proposals(params) {
101
+ const options = {
102
+ params: {}
103
+ };
104
+ if (typeof params?.statuses !== "undefined") {
105
+ options.params.statuses = params.statuses;
106
+ }
107
+ if (typeof params?.pagination !== "undefined") {
108
+ (0, helpers_1.setPaginationParams)(options, params.pagination);
109
+ }
110
+ const endpoint = `bze/dao/proposals/${params.daoId}`;
111
+ return await this.req.get(endpoint, options);
112
+ }
113
+ /* Ballots lists the ballots of a proposal, by voter address bytes. */
114
+ async ballots(params) {
115
+ const options = {
116
+ params: {}
117
+ };
118
+ if (typeof params?.pagination !== "undefined") {
119
+ (0, helpers_1.setPaginationParams)(options, params.pagination);
120
+ }
121
+ const endpoint = `bze/dao/ballots/${params.proposalId}`;
122
+ return await this.req.get(endpoint, options);
123
+ }
124
+ }
125
+ exports.LCDQueryClient = LCDQueryClient;
@@ -0,0 +1,88 @@
1
+ import { QueryParamsRequest, QueryParamsResponse, QueryDaoRequest, QueryDaoResponse, QueryDaoByAddressRequest, QueryDaoByAddressResponse, QueryDaoControllerRequest, QueryDaoControllerResponse, QueryProposalRequest, QueryProposalResponse, QueryBallotRequest, QueryBallotResponse, QueryVotingPowerRequest, QueryVotingPowerResponse, QueryJoinRecordRequest, QueryJoinRecordResponse, QueryDaosRequest, QueryDaosResponse, QueryDaosByAdminRequest, QueryDaosByAdminResponse, QueryProposalsRequest, QueryProposalsResponse, QueryBallotsRequest, QueryBallotsResponse } from "./query";
2
+ /**
3
+ * Params queries the parameters of the module.
4
+ * @name getParams
5
+ * @package bze.dao
6
+ * @see proto service: bze.dao.Params
7
+ */
8
+ export declare const getParams: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryParamsRequest) => Promise<QueryParamsResponse>;
9
+ /**
10
+ * Dao returns a DAO by its id.
11
+ * @name getDao
12
+ * @package bze.dao
13
+ * @see proto service: bze.dao.Dao
14
+ */
15
+ export declare const getDao: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDaoRequest) => Promise<QueryDaoResponse>;
16
+ /**
17
+ * DaoByAddress returns the DAO that owns the given account.
18
+ * @name getDaoByAddress
19
+ * @package bze.dao
20
+ * @see proto service: bze.dao.DaoByAddress
21
+ */
22
+ export declare const getDaoByAddress: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDaoByAddressRequest) => Promise<QueryDaoByAddressResponse>;
23
+ /**
24
+ * DaoController follows a DAO's admin chain to who ultimately controls it.
25
+ * @name getDaoController
26
+ * @package bze.dao
27
+ * @see proto service: bze.dao.DaoController
28
+ */
29
+ export declare const getDaoController: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDaoControllerRequest) => Promise<QueryDaoControllerResponse>;
30
+ /**
31
+ * Proposal returns a proposal with its live status at the current block.
32
+ * @name getProposal
33
+ * @package bze.dao
34
+ * @see proto service: bze.dao.Proposal
35
+ */
36
+ export declare const getProposal: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryProposalRequest) => Promise<QueryProposalResponse>;
37
+ /**
38
+ * Ballot returns a voter's ballot on a proposal.
39
+ * @name getBallot
40
+ * @package bze.dao
41
+ * @see proto service: bze.dao.Ballot
42
+ */
43
+ export declare const getBallot: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryBallotRequest) => Promise<QueryBallotResponse>;
44
+ /**
45
+ * VotingPower returns an address's weight in a DAO now and on each of the
46
+ * DAO's proposals in voting.
47
+ * @name getVotingPower
48
+ * @package bze.dao
49
+ * @see proto service: bze.dao.VotingPower
50
+ */
51
+ export declare const getVotingPower: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryVotingPowerRequest) => Promise<QueryVotingPowerResponse>;
52
+ /**
53
+ * JoinRecord returns the height an address joined a pinned source at. The
54
+ * source is in the query string: it contains a slash.
55
+ * @name getJoinRecord
56
+ * @package bze.dao
57
+ * @see proto service: bze.dao.JoinRecord
58
+ */
59
+ export declare const getJoinRecord: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryJoinRecordRequest) => Promise<QueryJoinRecordResponse>;
60
+ /**
61
+ * Daos lists every DAO, by id.
62
+ * @name getDaos
63
+ * @package bze.dao
64
+ * @see proto service: bze.dao.Daos
65
+ */
66
+ export declare const getDaos: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDaosRequest) => Promise<QueryDaosResponse>;
67
+ /**
68
+ * DaosByAdmin lists the DAOs an address is the admin of, by id.
69
+ * @name getDaosByAdmin
70
+ * @package bze.dao
71
+ * @see proto service: bze.dao.DaosByAdmin
72
+ */
73
+ export declare const getDaosByAdmin: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDaosByAdminRequest) => Promise<QueryDaosByAdminResponse>;
74
+ /**
75
+ * Proposals lists a DAO's proposals, by id, optionally only those with one
76
+ * of the given statuses. Cleaned-up proposals are not listed.
77
+ * @name getProposals
78
+ * @package bze.dao
79
+ * @see proto service: bze.dao.Proposals
80
+ */
81
+ export declare const getProposals: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryProposalsRequest) => Promise<QueryProposalsResponse>;
82
+ /**
83
+ * Ballots lists the ballots of a proposal, by voter address bytes.
84
+ * @name getBallots
85
+ * @package bze.dao
86
+ * @see proto service: bze.dao.Ballots
87
+ */
88
+ export declare const getBallots: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryBallotsRequest) => Promise<QueryBallotsResponse>;
@@ -0,0 +1,165 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getBallots = exports.getProposals = exports.getDaosByAdmin = exports.getDaos = exports.getJoinRecord = exports.getVotingPower = exports.getBallot = exports.getProposal = exports.getDaoController = exports.getDaoByAddress = exports.getDao = exports.getParams = void 0;
4
+ //@ts-nocheck
5
+ const helper_func_types_1 = require("../../helper-func-types");
6
+ const query_1 = require("./query");
7
+ /**
8
+ * Params queries the parameters of the module.
9
+ * @name getParams
10
+ * @package bze.dao
11
+ * @see proto service: bze.dao.Params
12
+ */
13
+ exports.getParams = (0, helper_func_types_1.buildQuery)({
14
+ encode: query_1.QueryParamsRequest.encode,
15
+ decode: query_1.QueryParamsResponse.decode,
16
+ service: "bze.dao.Query",
17
+ method: "Params",
18
+ deps: [query_1.QueryParamsRequest, query_1.QueryParamsResponse]
19
+ });
20
+ /**
21
+ * Dao returns a DAO by its id.
22
+ * @name getDao
23
+ * @package bze.dao
24
+ * @see proto service: bze.dao.Dao
25
+ */
26
+ exports.getDao = (0, helper_func_types_1.buildQuery)({
27
+ encode: query_1.QueryDaoRequest.encode,
28
+ decode: query_1.QueryDaoResponse.decode,
29
+ service: "bze.dao.Query",
30
+ method: "Dao",
31
+ deps: [query_1.QueryDaoRequest, query_1.QueryDaoResponse]
32
+ });
33
+ /**
34
+ * DaoByAddress returns the DAO that owns the given account.
35
+ * @name getDaoByAddress
36
+ * @package bze.dao
37
+ * @see proto service: bze.dao.DaoByAddress
38
+ */
39
+ exports.getDaoByAddress = (0, helper_func_types_1.buildQuery)({
40
+ encode: query_1.QueryDaoByAddressRequest.encode,
41
+ decode: query_1.QueryDaoByAddressResponse.decode,
42
+ service: "bze.dao.Query",
43
+ method: "DaoByAddress",
44
+ deps: [query_1.QueryDaoByAddressRequest, query_1.QueryDaoByAddressResponse]
45
+ });
46
+ /**
47
+ * DaoController follows a DAO's admin chain to who ultimately controls it.
48
+ * @name getDaoController
49
+ * @package bze.dao
50
+ * @see proto service: bze.dao.DaoController
51
+ */
52
+ exports.getDaoController = (0, helper_func_types_1.buildQuery)({
53
+ encode: query_1.QueryDaoControllerRequest.encode,
54
+ decode: query_1.QueryDaoControllerResponse.decode,
55
+ service: "bze.dao.Query",
56
+ method: "DaoController",
57
+ deps: [query_1.QueryDaoControllerRequest, query_1.QueryDaoControllerResponse]
58
+ });
59
+ /**
60
+ * Proposal returns a proposal with its live status at the current block.
61
+ * @name getProposal
62
+ * @package bze.dao
63
+ * @see proto service: bze.dao.Proposal
64
+ */
65
+ exports.getProposal = (0, helper_func_types_1.buildQuery)({
66
+ encode: query_1.QueryProposalRequest.encode,
67
+ decode: query_1.QueryProposalResponse.decode,
68
+ service: "bze.dao.Query",
69
+ method: "Proposal",
70
+ deps: [query_1.QueryProposalRequest, query_1.QueryProposalResponse]
71
+ });
72
+ /**
73
+ * Ballot returns a voter's ballot on a proposal.
74
+ * @name getBallot
75
+ * @package bze.dao
76
+ * @see proto service: bze.dao.Ballot
77
+ */
78
+ exports.getBallot = (0, helper_func_types_1.buildQuery)({
79
+ encode: query_1.QueryBallotRequest.encode,
80
+ decode: query_1.QueryBallotResponse.decode,
81
+ service: "bze.dao.Query",
82
+ method: "Ballot",
83
+ deps: [query_1.QueryBallotRequest, query_1.QueryBallotResponse]
84
+ });
85
+ /**
86
+ * VotingPower returns an address's weight in a DAO now and on each of the
87
+ * DAO's proposals in voting.
88
+ * @name getVotingPower
89
+ * @package bze.dao
90
+ * @see proto service: bze.dao.VotingPower
91
+ */
92
+ exports.getVotingPower = (0, helper_func_types_1.buildQuery)({
93
+ encode: query_1.QueryVotingPowerRequest.encode,
94
+ decode: query_1.QueryVotingPowerResponse.decode,
95
+ service: "bze.dao.Query",
96
+ method: "VotingPower",
97
+ deps: [query_1.QueryVotingPowerRequest, query_1.QueryVotingPowerResponse]
98
+ });
99
+ /**
100
+ * JoinRecord returns the height an address joined a pinned source at. The
101
+ * source is in the query string: it contains a slash.
102
+ * @name getJoinRecord
103
+ * @package bze.dao
104
+ * @see proto service: bze.dao.JoinRecord
105
+ */
106
+ exports.getJoinRecord = (0, helper_func_types_1.buildQuery)({
107
+ encode: query_1.QueryJoinRecordRequest.encode,
108
+ decode: query_1.QueryJoinRecordResponse.decode,
109
+ service: "bze.dao.Query",
110
+ method: "JoinRecord",
111
+ deps: [query_1.QueryJoinRecordRequest, query_1.QueryJoinRecordResponse]
112
+ });
113
+ /**
114
+ * Daos lists every DAO, by id.
115
+ * @name getDaos
116
+ * @package bze.dao
117
+ * @see proto service: bze.dao.Daos
118
+ */
119
+ exports.getDaos = (0, helper_func_types_1.buildQuery)({
120
+ encode: query_1.QueryDaosRequest.encode,
121
+ decode: query_1.QueryDaosResponse.decode,
122
+ service: "bze.dao.Query",
123
+ method: "Daos",
124
+ deps: [query_1.QueryDaosRequest, query_1.QueryDaosResponse]
125
+ });
126
+ /**
127
+ * DaosByAdmin lists the DAOs an address is the admin of, by id.
128
+ * @name getDaosByAdmin
129
+ * @package bze.dao
130
+ * @see proto service: bze.dao.DaosByAdmin
131
+ */
132
+ exports.getDaosByAdmin = (0, helper_func_types_1.buildQuery)({
133
+ encode: query_1.QueryDaosByAdminRequest.encode,
134
+ decode: query_1.QueryDaosByAdminResponse.decode,
135
+ service: "bze.dao.Query",
136
+ method: "DaosByAdmin",
137
+ deps: [query_1.QueryDaosByAdminRequest, query_1.QueryDaosByAdminResponse]
138
+ });
139
+ /**
140
+ * Proposals lists a DAO's proposals, by id, optionally only those with one
141
+ * of the given statuses. Cleaned-up proposals are not listed.
142
+ * @name getProposals
143
+ * @package bze.dao
144
+ * @see proto service: bze.dao.Proposals
145
+ */
146
+ exports.getProposals = (0, helper_func_types_1.buildQuery)({
147
+ encode: query_1.QueryProposalsRequest.encode,
148
+ decode: query_1.QueryProposalsResponse.decode,
149
+ service: "bze.dao.Query",
150
+ method: "Proposals",
151
+ deps: [query_1.QueryProposalsRequest, query_1.QueryProposalsResponse]
152
+ });
153
+ /**
154
+ * Ballots lists the ballots of a proposal, by voter address bytes.
155
+ * @name getBallots
156
+ * @package bze.dao
157
+ * @see proto service: bze.dao.Ballots
158
+ */
159
+ exports.getBallots = (0, helper_func_types_1.buildQuery)({
160
+ encode: query_1.QueryBallotsRequest.encode,
161
+ decode: query_1.QueryBallotsResponse.decode,
162
+ service: "bze.dao.Query",
163
+ method: "Ballots",
164
+ deps: [query_1.QueryBallotsRequest, query_1.QueryBallotsResponse]
165
+ });