@bze/bzejs 3.2.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/README.md +18 -1
  2. package/dist/bze/bundle.d.ts +5982 -3068
  3. package/dist/bze/bundle.js +144 -93
  4. package/dist/bze/burner/burned_coins.d.ts +60 -0
  5. package/dist/bze/burner/burned_coins.js +92 -1
  6. package/dist/bze/burner/genesis.d.ts +4 -1
  7. package/dist/bze/burner/genesis.js +20 -4
  8. package/dist/bze/burner/params.d.ts +22 -0
  9. package/dist/bze/burner/params.js +29 -4
  10. package/dist/bze/dao/events.d.ts +1208 -0
  11. package/dist/bze/dao/events.js +1840 -0
  12. package/dist/bze/dao/genesis.d.ts +307 -0
  13. package/dist/bze/dao/genesis.js +435 -0
  14. package/dist/bze/dao/module/module.d.ts +64 -0
  15. package/dist/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
  16. package/dist/bze/dao/params.d.ts +210 -0
  17. package/dist/bze/dao/params.js +268 -0
  18. package/dist/bze/dao/query.d.ts +1607 -0
  19. package/dist/bze/dao/query.js +2368 -0
  20. package/dist/bze/dao/query.lcd.d.ts +20 -0
  21. package/dist/bze/dao/query.lcd.js +125 -0
  22. package/dist/bze/dao/query.rpc.func.d.ts +88 -0
  23. package/dist/bze/dao/query.rpc.func.js +165 -0
  24. package/dist/bze/dao/store.d.ts +946 -0
  25. package/dist/bze/dao/store.js +1546 -0
  26. package/dist/bze/dao/tx.d.ts +2014 -0
  27. package/dist/bze/dao/tx.js +2823 -0
  28. package/dist/bze/dao/tx.registry.d.ts +191 -0
  29. package/dist/bze/dao/tx.registry.js +283 -0
  30. package/dist/bze/dao/tx.rpc.func.d.ts +124 -0
  31. package/dist/bze/dao/tx.rpc.func.js +159 -0
  32. package/dist/bze/guardian/module/module.d.ts +64 -0
  33. package/dist/bze/guardian/module/module.js +84 -0
  34. package/dist/bze/guardian/v1/events.d.ts +632 -0
  35. package/dist/bze/guardian/v1/events.js +985 -0
  36. package/dist/bze/guardian/v1/genesis.d.ts +85 -0
  37. package/dist/bze/guardian/v1/genesis.js +118 -0
  38. package/dist/bze/guardian/v1/params.d.ts +68 -0
  39. package/dist/bze/guardian/v1/params.js +91 -0
  40. package/dist/bze/guardian/v1/query.d.ts +472 -0
  41. package/dist/bze/guardian/v1/query.js +598 -0
  42. package/dist/bze/guardian/v1/query.lcd.d.ts +12 -0
  43. package/dist/bze/guardian/v1/query.lcd.js +34 -0
  44. package/dist/bze/guardian/v1/query.rpc.func.d.ts +29 -0
  45. package/dist/bze/guardian/v1/query.rpc.func.js +58 -0
  46. package/dist/bze/guardian/v1/tx.d.ts +1487 -0
  47. package/dist/bze/guardian/v1/tx.js +1870 -0
  48. package/dist/bze/guardian/v1/tx.registry.d.ts +143 -0
  49. package/dist/bze/guardian/v1/tx.registry.js +211 -0
  50. package/dist/bze/guardian/v1/tx.rpc.func.d.ts +91 -0
  51. package/dist/bze/guardian/v1/tx.rpc.func.js +118 -0
  52. package/dist/bze/lcd.d.ts +4 -3
  53. package/dist/bze/lcd.js +8 -5
  54. package/dist/bze/rewards/events.d.ts +79 -0
  55. package/dist/bze/rewards/events.js +109 -5
  56. package/dist/bze/tokenfactory/denom_authority.d.ts +13 -0
  57. package/dist/bze/tokenfactory/denom_authority.js +16 -4
  58. package/dist/bze/tokenfactory/denom_config.d.ts +92 -0
  59. package/dist/bze/tokenfactory/denom_config.js +111 -0
  60. package/dist/bze/tokenfactory/events.d.ts +122 -0
  61. package/dist/bze/tokenfactory/events.js +207 -1
  62. package/dist/bze/tokenfactory/genesis.d.ts +10 -0
  63. package/dist/bze/tokenfactory/genesis.js +15 -1
  64. package/dist/bze/tokenfactory/query.d.ts +107 -0
  65. package/dist/bze/tokenfactory/query.js +163 -1
  66. package/dist/bze/tokenfactory/query.lcd.d.ts +2 -1
  67. package/dist/bze/tokenfactory/query.lcd.js +12 -0
  68. package/dist/bze/tokenfactory/query.rpc.func.d.ts +8 -1
  69. package/dist/bze/tokenfactory/query.rpc.func.js +14 -1
  70. package/dist/bze/tokenfactory/tx.d.ts +396 -0
  71. package/dist/bze/tokenfactory/tx.js +542 -1
  72. package/dist/bze/tokenfactory/tx.registry.d.ts +37 -1
  73. package/dist/bze/tokenfactory/tx.registry.js +55 -1
  74. package/dist/bze/tokenfactory/tx.rpc.func.d.ts +25 -1
  75. package/dist/bze/tokenfactory/tx.rpc.func.js +31 -1
  76. package/dist/bze/tradebin/events.d.ts +312 -174
  77. package/dist/bze/tradebin/events.js +509 -321
  78. package/dist/bze/tradebin/genesis.d.ts +1 -4
  79. package/dist/bze/tradebin/genesis.js +3 -19
  80. package/dist/bze/tradebin/query.d.ts +109 -0
  81. package/dist/bze/tradebin/query.js +170 -1
  82. package/dist/bze/tradebin/query.lcd.d.ts +2 -1
  83. package/dist/bze/tradebin/query.lcd.js +13 -0
  84. package/dist/bze/tradebin/query.rpc.func.d.ts +9 -1
  85. package/dist/bze/tradebin/query.rpc.func.js +15 -1
  86. package/dist/bze/tradebin/store.d.ts +78 -77
  87. package/dist/bze/tradebin/store.js +120 -179
  88. package/dist/bze/tradebin/tx.d.ts +204 -0
  89. package/dist/bze/tradebin/tx.js +286 -1
  90. package/dist/bze/tradebin/tx.registry.d.ts +13 -1
  91. package/dist/bze/tradebin/tx.registry.js +19 -1
  92. package/dist/bze/tradebin/tx.rpc.func.d.ts +8 -1
  93. package/dist/bze/tradebin/tx.rpc.func.js +10 -1
  94. package/dist/bze/tradebin/v2/params.d.ts +54 -12
  95. package/dist/bze/tradebin/v2/params.js +61 -36
  96. package/dist/bze/txfeecollector/events.d.ts +185 -0
  97. package/dist/bze/txfeecollector/events.js +222 -1
  98. package/dist/cosmos/app/runtime/v1alpha1/module.d.ts +28 -2
  99. package/dist/cosmos/app/runtime/v1alpha1/module.js +34 -4
  100. package/dist/cosmos/auth/module/v1/module.d.ts +13 -0
  101. package/dist/cosmos/auth/module/v1/module.js +16 -4
  102. package/dist/cosmos/auth/v1beta1/auth.d.ts +0 -8
  103. package/dist/cosmos/auth/v1beta1/auth.js +0 -2
  104. package/dist/cosmos/auth/v1beta1/query.d.ts +0 -116
  105. package/dist/cosmos/auth/v1beta1/query.js +0 -28
  106. package/dist/cosmos/auth/v1beta1/query.lcd.js +7 -21
  107. package/dist/cosmos/auth/v1beta1/query.rpc.func.d.ts +0 -14
  108. package/dist/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  109. package/dist/cosmos/auth/v1beta1/tx.d.ts +0 -16
  110. package/dist/cosmos/auth/v1beta1/tx.js +0 -4
  111. package/dist/cosmos/auth/v1beta1/tx.rpc.func.d.ts +0 -2
  112. package/dist/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  113. package/dist/cosmos/authz/v1beta1/query.lcd.js +2 -6
  114. package/dist/cosmos/authz/v1beta1/query.rpc.func.d.ts +0 -4
  115. package/dist/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  116. package/dist/cosmos/bank/v1beta1/authz.d.ts +0 -12
  117. package/dist/cosmos/bank/v1beta1/authz.js +0 -2
  118. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -16
  119. package/dist/cosmos/bank/v1beta1/genesis.d.ts +0 -4
  120. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -92
  121. package/dist/cosmos/bank/v1beta1/query.js +0 -20
  122. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +2 -2
  123. package/dist/cosmos/bank/v1beta1/query.lcd.js +29 -30
  124. package/dist/cosmos/bank/v1beta1/query.rpc.func.d.ts +9 -19
  125. package/dist/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  126. package/dist/cosmos/bank/v1beta1/tx.d.ts +0 -32
  127. package/dist/cosmos/bank/v1beta1/tx.js +0 -8
  128. package/dist/cosmos/bank/v1beta1/tx.rpc.func.d.ts +0 -4
  129. package/dist/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  130. package/dist/cosmos/base/abci/v1beta1/abci.d.ts +0 -12
  131. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -4
  132. package/dist/cosmos/base/tendermint/v1beta1/query.d.ts +0 -18
  133. package/dist/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  134. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.d.ts +0 -2
  135. package/dist/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  136. package/dist/cosmos/bundle.d.ts +8277 -10119
  137. package/dist/cosmos/bundle.js +366 -415
  138. package/dist/cosmos/consensus/v1/tx.d.ts +0 -6
  139. package/dist/cosmos/consensus/v1/tx.rpc.func.d.ts +0 -2
  140. package/dist/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  141. package/dist/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  142. package/dist/cosmos/distribution/v1beta1/query.rpc.func.d.ts +2 -0
  143. package/dist/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  144. package/dist/cosmos/distribution/v1beta1/tx.d.ts +0 -60
  145. package/dist/cosmos/distribution/v1beta1/tx.js +0 -12
  146. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +3 -5
  147. package/dist/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  148. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -16
  149. package/dist/cosmos/feegrant/v1beta1/query.js +0 -4
  150. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  151. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.d.ts +0 -2
  152. package/dist/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  153. package/dist/cosmos/feegrant/v1beta1/tx.d.ts +0 -16
  154. package/dist/cosmos/feegrant/v1beta1/tx.js +0 -4
  155. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +0 -2
  156. package/dist/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  157. package/dist/cosmos/gov/v1/genesis.d.ts +0 -8
  158. package/dist/cosmos/gov/v1/gov.d.ts +0 -48
  159. package/dist/cosmos/gov/v1/gov.js +0 -2
  160. package/dist/cosmos/gov/v1/query.d.ts +0 -4
  161. package/dist/cosmos/gov/v1/tx.d.ts +0 -44
  162. package/dist/cosmos/gov/v1/tx.js +0 -8
  163. package/dist/cosmos/gov/v1/tx.rpc.func.d.ts +0 -4
  164. package/dist/cosmos/gov/v1/tx.rpc.func.js +0 -4
  165. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -12
  166. package/dist/cosmos/gov/v1beta1/gov.js +0 -2
  167. package/dist/cosmos/gov/v1beta1/tx.d.ts +0 -16
  168. package/dist/cosmos/gov/v1beta1/tx.js +0 -4
  169. package/dist/cosmos/gov/v1beta1/tx.rpc.func.d.ts +0 -2
  170. package/dist/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  171. package/dist/cosmos/lcd.d.ts +0 -3
  172. package/dist/cosmos/lcd.js +0 -5
  173. package/dist/cosmos/mint/v1beta1/tx.d.ts +0 -16
  174. package/dist/cosmos/mint/v1beta1/tx.js +0 -4
  175. package/dist/cosmos/mint/v1beta1/tx.rpc.func.d.ts +0 -2
  176. package/dist/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  177. package/dist/cosmos/params/v1beta1/query.d.ts +0 -24
  178. package/dist/cosmos/params/v1beta1/query.js +0 -6
  179. package/dist/cosmos/params/v1beta1/query.lcd.js +1 -3
  180. package/dist/cosmos/params/v1beta1/query.rpc.func.d.ts +0 -2
  181. package/dist/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  182. package/dist/cosmos/staking/v1beta1/authz.d.ts +1 -13
  183. package/dist/cosmos/staking/v1beta1/authz.js +1 -7
  184. package/dist/cosmos/staking/v1beta1/staking.d.ts +0 -4
  185. package/dist/cosmos/staking/v1beta1/tx.d.ts +0 -36
  186. package/dist/cosmos/staking/v1beta1/tx.js +0 -8
  187. package/dist/cosmos/staking/v1beta1/tx.rpc.func.d.ts +0 -3
  188. package/dist/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  189. package/dist/cosmos/store/snapshots/v1/snapshot.d.ts +0 -40
  190. package/dist/cosmos/store/snapshots/v1/snapshot.js +0 -10
  191. package/dist/cosmos/store/v1beta1/listening.d.ts +0 -8
  192. package/dist/cosmos/store/v1beta1/listening.js +0 -2
  193. package/dist/cosmos/tx/v1beta1/service.d.ts +0 -88
  194. package/dist/cosmos/tx/v1beta1/service.js +0 -20
  195. package/dist/cosmos/tx/v1beta1/service.lcd.js +1 -3
  196. package/dist/cosmos/tx/v1beta1/service.rpc.func.d.ts +0 -10
  197. package/dist/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  198. package/dist/cosmos/tx/v1beta1/tx.d.ts +76 -46
  199. package/dist/cosmos/tx/v1beta1/tx.js +28 -9
  200. package/dist/cosmos/upgrade/v1beta1/query.d.ts +0 -38
  201. package/dist/cosmos/upgrade/v1beta1/query.js +0 -8
  202. package/dist/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  203. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.d.ts +0 -4
  204. package/dist/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  205. package/dist/cosmos/upgrade/v1beta1/tx.d.ts +0 -32
  206. package/dist/cosmos/upgrade/v1beta1/tx.js +0 -8
  207. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +0 -4
  208. package/dist/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  209. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -8
  210. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  211. package/dist/cosmos/vesting/v1beta1/tx.d.ts +0 -32
  212. package/dist/cosmos/vesting/v1beta1/tx.js +0 -8
  213. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +0 -4
  214. package/dist/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  215. package/dist/cosmos/vesting/v1beta1/vesting.d.ts +0 -8
  216. package/dist/cosmos/vesting/v1beta1/vesting.js +0 -2
  217. package/dist/cosmos_proto/bundle.d.ts +30 -30
  218. package/dist/cosmos_proto/bundle.js +2 -2
  219. package/dist/esm/bze/bundle.js +144 -93
  220. package/dist/esm/bze/burner/burned_coins.js +91 -0
  221. package/dist/esm/bze/burner/genesis.js +21 -5
  222. package/dist/esm/bze/burner/params.js +29 -4
  223. package/dist/esm/bze/dao/events.js +1837 -0
  224. package/dist/esm/bze/dao/genesis.js +432 -0
  225. package/dist/esm/{cosmos/orm/module/v1alpha1 → bze/dao/module}/module.js +27 -23
  226. package/dist/esm/bze/dao/params.js +265 -0
  227. package/dist/esm/bze/dao/query.js +2363 -0
  228. package/dist/esm/bze/dao/query.lcd.js +121 -0
  229. package/dist/esm/bze/dao/query.rpc.func.js +162 -0
  230. package/dist/esm/bze/dao/store.js +1533 -0
  231. package/dist/esm/bze/dao/tx.js +2820 -0
  232. package/dist/esm/bze/dao/tx.registry.js +280 -0
  233. package/dist/esm/bze/dao/tx.rpc.func.js +156 -0
  234. package/dist/esm/bze/guardian/module/module.js +81 -0
  235. package/dist/esm/bze/guardian/v1/events.js +982 -0
  236. package/dist/esm/bze/guardian/v1/genesis.js +115 -0
  237. package/dist/esm/bze/guardian/v1/params.js +88 -0
  238. package/dist/esm/bze/guardian/v1/query.js +595 -0
  239. package/dist/esm/bze/guardian/v1/query.lcd.js +30 -0
  240. package/dist/esm/bze/guardian/v1/query.rpc.func.js +55 -0
  241. package/dist/esm/bze/guardian/v1/tx.js +1867 -0
  242. package/dist/esm/bze/guardian/v1/tx.registry.js +208 -0
  243. package/dist/esm/bze/guardian/v1/tx.rpc.func.js +115 -0
  244. package/dist/esm/bze/lcd.js +8 -5
  245. package/dist/esm/bze/rewards/events.js +108 -4
  246. package/dist/esm/bze/tokenfactory/denom_authority.js +16 -4
  247. package/dist/esm/bze/tokenfactory/denom_config.js +108 -0
  248. package/dist/esm/bze/tokenfactory/events.js +206 -0
  249. package/dist/esm/bze/tokenfactory/genesis.js +15 -1
  250. package/dist/esm/bze/tokenfactory/query.js +162 -0
  251. package/dist/esm/bze/tokenfactory/query.lcd.js +12 -0
  252. package/dist/esm/bze/tokenfactory/query.rpc.func.js +14 -1
  253. package/dist/esm/bze/tokenfactory/tx.js +541 -0
  254. package/dist/esm/bze/tokenfactory/tx.registry.js +56 -2
  255. package/dist/esm/bze/tokenfactory/tx.rpc.func.js +31 -1
  256. package/dist/esm/bze/tradebin/events.js +508 -320
  257. package/dist/esm/bze/tradebin/genesis.js +4 -20
  258. package/dist/esm/bze/tradebin/query.js +169 -0
  259. package/dist/esm/bze/tradebin/query.lcd.js +13 -0
  260. package/dist/esm/bze/tradebin/query.rpc.func.js +15 -1
  261. package/dist/esm/bze/tradebin/store.js +119 -178
  262. package/dist/esm/bze/tradebin/tx.js +285 -0
  263. package/dist/esm/bze/tradebin/tx.registry.js +20 -2
  264. package/dist/esm/bze/tradebin/tx.rpc.func.js +10 -1
  265. package/dist/esm/bze/tradebin/v2/params.js +61 -36
  266. package/dist/esm/bze/txfeecollector/events.js +221 -0
  267. package/dist/esm/cosmos/app/runtime/v1alpha1/module.js +34 -4
  268. package/dist/esm/cosmos/auth/module/v1/module.js +16 -4
  269. package/dist/esm/cosmos/auth/v1beta1/auth.js +0 -2
  270. package/dist/esm/cosmos/auth/v1beta1/query.js +0 -28
  271. package/dist/esm/cosmos/auth/v1beta1/query.lcd.js +7 -21
  272. package/dist/esm/cosmos/auth/v1beta1/query.rpc.func.js +0 -14
  273. package/dist/esm/cosmos/auth/v1beta1/tx.js +0 -4
  274. package/dist/esm/cosmos/auth/v1beta1/tx.rpc.func.js +0 -2
  275. package/dist/esm/cosmos/authz/v1beta1/query.lcd.js +2 -6
  276. package/dist/esm/cosmos/authz/v1beta1/query.rpc.func.js +0 -4
  277. package/dist/esm/cosmos/bank/v1beta1/authz.js +0 -2
  278. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -20
  279. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +29 -30
  280. package/dist/esm/cosmos/bank/v1beta1/query.rpc.func.js +15 -25
  281. package/dist/esm/cosmos/bank/v1beta1/tx.js +0 -8
  282. package/dist/esm/cosmos/bank/v1beta1/tx.rpc.func.js +0 -4
  283. package/dist/esm/cosmos/base/tendermint/v1beta1/query.lcd.js +1 -3
  284. package/dist/esm/cosmos/base/tendermint/v1beta1/query.rpc.func.js +0 -2
  285. package/dist/esm/cosmos/bundle.js +366 -415
  286. package/dist/esm/cosmos/consensus/v1/tx.rpc.func.js +0 -2
  287. package/dist/esm/cosmos/distribution/v1beta1/query.lcd.js +3 -1
  288. package/dist/esm/cosmos/distribution/v1beta1/query.rpc.func.js +2 -0
  289. package/dist/esm/cosmos/distribution/v1beta1/tx.js +0 -12
  290. package/dist/esm/cosmos/distribution/v1beta1/tx.rpc.func.js +3 -5
  291. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -4
  292. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +1 -3
  293. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.func.js +0 -2
  294. package/dist/esm/cosmos/feegrant/v1beta1/tx.js +0 -4
  295. package/dist/esm/cosmos/feegrant/v1beta1/tx.rpc.func.js +0 -2
  296. package/dist/esm/cosmos/gov/v1/gov.js +0 -2
  297. package/dist/esm/cosmos/gov/v1/tx.js +0 -8
  298. package/dist/esm/cosmos/gov/v1/tx.rpc.func.js +0 -4
  299. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -2
  300. package/dist/esm/cosmos/gov/v1beta1/tx.js +0 -4
  301. package/dist/esm/cosmos/gov/v1beta1/tx.rpc.func.js +0 -2
  302. package/dist/esm/cosmos/lcd.js +0 -5
  303. package/dist/esm/cosmos/mint/v1beta1/tx.js +0 -4
  304. package/dist/esm/cosmos/mint/v1beta1/tx.rpc.func.js +0 -2
  305. package/dist/esm/cosmos/params/v1beta1/query.js +0 -6
  306. package/dist/esm/cosmos/params/v1beta1/query.lcd.js +1 -3
  307. package/dist/esm/cosmos/params/v1beta1/query.rpc.func.js +0 -2
  308. package/dist/esm/cosmos/staking/v1beta1/authz.js +1 -7
  309. package/dist/esm/cosmos/staking/v1beta1/tx.js +0 -8
  310. package/dist/esm/cosmos/staking/v1beta1/tx.rpc.func.js +0 -3
  311. package/dist/esm/cosmos/store/snapshots/v1/snapshot.js +0 -10
  312. package/dist/esm/cosmos/store/v1beta1/listening.js +0 -2
  313. package/dist/esm/cosmos/tx/v1beta1/service.js +0 -20
  314. package/dist/esm/cosmos/tx/v1beta1/service.lcd.js +1 -3
  315. package/dist/esm/cosmos/tx/v1beta1/service.rpc.func.js +0 -10
  316. package/dist/esm/cosmos/tx/v1beta1/tx.js +29 -10
  317. package/dist/esm/cosmos/upgrade/v1beta1/query.js +0 -8
  318. package/dist/esm/cosmos/upgrade/v1beta1/query.lcd.js +2 -6
  319. package/dist/esm/cosmos/upgrade/v1beta1/query.rpc.func.js +0 -4
  320. package/dist/esm/cosmos/upgrade/v1beta1/tx.js +0 -8
  321. package/dist/esm/cosmos/upgrade/v1beta1/tx.rpc.func.js +0 -4
  322. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -2
  323. package/dist/esm/cosmos/vesting/v1beta1/tx.js +0 -8
  324. package/dist/esm/cosmos/vesting/v1beta1/tx.rpc.func.js +0 -4
  325. package/dist/esm/cosmos/vesting/v1beta1/vesting.js +0 -2
  326. package/dist/esm/cosmos_proto/bundle.js +2 -2
  327. package/dist/esm/gogoproto/bundle.js +2 -2
  328. package/dist/esm/google/bundle.js +8 -8
  329. package/dist/esm/ibc/applications/transfer/v1/tx.js +4 -16
  330. package/dist/esm/ibc/bundle.js +93 -121
  331. package/dist/esm/ibc/core/client/v1/tx.js +187 -0
  332. package/dist/esm/ibc/core/client/v1/tx.registry.js +20 -2
  333. package/dist/esm/ibc/core/client/v1/tx.rpc.func.js +10 -1
  334. package/dist/esm/ibc/lcd.js +0 -10
  335. package/dist/esm/ibc/lightclients/wasm/v1/wasm.js +93 -0
  336. package/dist/esm/index.js +1 -0
  337. package/dist/esm/ratelimit/bundle.js +35 -0
  338. package/dist/esm/ratelimit/lcd.js +106 -0
  339. package/dist/esm/ratelimit/module/v1/module.js +81 -0
  340. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.js +49 -27
  341. package/dist/esm/ratelimit/v1/params.js +68 -0
  342. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +105 -195
  343. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  344. package/dist/esm/ratelimit/v1/query.rpc.func.js +83 -0
  345. package/dist/esm/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  346. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  347. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  348. package/dist/esm/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  349. package/dist/esm/tendermint/bundle.js +20 -20
  350. package/dist/gogoproto/bundle.js +2 -2
  351. package/dist/google/bundle.d.ts +550 -550
  352. package/dist/google/bundle.js +8 -8
  353. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -19
  354. package/dist/ibc/applications/transfer/v1/tx.js +4 -16
  355. package/dist/ibc/bundle.d.ts +506 -1065
  356. package/dist/ibc/bundle.js +93 -121
  357. package/dist/ibc/core/client/v1/tx.d.ts +155 -0
  358. package/dist/ibc/core/client/v1/tx.js +188 -1
  359. package/dist/ibc/core/client/v1/tx.registry.d.ts +13 -1
  360. package/dist/ibc/core/client/v1/tx.registry.js +19 -1
  361. package/dist/ibc/core/client/v1/tx.rpc.func.d.ts +8 -1
  362. package/dist/ibc/core/client/v1/tx.rpc.func.js +10 -1
  363. package/dist/ibc/lcd.d.ts +0 -6
  364. package/dist/ibc/lcd.js +0 -10
  365. package/dist/ibc/lightclients/wasm/v1/wasm.d.ts +75 -0
  366. package/dist/ibc/lightclients/wasm/v1/wasm.js +94 -1
  367. package/dist/index.d.ts +1 -0
  368. package/dist/index.js +1 -0
  369. package/dist/ratelimit/bundle.d.ts +625 -0
  370. package/dist/ratelimit/bundle.js +71 -0
  371. package/dist/ratelimit/lcd.d.ts +63 -0
  372. package/dist/ratelimit/lcd.js +143 -0
  373. package/dist/ratelimit/module/v1/module.d.ts +64 -0
  374. package/dist/ratelimit/module/v1/module.js +84 -0
  375. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/genesis.d.ts +19 -14
  376. package/dist/ratelimit/v1/genesis.js +182 -0
  377. package/dist/ratelimit/v1/params.d.ts +55 -0
  378. package/dist/ratelimit/v1/params.js +71 -0
  379. package/dist/ratelimit/v1/query.d.ts +656 -0
  380. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.js +142 -232
  381. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.d.ts +3 -3
  382. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/query.lcd.js +10 -10
  383. package/dist/ratelimit/v1/query.rpc.func.d.ts +45 -0
  384. package/dist/ratelimit/v1/query.rpc.func.js +86 -0
  385. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.d.ts → ratelimit/v1/ratelimit.d.ts} +62 -82
  386. package/dist/{ibc/applications/rate_limiting/v1/rate_limiting.js → ratelimit/v1/ratelimit.js} +29 -73
  387. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.d.ts +97 -121
  388. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.js +77 -109
  389. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.d.ts +1 -1
  390. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.registry.js +13 -13
  391. package/dist/ratelimit/v1/tx.rpc.func.d.ts +29 -0
  392. package/dist/{ibc/applications/rate_limiting → ratelimit}/v1/tx.rpc.func.js +9 -9
  393. package/dist/tendermint/bundle.d.ts +1120 -1120
  394. package/dist/tendermint/bundle.js +20 -20
  395. package/package.json +10 -5
  396. package/dist/cosmos/group/module/v1/module.d.ts +0 -80
  397. package/dist/cosmos/group/module/v1/module.js +0 -104
  398. package/dist/cosmos/group/v1/events.d.ts +0 -771
  399. package/dist/cosmos/group/v1/events.js +0 -1031
  400. package/dist/cosmos/group/v1/genesis.d.ts +0 -136
  401. package/dist/cosmos/group/v1/genesis.js +0 -201
  402. package/dist/cosmos/group/v1/query.d.ts +0 -2001
  403. package/dist/cosmos/group/v1/query.js +0 -2787
  404. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  405. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  406. package/dist/cosmos/group/v1/query.rpc.func.d.ts +0 -105
  407. package/dist/cosmos/group/v1/query.rpc.func.js +0 -194
  408. package/dist/cosmos/group/v1/tx.d.ts +0 -2124
  409. package/dist/cosmos/group/v1/tx.js +0 -2821
  410. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -179
  411. package/dist/cosmos/group/v1/tx.registry.js +0 -265
  412. package/dist/cosmos/group/v1/tx.rpc.func.d.ts +0 -99
  413. package/dist/cosmos/group/v1/tx.rpc.func.js +0 -132
  414. package/dist/cosmos/group/v1/types.d.ts +0 -1297
  415. package/dist/cosmos/group/v1/types.js +0 -1677
  416. package/dist/cosmos/orm/module/v1alpha1/module.d.ts +0 -65
  417. package/dist/cosmos/orm/query/v1alpha1/query.d.ts +0 -622
  418. package/dist/cosmos/orm/query/v1alpha1/query.js +0 -835
  419. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.d.ts +0 -15
  420. package/dist/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -32
  421. package/dist/esm/cosmos/group/module/v1/module.js +0 -101
  422. package/dist/esm/cosmos/group/v1/events.js +0 -1028
  423. package/dist/esm/cosmos/group/v1/genesis.js +0 -198
  424. package/dist/esm/cosmos/group/v1/query.js +0 -2784
  425. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  426. package/dist/esm/cosmos/group/v1/query.rpc.func.js +0 -191
  427. package/dist/esm/cosmos/group/v1/tx.js +0 -2816
  428. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -262
  429. package/dist/esm/cosmos/group/v1/tx.rpc.func.js +0 -129
  430. package/dist/esm/cosmos/group/v1/types.js +0 -1668
  431. package/dist/esm/cosmos/orm/query/v1alpha1/query.js +0 -832
  432. package/dist/esm/cosmos/orm/query/v1alpha1/query.rpc.func.js +0 -29
  433. package/dist/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -409
  434. package/dist/esm/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -83
  435. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -225
  436. package/dist/ibc/applications/packet_forward_middleware/v1/genesis.js +0 -412
  437. package/dist/ibc/applications/rate_limiting/v1/genesis.js +0 -160
  438. package/dist/ibc/applications/rate_limiting/v1/query.d.ts +0 -704
  439. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.d.ts +0 -45
  440. package/dist/ibc/applications/rate_limiting/v1/query.rpc.func.js +0 -86
  441. package/dist/ibc/applications/rate_limiting/v1/tx.rpc.func.d.ts +0 -29
