@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.31

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 (541) hide show
  1. package/akash/audit/v1/genesis.d.ts +2 -2
  2. package/akash/audit/v1/query.d.ts +6 -6
  3. package/akash/base/attributes/v1/attribute.d.ts +2 -2
  4. package/akash/base/deposit/v1/deposit.d.ts +74 -0
  5. package/akash/base/deposit/v1/deposit.js +144 -0
  6. package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
  7. package/akash/base/offchain/sign/v1/sign.js +87 -0
  8. package/akash/base/resources/v1beta4/resources.d.ts +1 -1
  9. package/akash/bme/v1/events.d.ts +332 -0
  10. package/akash/bme/v1/events.js +500 -0
  11. package/akash/bme/v1/filters.d.ts +80 -0
  12. package/akash/bme/v1/filters.js +110 -0
  13. package/akash/bme/v1/genesis.d.ts +271 -0
  14. package/akash/bme/v1/genesis.js +452 -0
  15. package/akash/bme/v1/msgs.d.ts +585 -0
  16. package/akash/bme/v1/msgs.js +867 -0
  17. package/akash/bme/v1/params.d.ts +147 -0
  18. package/akash/bme/v1/params.js +174 -0
  19. package/akash/bme/v1/query.d.ts +508 -0
  20. package/akash/bme/v1/query.js +727 -0
  21. package/akash/bme/v1/query.lcd.d.ts +12 -0
  22. package/akash/bme/v1/query.lcd.js +41 -0
  23. package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
  24. package/akash/bme/v1/query.rpc.Query.js +56 -0
  25. package/akash/bme/v1/service.amino.d.ts +28 -0
  26. package/akash/bme/v1/service.amino.js +32 -0
  27. package/akash/bme/v1/service.registry.d.ts +73 -0
  28. package/akash/bme/v1/service.registry.js +109 -0
  29. package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
  30. package/akash/bme/v1/service.rpc.msg.js +55 -0
  31. package/akash/bme/v1/types.d.ts +766 -0
  32. package/akash/bme/v1/types.js +1283 -0
  33. package/akash/bundle.d.ts +5593 -3155
  34. package/akash/bundle.js +499 -299
  35. package/akash/cert/v1/query.d.ts +2 -2
  36. package/akash/client.d.ts +105 -80
  37. package/akash/client.js +23 -17
  38. package/akash/deployment/v1/deployment.d.ts +64 -0
  39. package/akash/deployment/v1/deployment.js +85 -2
  40. package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
  41. package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
  42. package/akash/deployment/v1beta4/query.d.ts +3 -3
  43. package/akash/deployment/v1beta4/query.js +1 -1
  44. package/akash/deployment/v1beta4/query.lcd.js +1 -1
  45. package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
  46. package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
  47. package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
  48. package/akash/deployment/v1beta4/service.amino.js +0 -6
  49. package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
  50. package/akash/deployment/v1beta4/service.registry.js +1 -20
  51. package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
  52. package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
  53. package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
  54. package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
  55. package/akash/deployment/v1beta5/filters.d.ts +164 -0
  56. package/akash/deployment/v1beta5/filters.js +203 -0
  57. package/akash/deployment/v1beta5/genesis.d.ts +121 -0
  58. package/akash/deployment/v1beta5/genesis.js +176 -0
  59. package/akash/deployment/v1beta5/group.d.ts +95 -0
  60. package/akash/deployment/v1beta5/group.js +170 -0
  61. package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
  62. package/akash/deployment/v1beta5/groupmsg.js +381 -0
  63. package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
  64. package/akash/deployment/v1beta5/groupspec.js +104 -0
  65. package/akash/deployment/v1beta5/params.d.ts +53 -0
  66. package/akash/deployment/v1beta5/params.js +78 -0
  67. package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
  68. package/akash/deployment/v1beta5/paramsmsg.js +148 -0
  69. package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
  70. package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
  71. package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
  72. package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
  73. package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
  74. package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
  75. package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
  76. package/akash/deployment/v1beta5/resourceunit.js +103 -0
  77. package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
  78. package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
  79. package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
  80. package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
  81. package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
  82. package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
  83. package/akash/discovery/v1/akash.d.ts +38 -2
  84. package/akash/discovery/v1/akash.js +52 -1
  85. package/akash/discovery/v1/client_info.d.ts +124 -0
  86. package/akash/discovery/v1/client_info.js +181 -1
  87. package/akash/discovery/v1/service.d.ts +95 -0
  88. package/akash/discovery/v1/service.js +131 -0
  89. package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
  90. package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
  91. package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
  92. package/akash/downtimedetector/v1beta1/genesis.js +171 -0
  93. package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
  94. package/akash/downtimedetector/v1beta1/query.js +157 -0
  95. package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
  96. package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
  97. package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
  98. package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
  99. package/akash/epochs/v1beta1/events.d.ts +92 -0
  100. package/akash/epochs/v1beta1/events.js +155 -0
  101. package/akash/epochs/v1beta1/genesis.d.ts +200 -0
  102. package/akash/epochs/v1beta1/genesis.js +222 -0
  103. package/akash/epochs/v1beta1/query.d.ts +189 -0
  104. package/akash/epochs/v1beta1/query.js +276 -0
  105. package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
  106. package/akash/epochs/v1beta1/query.lcd.js +26 -0
  107. package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
  108. package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
  109. package/akash/escrow/id/v1/id.d.ts +107 -0
  110. package/akash/escrow/id/v1/id.js +211 -0
  111. package/akash/escrow/types/v1/account.d.ts +146 -0
  112. package/akash/escrow/types/v1/account.js +227 -0
  113. package/akash/escrow/types/v1/balance.d.ts +54 -0
  114. package/akash/escrow/types/v1/balance.js +89 -0
  115. package/akash/escrow/types/v1/deposit.d.ts +90 -0
  116. package/akash/escrow/types/v1/deposit.js +110 -0
  117. package/akash/escrow/types/v1/payment.d.ts +150 -0
  118. package/akash/escrow/types/v1/payment.js +216 -0
  119. package/akash/escrow/types/v1/state.d.ts +15 -0
  120. package/akash/escrow/types/v1/state.js +55 -0
  121. package/akash/escrow/v1/authz.d.ts +114 -0
  122. package/akash/escrow/v1/authz.js +174 -0
  123. package/akash/escrow/v1/genesis.d.ts +4 -4
  124. package/akash/escrow/v1/genesis.js +7 -7
  125. package/akash/escrow/v1/msg.d.ts +128 -0
  126. package/akash/escrow/v1/msg.js +158 -0
  127. package/akash/escrow/v1/query.d.ts +21 -83
  128. package/akash/escrow/v1/query.js +23 -83
  129. package/akash/escrow/v1/query.lcd.js +6 -21
  130. package/akash/escrow/v1/service.amino.d.ts +8 -0
  131. package/akash/escrow/v1/service.amino.js +12 -0
  132. package/akash/escrow/v1/service.js +2 -0
  133. package/akash/escrow/v1/service.registry.d.ts +25 -0
  134. package/akash/escrow/v1/service.registry.js +37 -0
  135. package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
  136. package/akash/escrow/v1/service.rpc.msg.js +22 -0
  137. package/akash/lcd.d.ts +18 -5
  138. package/akash/lcd.js +30 -11
  139. package/akash/market/v1/bid.d.ts +8 -0
  140. package/akash/market/v1/bid.js +13 -1
  141. package/akash/market/v1/event.d.ts +69 -0
  142. package/akash/market/v1/event.js +107 -2
  143. package/akash/market/v1/filters.d.ts +8 -0
  144. package/akash/market/v1/filters.js +13 -1
  145. package/akash/market/v1/lease.d.ts +24 -0
  146. package/akash/market/v1/lease.js +46 -2
  147. package/akash/market/v1/reclamation.d.ts +82 -0
  148. package/akash/market/v1/reclamation.js +111 -0
  149. package/akash/market/v1/types.d.ts +28 -0
  150. package/akash/market/v1/types.js +83 -0
  151. package/akash/market/v1beta5/bid.d.ts +9 -0
  152. package/akash/market/v1beta5/bid.js +14 -1
  153. package/akash/market/v1beta5/bidmsg.d.ts +23 -29
  154. package/akash/market/v1beta5/bidmsg.js +45 -32
  155. package/akash/market/v1beta5/filters.d.ts +8 -0
  156. package/akash/market/v1beta5/filters.js +13 -1
  157. package/akash/market/v1beta5/leasemsg.d.ts +109 -6
  158. package/akash/market/v1beta5/leasemsg.js +166 -17
  159. package/akash/market/v1beta5/order.d.ts +11 -0
  160. package/akash/market/v1beta5/order.js +14 -1
  161. package/akash/market/v1beta5/params.d.ts +27 -0
  162. package/akash/market/v1beta5/params.js +41 -1
  163. package/akash/market/v1beta5/query.d.ts +10 -10
  164. package/akash/market/v1beta5/query.js +8 -8
  165. package/akash/market/v1beta5/query.lcd.js +1 -1
  166. package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
  167. package/akash/market/v1beta5/query.rpc.Query.js +1 -1
  168. package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
  169. package/akash/market/v1beta5/resourcesoffer.js +317 -2
  170. package/akash/market/v1beta5/service.amino.d.ts +6 -1
  171. package/akash/market/v1beta5/service.amino.js +5 -0
  172. package/akash/market/v1beta5/service.registry.d.ts +13 -1
  173. package/akash/market/v1beta5/service.registry.js +19 -1
  174. package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
  175. package/akash/market/v1beta5/service.rpc.msg.js +6 -0
  176. package/akash/market/v2beta1/bid.d.ts +220 -0
  177. package/akash/market/v2beta1/bid.js +318 -0
  178. package/akash/market/v2beta1/bidmsg.d.ts +211 -0
  179. package/akash/market/v2beta1/bidmsg.js +313 -0
  180. package/akash/market/v2beta1/event.d.ts +343 -0
  181. package/akash/market/v2beta1/event.js +471 -0
  182. package/akash/market/v2beta1/filters.d.ts +338 -0
  183. package/akash/market/v2beta1/filters.js +404 -0
  184. package/akash/market/v2beta1/genesis.d.ts +80 -0
  185. package/akash/market/v2beta1/genesis.js +123 -0
  186. package/akash/market/v2beta1/lease.d.ts +224 -0
  187. package/akash/market/v2beta1/lease.js +321 -0
  188. package/akash/market/v2beta1/leasemsg.d.ts +283 -0
  189. package/akash/market/v2beta1/leasemsg.js +394 -0
  190. package/akash/market/v2beta1/order.d.ts +162 -0
  191. package/akash/market/v2beta1/order.js +267 -0
  192. package/akash/market/v2beta1/params.d.ts +61 -0
  193. package/akash/market/v2beta1/params.js +87 -0
  194. package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
  195. package/akash/market/v2beta1/paramsmsg.js +148 -0
  196. package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
  197. package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
  198. package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
  199. package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
  200. package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
  201. package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
  202. package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
  203. package/akash/market/v2beta1/resourcesoffer.js +88 -0
  204. package/akash/market/v2beta1/service.amino.d.ts +35 -0
  205. package/akash/market/v2beta1/service.amino.js +39 -0
  206. package/akash/market/v2beta1/service.js +2 -0
  207. package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
  208. package/akash/market/v2beta1/service.registry.js +129 -0
  209. package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
  210. package/akash/market/v2beta1/service.rpc.msg.js +57 -0
  211. package/akash/market/v2beta1/types.d.ts +28 -0
  212. package/akash/market/v2beta1/types.js +83 -0
  213. package/akash/oracle/v1/events.d.ts +303 -0
  214. package/akash/oracle/v1/events.js +435 -0
  215. package/akash/oracle/v1/genesis.d.ts +70 -0
  216. package/akash/oracle/v1/genesis.js +106 -0
  217. package/akash/oracle/v1/msgs.d.ts +239 -0
  218. package/akash/oracle/v1/msgs.js +298 -0
  219. package/akash/oracle/v1/params.d.ts +95 -0
  220. package/akash/oracle/v1/params.js +141 -0
  221. package/akash/oracle/v1/prices.d.ts +706 -0
  222. package/akash/oracle/v1/prices.js +1006 -0
  223. package/akash/oracle/v1/query.d.ts +204 -0
  224. package/akash/oracle/v1/query.js +282 -0
  225. package/akash/oracle/v1/query.lcd.d.ts +12 -0
  226. package/akash/oracle/v1/query.lcd.js +35 -0
  227. package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
  228. package/akash/oracle/v1/query.rpc.Query.js +49 -0
  229. package/akash/oracle/v1/service.amino.d.ts +13 -0
  230. package/akash/oracle/v1/service.amino.js +17 -0
  231. package/akash/oracle/v1/service.d.ts +1 -0
  232. package/akash/oracle/v1/service.js +2 -0
  233. package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
  234. package/akash/oracle/v1/service.registry.js +55 -0
  235. package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
  236. package/akash/oracle/v1/service.rpc.msg.js +31 -0
  237. package/akash/oracle/v2/events.d.ts +309 -0
  238. package/akash/oracle/v2/events.js +438 -0
  239. package/akash/oracle/v2/genesis.d.ts +202 -0
  240. package/akash/oracle/v2/genesis.js +295 -0
  241. package/akash/oracle/v2/msgs.d.ts +247 -0
  242. package/akash/oracle/v2/msgs.js +313 -0
  243. package/akash/oracle/v2/params.d.ts +130 -0
  244. package/akash/oracle/v2/params.js +190 -0
  245. package/akash/oracle/v2/prices.d.ts +581 -0
  246. package/akash/oracle/v2/prices.js +828 -0
  247. package/akash/oracle/v2/query.d.ts +395 -0
  248. package/akash/oracle/v2/query.js +555 -0
  249. package/akash/oracle/v2/query.lcd.d.ts +11 -0
  250. package/akash/oracle/v2/query.lcd.js +42 -0
  251. package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
  252. package/akash/oracle/v2/query.rpc.Query.js +47 -0
  253. package/akash/oracle/v2/service.amino.d.ts +13 -0
  254. package/akash/oracle/v2/service.amino.js +17 -0
  255. package/akash/oracle/v2/service.d.ts +1 -0
  256. package/akash/oracle/v2/service.js +2 -0
  257. package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
  258. package/akash/oracle/v2/service.registry.js +55 -0
  259. package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
  260. package/akash/oracle/v2/service.rpc.msg.js +31 -0
  261. package/akash/provider/v1beta4/query.d.ts +2 -2
  262. package/akash/rpc.query.d.ts +50 -25
  263. package/akash/rpc.query.js +22 -9
  264. package/akash/rpc.tx.d.ts +15 -5
  265. package/akash/rpc.tx.js +19 -9
  266. package/akash/take/v1/query.lcd.js +1 -1
  267. package/akash/take/v1/query.rpc.Query.d.ts +1 -1
  268. package/akash/take/v1/query.rpc.Query.js +1 -1
  269. package/akash/take/v1/service.rpc.msg.d.ts +1 -1
  270. package/akash/wasm/v1/event.d.ts +53 -0
  271. package/akash/wasm/v1/event.js +99 -0
  272. package/akash/wasm/v1/genesis.d.ts +53 -0
  273. package/akash/wasm/v1/genesis.js +75 -0
  274. package/akash/wasm/v1/params.d.ts +46 -0
  275. package/akash/wasm/v1/params.js +77 -0
  276. package/akash/wasm/v1/paramsmsg.d.ts +122 -0
  277. package/akash/wasm/v1/paramsmsg.js +148 -0
  278. package/akash/wasm/v1/query.d.ts +95 -0
  279. package/akash/wasm/v1/query.js +131 -0
  280. package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
  281. package/akash/wasm/v1/query.lcd.js +15 -0
  282. package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
  283. package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
  284. package/akash/wasm/v1/service.amino.d.ts +8 -0
  285. package/akash/wasm/v1/service.amino.js +12 -0
  286. package/akash/wasm/v1/service.d.ts +1 -0
  287. package/akash/wasm/v1/service.js +2 -0
  288. package/akash/wasm/v1/service.registry.d.ts +25 -0
  289. package/akash/wasm/v1/service.registry.js +37 -0
  290. package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
  291. package/akash/wasm/v1/service.rpc.msg.js +25 -0
  292. package/amino/bundle.js +2 -2
  293. package/cosmos/authz/v1beta1/authz.d.ts +6 -5
  294. package/cosmos/authz/v1beta1/authz.js +25 -12
  295. package/cosmos/bundle.d.ts +7545 -7545
  296. package/cosmos/bundle.js +416 -416
  297. package/cosmos_proto/bundle.d.ts +23 -23
  298. package/cosmos_proto/bundle.js +2 -2
  299. package/esm/akash/base/deposit/v1/deposit.js +139 -0
  300. package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
  301. package/esm/akash/bme/v1/events.js +497 -0
  302. package/esm/akash/bme/v1/filters.js +107 -0
  303. package/esm/akash/bme/v1/genesis.js +449 -0
  304. package/esm/akash/bme/v1/msgs.js +864 -0
  305. package/esm/akash/bme/v1/params.js +171 -0
  306. package/esm/akash/bme/v1/query.js +724 -0
  307. package/esm/akash/bme/v1/query.lcd.js +37 -0
  308. package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
  309. package/esm/akash/bme/v1/service.amino.js +29 -0
  310. package/esm/akash/bme/v1/service.js +1 -0
  311. package/esm/akash/bme/v1/service.registry.js +105 -0
  312. package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
  313. package/esm/akash/bme/v1/types.js +1274 -0
  314. package/esm/akash/bundle.js +499 -299
  315. package/esm/akash/client.js +23 -17
  316. package/esm/akash/deployment/v1/deployment.js +84 -1
  317. package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
  318. package/esm/akash/deployment/v1beta4/query.js +1 -1
  319. package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
  320. package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
  321. package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
  322. package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
  323. package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
  324. package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
  325. package/esm/akash/deployment/v1beta5/filters.js +200 -0
  326. package/esm/akash/deployment/v1beta5/genesis.js +173 -0
  327. package/esm/akash/deployment/v1beta5/group.js +165 -0
  328. package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
  329. package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
  330. package/esm/akash/deployment/v1beta5/params.js +75 -0
  331. package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
  332. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
  333. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
  334. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
  335. package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
  336. package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
  337. package/esm/akash/deployment/v1beta5/service.js +1 -0
  338. package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
  339. package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
  340. package/esm/akash/discovery/v1/akash.js +53 -2
  341. package/esm/akash/discovery/v1/client_info.js +180 -0
  342. package/esm/akash/discovery/v1/service.js +128 -0
  343. package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
  344. package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
  345. package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
  346. package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
  347. package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
  348. package/esm/akash/epochs/v1beta1/events.js +152 -0
  349. package/esm/akash/epochs/v1beta1/genesis.js +219 -0
  350. package/esm/akash/epochs/v1beta1/query.js +273 -0
  351. package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
  352. package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
  353. package/esm/akash/escrow/id/v1/id.js +206 -0
  354. package/esm/akash/escrow/types/v1/account.js +224 -0
  355. package/esm/akash/escrow/types/v1/balance.js +86 -0
  356. package/esm/akash/escrow/types/v1/deposit.js +107 -0
  357. package/esm/akash/escrow/types/v1/payment.js +213 -0
  358. package/esm/akash/escrow/types/v1/state.js +50 -0
  359. package/esm/akash/escrow/v1/authz.js +169 -0
  360. package/esm/akash/escrow/v1/genesis.js +7 -7
  361. package/esm/akash/escrow/v1/msg.js +155 -0
  362. package/esm/akash/escrow/v1/query.js +23 -83
  363. package/esm/akash/escrow/v1/query.lcd.js +6 -21
  364. package/esm/akash/escrow/v1/service.amino.js +9 -0
  365. package/esm/akash/escrow/v1/service.js +1 -0
  366. package/esm/akash/escrow/v1/service.registry.js +33 -0
  367. package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
  368. package/esm/akash/lcd.js +30 -11
  369. package/esm/akash/market/v1/bid.js +13 -1
  370. package/esm/akash/market/v1/event.js +106 -1
  371. package/esm/akash/market/v1/filters.js +13 -1
  372. package/esm/akash/market/v1/lease.js +46 -2
  373. package/esm/akash/market/v1/reclamation.js +108 -0
  374. package/esm/akash/market/v1/types.js +78 -0
  375. package/esm/akash/market/v1beta5/bid.js +14 -1
  376. package/esm/akash/market/v1beta5/bidmsg.js +46 -33
  377. package/esm/akash/market/v1beta5/filters.js +13 -1
  378. package/esm/akash/market/v1beta5/leasemsg.js +165 -16
  379. package/esm/akash/market/v1beta5/order.js +14 -1
  380. package/esm/akash/market/v1beta5/params.js +41 -1
  381. package/esm/akash/market/v1beta5/query.js +8 -8
  382. package/esm/akash/market/v1beta5/query.lcd.js +1 -1
  383. package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
  384. package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
  385. package/esm/akash/market/v1beta5/service.amino.js +6 -1
  386. package/esm/akash/market/v1beta5/service.registry.js +20 -2
  387. package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
  388. package/esm/akash/market/v2beta1/bid.js +313 -0
  389. package/esm/akash/market/v2beta1/bidmsg.js +310 -0
  390. package/esm/akash/market/v2beta1/event.js +468 -0
  391. package/esm/akash/market/v2beta1/filters.js +401 -0
  392. package/esm/akash/market/v2beta1/genesis.js +120 -0
  393. package/esm/akash/market/v2beta1/lease.js +316 -0
  394. package/esm/akash/market/v2beta1/leasemsg.js +391 -0
  395. package/esm/akash/market/v2beta1/order.js +262 -0
  396. package/esm/akash/market/v2beta1/params.js +84 -0
  397. package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
  398. package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
  399. package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
  400. package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
  401. package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
  402. package/esm/akash/market/v2beta1/service.amino.js +36 -0
  403. package/esm/akash/market/v2beta1/service.js +1 -0
  404. package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
  405. package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
  406. package/esm/akash/market/v2beta1/types.js +78 -0
  407. package/esm/akash/oracle/v1/events.js +432 -0
  408. package/esm/akash/oracle/v1/genesis.js +103 -0
  409. package/esm/akash/oracle/v1/msgs.js +295 -0
  410. package/esm/akash/oracle/v1/params.js +138 -0
  411. package/esm/akash/oracle/v1/prices.js +1003 -0
  412. package/esm/akash/oracle/v1/query.js +279 -0
  413. package/esm/akash/oracle/v1/query.lcd.js +31 -0
  414. package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
  415. package/esm/akash/oracle/v1/service.amino.js +14 -0
  416. package/esm/akash/oracle/v1/service.js +1 -0
  417. package/esm/akash/oracle/v1/service.registry.js +51 -0
  418. package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
  419. package/esm/akash/oracle/v2/events.js +435 -0
  420. package/esm/akash/oracle/v2/genesis.js +292 -0
  421. package/esm/akash/oracle/v2/msgs.js +310 -0
  422. package/esm/akash/oracle/v2/params.js +187 -0
  423. package/esm/akash/oracle/v2/prices.js +825 -0
  424. package/esm/akash/oracle/v2/query.js +552 -0
  425. package/esm/akash/oracle/v2/query.lcd.js +38 -0
  426. package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
  427. package/esm/akash/oracle/v2/service.amino.js +14 -0
  428. package/esm/akash/oracle/v2/service.js +1 -0
  429. package/esm/akash/oracle/v2/service.registry.js +51 -0
  430. package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
  431. package/esm/akash/rpc.query.js +22 -9
  432. package/esm/akash/rpc.tx.js +19 -9
  433. package/esm/akash/take/v1/query.lcd.js +1 -1
  434. package/esm/akash/take/v1/query.rpc.Query.js +1 -1
  435. package/esm/akash/wasm/v1/event.js +96 -0
  436. package/esm/akash/wasm/v1/genesis.js +72 -0
  437. package/esm/akash/wasm/v1/params.js +74 -0
  438. package/esm/akash/wasm/v1/paramsmsg.js +145 -0
  439. package/esm/akash/wasm/v1/query.js +128 -0
  440. package/esm/akash/wasm/v1/query.lcd.js +11 -0
  441. package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
  442. package/esm/akash/wasm/v1/service.amino.js +9 -0
  443. package/esm/akash/wasm/v1/service.js +1 -0
  444. package/esm/akash/wasm/v1/service.registry.js +33 -0
  445. package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
  446. package/esm/amino/bundle.js +2 -2
  447. package/esm/cosmos/authz/v1beta1/authz.js +13 -0
  448. package/esm/cosmos/bundle.js +416 -416
  449. package/esm/cosmos_proto/bundle.js +2 -2
  450. package/esm/gogoproto/bundle.js +2 -2
  451. package/esm/google/bundle.js +8 -8
  452. package/esm/ibc/bundle.js +234 -234
  453. package/esm/sparkdream/bundle.js +540 -540
  454. package/esm/tendermint/bundle.js +20 -20
  455. package/gogoproto/bundle.js +2 -2
  456. package/google/bundle.d.ts +431 -431
  457. package/google/bundle.js +8 -8
  458. package/ibc/bundle.d.ts +3843 -3843
  459. package/ibc/bundle.js +234 -234
  460. package/package.json +1 -1
  461. package/sparkdream/bundle.d.ts +17352 -17352
  462. package/sparkdream/bundle.js +540 -540
  463. package/tendermint/bundle.d.ts +844 -844
  464. package/tendermint/bundle.js +20 -20
  465. package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
  466. package/akash/audit/v1beta3/audit.amino.js +0 -17
  467. package/akash/audit/v1beta3/audit.registry.js +0 -55
  468. package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
  469. package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
  470. package/akash/audit/v1beta3/query.d.ts +0 -278
  471. package/akash/audit/v1beta3/query.js +0 -484
  472. package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
  473. package/akash/audit/v1beta3/query.lcd.js +0 -60
  474. package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
  475. package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
  476. package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
  477. package/akash/cert/v1beta3/cert.amino.js +0 -17
  478. package/akash/cert/v1beta3/cert.registry.js +0 -55
  479. package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
  480. package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
  481. package/akash/cert/v1beta3/query.d.ts +0 -142
  482. package/akash/cert/v1beta3/query.js +0 -253
  483. package/akash/cert/v1beta3/query.lcd.js +0 -26
  484. package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
  485. package/akash/deployment/v1/authz.d.ts +0 -58
  486. package/akash/deployment/v1/authz.js +0 -76
  487. package/akash/deployment/v1/msg.d.ts +0 -122
  488. package/akash/deployment/v1/msg.js +0 -158
  489. package/akash/escrow/v1/account.d.ts +0 -147
  490. package/akash/escrow/v1/account.js +0 -211
  491. package/akash/escrow/v1/accountid.d.ts +0 -60
  492. package/akash/escrow/v1/accountid.js +0 -86
  493. package/akash/escrow/v1/fractional_payment.d.ts +0 -125
  494. package/akash/escrow/v1/fractional_payment.js +0 -199
  495. package/akash/market/v1beta4/service.amino.d.ts +0 -29
  496. package/akash/market/v1beta4/service.amino.js +0 -33
  497. package/akash/market/v1beta4/service.registry.js +0 -111
  498. package/akash/market/v1beta4/service.rpc.msg.js +0 -48
  499. package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
  500. package/akash/provider/v1beta3/provider.amino.js +0 -22
  501. package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
  502. package/akash/provider/v1beta3/provider.registry.js +0 -73
  503. package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
  504. package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
  505. package/akash/provider/v1beta3/query.d.ts +0 -182
  506. package/akash/provider/v1beta3/query.js +0 -298
  507. package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
  508. package/akash/provider/v1beta3/query.lcd.js +0 -30
  509. package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
  510. package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
  511. package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
  512. package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
  513. package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
  514. package/esm/akash/audit/v1beta3/query.js +0 -481
  515. package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
  516. package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
  517. package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
  518. package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
  519. package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
  520. package/esm/akash/cert/v1beta3/query.js +0 -250
  521. package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
  522. package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
  523. package/esm/akash/deployment/v1/authz.js +0 -73
  524. package/esm/akash/deployment/v1/msg.js +0 -155
  525. package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
  526. package/esm/akash/escrow/v1/account.js +0 -206
  527. package/esm/akash/escrow/v1/accountid.js +0 -83
  528. package/esm/akash/escrow/v1/fractional_payment.js +0 -194
  529. package/esm/akash/market/v1beta4/service.amino.js +0 -30
  530. package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
  531. package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
  532. package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
  533. package/esm/akash/provider/v1beta3/query.js +0 -295
  534. package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
  535. package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
  536. /package/akash/{deployment/v1beta3 → bme/v1}/service.d.ts +0 -0
  537. /package/akash/{deployment/v1beta3 → bme/v1}/service.js +0 -0
  538. /package/akash/{market/v1beta4 → deployment/v1beta5}/service.d.ts +0 -0
  539. /package/akash/{market/v1beta4 → deployment/v1beta5}/service.js +0 -0
  540. /package/{esm/akash/deployment/v1beta3/service.js → akash/escrow/v1/service.d.ts} +0 -0
  541. /package/{esm/akash/market/v1beta4/service.js → akash/market/v2beta1/service.d.ts} +0 -0