@@ -14,12 +14,32 @@ export interface Params {
14
14
  makerFeeDestination: string;
15
15
  takerFeeDestination: string;
16
16
  nativeDenom: string;
17
- orderBookExtraGasWindow: bigint;
18
- orderBookQueueExtraGas: bigint;
17
+ /**
18
+ * number of distinct owners a price level holds before a new owner joining it pays extra gas
19
+ */
20
+ priceLevelOwnersWindow: bigint;
21
+ /**
22
+ * extra gas per owner above priceLevelOwnersWindow, paid by a new owner joining the price level
23
+ */
24
+ priceLevelExtraGas: bigint;
19
25
  fillOrdersExtraGas: bigint;
20
26
  minNativeLiquidityForModuleSwap: string;
21
- orderBookPerBlockMessages: bigint;
22
- orderBookQueueMessageScanExtraGas: bigint;
27
+ /**
28
+ * maximum number of resting orders one order examines (filled or skipped); the remainder is refunded
29
+ */
30
+ maxFillsPerOrder: bigint;
31
+ /**
32
+ * half-life, in blocks, of the moving average of each pool's price
33
+ */
34
+ poolPriceHalfLifeBlocks: bigint;
35
+ /**
36
+ * largest relative distance between a pool's price and its moving average accepted for the fees users pay
37
+ */
38
+ feeMaxPriceDrift: string;
39
+ /**
40
+ * largest relative distance between a pool's price and its moving average accepted for module operations
41
+ */
42
+ moduleMaxPriceDrift: string;
23
43
  }