@@ -1,9 +1,12 @@
1
1
  //@ts-nocheck
2
- import { OrderFilters, OrderID, Order } from "./order";
2
+ import { OrderFilters, BidFilters, LeaseFilters } from "./filters";
3
3
  import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
4
- import { BidFilters, BidID, Bid } from "./bid";
5
- import { LeaseFilters, LeaseID, Lease } from "./lease";
6
- import { Account, FractionalPayment } from "../../escrow/v1beta3/types";
4
+ import { OrderID, Order } from "./order";
5
+ import { BidID, Bid } from "./bid";
6
+ import { LeaseID, Lease } from "./lease";
7
+ import { Account } from "../../escrow/types/v1/account";
8
+ import { Payment } from "../../escrow/types/v1/payment";
9
+ import { Params } from "./params";
7
10
  import { BinaryReader, BinaryWriter } from "../../../binary";
8
11
  function createBaseQueryOrdersRequest() {
9
12
  return {
@@ -12,13 +15,13 @@ function createBaseQueryOrdersRequest() {
12
15
  };
13
16
  }
14
17
  /**
15
- * QueryOrdersRequest is request type for the Query/Orders RPC method
18
+ * QueryOrdersRequest is request type for the Query/Orders RPC method.
16
19
  * @name QueryOrdersRequest
17
- * @package akash.market.v1beta4
18
- * @see proto type: akash.market.v1beta4.QueryOrdersRequest
20
+ * @package akash.market.v2beta1
21
+ * @see proto type: akash.market.v2beta1.QueryOrdersRequest
19
22
  */
20
23
  export const QueryOrdersRequest = {
21
- typeUrl: "/akash.market.v1beta4.QueryOrdersRequest",
24
+ typeUrl: "/akash.market.v2beta1.QueryOrdersRequest",
22
25
  encode(message, writer = BinaryWriter.create()) {
23
26
  if (message.filters !== undefined) {
24
27
  OrderFilters.encode(message.filters, writer.uint32(10).fork()).ldelim();
@@ -81,7 +84,7 @@ export const QueryOrdersRequest = {
81
84
  },
82
85
  toProtoMsg(message) {
83
86
  return {
84
- typeUrl: "/akash.market.v1beta4.QueryOrdersRequest",
87
+ typeUrl: "/akash.market.v2beta1.QueryOrdersRequest",
85
88
  value: QueryOrdersRequest.encode(message).finish()
86
89
  };
87
90
  }
@@ -95,11 +98,11 @@ function createBaseQueryOrdersResponse() {
95
98
  /**
96
99
  * QueryOrdersResponse is response type for the Query/Orders RPC method
97
100
  * @name QueryOrdersResponse
98
- * @package akash.market.v1beta4
99
- * @see proto type: akash.market.v1beta4.QueryOrdersResponse
101
+ * @package akash.market.v2beta1
102
+ * @see proto type: akash.market.v2beta1.QueryOrdersResponse
100
103
  */
101
104
  export const QueryOrdersResponse = {
102
- typeUrl: "/akash.market.v1beta4.QueryOrdersResponse",
105
+ typeUrl: "/akash.market.v2beta1.QueryOrdersResponse",
103
106
  encode(message, writer = BinaryWriter.create()) {
104
107
  for (const v of message.orders) {
105
108
  Order.encode(v, writer.uint32(10).fork()).ldelim();
@@ -165,7 +168,7 @@ export const QueryOrdersResponse = {
165
168
  },
166
169
  toProtoMsg(message) {
167
170
  return {
168
- typeUrl: "/akash.market.v1beta4.QueryOrdersResponse",
171
+ typeUrl: "/akash.market.v2beta1.QueryOrdersResponse",
169
172
  value: QueryOrdersResponse.encode(message).finish()
170
173
  };
171
174
  }
@@ -176,13 +179,13 @@ function createBaseQueryOrderRequest() {
176
179
  };
177
180
  }
178
181
  /**
179
- * QueryOrderRequest is request type for the Query/Order RPC method
182
+ * QueryOrderRequest is request type for the Query/Order RPC method.
180
183
  * @name QueryOrderRequest
181
- * @package akash.market.v1beta4
182
- * @see proto type: akash.market.v1beta4.QueryOrderRequest
184
+ * @package akash.market.v2beta1
185
+ * @see proto type: akash.market.v2beta1.QueryOrderRequest
183
186
  */
184
187
  export const QueryOrderRequest = {
185
- typeUrl: "/akash.market.v1beta4.QueryOrderRequest",
188
+ typeUrl: "/akash.market.v2beta1.QueryOrderRequest",
186
189
  encode(message, writer = BinaryWriter.create()) {
187
190
  if (message.id !== undefined) {
188
191
  OrderID.encode(message.id, writer.uint32(10).fork()).ldelim();
@@ -234,7 +237,7 @@ export const QueryOrderRequest = {
234
237
  },
235
238
  toProtoMsg(message) {
236
239
  return {
237
- typeUrl: "/akash.market.v1beta4.QueryOrderRequest",
240
+ typeUrl: "/akash.market.v2beta1.QueryOrderRequest",
238
241
  value: QueryOrderRequest.encode(message).finish()
239
242
  };
240
243
  }
@@ -245,13 +248,13 @@ function createBaseQueryOrderResponse() {
245
248
  };
246
249
  }
247
250
  /**
248
- * QueryOrderResponse is response type for the Query/Order RPC method
251
+ * QueryOrderResponse is response type for the Query/Order RPC method.
249
252
  * @name QueryOrderResponse
250
- * @package akash.market.v1beta4
251
- * @see proto type: akash.market.v1beta4.QueryOrderResponse
253
+ * @package akash.market.v2beta1
254
+ * @see proto type: akash.market.v2beta1.QueryOrderResponse
252
255
  */
253
256
  export const QueryOrderResponse = {
254
- typeUrl: "/akash.market.v1beta4.QueryOrderResponse",
257
+ typeUrl: "/akash.market.v2beta1.QueryOrderResponse",
255
258
  encode(message, writer = BinaryWriter.create()) {
256
259
  if (message.order !== undefined) {
257
260
  Order.encode(message.order, writer.uint32(10).fork()).ldelim();
@@ -303,7 +306,7 @@ export const QueryOrderResponse = {
303
306
  },
304
307
  toProtoMsg(message) {
305
308
  return {
306
- typeUrl: "/akash.market.v1beta4.QueryOrderResponse",
309
+ typeUrl: "/akash.market.v2beta1.QueryOrderResponse",
307
310
  value: QueryOrderResponse.encode(message).finish()
308
311
  };
309
312
  }
@@ -315,13 +318,13 @@ function createBaseQueryBidsRequest() {
315
318
  };
316
319
  }
317
320
  /**
318
- * QueryBidsRequest is request type for the Query/Bids RPC method
321
+ * QueryBidsRequest is request type for the Query/Bids RPC method.
319
322
  * @name QueryBidsRequest
320
- * @package akash.market.v1beta4
321
- * @see proto type: akash.market.v1beta4.QueryBidsRequest
323
+ * @package akash.market.v2beta1
324
+ * @see proto type: akash.market.v2beta1.QueryBidsRequest
322
325
  */
323
326
  export const QueryBidsRequest = {
324
- typeUrl: "/akash.market.v1beta4.QueryBidsRequest",
327
+ typeUrl: "/akash.market.v2beta1.QueryBidsRequest",
325
328
  encode(message, writer = BinaryWriter.create()) {
326
329
  if (message.filters !== undefined) {
327
330
  BidFilters.encode(message.filters, writer.uint32(10).fork()).ldelim();
@@ -384,7 +387,7 @@ export const QueryBidsRequest = {
384
387
  },
385
388
  toProtoMsg(message) {
386
389
  return {
387
- typeUrl: "/akash.market.v1beta4.QueryBidsRequest",
390
+ typeUrl: "/akash.market.v2beta1.QueryBidsRequest",
388
391
  value: QueryBidsRequest.encode(message).finish()
389
392
  };
390
393
  }
@@ -398,11 +401,11 @@ function createBaseQueryBidsResponse() {
398
401
  /**
399
402
  * QueryBidsResponse is response type for the Query/Bids RPC method
400
403
  * @name QueryBidsResponse
401
- * @package akash.market.v1beta4
402
- * @see proto type: akash.market.v1beta4.QueryBidsResponse
404
+ * @package akash.market.v2beta1
405
+ * @see proto type: akash.market.v2beta1.QueryBidsResponse
403
406
  */
404
407
  export const QueryBidsResponse = {
405
- typeUrl: "/akash.market.v1beta4.QueryBidsResponse",
408
+ typeUrl: "/akash.market.v2beta1.QueryBidsResponse",
406
409
  encode(message, writer = BinaryWriter.create()) {
407
410
  for (const v of message.bids) {
408
411
  QueryBidResponse.encode(v, writer.uint32(10).fork()).ldelim();
@@ -468,7 +471,7 @@ export const QueryBidsResponse = {
468
471
  },
469
472
  toProtoMsg(message) {
470
473
  return {
471
- typeUrl: "/akash.market.v1beta4.QueryBidsResponse",
474
+ typeUrl: "/akash.market.v2beta1.QueryBidsResponse",
472
475
  value: QueryBidsResponse.encode(message).finish()
473
476
  };
474
477
  }
@@ -479,13 +482,13 @@ function createBaseQueryBidRequest() {
479
482
  };
480
483
  }
481
484
  /**
482
- * QueryBidRequest is request type for the Query/Bid RPC method
485
+ * QueryBidRequest is request type for the Query/Bid RPC method.
483
486
  * @name QueryBidRequest
484
- * @package akash.market.v1beta4
485
- * @see proto type: akash.market.v1beta4.QueryBidRequest
487
+ * @package akash.market.v2beta1
488
+ * @see proto type: akash.market.v2beta1.QueryBidRequest
486
489
  */
487
490
  export const QueryBidRequest = {
488
- typeUrl: "/akash.market.v1beta4.QueryBidRequest",
491
+ typeUrl: "/akash.market.v2beta1.QueryBidRequest",
489
492
  encode(message, writer = BinaryWriter.create()) {
490
493
  if (message.id !== undefined) {
491
494
  BidID.encode(message.id, writer.uint32(10).fork()).ldelim();
@@ -537,7 +540,7 @@ export const QueryBidRequest = {
537
540
  },
538
541
  toProtoMsg(message) {
539
542
  return {
540
- typeUrl: "/akash.market.v1beta4.QueryBidRequest",
543
+ typeUrl: "/akash.market.v2beta1.QueryBidRequest",
541
544
  value: QueryBidRequest.encode(message).finish()
542
545
  };
543
546
  }
@@ -549,13 +552,13 @@ function createBaseQueryBidResponse() {
549
552
  };
550
553
  }
551
554
  /**
552
- * QueryBidResponse is response type for the Query/Bid RPC method
555
+ * QueryBidResponse is response type for the Query/Bid RPC method.
553
556
  * @name QueryBidResponse
554
- * @package akash.market.v1beta4
555
- * @see proto type: akash.market.v1beta4.QueryBidResponse
557
+ * @package akash.market.v2beta1
558
+ * @see proto type: akash.market.v2beta1.QueryBidResponse
556
559
  */
557
560
  export const QueryBidResponse = {
558
- typeUrl: "/akash.market.v1beta4.QueryBidResponse",
561
+ typeUrl: "/akash.market.v2beta1.QueryBidResponse",
559
562
  encode(message, writer = BinaryWriter.create()) {
560
563
  if (message.bid !== undefined) {
561
564
  Bid.encode(message.bid, writer.uint32(10).fork()).ldelim();
@@ -618,7 +621,7 @@ export const QueryBidResponse = {
618
621
  },
619
622
  toProtoMsg(message) {
620
623
  return {
621
- typeUrl: "/akash.market.v1beta4.QueryBidResponse",
624
+ typeUrl: "/akash.market.v2beta1.QueryBidResponse",
622
625
  value: QueryBidResponse.encode(message).finish()
623
626
  };
624
627
  }
@@ -630,13 +633,13 @@ function createBaseQueryLeasesRequest() {
630
633
  };
631
634
  }
632
635
  /**
633
- * QueryLeasesRequest is request type for the Query/Leases RPC method
636
+ * QueryLeasesRequest is request type for the Query/Leases RPC method.
634
637
  * @name QueryLeasesRequest
635
- * @package akash.market.v1beta4
636
- * @see proto type: akash.market.v1beta4.QueryLeasesRequest
638
+ * @package akash.market.v2beta1
639
+ * @see proto type: akash.market.v2beta1.QueryLeasesRequest
637
640
  */
638
641
  export const QueryLeasesRequest = {
639
- typeUrl: "/akash.market.v1beta4.QueryLeasesRequest",
642
+ typeUrl: "/akash.market.v2beta1.QueryLeasesRequest",
640
643
  encode(message, writer = BinaryWriter.create()) {
641
644
  if (message.filters !== undefined) {
642
645
  LeaseFilters.encode(message.filters, writer.uint32(10).fork()).ldelim();
@@ -699,7 +702,7 @@ export const QueryLeasesRequest = {
699
702
  },
700
703
  toProtoMsg(message) {
701
704
  return {
702
- typeUrl: "/akash.market.v1beta4.QueryLeasesRequest",
705
+ typeUrl: "/akash.market.v2beta1.QueryLeasesRequest",
703
706
  value: QueryLeasesRequest.encode(message).finish()
704
707
  };
705
708
  }
@@ -711,13 +714,13 @@ function createBaseQueryLeasesResponse() {
711
714
  };
712
715
  }
713
716
  /**
714
- * QueryLeasesResponse is response type for the Query/Leases RPC method
717
+ * QueryLeasesResponse is response type for the Query/Leases RPC method.
715
718
  * @name QueryLeasesResponse
716
- * @package akash.market.v1beta4
717
- * @see proto type: akash.market.v1beta4.QueryLeasesResponse
719
+ * @package akash.market.v2beta1
720
+ * @see proto type: akash.market.v2beta1.QueryLeasesResponse
718
721
  */
719
722
  export const QueryLeasesResponse = {
720
- typeUrl: "/akash.market.v1beta4.QueryLeasesResponse",
723
+ typeUrl: "/akash.market.v2beta1.QueryLeasesResponse",
721
724
  encode(message, writer = BinaryWriter.create()) {
722
725
  for (const v of message.leases) {
723
726
  QueryLeaseResponse.encode(v, writer.uint32(10).fork()).ldelim();
@@ -783,7 +786,7 @@ export const QueryLeasesResponse = {
783
786
  },
784
787
  toProtoMsg(message) {
785
788
  return {
786
- typeUrl: "/akash.market.v1beta4.QueryLeasesResponse",
789
+ typeUrl: "/akash.market.v2beta1.QueryLeasesResponse",
787
790
  value: QueryLeasesResponse.encode(message).finish()
788
791
  };
789
792
  }
@@ -794,13 +797,13 @@ function createBaseQueryLeaseRequest() {
794
797
  };
795
798
  }
796
799
  /**
797
- * QueryLeaseRequest is request type for the Query/Lease RPC method
800
+ * QueryLeaseRequest is request type for the Query/Lease RPC method.
798
801
  * @name QueryLeaseRequest
799
- * @package akash.market.v1beta4
800
- * @see proto type: akash.market.v1beta4.QueryLeaseRequest
802
+ * @package akash.market.v2beta1
803
+ * @see proto type: akash.market.v2beta1.QueryLeaseRequest
801
804
  */
802
805
  export const QueryLeaseRequest = {
803
- typeUrl: "/akash.market.v1beta4.QueryLeaseRequest",
806
+ typeUrl: "/akash.market.v2beta1.QueryLeaseRequest",
804
807
  encode(message, writer = BinaryWriter.create()) {
805
808
  if (message.id !== undefined) {
806
809
  LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
@@ -852,7 +855,7 @@ export const QueryLeaseRequest = {
852
855
  },
853
856
  toProtoMsg(message) {
854
857
  return {
855
- typeUrl: "/akash.market.v1beta4.QueryLeaseRequest",
858
+ typeUrl: "/akash.market.v2beta1.QueryLeaseRequest",
856
859
  value: QueryLeaseRequest.encode(message).finish()
857
860
  };
858
861
  }
@@ -860,23 +863,23 @@ export const QueryLeaseRequest = {
860
863
  function createBaseQueryLeaseResponse() {
861
864
  return {
862
865
  lease: Lease.fromPartial({}),
863
- escrowPayment: FractionalPayment.fromPartial({})
866
+ escrowPayment: Payment.fromPartial({})
864
867
  };
865
868
  }
866
869
  /**
867
870
  * QueryLeaseResponse is response type for the Query/Lease RPC method
868
871
  * @name QueryLeaseResponse
869
- * @package akash.market.v1beta4
870
- * @see proto type: akash.market.v1beta4.QueryLeaseResponse
872
+ * @package akash.market.v2beta1
873
+ * @see proto type: akash.market.v2beta1.QueryLeaseResponse
871
874
  */
872
875
  export const QueryLeaseResponse = {
873
- typeUrl: "/akash.market.v1beta4.QueryLeaseResponse",
876
+ typeUrl: "/akash.market.v2beta1.QueryLeaseResponse",
874
877
  encode(message, writer = BinaryWriter.create()) {
875
878
  if (message.lease !== undefined) {
876
879
  Lease.encode(message.lease, writer.uint32(10).fork()).ldelim();
877
880
  }
878
881
  if (message.escrowPayment !== undefined) {
879
- FractionalPayment.encode(message.escrowPayment, writer.uint32(18).fork()).ldelim();
882
+ Payment.encode(message.escrowPayment, writer.uint32(18).fork()).ldelim();
880
883
  }
881
884
  return writer;
882
885
  },
@@ -891,7 +894,7 @@ export const QueryLeaseResponse = {
891
894
  message.lease = Lease.decode(reader, reader.uint32());
892
895
  break;
893
896
  case 2:
894
- message.escrowPayment = FractionalPayment.decode(reader, reader.uint32());
897
+ message.escrowPayment = Payment.decode(reader, reader.uint32());
895
898
  break;
896
899
  default:
897
900
  reader.skipType(tag & 7);
@@ -903,7 +906,7 @@ export const QueryLeaseResponse = {
903
906
  fromPartial(object) {
904
907
  const message = createBaseQueryLeaseResponse();
905
908
  message.lease = object.lease !== undefined && object.lease !== null ? Lease.fromPartial(object.lease) : undefined;
906
- message.escrowPayment = object.escrowPayment !== undefined && object.escrowPayment !== null ? FractionalPayment.fromPartial(object.escrowPayment) : undefined;
909
+ message.escrowPayment = object.escrowPayment !== undefined && object.escrowPayment !== null ? Payment.fromPartial(object.escrowPayment) : undefined;
907
910
  return message;
908
911
  },
909
912
  fromAmino(object) {
@@ -912,14 +915,14 @@ export const QueryLeaseResponse = {
912
915
  message.lease = Lease.fromAmino(object.lease);
913
916
  }
914
917
  if (object.escrow_payment !== undefined && object.escrow_payment !== null) {
915
- message.escrowPayment = FractionalPayment.fromAmino(object.escrow_payment);
918
+ message.escrowPayment = Payment.fromAmino(object.escrow_payment);
916
919
  }
917
920
  return message;
918
921
  },
919
922
  toAmino(message) {
920
923
  const obj = {};
921
924
  obj.lease = message.lease ? Lease.toAmino(message.lease) : undefined;
922
- obj.escrow_payment = message.escrowPayment ? FractionalPayment.toAmino(message.escrowPayment) : undefined;
925
+ obj.escrow_payment = message.escrowPayment ? Payment.toAmino(message.escrowPayment) : undefined;
923
926
  return obj;
924
927
  },
925
928
  fromAminoMsg(object) {
@@ -933,8 +936,133 @@ export const QueryLeaseResponse = {
933
936
  },
934
937
  toProtoMsg(message) {
935
938
  return {
936
- typeUrl: "/akash.market.v1beta4.QueryLeaseResponse",
939
+ typeUrl: "/akash.market.v2beta1.QueryLeaseResponse",
937
940
  value: QueryLeaseResponse.encode(message).finish()
938
941
  };
939
942
  }
940
943
  };
944
+ function createBaseQueryParamsRequest() {
945
+ return {};
946
+ }
947
+ /**
948
+ * QueryParamsRequest is the request type for the Query/Params RPC method.
949
+ * @name QueryParamsRequest
950
+ * @package akash.market.v2beta1
951
+ * @see proto type: akash.market.v2beta1.QueryParamsRequest
952
+ */
953
+ export const QueryParamsRequest = {
954
+ typeUrl: "/akash.market.v2beta1.QueryParamsRequest",
955
+ encode(_, writer = BinaryWriter.create()) {
956
+ return writer;
957
+ },
958
+ decode(input, length) {
959
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
960
+ let end = length === undefined ? reader.len : reader.pos + length;
961
+ const message = createBaseQueryParamsRequest();
962
+ while (reader.pos < end) {
963
+ const tag = reader.uint32();
964
+ switch (tag >>> 3) {
965
+ default:
966
+ reader.skipType(tag & 7);
967
+ break;
968
+ }
969
+ }
970
+ return message;
971
+ },
972
+ fromPartial(_) {
973
+ const message = createBaseQueryParamsRequest();
974
+ return message;
975
+ },
976
+ fromAmino(_) {
977
+ const message = createBaseQueryParamsRequest();
978
+ return message;
979
+ },
980
+ toAmino(_) {
981
+ const obj = {};
982
+ return obj;
983
+ },
984
+ fromAminoMsg(object) {
985
+ return QueryParamsRequest.fromAmino(object.value);
986
+ },
987
+ fromProtoMsg(message) {
988
+ return QueryParamsRequest.decode(message.value);
989
+ },
990
+ toProto(message) {
991
+ return QueryParamsRequest.encode(message).finish();
992
+ },
993
+ toProtoMsg(message) {
994
+ return {
995
+ typeUrl: "/akash.market.v2beta1.QueryParamsRequest",
996
+ value: QueryParamsRequest.encode(message).finish()
997
+ };
998
+ }
999
+ };
1000
+ function createBaseQueryParamsResponse() {
1001
+ return {
1002
+ params: Params.fromPartial({})
1003
+ };
1004
+ }
1005
+ /**
1006
+ * QueryParamsResponse is the response type for the Query/Params RPC method.
1007
+ * @name QueryParamsResponse
1008
+ * @package akash.market.v2beta1
1009
+ * @see proto type: akash.market.v2beta1.QueryParamsResponse
1010
+ */
1011
+ export const QueryParamsResponse = {
1012
+ typeUrl: "/akash.market.v2beta1.QueryParamsResponse",
1013
+ encode(message, writer = BinaryWriter.create()) {
1014
+ if (message.params !== undefined) {
1015
+ Params.encode(message.params, writer.uint32(10).fork()).ldelim();
1016
+ }
1017
+ return writer;
1018
+ },
1019
+ decode(input, length) {
1020
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1021
+ let end = length === undefined ? reader.len : reader.pos + length;
1022
+ const message = createBaseQueryParamsResponse();
1023
+ while (reader.pos < end) {
1024
+ const tag = reader.uint32();
1025
+ switch (tag >>> 3) {
1026
+ case 1:
1027
+ message.params = Params.decode(reader, reader.uint32());
1028
+ break;
1029
+ default:
1030
+ reader.skipType(tag & 7);
1031
+ break;
1032
+ }
1033
+ }
1034
+ return message;
1035
+ },
1036
+ fromPartial(object) {
1037
+ const message = createBaseQueryParamsResponse();
1038
+ message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
1039
+ return message;
1040
+ },
1041
+ fromAmino(object) {
1042
+ const message = createBaseQueryParamsResponse();
1043
+ if (object.params !== undefined && object.params !== null) {
1044
+ message.params = Params.fromAmino(object.params);
1045
+ }
1046
+ return message;
1047
+ },
1048
+ toAmino(message) {
1049
+ const obj = {};
1050
+ obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
1051
+ return obj;
1052
+ },
1053
+ fromAminoMsg(object) {
1054
+ return QueryParamsResponse.fromAmino(object.value);
1055
+ },
1056
+ fromProtoMsg(message) {
1057
+ return QueryParamsResponse.decode(message.value);
1058
+ },
1059
+ toProto(message) {
1060
+ return QueryParamsResponse.encode(message).finish();
1061
+ },
1062
+ toProtoMsg(message) {
1063
+ return {
1064
+ typeUrl: "/akash.market.v2beta1.QueryParamsResponse",
1065
+ value: QueryParamsResponse.encode(message).finish()
1066
+ };
1067
+ }
1068
+ };
@@ -5,7 +5,7 @@ export class LCDQueryClient {
5
5
  constructor({ requestClient }) {
6
6
  this.req = requestClient;
7
7
  }
8
- /* Orders queries orders with filters */
8
+ /* Orders queries orders with filters. */
9
9
  orders = async (params) => {
10
10
  const options = {
11
11
  params: {}
@@ -16,10 +16,10 @@ export class LCDQueryClient {
16
16
  if (typeof params?.pagination !== "undefined") {
17
17
  setPaginationParams(options, params.pagination);
18
18
  }
19
- const endpoint = `akash/market/v1beta4/orders/list`;
19
+ const endpoint = `akash/market/v2beta1/orders/list`;
20
20
  return await this.req.get(endpoint, options);
21
21
  };
22
- /* Order queries order details */
22
+ /* Order queries order details. */
23
23
  order = async (params) => {
24
24
  const options = {
25
25
  params: {}
@@ -27,10 +27,10 @@ export class LCDQueryClient {
27
27
  if (typeof params?.id !== "undefined") {
28
28
  options.params.id = params.id;
29
29
  }
30
- const endpoint = `akash/market/v1beta4/orders/info`;
30
+ const endpoint = `akash/market/v2beta1/orders/info`;
31
31
  return await this.req.get(endpoint, options);
32
32
  };
33
- /* Bids queries bids with filters */
33
+ /* Bids queries bids with filters. */
34
34
  bids = async (params) => {
35
35
  const options = {
36
36
  params: {}
@@ -41,10 +41,10 @@ export class LCDQueryClient {
41
41
  if (typeof params?.pagination !== "undefined") {
42
42
  setPaginationParams(options, params.pagination);
43
43
  }
44
- const endpoint = `akash/market/v1beta4/bids/list`;
44
+ const endpoint = `akash/market/v2beta1/bids/list`;
45
45
  return await this.req.get(endpoint, options);
46
46
  };
47
- /* Bid queries bid details */
47
+ /* Bid queries bid details. */
48
48
  bid = async (params) => {
49
49
  const options = {
50
50
  params: {}
@@ -52,10 +52,10 @@ export class LCDQueryClient {
52
52
  if (typeof params?.id !== "undefined") {
53
53
  options.params.id = params.id;
54
54
  }
55
- const endpoint = `akash/market/v1beta4/bids/info`;
55
+ const endpoint = `akash/market/v2beta1/bids/info`;
56
56
  return await this.req.get(endpoint, options);
57
57
  };
58
- /* Leases queries leases with filters */
58
+ /* Leases queries leases with filters. */
59
59
  leases = async (params) => {
60
60
  const options = {
61
61
  params: {}
@@ -66,10 +66,10 @@ export class LCDQueryClient {
66
66
  if (typeof params?.pagination !== "undefined") {
67
67
  setPaginationParams(options, params.pagination);
68
68
  }
69
- const endpoint = `akash/market/v1beta4/leases/list`;
69
+ const endpoint = `akash/market/v2beta1/leases/list`;
70
70
  return await this.req.get(endpoint, options);
71
71
  };
72
- /* Lease queries lease details */
72
+ /* Lease queries lease details. */
73
73
  lease = async (params) => {
74
74
  const options = {
75
75
  params: {}
@@ -77,7 +77,12 @@ export class LCDQueryClient {
77
77
  if (typeof params?.id !== "undefined") {
78
78
  options.params.id = params.id;
79
79
  }
80
- const endpoint = `akash/market/v1beta4/leases/info`;
80
+ const endpoint = `akash/market/v2beta1/leases/info`;
81
81
  return await this.req.get(endpoint, options);
82
82
  };
83
+ /* Params returns the total set of market parameters. */
84
+ params = async (_params = {}) => {
85
+ const endpoint = `akash/market/v2beta1/params`;
86
+ return await this.req.get(endpoint);
87
+ };
83
88
  }
@@ -1,47 +1,53 @@
1
1
  import { BinaryReader } from "../../../binary";
2
2
  import { createProtobufRpcClient } from "@cosmjs/stargate";
3
- import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query";
3
+ import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
4
4
  export class QueryClientImpl {
5
5
  rpc;
6
6
  constructor(rpc) {
7
7
  this.rpc = rpc;
8
8
  }
9
- /* Orders queries orders with filters */
9
+ /* Orders queries orders with filters. */
10
10
  orders = async (request) => {
11
11
  const data = QueryOrdersRequest.encode(request).finish();
12
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Orders", data);
12
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Orders", data);
13
13
  return promise.then(data => QueryOrdersResponse.decode(new BinaryReader(data)));
14
14
  };
15
- /* Order queries order details */
15
+ /* Order queries order details. */
16
16
  order = async (request) => {
17
17
  const data = QueryOrderRequest.encode(request).finish();
18
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Order", data);
18
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Order", data);
19
19
  return promise.then(data => QueryOrderResponse.decode(new BinaryReader(data)));
20
20
  };
21
- /* Bids queries bids with filters */
21
+ /* Bids queries bids with filters. */
22
22
  bids = async (request) => {
23
23
  const data = QueryBidsRequest.encode(request).finish();
24
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Bids", data);
24
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Bids", data);
25
25
  return promise.then(data => QueryBidsResponse.decode(new BinaryReader(data)));
26
26
  };
27
- /* Bid queries bid details */
27
+ /* Bid queries bid details. */
28
28
  bid = async (request) => {
29
29
  const data = QueryBidRequest.encode(request).finish();
30
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Bid", data);
30
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Bid", data);
31
31
  return promise.then(data => QueryBidResponse.decode(new BinaryReader(data)));
32
32
  };
33
- /* Leases queries leases with filters */
33
+ /* Leases queries leases with filters. */
34
34
  leases = async (request) => {
35
35
  const data = QueryLeasesRequest.encode(request).finish();
36
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Leases", data);
36
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Leases", data);
37
37
  return promise.then(data => QueryLeasesResponse.decode(new BinaryReader(data)));
38
38
  };
39
- /* Lease queries lease details */
39
+ /* Lease queries lease details. */
40
40
  lease = async (request) => {
41
41
  const data = QueryLeaseRequest.encode(request).finish();
42
- const promise = this.rpc.request("akash.market.v1beta4.Query", "Lease", data);
42
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Lease", data);
43
43
  return promise.then(data => QueryLeaseResponse.decode(new BinaryReader(data)));
44
44
  };
45
+ /* Params returns the total set of market parameters. */
46
+ params = async (request = {}) => {
47
+ const data = QueryParamsRequest.encode(request).finish();
48
+ const promise = this.rpc.request("akash.market.v2beta1.Query", "Params", data);
49
+ return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
50
+ };
45
51
  }
46
52
  export const createRpcQueryExtension = (base) => {
47
53
  const rpc = createProtobufRpcClient(base);
@@ -64,6 +70,9 @@ export const createRpcQueryExtension = (base) => {
64
70
  },
65
71
  lease(request) {
66
72
  return queryService.lease(request);
73
+ },
74
+ params(request) {
75
+ return queryService.params(request);
67
76
  }
68
77
  };
69
78
  };