24
44
  export interface ParamsProtoMsg {
25
45
  typeUrl: "/bze.tradebin.v2.Params";
@@ -39,12 +59,32 @@ export interface ParamsAmino {
39
59
  makerFeeDestination?: string;
40
60
  takerFeeDestination?: string;
41
61
  native_denom?: string;
42
- orderBookExtraGasWindow?: string;
43
- orderBookQueueExtraGas?: string;
62
+ /**
63
+ * number of distinct owners a price level holds before a new owner joining it pays extra gas
64
+ */
65
+ priceLevelOwnersWindow?: string;
66
+ /**
67
+ * extra gas per owner above priceLevelOwnersWindow, paid by a new owner joining the price level
68
+ */
69
+ priceLevelExtraGas?: string;
44
70
  fillOrdersExtraGas?: string;
45
71
  minNativeLiquidityForModuleSwap?: string;
46
- orderBookPerBlockMessages?: string;
47
- orderBookQueueMessageScanExtraGas?: string;
72
+ /**
73
+ * maximum number of resting orders one order examines (filled or skipped); the remainder is refunded
74
+ */
75
+ maxFillsPerOrder?: string;
76
+ /**
77
+ * half-life, in blocks, of the moving average of each pool's price
78
+ */
79
+ poolPriceHalfLifeBlocks?: string;
80
+ /**
81
+ * largest relative distance between a pool's price and its moving average accepted for the fees users pay
82
+ */
83
+ feeMaxPriceDrift?: string;
84
+ /**
85
+ * largest relative distance between a pool's price and its moving average accepted for module operations
86
+ */
87
+ moduleMaxPriceDrift?: string;
48
88
  }
49
89
  export interface ParamsAminoMsg {
50
90
  type: "/bze.tradebin.v2.Params";
@@ -64,12 +104,14 @@ export interface ParamsSDKType {
64
104
  makerFeeDestination: string;
65
105
  takerFeeDestination: string;
66
106
  native_denom: string;
67
- orderBookExtraGasWindow: bigint;
68
- orderBookQueueExtraGas: bigint;
107
+ priceLevelOwnersWindow: bigint;
108
+ priceLevelExtraGas: bigint;
69
109
  fillOrdersExtraGas: bigint;
70
110
  minNativeLiquidityForModuleSwap: string;
71
- orderBookPerBlockMessages: bigint;
72
- orderBookQueueMessageScanExtraGas: bigint;
111
+ maxFillsPerOrder: bigint;
112
+ poolPriceHalfLifeBlocks: bigint;
113
+ feeMaxPriceDrift: string;
114
+ moduleMaxPriceDrift: string;
73
115
  }
74
116
  /**
75
117
  * Params defines the parameters for the module with proper types
@@ -5,6 +5,7 @@ exports.Params = void 0;
5
5
  const coin_1 = require("../../../cosmos/base/v1beta1/coin");
6
6
  const binary_1 = require("../../../binary");
7
7
  const registry_1 = require("../../../registry");
8
+ const math_1 = require("@interchainjs/math");
8
9
  function createBaseParams() {
9
10
  return {
10
11
  createMarketFee: coin_1.Coin.fromPartial({}),
@@ -13,12 +14,14 @@ function createBaseParams() {
13
14
  makerFeeDestination: "",
14
15
  takerFeeDestination: "",
15
16
  nativeDenom: "",
16
- orderBookExtraGasWindow: BigInt(0),
17
- orderBookQueueExtraGas: BigInt(0),
17
+ priceLevelOwnersWindow: BigInt(0),
18
+ priceLevelExtraGas: BigInt(0),
18
19
  fillOrdersExtraGas: BigInt(0),
19
20
  minNativeLiquidityForModuleSwap: "",
20
- orderBookPerBlockMessages: BigInt(0),
21
- orderBookQueueMessageScanExtraGas: BigInt(0)
21
+ maxFillsPerOrder: BigInt(0),
22
+ poolPriceHalfLifeBlocks: BigInt(0),
23
+ feeMaxPriceDrift: "",
24
+ moduleMaxPriceDrift: ""
22
25
  };
23
26
  }
24
27
  /**
@@ -31,13 +34,13 @@ function createBaseParams() {
31
34
  exports.Params = {
32
35
  typeUrl: "/bze.tradebin.v2.Params",
33
36
  is(o) {
34
- return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createMarketFee) && coin_1.Coin.is(o.marketMakerFee) && coin_1.Coin.is(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.nativeDenom === "string" && typeof o.orderBookExtraGasWindow === "bigint" && typeof o.orderBookQueueExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.orderBookPerBlockMessages === "bigint" && typeof o.orderBookQueueMessageScanExtraGas === "bigint");
37
+ return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.is(o.createMarketFee) && coin_1.Coin.is(o.marketMakerFee) && coin_1.Coin.is(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.nativeDenom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
35
38
  },
36
39
  isSDK(o) {
37
- return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createMarketFee) && coin_1.Coin.isSDK(o.marketMakerFee) && coin_1.Coin.isSDK(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.orderBookExtraGasWindow === "bigint" && typeof o.orderBookQueueExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.orderBookPerBlockMessages === "bigint" && typeof o.orderBookQueueMessageScanExtraGas === "bigint");
40
+ return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isSDK(o.createMarketFee) && coin_1.Coin.isSDK(o.marketMakerFee) && coin_1.Coin.isSDK(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
38
41
  },
39
42
  isAmino(o) {
40
- return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createMarketFee) && coin_1.Coin.isAmino(o.marketMakerFee) && coin_1.Coin.isAmino(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.orderBookExtraGasWindow === "bigint" && typeof o.orderBookQueueExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.orderBookPerBlockMessages === "bigint" && typeof o.orderBookQueueMessageScanExtraGas === "bigint");
43
+ return o && (o.$typeUrl === exports.Params.typeUrl || coin_1.Coin.isAmino(o.createMarketFee) && coin_1.Coin.isAmino(o.marketMakerFee) && coin_1.Coin.isAmino(o.marketTakerFee) && typeof o.makerFeeDestination === "string" && typeof o.takerFeeDestination === "string" && typeof o.native_denom === "string" && typeof o.priceLevelOwnersWindow === "bigint" && typeof o.priceLevelExtraGas === "bigint" && typeof o.fillOrdersExtraGas === "bigint" && typeof o.minNativeLiquidityForModuleSwap === "string" && typeof o.maxFillsPerOrder === "bigint" && typeof o.poolPriceHalfLifeBlocks === "bigint" && typeof o.feeMaxPriceDrift === "string" && typeof o.moduleMaxPriceDrift === "string");
41
44
  },
42
45
  encode(message, writer = binary_1.BinaryWriter.create()) {
43
46
  if (message.createMarketFee !== undefined) {
@@ -58,11 +61,11 @@ exports.Params = {
58
61
  if (message.nativeDenom !== "") {
59
62
  writer.uint32(50).string(message.nativeDenom);
60
63
  }
61
- if (message.orderBookExtraGasWindow !== BigInt(0)) {
62
- writer.uint32(56).uint64(message.orderBookExtraGasWindow);
64
+ if (message.priceLevelOwnersWindow !== BigInt(0)) {
65
+ writer.uint32(56).uint64(message.priceLevelOwnersWindow);
63
66
  }
64
- if (message.orderBookQueueExtraGas !== BigInt(0)) {
65
- writer.uint32(64).uint64(message.orderBookQueueExtraGas);
67
+ if (message.priceLevelExtraGas !== BigInt(0)) {
68
+ writer.uint32(64).uint64(message.priceLevelExtraGas);
66
69
  }
67
70
  if (message.fillOrdersExtraGas !== BigInt(0)) {
68
71
  writer.uint32(72).uint64(message.fillOrdersExtraGas);
@@ -70,11 +73,17 @@ exports.Params = {
70
73
  if (message.minNativeLiquidityForModuleSwap !== "") {
71
74
  writer.uint32(82).string(message.minNativeLiquidityForModuleSwap);
72
75
  }
73
- if (message.orderBookPerBlockMessages !== BigInt(0)) {
74
- writer.uint32(88).uint64(message.orderBookPerBlockMessages);
76
+ if (message.maxFillsPerOrder !== BigInt(0)) {
77
+ writer.uint32(88).uint64(message.maxFillsPerOrder);
75
78
  }
76
- if (message.orderBookQueueMessageScanExtraGas !== BigInt(0)) {
77
- writer.uint32(96).uint64(message.orderBookQueueMessageScanExtraGas);
79
+ if (message.poolPriceHalfLifeBlocks !== BigInt(0)) {
80
+ writer.uint32(104).uint64(message.poolPriceHalfLifeBlocks);
81
+ }
82
+ if (message.feeMaxPriceDrift !== "") {
83
+ writer.uint32(114).string(math_1.Decimal.fromUserInput(message.feeMaxPriceDrift, 18).atomics);
84
+ }
85
+ if (message.moduleMaxPriceDrift !== "") {
86
+ writer.uint32(122).string(math_1.Decimal.fromUserInput(message.moduleMaxPriceDrift, 18).atomics);
78
87
  }
79
88
  return writer;
80
89
  },
@@ -104,10 +113,10 @@ exports.Params = {
104
113
  message.nativeDenom = reader.string();
105
114
  break;
106
115
  case 7:
107
- message.orderBookExtraGasWindow = reader.uint64();
116
+ message.priceLevelOwnersWindow = reader.uint64();
108
117
  break;
109
118
  case 8:
110
- message.orderBookQueueExtraGas = reader.uint64();
119
+ message.priceLevelExtraGas = reader.uint64();
111
120
  break;
112
121
  case 9:
113
122
  message.fillOrdersExtraGas = reader.uint64();
@@ -116,10 +125,16 @@ exports.Params = {
116
125
  message.minNativeLiquidityForModuleSwap = reader.string();
117
126
  break;
118
127
  case 11:
119
- message.orderBookPerBlockMessages = reader.uint64();
128
+ message.maxFillsPerOrder = reader.uint64();
129
+ break;
130
+ case 13:
131
+ message.poolPriceHalfLifeBlocks = reader.uint64();
120
132
  break;
121
- case 12:
122
- message.orderBookQueueMessageScanExtraGas = reader.uint64();
133
+ case 14:
134
+ message.feeMaxPriceDrift = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
135
+ break;
136
+ case 15:
137
+ message.moduleMaxPriceDrift = math_1.Decimal.fromAtomics(reader.string(), 18).toString();
123
138
  break;
124
139
  default:
125
140
  reader.skipType(tag & 7);
@@ -136,12 +151,14 @@ exports.Params = {
136
151
  message.makerFeeDestination = object.makerFeeDestination ?? "";
137
152
  message.takerFeeDestination = object.takerFeeDestination ?? "";
138
153
  message.nativeDenom = object.nativeDenom ?? "";
139
- message.orderBookExtraGasWindow = object.orderBookExtraGasWindow !== undefined && object.orderBookExtraGasWindow !== null ? BigInt(object.orderBookExtraGasWindow.toString()) : BigInt(0);
140
- message.orderBookQueueExtraGas = object.orderBookQueueExtraGas !== undefined && object.orderBookQueueExtraGas !== null ? BigInt(object.orderBookQueueExtraGas.toString()) : BigInt(0);
154
+ message.priceLevelOwnersWindow = object.priceLevelOwnersWindow !== undefined && object.priceLevelOwnersWindow !== null ? BigInt(object.priceLevelOwnersWindow.toString()) : BigInt(0);
155
+ message.priceLevelExtraGas = object.priceLevelExtraGas !== undefined && object.priceLevelExtraGas !== null ? BigInt(object.priceLevelExtraGas.toString()) : BigInt(0);
141
156
  message.fillOrdersExtraGas = object.fillOrdersExtraGas !== undefined && object.fillOrdersExtraGas !== null ? BigInt(object.fillOrdersExtraGas.toString()) : BigInt(0);
142
157
  message.minNativeLiquidityForModuleSwap = object.minNativeLiquidityForModuleSwap ?? "";
143
- message.orderBookPerBlockMessages = object.orderBookPerBlockMessages !== undefined && object.orderBookPerBlockMessages !== null ? BigInt(object.orderBookPerBlockMessages.toString()) : BigInt(0);
144
- message.orderBookQueueMessageScanExtraGas = object.orderBookQueueMessageScanExtraGas !== undefined && object.orderBookQueueMessageScanExtraGas !== null ? BigInt(object.orderBookQueueMessageScanExtraGas.toString()) : BigInt(0);
158
+ message.maxFillsPerOrder = object.maxFillsPerOrder !== undefined && object.maxFillsPerOrder !== null ? BigInt(object.maxFillsPerOrder.toString()) : BigInt(0);
159
+ message.poolPriceHalfLifeBlocks = object.poolPriceHalfLifeBlocks !== undefined && object.poolPriceHalfLifeBlocks !== null ? BigInt(object.poolPriceHalfLifeBlocks.toString()) : BigInt(0);
160
+ message.feeMaxPriceDrift = object.feeMaxPriceDrift ?? "";
161
+ message.moduleMaxPriceDrift = object.moduleMaxPriceDrift ?? "";
145
162
  return message;
146
163
  },
147
164
  fromAmino(object) {
@@ -164,11 +181,11 @@ exports.Params = {
164
181
  if (object.native_denom !== undefined && object.native_denom !== null) {
165
182
  message.nativeDenom = object.native_denom;
166
183
  }
167
- if (object.orderBookExtraGasWindow !== undefined && object.orderBookExtraGasWindow !== null) {
168
- message.orderBookExtraGasWindow = BigInt(object.orderBookExtraGasWindow);
184
+ if (object.priceLevelOwnersWindow !== undefined && object.priceLevelOwnersWindow !== null) {
185
+ message.priceLevelOwnersWindow = BigInt(object.priceLevelOwnersWindow);
169
186
  }
170
- if (object.orderBookQueueExtraGas !== undefined && object.orderBookQueueExtraGas !== null) {
171
- message.orderBookQueueExtraGas = BigInt(object.orderBookQueueExtraGas);
187
+ if (object.priceLevelExtraGas !== undefined && object.priceLevelExtraGas !== null) {
188
+ message.priceLevelExtraGas = BigInt(object.priceLevelExtraGas);
172
189
  }
173
190
  if (object.fillOrdersExtraGas !== undefined && object.fillOrdersExtraGas !== null) {
174
191
  message.fillOrdersExtraGas = BigInt(object.fillOrdersExtraGas);
@@ -176,11 +193,17 @@ exports.Params = {
176
193
  if (object.minNativeLiquidityForModuleSwap !== undefined && object.minNativeLiquidityForModuleSwap !== null) {
177
194
  message.minNativeLiquidityForModuleSwap = object.minNativeLiquidityForModuleSwap;
178
195
  }
179
- if (object.orderBookPerBlockMessages !== undefined && object.orderBookPerBlockMessages !== null) {
180
- message.orderBookPerBlockMessages = BigInt(object.orderBookPerBlockMessages);
196
+ if (object.maxFillsPerOrder !== undefined && object.maxFillsPerOrder !== null) {
197
+ message.maxFillsPerOrder = BigInt(object.maxFillsPerOrder);
198
+ }
199
+ if (object.poolPriceHalfLifeBlocks !== undefined && object.poolPriceHalfLifeBlocks !== null) {
200
+ message.poolPriceHalfLifeBlocks = BigInt(object.poolPriceHalfLifeBlocks);
201
+ }
202
+ if (object.feeMaxPriceDrift !== undefined && object.feeMaxPriceDrift !== null) {
203
+ message.feeMaxPriceDrift = object.feeMaxPriceDrift;
181
204
  }
182
- if (object.orderBookQueueMessageScanExtraGas !== undefined && object.orderBookQueueMessageScanExtraGas !== null) {
183
- message.orderBookQueueMessageScanExtraGas = BigInt(object.orderBookQueueMessageScanExtraGas);
205
+ if (object.moduleMaxPriceDrift !== undefined && object.moduleMaxPriceDrift !== null) {
206
+ message.moduleMaxPriceDrift = object.moduleMaxPriceDrift;
184
207
  }
185
208
  return message;
186
209
  },
@@ -192,12 +215,14 @@ exports.Params = {
192
215
  obj.makerFeeDestination = message.makerFeeDestination === "" ? undefined : message.makerFeeDestination;
193
216
  obj.takerFeeDestination = message.takerFeeDestination === "" ? undefined : message.takerFeeDestination;
194
217
  obj.native_denom = message.nativeDenom === "" ? undefined : message.nativeDenom;
195
- obj.orderBookExtraGasWindow = message.orderBookExtraGasWindow !== BigInt(0) ? message.orderBookExtraGasWindow?.toString() : undefined;
196
- obj.orderBookQueueExtraGas = message.orderBookQueueExtraGas !== BigInt(0) ? message.orderBookQueueExtraGas?.toString() : undefined;
218
+ obj.priceLevelOwnersWindow = message.priceLevelOwnersWindow !== BigInt(0) ? message.priceLevelOwnersWindow?.toString() : undefined;
219
+ obj.priceLevelExtraGas = message.priceLevelExtraGas !== BigInt(0) ? message.priceLevelExtraGas?.toString() : undefined;
197
220
  obj.fillOrdersExtraGas = message.fillOrdersExtraGas !== BigInt(0) ? message.fillOrdersExtraGas?.toString() : undefined;
198
221
  obj.minNativeLiquidityForModuleSwap = message.minNativeLiquidityForModuleSwap === "" ? undefined : message.minNativeLiquidityForModuleSwap;
199
- obj.orderBookPerBlockMessages = message.orderBookPerBlockMessages !== BigInt(0) ? message.orderBookPerBlockMessages?.toString() : undefined;
200
- obj.orderBookQueueMessageScanExtraGas = message.orderBookQueueMessageScanExtraGas !== BigInt(0) ? message.orderBookQueueMessageScanExtraGas?.toString() : undefined;
222
+ obj.maxFillsPerOrder = message.maxFillsPerOrder !== BigInt(0) ? message.maxFillsPerOrder?.toString() : undefined;
223
+ obj.poolPriceHalfLifeBlocks = message.poolPriceHalfLifeBlocks !== BigInt(0) ? message.poolPriceHalfLifeBlocks?.toString() : undefined;
224
+ obj.feeMaxPriceDrift = message.feeMaxPriceDrift === "" ? undefined : math_1.Decimal.fromUserInput(message.feeMaxPriceDrift, 18).atomics;
225
+ obj.moduleMaxPriceDrift = message.moduleMaxPriceDrift === "" ? undefined : math_1.Decimal.fromUserInput(message.moduleMaxPriceDrift, 18).atomics;
201
226
  return obj;
202
227
  },
203
228
  fromAminoMsg(object) {
@@ -85,6 +85,144 @@ export interface BlockedIbcInboundEventSDKType {
85
85
  sender: string;
86
86
  receiver: string;
87
87
  }
88
+ /**
89
+ * CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
90
+ * community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
91
+ * community pool.
92
+ * @name CommunityPoolFeePaidEvent
93
+ * @package bze.txfeecollector
94
+ * @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
95
+ */
96
+ export interface CommunityPoolFeePaidEvent {
97
+ /**
98
+ * denom is the denomination of the forwarded coin.
99
+ */
100
+ denom: string;
101
+ /**
102
+ * recipient is the denom's community pool address.
103
+ */
104
+ recipient: string;
105
+ /**
106
+ * amount is the forwarded amount.
107
+ */
108
+ amount: string;
109
+ }
110
+ export interface CommunityPoolFeePaidEventProtoMsg {
111
+ typeUrl: "/bze.txfeecollector.CommunityPoolFeePaidEvent";
112
+ value: Uint8Array;
113
+ }
114
+ /**
115
+ * CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
116
+ * community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
117
+ * community pool.
118
+ * @name CommunityPoolFeePaidEventAmino
119
+ * @package bze.txfeecollector
120
+ * @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
121
+ */
122
+ export interface CommunityPoolFeePaidEventAmino {
123
+ /**
124
+ * denom is the denomination of the forwarded coin.
125
+ */
126
+ denom?: string;
127
+ /**
128
+ * recipient is the denom's community pool address.
129
+ */
130
+ recipient?: string;
131
+ /**
132
+ * amount is the forwarded amount.
133
+ */
134
+ amount?: string;
135
+ }
136
+ export interface CommunityPoolFeePaidEventAminoMsg {
137
+ type: "/bze.txfeecollector.CommunityPoolFeePaidEvent";
138
+ value: CommunityPoolFeePaidEventAmino;
139
+ }
140
+ /**
141
+ * CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
142
+ * community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
143
+ * community pool.
144
+ * @name CommunityPoolFeePaidEventSDKType
145
+ * @package bze.txfeecollector
146
+ * @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
147
+ */
148
+ export interface CommunityPoolFeePaidEventSDKType {
149
+ denom: string;
150
+ recipient: string;
151
+ amount: string;
152
+ }
153
+ /**
154
+ * GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
155
+ * surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
156
+ * @name GasSurchargePaidEvent
157
+ * @package bze.txfeecollector
158
+ * @see proto type: bze.txfeecollector.GasSurchargePaidEvent
159
+ */
160
+ export interface GasSurchargePaidEvent {
161
+ /**
162
+ * payer is the account that paid the tx fee (the fee granter when one is set).
163
+ */
164
+ payer: string;
165
+ /**
166
+ * denom is the denomination of the surcharge.
167
+ */
168
+ denom: string;
169
+ /**
170
+ * amount is the surcharge amount.
171
+ */
172
+ amount: string;
173
+ /**
174
+ * destination is the module account the surcharge went to: txfeecollector_cp when the token has a community pool
175
+ * (forwarded there at EndBlock), burner when it has none (the burner module burns it).
176
+ */
177
+ destination: string;
178
+ }
179
+ export interface GasSurchargePaidEventProtoMsg {
180
+ typeUrl: "/bze.txfeecollector.GasSurchargePaidEvent";
181
+ value: Uint8Array;
182
+ }
183
+ /**
184
+ * GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
185
+ * surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
186
+ * @name GasSurchargePaidEventAmino
187
+ * @package bze.txfeecollector
188
+ * @see proto type: bze.txfeecollector.GasSurchargePaidEvent
189
+ */
190
+ export interface GasSurchargePaidEventAmino {
191
+ /**
192
+ * payer is the account that paid the tx fee (the fee granter when one is set).
193
+ */
194
+ payer?: string;
195
+ /**
196
+ * denom is the denomination of the surcharge.
197
+ */
198
+ denom?: string;
199
+ /**
200
+ * amount is the surcharge amount.
201
+ */
202
+ amount?: string;
203
+ /**
204
+ * destination is the module account the surcharge went to: txfeecollector_cp when the token has a community pool
205
+ * (forwarded there at EndBlock), burner when it has none (the burner module burns it).
206
+ */
207
+ destination?: string;
208
+ }
209
+ export interface GasSurchargePaidEventAminoMsg {
210
+ type: "/bze.txfeecollector.GasSurchargePaidEvent";
211
+ value: GasSurchargePaidEventAmino;
212
+ }
213
+ /**
214
+ * GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
215
+ * surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
216
+ * @name GasSurchargePaidEventSDKType
217
+ * @package bze.txfeecollector
218
+ * @see proto type: bze.txfeecollector.GasSurchargePaidEvent
219
+ */
220
+ export interface GasSurchargePaidEventSDKType {
221
+ payer: string;
222
+ denom: string;
223
+ amount: string;
224
+ destination: string;
225
+ }
88
226
  /**
89
227
  * BlockedIbcInboundEvent is emitted when an inbound ICS-20 packet is answered with an
90
228
  * error acknowledgement because the (channel, base denom) pair it carries is listed in
@@ -110,3 +248,50 @@ export declare const BlockedIbcInboundEvent: {
110
248
  toProtoMsg(message: BlockedIbcInboundEvent): BlockedIbcInboundEventProtoMsg;
111
249
  registerTypeUrl(): void;
112
250
  };
251
+ /**
252
+ * CommunityPoolFeePaidEvent is emitted at EndBlock for every coin the community pool fee collector forwards to the
253
+ * community pool set on the coin's denom (the factory token's DenomConfig), instead of converting it for the chain's
254
+ * community pool.
255
+ * @name CommunityPoolFeePaidEvent
256
+ * @package bze.txfeecollector
257
+ * @see proto type: bze.txfeecollector.CommunityPoolFeePaidEvent
258
+ */
259
+ export declare const CommunityPoolFeePaidEvent: {
260
+ typeUrl: string;
261
+ is(o: any): o is CommunityPoolFeePaidEvent;
262
+ isSDK(o: any): o is CommunityPoolFeePaidEventSDKType;
263
+ isAmino(o: any): o is CommunityPoolFeePaidEventAmino;
264
+ encode(message: CommunityPoolFeePaidEvent, writer?: BinaryWriter): BinaryWriter;
265
+ decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolFeePaidEvent;
266
+ fromPartial(object: Partial<CommunityPoolFeePaidEvent>): CommunityPoolFeePaidEvent;
267
+ fromAmino(object: CommunityPoolFeePaidEventAmino): CommunityPoolFeePaidEvent;
268
+ toAmino(message: CommunityPoolFeePaidEvent): CommunityPoolFeePaidEventAmino;
269
+ fromAminoMsg(object: CommunityPoolFeePaidEventAminoMsg): CommunityPoolFeePaidEvent;
270
+ fromProtoMsg(message: CommunityPoolFeePaidEventProtoMsg): CommunityPoolFeePaidEvent;
271
+ toProto(message: CommunityPoolFeePaidEvent): Uint8Array;
272
+ toProtoMsg(message: CommunityPoolFeePaidEvent): CommunityPoolFeePaidEventProtoMsg;
273
+ registerTypeUrl(): void;
274
+ };
275
+ /**
276
+ * GasSurchargePaidEvent is emitted for every factory-token coin used to pay the tx fee when the token sets a gas
277
+ * surcharge. The amount is the part of the paid fee moved out of the fee collected for validators.
278
+ * @name GasSurchargePaidEvent
279
+ * @package bze.txfeecollector
280
+ * @see proto type: bze.txfeecollector.GasSurchargePaidEvent
281
+ */
282
+ export declare const GasSurchargePaidEvent: {
283
+ typeUrl: string;
284
+ is(o: any): o is GasSurchargePaidEvent;
285
+ isSDK(o: any): o is GasSurchargePaidEventSDKType;
286
+ isAmino(o: any): o is GasSurchargePaidEventAmino;
287
+ encode(message: GasSurchargePaidEvent, writer?: BinaryWriter): BinaryWriter;
288
+ decode(input: BinaryReader | Uint8Array, length?: number): GasSurchargePaidEvent;
289
+ fromPartial(object: Partial<GasSurchargePaidEvent>): GasSurchargePaidEvent;
290
+ fromAmino(object: GasSurchargePaidEventAmino): GasSurchargePaidEvent;
291
+ toAmino(message: GasSurchargePaidEvent): GasSurchargePaidEventAmino;
292
+ fromAminoMsg(object: GasSurchargePaidEventAminoMsg): GasSurchargePaidEvent;
293
+ fromProtoMsg(message: GasSurchargePaidEventProtoMsg): GasSurchargePaidEvent;
294
+ toProto(message: GasSurchargePaidEvent): Uint8Array;
295
+ toProtoMsg(message: GasSurchargePaidEvent): GasSurchargePaidEventProtoMsg;
296
+ registerTypeUrl(): void;
297
+ };