@sparkdreamnft/sparkdreamjs 0.0.30 → 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 (502) 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/bundle.d.ts +5409 -3608
  10. package/akash/bundle.js +475 -306
  11. package/akash/cert/v1/query.d.ts +2 -2
  12. package/akash/client.d.ts +84 -84
  13. package/akash/client.js +20 -17
  14. package/akash/deployment/v1/deployment.d.ts +64 -0
  15. package/akash/deployment/v1/deployment.js +85 -2
  16. package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
  17. package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
  18. package/akash/deployment/v1beta4/query.d.ts +3 -3
  19. package/akash/deployment/v1beta4/query.js +1 -1
  20. package/akash/deployment/v1beta4/query.lcd.js +1 -1
  21. package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
  22. package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
  23. package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
  24. package/akash/deployment/v1beta4/service.amino.js +0 -6
  25. package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
  26. package/akash/deployment/v1beta4/service.registry.js +1 -20
  27. package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
  28. package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
  29. package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
  30. package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
  31. package/akash/deployment/v1beta5/filters.d.ts +164 -0
  32. package/akash/deployment/v1beta5/filters.js +203 -0
  33. package/akash/deployment/v1beta5/genesis.d.ts +121 -0
  34. package/akash/deployment/v1beta5/genesis.js +176 -0
  35. package/akash/deployment/v1beta5/group.d.ts +95 -0
  36. package/akash/deployment/v1beta5/group.js +170 -0
  37. package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
  38. package/akash/deployment/v1beta5/groupmsg.js +381 -0
  39. package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
  40. package/akash/deployment/v1beta5/groupspec.js +104 -0
  41. package/akash/deployment/v1beta5/params.d.ts +53 -0
  42. package/akash/deployment/v1beta5/params.js +78 -0
  43. package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
  44. package/akash/deployment/v1beta5/paramsmsg.js +148 -0
  45. package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
  46. package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
  47. package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
  48. package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
  49. package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
  50. package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
  51. package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
  52. package/akash/deployment/v1beta5/resourceunit.js +103 -0
  53. package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
  54. package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
  55. package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
  56. package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
  57. package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
  58. package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
  59. package/akash/discovery/v1/akash.d.ts +38 -2
  60. package/akash/discovery/v1/akash.js +52 -1
  61. package/akash/discovery/v1/client_info.d.ts +124 -0
  62. package/akash/discovery/v1/client_info.js +181 -1
  63. package/akash/discovery/v1/service.d.ts +95 -0
  64. package/akash/discovery/v1/service.js +131 -0
  65. package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
  66. package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
  67. package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
  68. package/akash/downtimedetector/v1beta1/genesis.js +171 -0
  69. package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
  70. package/akash/downtimedetector/v1beta1/query.js +157 -0
  71. package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
  72. package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
  73. package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
  74. package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
  75. package/akash/epochs/v1beta1/events.d.ts +92 -0
  76. package/akash/epochs/v1beta1/events.js +155 -0
  77. package/akash/epochs/v1beta1/genesis.d.ts +200 -0
  78. package/akash/epochs/v1beta1/genesis.js +222 -0
  79. package/akash/epochs/v1beta1/query.d.ts +189 -0
  80. package/akash/epochs/v1beta1/query.js +276 -0
  81. package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
  82. package/akash/epochs/v1beta1/query.lcd.js +26 -0
  83. package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
  84. package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
  85. package/akash/escrow/id/v1/id.d.ts +107 -0
  86. package/akash/escrow/id/v1/id.js +211 -0
  87. package/akash/escrow/types/v1/account.d.ts +146 -0
  88. package/akash/escrow/types/v1/account.js +227 -0
  89. package/akash/escrow/types/v1/balance.d.ts +54 -0
  90. package/akash/escrow/types/v1/balance.js +89 -0
  91. package/akash/escrow/types/v1/deposit.d.ts +90 -0
  92. package/akash/escrow/types/v1/deposit.js +110 -0
  93. package/akash/escrow/types/v1/payment.d.ts +150 -0
  94. package/akash/escrow/types/v1/payment.js +216 -0
  95. package/akash/escrow/types/v1/state.d.ts +15 -0
  96. package/akash/escrow/types/v1/state.js +55 -0
  97. package/akash/escrow/v1/authz.d.ts +114 -0
  98. package/akash/escrow/v1/authz.js +174 -0
  99. package/akash/escrow/v1/genesis.d.ts +4 -4
  100. package/akash/escrow/v1/genesis.js +7 -7
  101. package/akash/escrow/v1/msg.d.ts +128 -0
  102. package/akash/escrow/v1/msg.js +158 -0
  103. package/akash/escrow/v1/query.d.ts +21 -83
  104. package/akash/escrow/v1/query.js +23 -83
  105. package/akash/escrow/v1/query.lcd.js +6 -21
  106. package/akash/escrow/v1/service.amino.d.ts +8 -0
  107. package/akash/escrow/v1/service.amino.js +12 -0
  108. package/akash/escrow/v1/service.registry.d.ts +25 -0
  109. package/akash/escrow/v1/service.registry.js +37 -0
  110. package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
  111. package/akash/escrow/v1/service.rpc.msg.js +22 -0
  112. package/akash/lcd.d.ts +15 -5
  113. package/akash/lcd.js +26 -12
  114. package/akash/market/v1/bid.d.ts +8 -0
  115. package/akash/market/v1/bid.js +13 -1
  116. package/akash/market/v1/event.d.ts +69 -0
  117. package/akash/market/v1/event.js +107 -2
  118. package/akash/market/v1/filters.d.ts +8 -0
  119. package/akash/market/v1/filters.js +13 -1
  120. package/akash/market/v1/lease.d.ts +24 -0
  121. package/akash/market/v1/lease.js +46 -2
  122. package/akash/market/v1/reclamation.d.ts +82 -0
  123. package/akash/market/v1/reclamation.js +111 -0
  124. package/akash/market/v1/types.d.ts +28 -0
  125. package/akash/market/v1/types.js +83 -0
  126. package/akash/market/v1beta5/bid.d.ts +9 -0
  127. package/akash/market/v1beta5/bid.js +14 -1
  128. package/akash/market/v1beta5/bidmsg.d.ts +23 -29
  129. package/akash/market/v1beta5/bidmsg.js +45 -32
  130. package/akash/market/v1beta5/filters.d.ts +8 -0
  131. package/akash/market/v1beta5/filters.js +13 -1
  132. package/akash/market/v1beta5/leasemsg.d.ts +109 -6
  133. package/akash/market/v1beta5/leasemsg.js +166 -17
  134. package/akash/market/v1beta5/order.d.ts +11 -0
  135. package/akash/market/v1beta5/order.js +14 -1
  136. package/akash/market/v1beta5/params.d.ts +27 -0
  137. package/akash/market/v1beta5/params.js +41 -1
  138. package/akash/market/v1beta5/query.d.ts +10 -10
  139. package/akash/market/v1beta5/query.js +8 -8
  140. package/akash/market/v1beta5/query.lcd.js +1 -1
  141. package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
  142. package/akash/market/v1beta5/query.rpc.Query.js +1 -1
  143. package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
  144. package/akash/market/v1beta5/resourcesoffer.js +317 -2
  145. package/akash/market/v1beta5/service.amino.d.ts +6 -1
  146. package/akash/market/v1beta5/service.amino.js +5 -0
  147. package/akash/market/v1beta5/service.registry.d.ts +13 -1
  148. package/akash/market/v1beta5/service.registry.js +19 -1
  149. package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
  150. package/akash/market/v1beta5/service.rpc.msg.js +6 -0
  151. package/akash/market/v2beta1/bid.d.ts +220 -0
  152. package/akash/market/v2beta1/bid.js +318 -0
  153. package/akash/market/v2beta1/bidmsg.d.ts +211 -0
  154. package/akash/market/v2beta1/bidmsg.js +313 -0
  155. package/akash/market/v2beta1/event.d.ts +343 -0
  156. package/akash/market/v2beta1/event.js +471 -0
  157. package/akash/market/v2beta1/filters.d.ts +338 -0
  158. package/akash/market/v2beta1/filters.js +404 -0
  159. package/akash/market/v2beta1/genesis.d.ts +80 -0
  160. package/akash/market/v2beta1/genesis.js +123 -0
  161. package/akash/market/v2beta1/lease.d.ts +224 -0
  162. package/akash/market/v2beta1/lease.js +321 -0
  163. package/akash/market/v2beta1/leasemsg.d.ts +283 -0
  164. package/akash/market/v2beta1/leasemsg.js +394 -0
  165. package/akash/market/v2beta1/order.d.ts +162 -0
  166. package/akash/market/v2beta1/order.js +267 -0
  167. package/akash/market/v2beta1/params.d.ts +61 -0
  168. package/akash/market/v2beta1/params.js +87 -0
  169. package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
  170. package/akash/market/v2beta1/paramsmsg.js +148 -0
  171. package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
  172. package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
  173. package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
  174. package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
  175. package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
  176. package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
  177. package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
  178. package/akash/market/v2beta1/resourcesoffer.js +88 -0
  179. package/akash/market/v2beta1/service.amino.d.ts +35 -0
  180. package/akash/market/v2beta1/service.amino.js +39 -0
  181. package/akash/market/v2beta1/service.js +2 -0
  182. package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
  183. package/akash/market/v2beta1/service.registry.js +129 -0
  184. package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
  185. package/akash/market/v2beta1/service.rpc.msg.js +57 -0
  186. package/akash/market/v2beta1/types.d.ts +28 -0
  187. package/akash/market/v2beta1/types.js +83 -0
  188. package/akash/oracle/v1/events.d.ts +303 -0
  189. package/akash/oracle/v1/events.js +435 -0
  190. package/akash/oracle/v1/genesis.d.ts +70 -0
  191. package/akash/oracle/v1/genesis.js +106 -0
  192. package/akash/oracle/v1/msgs.d.ts +239 -0
  193. package/akash/oracle/v1/msgs.js +298 -0
  194. package/akash/oracle/v1/params.d.ts +95 -0
  195. package/akash/oracle/v1/params.js +141 -0
  196. package/akash/oracle/v1/prices.d.ts +706 -0
  197. package/akash/oracle/v1/prices.js +1006 -0
  198. package/akash/oracle/v1/query.d.ts +204 -0
  199. package/akash/oracle/v1/query.js +282 -0
  200. package/akash/oracle/v1/query.lcd.d.ts +12 -0
  201. package/akash/oracle/v1/query.lcd.js +35 -0
  202. package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
  203. package/akash/oracle/v1/query.rpc.Query.js +49 -0
  204. package/akash/oracle/v1/service.amino.d.ts +13 -0
  205. package/akash/oracle/v1/service.amino.js +17 -0
  206. package/akash/oracle/v1/service.js +2 -0
  207. package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
  208. package/akash/oracle/v1/service.registry.js +55 -0
  209. package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
  210. package/akash/oracle/v1/service.rpc.msg.js +31 -0
  211. package/akash/oracle/v2/events.d.ts +309 -0
  212. package/akash/oracle/v2/events.js +438 -0
  213. package/akash/oracle/v2/genesis.d.ts +202 -0
  214. package/akash/oracle/v2/genesis.js +295 -0
  215. package/akash/oracle/v2/msgs.d.ts +247 -0
  216. package/akash/oracle/v2/msgs.js +313 -0
  217. package/akash/oracle/v2/params.d.ts +130 -0
  218. package/akash/oracle/v2/params.js +190 -0
  219. package/akash/oracle/v2/prices.d.ts +581 -0
  220. package/akash/oracle/v2/prices.js +828 -0
  221. package/akash/oracle/v2/query.d.ts +395 -0
  222. package/akash/oracle/v2/query.js +555 -0
  223. package/akash/oracle/v2/query.lcd.d.ts +11 -0
  224. package/akash/oracle/v2/query.lcd.js +42 -0
  225. package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
  226. package/akash/oracle/v2/query.rpc.Query.js +47 -0
  227. package/akash/oracle/v2/service.amino.d.ts +13 -0
  228. package/akash/oracle/v2/service.amino.js +17 -0
  229. package/akash/oracle/v2/service.d.ts +1 -0
  230. package/akash/oracle/v2/service.js +2 -0
  231. package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
  232. package/akash/oracle/v2/service.registry.js +55 -0
  233. package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
  234. package/akash/oracle/v2/service.rpc.msg.js +31 -0
  235. package/akash/provider/v1beta4/query.d.ts +2 -2
  236. package/akash/rpc.query.d.ts +43 -26
  237. package/akash/rpc.query.js +19 -9
  238. package/akash/rpc.tx.d.ts +12 -5
  239. package/akash/rpc.tx.js +16 -9
  240. package/akash/take/v1/query.lcd.js +1 -1
  241. package/akash/take/v1/query.rpc.Query.d.ts +1 -1
  242. package/akash/take/v1/query.rpc.Query.js +1 -1
  243. package/akash/take/v1/service.rpc.msg.d.ts +1 -1
  244. package/akash/wasm/v1/event.d.ts +53 -0
  245. package/akash/wasm/v1/event.js +99 -0
  246. package/akash/wasm/v1/genesis.d.ts +53 -0
  247. package/akash/wasm/v1/genesis.js +75 -0
  248. package/akash/wasm/v1/params.d.ts +46 -0
  249. package/akash/wasm/v1/params.js +77 -0
  250. package/akash/wasm/v1/paramsmsg.d.ts +122 -0
  251. package/akash/wasm/v1/paramsmsg.js +148 -0
  252. package/akash/wasm/v1/query.d.ts +95 -0
  253. package/akash/wasm/v1/query.js +131 -0
  254. package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
  255. package/akash/wasm/v1/query.lcd.js +15 -0
  256. package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
  257. package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
  258. package/akash/wasm/v1/service.amino.d.ts +8 -0
  259. package/akash/wasm/v1/service.amino.js +12 -0
  260. package/akash/wasm/v1/service.d.ts +1 -0
  261. package/akash/wasm/v1/service.js +2 -0
  262. package/akash/wasm/v1/service.registry.d.ts +25 -0
  263. package/akash/wasm/v1/service.registry.js +37 -0
  264. package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
  265. package/akash/wasm/v1/service.rpc.msg.js +25 -0
  266. package/amino/bundle.js +2 -2
  267. package/cosmos/authz/v1beta1/authz.d.ts +6 -5
  268. package/cosmos/authz/v1beta1/authz.js +25 -12
  269. package/cosmos/bundle.d.ts +7545 -7545
  270. package/cosmos/bundle.js +416 -416
  271. package/cosmos_proto/bundle.d.ts +23 -23
  272. package/cosmos_proto/bundle.js +2 -2
  273. package/esm/akash/base/deposit/v1/deposit.js +139 -0
  274. package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
  275. package/esm/akash/bundle.js +475 -306
  276. package/esm/akash/client.js +20 -17
  277. package/esm/akash/deployment/v1/deployment.js +84 -1
  278. package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
  279. package/esm/akash/deployment/v1beta4/query.js +1 -1
  280. package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
  281. package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
  282. package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
  283. package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
  284. package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
  285. package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
  286. package/esm/akash/deployment/v1beta5/filters.js +200 -0
  287. package/esm/akash/deployment/v1beta5/genesis.js +173 -0
  288. package/esm/akash/deployment/v1beta5/group.js +165 -0
  289. package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
  290. package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
  291. package/esm/akash/deployment/v1beta5/params.js +75 -0
  292. package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
  293. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
  294. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
  295. package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
  296. package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
  297. package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
  298. package/esm/akash/deployment/v1beta5/service.js +1 -0
  299. package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
  300. package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
  301. package/esm/akash/discovery/v1/akash.js +53 -2
  302. package/esm/akash/discovery/v1/client_info.js +180 -0
  303. package/esm/akash/discovery/v1/service.js +128 -0
  304. package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
  305. package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
  306. package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
  307. package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
  308. package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
  309. package/esm/akash/epochs/v1beta1/events.js +152 -0
  310. package/esm/akash/epochs/v1beta1/genesis.js +219 -0
  311. package/esm/akash/epochs/v1beta1/query.js +273 -0
  312. package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
  313. package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
  314. package/esm/akash/escrow/id/v1/id.js +206 -0
  315. package/esm/akash/escrow/types/v1/account.js +224 -0
  316. package/esm/akash/escrow/types/v1/balance.js +86 -0
  317. package/esm/akash/escrow/types/v1/deposit.js +107 -0
  318. package/esm/akash/escrow/types/v1/payment.js +213 -0
  319. package/esm/akash/escrow/types/v1/state.js +50 -0
  320. package/esm/akash/escrow/v1/authz.js +169 -0
  321. package/esm/akash/escrow/v1/genesis.js +7 -7
  322. package/esm/akash/escrow/v1/msg.js +155 -0
  323. package/esm/akash/escrow/v1/query.js +23 -83
  324. package/esm/akash/escrow/v1/query.lcd.js +6 -21
  325. package/esm/akash/escrow/v1/service.amino.js +9 -0
  326. package/esm/akash/escrow/v1/service.js +1 -0
  327. package/esm/akash/escrow/v1/service.registry.js +33 -0
  328. package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
  329. package/esm/akash/lcd.js +26 -12
  330. package/esm/akash/market/v1/bid.js +13 -1
  331. package/esm/akash/market/v1/event.js +106 -1
  332. package/esm/akash/market/v1/filters.js +13 -1
  333. package/esm/akash/market/v1/lease.js +46 -2
  334. package/esm/akash/market/v1/reclamation.js +108 -0
  335. package/esm/akash/market/v1/types.js +78 -0
  336. package/esm/akash/market/v1beta5/bid.js +14 -1
  337. package/esm/akash/market/v1beta5/bidmsg.js +46 -33
  338. package/esm/akash/market/v1beta5/filters.js +13 -1
  339. package/esm/akash/market/v1beta5/leasemsg.js +165 -16
  340. package/esm/akash/market/v1beta5/order.js +14 -1
  341. package/esm/akash/market/v1beta5/params.js +41 -1
  342. package/esm/akash/market/v1beta5/query.js +8 -8
  343. package/esm/akash/market/v1beta5/query.lcd.js +1 -1
  344. package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
  345. package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
  346. package/esm/akash/market/v1beta5/service.amino.js +6 -1
  347. package/esm/akash/market/v1beta5/service.registry.js +20 -2
  348. package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
  349. package/esm/akash/market/v2beta1/bid.js +313 -0
  350. package/esm/akash/market/v2beta1/bidmsg.js +310 -0
  351. package/esm/akash/market/v2beta1/event.js +468 -0
  352. package/esm/akash/market/v2beta1/filters.js +401 -0
  353. package/esm/akash/market/v2beta1/genesis.js +120 -0
  354. package/esm/akash/market/v2beta1/lease.js +316 -0
  355. package/esm/akash/market/v2beta1/leasemsg.js +391 -0
  356. package/esm/akash/market/v2beta1/order.js +262 -0
  357. package/esm/akash/market/v2beta1/params.js +84 -0
  358. package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
  359. package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
  360. package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
  361. package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
  362. package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
  363. package/esm/akash/market/v2beta1/service.amino.js +36 -0
  364. package/esm/akash/market/v2beta1/service.js +1 -0
  365. package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
  366. package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
  367. package/esm/akash/market/v2beta1/types.js +78 -0
  368. package/esm/akash/oracle/v1/events.js +432 -0
  369. package/esm/akash/oracle/v1/genesis.js +103 -0
  370. package/esm/akash/oracle/v1/msgs.js +295 -0
  371. package/esm/akash/oracle/v1/params.js +138 -0
  372. package/esm/akash/oracle/v1/prices.js +1003 -0
  373. package/esm/akash/oracle/v1/query.js +279 -0
  374. package/esm/akash/oracle/v1/query.lcd.js +31 -0
  375. package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
  376. package/esm/akash/oracle/v1/service.amino.js +14 -0
  377. package/esm/akash/oracle/v1/service.js +1 -0
  378. package/esm/akash/oracle/v1/service.registry.js +51 -0
  379. package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
  380. package/esm/akash/oracle/v2/events.js +435 -0
  381. package/esm/akash/oracle/v2/genesis.js +292 -0
  382. package/esm/akash/oracle/v2/msgs.js +310 -0
  383. package/esm/akash/oracle/v2/params.js +187 -0
  384. package/esm/akash/oracle/v2/prices.js +825 -0
  385. package/esm/akash/oracle/v2/query.js +552 -0
  386. package/esm/akash/oracle/v2/query.lcd.js +38 -0
  387. package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
  388. package/esm/akash/oracle/v2/service.amino.js +14 -0
  389. package/esm/akash/oracle/v2/service.js +1 -0
  390. package/esm/akash/oracle/v2/service.registry.js +51 -0
  391. package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
  392. package/esm/akash/rpc.query.js +19 -9
  393. package/esm/akash/rpc.tx.js +16 -9
  394. package/esm/akash/take/v1/query.lcd.js +1 -1
  395. package/esm/akash/take/v1/query.rpc.Query.js +1 -1
  396. package/esm/akash/wasm/v1/event.js +96 -0
  397. package/esm/akash/wasm/v1/genesis.js +72 -0
  398. package/esm/akash/wasm/v1/params.js +74 -0
  399. package/esm/akash/wasm/v1/paramsmsg.js +145 -0
  400. package/esm/akash/wasm/v1/query.js +128 -0
  401. package/esm/akash/wasm/v1/query.lcd.js +11 -0
  402. package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
  403. package/esm/akash/wasm/v1/service.amino.js +9 -0
  404. package/esm/akash/wasm/v1/service.js +1 -0
  405. package/esm/akash/wasm/v1/service.registry.js +33 -0
  406. package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
  407. package/esm/amino/bundle.js +2 -2
  408. package/esm/cosmos/authz/v1beta1/authz.js +13 -0
  409. package/esm/cosmos/bundle.js +416 -416
  410. package/esm/cosmos_proto/bundle.js +2 -2
  411. package/esm/gogoproto/bundle.js +2 -2
  412. package/esm/google/bundle.js +8 -8
  413. package/esm/ibc/bundle.js +234 -234
  414. package/esm/sparkdream/bundle.js +540 -540
  415. package/esm/tendermint/bundle.js +20 -20
  416. package/gogoproto/bundle.js +2 -2
  417. package/google/bundle.d.ts +431 -431
  418. package/google/bundle.js +8 -8
  419. package/ibc/bundle.d.ts +3843 -3843
  420. package/ibc/bundle.js +234 -234
  421. package/package.json +1 -1
  422. package/sparkdream/bundle.d.ts +17352 -17352
  423. package/sparkdream/bundle.js +540 -540
  424. package/tendermint/bundle.d.ts +844 -844
  425. package/tendermint/bundle.js +20 -20
  426. package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
  427. package/akash/audit/v1beta3/audit.amino.js +0 -17
  428. package/akash/audit/v1beta3/audit.registry.js +0 -55
  429. package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
  430. package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
  431. package/akash/audit/v1beta3/query.d.ts +0 -278
  432. package/akash/audit/v1beta3/query.js +0 -484
  433. package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
  434. package/akash/audit/v1beta3/query.lcd.js +0 -60
  435. package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
  436. package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
  437. package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
  438. package/akash/cert/v1beta3/cert.amino.js +0 -17
  439. package/akash/cert/v1beta3/cert.registry.js +0 -55
  440. package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
  441. package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
  442. package/akash/cert/v1beta3/query.d.ts +0 -142
  443. package/akash/cert/v1beta3/query.js +0 -253
  444. package/akash/cert/v1beta3/query.lcd.js +0 -26
  445. package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
  446. package/akash/deployment/v1/authz.d.ts +0 -58
  447. package/akash/deployment/v1/authz.js +0 -76
  448. package/akash/deployment/v1/msg.d.ts +0 -122
  449. package/akash/deployment/v1/msg.js +0 -158
  450. package/akash/escrow/v1/account.d.ts +0 -147
  451. package/akash/escrow/v1/account.js +0 -211
  452. package/akash/escrow/v1/accountid.d.ts +0 -60
  453. package/akash/escrow/v1/accountid.js +0 -86
  454. package/akash/escrow/v1/fractional_payment.d.ts +0 -125
  455. package/akash/escrow/v1/fractional_payment.js +0 -199
  456. package/akash/market/v1beta4/service.amino.d.ts +0 -29
  457. package/akash/market/v1beta4/service.amino.js +0 -33
  458. package/akash/market/v1beta4/service.registry.js +0 -111
  459. package/akash/market/v1beta4/service.rpc.msg.js +0 -48
  460. package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
  461. package/akash/provider/v1beta3/provider.amino.js +0 -22
  462. package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
  463. package/akash/provider/v1beta3/provider.registry.js +0 -73
  464. package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
  465. package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
  466. package/akash/provider/v1beta3/query.d.ts +0 -182
  467. package/akash/provider/v1beta3/query.js +0 -298
  468. package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
  469. package/akash/provider/v1beta3/query.lcd.js +0 -30
  470. package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
  471. package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
  472. package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
  473. package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
  474. package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
  475. package/esm/akash/audit/v1beta3/query.js +0 -481
  476. package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
  477. package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
  478. package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
  479. package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
  480. package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
  481. package/esm/akash/cert/v1beta3/query.js +0 -250
  482. package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
  483. package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
  484. package/esm/akash/deployment/v1/authz.js +0 -73
  485. package/esm/akash/deployment/v1/msg.js +0 -155
  486. package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
  487. package/esm/akash/escrow/v1/account.js +0 -206
  488. package/esm/akash/escrow/v1/accountid.js +0 -83
  489. package/esm/akash/escrow/v1/fractional_payment.js +0 -194
  490. package/esm/akash/market/v1beta4/service.amino.js +0 -30
  491. package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
  492. package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
  493. package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
  494. package/esm/akash/provider/v1beta3/query.js +0 -295
  495. package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
  496. package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
  497. /package/akash/deployment/{v1beta3 → v1beta5}/service.d.ts +0 -0
  498. /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
  499. /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
  500. /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
  501. /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
  502. /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
@@ -0,0 +1,283 @@
1
+ import { BidID, BidIDAmino } from "./bid";
2
+ import { LeaseID, LeaseIDAmino } from "./lease";
3
+ import { LeaseClosedReason } from "./types";
4
+ import { BinaryReader, BinaryWriter } from "../../../binary";
5
+ import { DeepPartial } from "../../../helpers";
6
+ /**
7
+ * MsgCreateLease is sent to create a lease.
8
+ * @name MsgCreateLease
9
+ * @package akash.market.v2beta1
10
+ * @see proto type: akash.market.v2beta1.MsgCreateLease
11
+ */
12
+ export interface MsgCreateLease {
13
+ /**
14
+ * BidId is the unique identifier of the Bid.
15
+ */
16
+ bidId: BidID;
17
+ }
18
+ export interface MsgCreateLeaseProtoMsg {
19
+ typeUrl: "/akash.market.v2beta1.MsgCreateLease";
20
+ value: Uint8Array;
21
+ }
22
+ /**
23
+ * MsgCreateLease is sent to create a lease.
24
+ * @name MsgCreateLeaseAmino
25
+ * @package akash.market.v2beta1
26
+ * @see proto type: akash.market.v2beta1.MsgCreateLease
27
+ */
28
+ export interface MsgCreateLeaseAmino {
29
+ /**
30
+ * BidId is the unique identifier of the Bid.
31
+ */
32
+ bid_id: BidIDAmino;
33
+ }
34
+ export interface MsgCreateLeaseAminoMsg {
35
+ type: "/akash.market.v2beta1.MsgCreateLease";
36
+ value: MsgCreateLeaseAmino;
37
+ }
38
+ /**
39
+ * MsgCreateLeaseResponse is the response from creating a lease.
40
+ * @name MsgCreateLeaseResponse
41
+ * @package akash.market.v2beta1
42
+ * @see proto type: akash.market.v2beta1.MsgCreateLeaseResponse
43
+ */
44
+ export interface MsgCreateLeaseResponse {
45
+ }
46
+ export interface MsgCreateLeaseResponseProtoMsg {
47
+ typeUrl: "/akash.market.v2beta1.MsgCreateLeaseResponse";
48
+ value: Uint8Array;
49
+ }
50
+ /**
51
+ * MsgCreateLeaseResponse is the response from creating a lease.
52
+ * @name MsgCreateLeaseResponseAmino
53
+ * @package akash.market.v2beta1
54
+ * @see proto type: akash.market.v2beta1.MsgCreateLeaseResponse
55
+ */
56
+ export interface MsgCreateLeaseResponseAmino {
57
+ }
58
+ export interface MsgCreateLeaseResponseAminoMsg {
59
+ type: "/akash.market.v2beta1.MsgCreateLeaseResponse";
60
+ value: MsgCreateLeaseResponseAmino;
61
+ }
62
+ /**
63
+ * MsgWithdrawLease defines an SDK message for withdrawing lease funds.
64
+ * @name MsgWithdrawLease
65
+ * @package akash.market.v2beta1
66
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLease
67
+ */
68
+ export interface MsgWithdrawLease {
69
+ /**
70
+ * BidId is the unique identifier of the Bid.
71
+ */
72
+ id: LeaseID;
73
+ }
74
+ export interface MsgWithdrawLeaseProtoMsg {
75
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLease";
76
+ value: Uint8Array;
77
+ }
78
+ /**
79
+ * MsgWithdrawLease defines an SDK message for withdrawing lease funds.
80
+ * @name MsgWithdrawLeaseAmino
81
+ * @package akash.market.v2beta1
82
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLease
83
+ */
84
+ export interface MsgWithdrawLeaseAmino {
85
+ /**
86
+ * BidId is the unique identifier of the Bid.
87
+ */
88
+ id: LeaseIDAmino;
89
+ }
90
+ export interface MsgWithdrawLeaseAminoMsg {
91
+ type: "/akash.market.v2beta1.MsgWithdrawLease";
92
+ value: MsgWithdrawLeaseAmino;
93
+ }
94
+ /**
95
+ * MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
96
+ * @name MsgWithdrawLeaseResponse
97
+ * @package akash.market.v2beta1
98
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLeaseResponse
99
+ */
100
+ export interface MsgWithdrawLeaseResponse {
101
+ }
102
+ export interface MsgWithdrawLeaseResponseProtoMsg {
103
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLeaseResponse";
104
+ value: Uint8Array;
105
+ }
106
+ /**
107
+ * MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
108
+ * @name MsgWithdrawLeaseResponseAmino
109
+ * @package akash.market.v2beta1
110
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLeaseResponse
111
+ */
112
+ export interface MsgWithdrawLeaseResponseAmino {
113
+ }
114
+ export interface MsgWithdrawLeaseResponseAminoMsg {
115
+ type: "/akash.market.v2beta1.MsgWithdrawLeaseResponse";
116
+ value: MsgWithdrawLeaseResponseAmino;
117
+ }
118
+ /**
119
+ * MsgCloseLease defines an SDK message for closing order.
120
+ * @name MsgCloseLease
121
+ * @package akash.market.v2beta1
122
+ * @see proto type: akash.market.v2beta1.MsgCloseLease
123
+ */
124
+ export interface MsgCloseLease {
125
+ /**
126
+ * LeaseID is the unique identifier of the Lease.
127
+ */
128
+ id: LeaseID;
129
+ reason: LeaseClosedReason;
130
+ }
131
+ export interface MsgCloseLeaseProtoMsg {
132
+ typeUrl: "/akash.market.v2beta1.MsgCloseLease";
133
+ value: Uint8Array;
134
+ }
135
+ /**
136
+ * MsgCloseLease defines an SDK message for closing order.
137
+ * @name MsgCloseLeaseAmino
138
+ * @package akash.market.v2beta1
139
+ * @see proto type: akash.market.v2beta1.MsgCloseLease
140
+ */
141
+ export interface MsgCloseLeaseAmino {
142
+ /**
143
+ * LeaseID is the unique identifier of the Lease.
144
+ */
145
+ id: LeaseIDAmino;
146
+ reason: LeaseClosedReason;
147
+ }
148
+ export interface MsgCloseLeaseAminoMsg {
149
+ type: "/akash.market.v2beta1.MsgCloseLease";
150
+ value: MsgCloseLeaseAmino;
151
+ }
152
+ /**
153
+ * MsgCloseLeaseResponse defines the Msg/CloseLease response type.
154
+ * @name MsgCloseLeaseResponse
155
+ * @package akash.market.v2beta1
156
+ * @see proto type: akash.market.v2beta1.MsgCloseLeaseResponse
157
+ */
158
+ export interface MsgCloseLeaseResponse {
159
+ }
160
+ export interface MsgCloseLeaseResponseProtoMsg {
161
+ typeUrl: "/akash.market.v2beta1.MsgCloseLeaseResponse";
162
+ value: Uint8Array;
163
+ }
164
+ /**
165
+ * MsgCloseLeaseResponse defines the Msg/CloseLease response type.
166
+ * @name MsgCloseLeaseResponseAmino
167
+ * @package akash.market.v2beta1
168
+ * @see proto type: akash.market.v2beta1.MsgCloseLeaseResponse
169
+ */
170
+ export interface MsgCloseLeaseResponseAmino {
171
+ }
172
+ export interface MsgCloseLeaseResponseAminoMsg {
173
+ type: "/akash.market.v2beta1.MsgCloseLeaseResponse";
174
+ value: MsgCloseLeaseResponseAmino;
175
+ }
176
+ /**
177
+ * MsgCreateLease is sent to create a lease.
178
+ * @name MsgCreateLease
179
+ * @package akash.market.v2beta1
180
+ * @see proto type: akash.market.v2beta1.MsgCreateLease
181
+ */
182
+ export declare const MsgCreateLease: {
183
+ typeUrl: string;
184
+ encode(message: MsgCreateLease, writer?: BinaryWriter): BinaryWriter;
185
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateLease;
186
+ fromPartial(object: DeepPartial<MsgCreateLease>): MsgCreateLease;
187
+ fromAmino(object: MsgCreateLeaseAmino): MsgCreateLease;
188
+ toAmino(message: MsgCreateLease): MsgCreateLeaseAmino;
189
+ fromAminoMsg(object: MsgCreateLeaseAminoMsg): MsgCreateLease;
190
+ fromProtoMsg(message: MsgCreateLeaseProtoMsg): MsgCreateLease;
191
+ toProto(message: MsgCreateLease): Uint8Array;
192
+ toProtoMsg(message: MsgCreateLease): MsgCreateLeaseProtoMsg;
193
+ };
194
+ /**
195
+ * MsgCreateLeaseResponse is the response from creating a lease.
196
+ * @name MsgCreateLeaseResponse
197
+ * @package akash.market.v2beta1
198
+ * @see proto type: akash.market.v2beta1.MsgCreateLeaseResponse
199
+ */
200
+ export declare const MsgCreateLeaseResponse: {
201
+ typeUrl: string;
202
+ encode(_: MsgCreateLeaseResponse, writer?: BinaryWriter): BinaryWriter;
203
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateLeaseResponse;
204
+ fromPartial(_: DeepPartial<MsgCreateLeaseResponse>): MsgCreateLeaseResponse;
205
+ fromAmino(_: MsgCreateLeaseResponseAmino): MsgCreateLeaseResponse;
206
+ toAmino(_: MsgCreateLeaseResponse): MsgCreateLeaseResponseAmino;
207
+ fromAminoMsg(object: MsgCreateLeaseResponseAminoMsg): MsgCreateLeaseResponse;
208
+ fromProtoMsg(message: MsgCreateLeaseResponseProtoMsg): MsgCreateLeaseResponse;
209
+ toProto(message: MsgCreateLeaseResponse): Uint8Array;
210
+ toProtoMsg(message: MsgCreateLeaseResponse): MsgCreateLeaseResponseProtoMsg;
211
+ };
212
+ /**
213
+ * MsgWithdrawLease defines an SDK message for withdrawing lease funds.
214
+ * @name MsgWithdrawLease
215
+ * @package akash.market.v2beta1
216
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLease
217
+ */
218
+ export declare const MsgWithdrawLease: {
219
+ typeUrl: string;
220
+ encode(message: MsgWithdrawLease, writer?: BinaryWriter): BinaryWriter;
221
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawLease;
222
+ fromPartial(object: DeepPartial<MsgWithdrawLease>): MsgWithdrawLease;
223
+ fromAmino(object: MsgWithdrawLeaseAmino): MsgWithdrawLease;
224
+ toAmino(message: MsgWithdrawLease): MsgWithdrawLeaseAmino;
225
+ fromAminoMsg(object: MsgWithdrawLeaseAminoMsg): MsgWithdrawLease;
226
+ fromProtoMsg(message: MsgWithdrawLeaseProtoMsg): MsgWithdrawLease;
227
+ toProto(message: MsgWithdrawLease): Uint8Array;
228
+ toProtoMsg(message: MsgWithdrawLease): MsgWithdrawLeaseProtoMsg;
229
+ };
230
+ /**
231
+ * MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
232
+ * @name MsgWithdrawLeaseResponse
233
+ * @package akash.market.v2beta1
234
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLeaseResponse
235
+ */
236
+ export declare const MsgWithdrawLeaseResponse: {
237
+ typeUrl: string;
238
+ encode(_: MsgWithdrawLeaseResponse, writer?: BinaryWriter): BinaryWriter;
239
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawLeaseResponse;
240
+ fromPartial(_: DeepPartial<MsgWithdrawLeaseResponse>): MsgWithdrawLeaseResponse;
241
+ fromAmino(_: MsgWithdrawLeaseResponseAmino): MsgWithdrawLeaseResponse;
242
+ toAmino(_: MsgWithdrawLeaseResponse): MsgWithdrawLeaseResponseAmino;
243
+ fromAminoMsg(object: MsgWithdrawLeaseResponseAminoMsg): MsgWithdrawLeaseResponse;
244
+ fromProtoMsg(message: MsgWithdrawLeaseResponseProtoMsg): MsgWithdrawLeaseResponse;
245
+ toProto(message: MsgWithdrawLeaseResponse): Uint8Array;
246
+ toProtoMsg(message: MsgWithdrawLeaseResponse): MsgWithdrawLeaseResponseProtoMsg;
247
+ };
248
+ /**
249
+ * MsgCloseLease defines an SDK message for closing order.
250
+ * @name MsgCloseLease
251
+ * @package akash.market.v2beta1
252
+ * @see proto type: akash.market.v2beta1.MsgCloseLease
253
+ */
254
+ export declare const MsgCloseLease: {
255
+ typeUrl: string;
256
+ encode(message: MsgCloseLease, writer?: BinaryWriter): BinaryWriter;
257
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCloseLease;
258
+ fromPartial(object: DeepPartial<MsgCloseLease>): MsgCloseLease;
259
+ fromAmino(object: MsgCloseLeaseAmino): MsgCloseLease;
260
+ toAmino(message: MsgCloseLease): MsgCloseLeaseAmino;
261
+ fromAminoMsg(object: MsgCloseLeaseAminoMsg): MsgCloseLease;
262
+ fromProtoMsg(message: MsgCloseLeaseProtoMsg): MsgCloseLease;
263
+ toProto(message: MsgCloseLease): Uint8Array;
264
+ toProtoMsg(message: MsgCloseLease): MsgCloseLeaseProtoMsg;
265
+ };
266
+ /**
267
+ * MsgCloseLeaseResponse defines the Msg/CloseLease response type.
268
+ * @name MsgCloseLeaseResponse
269
+ * @package akash.market.v2beta1
270
+ * @see proto type: akash.market.v2beta1.MsgCloseLeaseResponse
271
+ */
272
+ export declare const MsgCloseLeaseResponse: {
273
+ typeUrl: string;
274
+ encode(_: MsgCloseLeaseResponse, writer?: BinaryWriter): BinaryWriter;
275
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgCloseLeaseResponse;
276
+ fromPartial(_: DeepPartial<MsgCloseLeaseResponse>): MsgCloseLeaseResponse;
277
+ fromAmino(_: MsgCloseLeaseResponseAmino): MsgCloseLeaseResponse;
278
+ toAmino(_: MsgCloseLeaseResponse): MsgCloseLeaseResponseAmino;
279
+ fromAminoMsg(object: MsgCloseLeaseResponseAminoMsg): MsgCloseLeaseResponse;
280
+ fromProtoMsg(message: MsgCloseLeaseResponseProtoMsg): MsgCloseLeaseResponse;
281
+ toProto(message: MsgCloseLeaseResponse): Uint8Array;
282
+ toProtoMsg(message: MsgCloseLeaseResponse): MsgCloseLeaseResponseProtoMsg;
283
+ };
@@ -0,0 +1,394 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MsgCloseLeaseResponse = exports.MsgCloseLease = exports.MsgWithdrawLeaseResponse = exports.MsgWithdrawLease = exports.MsgCreateLeaseResponse = exports.MsgCreateLease = void 0;
4
+ //@ts-nocheck
5
+ const bid_1 = require("./bid");
6
+ const lease_1 = require("./lease");
7
+ const binary_1 = require("../../../binary");
8
+ function createBaseMsgCreateLease() {
9
+ return {
10
+ bidId: bid_1.BidID.fromPartial({})
11
+ };
12
+ }
13
+ /**
14
+ * MsgCreateLease is sent to create a lease.
15
+ * @name MsgCreateLease
16
+ * @package akash.market.v2beta1
17
+ * @see proto type: akash.market.v2beta1.MsgCreateLease
18
+ */
19
+ exports.MsgCreateLease = {
20
+ typeUrl: "/akash.market.v2beta1.MsgCreateLease",
21
+ encode(message, writer = binary_1.BinaryWriter.create()) {
22
+ if (message.bidId !== undefined) {
23
+ bid_1.BidID.encode(message.bidId, writer.uint32(10).fork()).ldelim();
24
+ }
25
+ return writer;
26
+ },
27
+ decode(input, length) {
28
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
29
+ let end = length === undefined ? reader.len : reader.pos + length;
30
+ const message = createBaseMsgCreateLease();
31
+ while (reader.pos < end) {
32
+ const tag = reader.uint32();
33
+ switch (tag >>> 3) {
34
+ case 1:
35
+ message.bidId = bid_1.BidID.decode(reader, reader.uint32());
36
+ break;
37
+ default:
38
+ reader.skipType(tag & 7);
39
+ break;
40
+ }
41
+ }
42
+ return message;
43
+ },
44
+ fromPartial(object) {
45
+ const message = createBaseMsgCreateLease();
46
+ message.bidId = object.bidId !== undefined && object.bidId !== null ? bid_1.BidID.fromPartial(object.bidId) : undefined;
47
+ return message;
48
+ },
49
+ fromAmino(object) {
50
+ const message = createBaseMsgCreateLease();
51
+ if (object.bid_id !== undefined && object.bid_id !== null) {
52
+ message.bidId = bid_1.BidID.fromAmino(object.bid_id);
53
+ }
54
+ return message;
55
+ },
56
+ toAmino(message) {
57
+ const obj = {};
58
+ obj.bid_id = message.bidId ? bid_1.BidID.toAmino(message.bidId) : bid_1.BidID.toAmino(bid_1.BidID.fromPartial({}));
59
+ return obj;
60
+ },
61
+ fromAminoMsg(object) {
62
+ return exports.MsgCreateLease.fromAmino(object.value);
63
+ },
64
+ fromProtoMsg(message) {
65
+ return exports.MsgCreateLease.decode(message.value);
66
+ },
67
+ toProto(message) {
68
+ return exports.MsgCreateLease.encode(message).finish();
69
+ },
70
+ toProtoMsg(message) {
71
+ return {
72
+ typeUrl: "/akash.market.v2beta1.MsgCreateLease",
73
+ value: exports.MsgCreateLease.encode(message).finish()
74
+ };
75
+ }
76
+ };
77
+ function createBaseMsgCreateLeaseResponse() {
78
+ return {};
79
+ }
80
+ /**
81
+ * MsgCreateLeaseResponse is the response from creating a lease.
82
+ * @name MsgCreateLeaseResponse
83
+ * @package akash.market.v2beta1
84
+ * @see proto type: akash.market.v2beta1.MsgCreateLeaseResponse
85
+ */
86
+ exports.MsgCreateLeaseResponse = {
87
+ typeUrl: "/akash.market.v2beta1.MsgCreateLeaseResponse",
88
+ encode(_, writer = binary_1.BinaryWriter.create()) {
89
+ return writer;
90
+ },
91
+ decode(input, length) {
92
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
93
+ let end = length === undefined ? reader.len : reader.pos + length;
94
+ const message = createBaseMsgCreateLeaseResponse();
95
+ while (reader.pos < end) {
96
+ const tag = reader.uint32();
97
+ switch (tag >>> 3) {
98
+ default:
99
+ reader.skipType(tag & 7);
100
+ break;
101
+ }
102
+ }
103
+ return message;
104
+ },
105
+ fromPartial(_) {
106
+ const message = createBaseMsgCreateLeaseResponse();
107
+ return message;
108
+ },
109
+ fromAmino(_) {
110
+ const message = createBaseMsgCreateLeaseResponse();
111
+ return message;
112
+ },
113
+ toAmino(_) {
114
+ const obj = {};
115
+ return obj;
116
+ },
117
+ fromAminoMsg(object) {
118
+ return exports.MsgCreateLeaseResponse.fromAmino(object.value);
119
+ },
120
+ fromProtoMsg(message) {
121
+ return exports.MsgCreateLeaseResponse.decode(message.value);
122
+ },
123
+ toProto(message) {
124
+ return exports.MsgCreateLeaseResponse.encode(message).finish();
125
+ },
126
+ toProtoMsg(message) {
127
+ return {
128
+ typeUrl: "/akash.market.v2beta1.MsgCreateLeaseResponse",
129
+ value: exports.MsgCreateLeaseResponse.encode(message).finish()
130
+ };
131
+ }
132
+ };
133
+ function createBaseMsgWithdrawLease() {
134
+ return {
135
+ id: lease_1.LeaseID.fromPartial({})
136
+ };
137
+ }
138
+ /**
139
+ * MsgWithdrawLease defines an SDK message for withdrawing lease funds.
140
+ * @name MsgWithdrawLease
141
+ * @package akash.market.v2beta1
142
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLease
143
+ */
144
+ exports.MsgWithdrawLease = {
145
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLease",
146
+ encode(message, writer = binary_1.BinaryWriter.create()) {
147
+ if (message.id !== undefined) {
148
+ lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
149
+ }
150
+ return writer;
151
+ },
152
+ decode(input, length) {
153
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
154
+ let end = length === undefined ? reader.len : reader.pos + length;
155
+ const message = createBaseMsgWithdrawLease();
156
+ while (reader.pos < end) {
157
+ const tag = reader.uint32();
158
+ switch (tag >>> 3) {
159
+ case 1:
160
+ message.id = lease_1.LeaseID.decode(reader, reader.uint32());
161
+ break;
162
+ default:
163
+ reader.skipType(tag & 7);
164
+ break;
165
+ }
166
+ }
167
+ return message;
168
+ },
169
+ fromPartial(object) {
170
+ const message = createBaseMsgWithdrawLease();
171
+ message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
172
+ return message;
173
+ },
174
+ fromAmino(object) {
175
+ const message = createBaseMsgWithdrawLease();
176
+ if (object.id !== undefined && object.id !== null) {
177
+ message.id = lease_1.LeaseID.fromAmino(object.id);
178
+ }
179
+ return message;
180
+ },
181
+ toAmino(message) {
182
+ const obj = {};
183
+ obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
184
+ return obj;
185
+ },
186
+ fromAminoMsg(object) {
187
+ return exports.MsgWithdrawLease.fromAmino(object.value);
188
+ },
189
+ fromProtoMsg(message) {
190
+ return exports.MsgWithdrawLease.decode(message.value);
191
+ },
192
+ toProto(message) {
193
+ return exports.MsgWithdrawLease.encode(message).finish();
194
+ },
195
+ toProtoMsg(message) {
196
+ return {
197
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLease",
198
+ value: exports.MsgWithdrawLease.encode(message).finish()
199
+ };
200
+ }
201
+ };
202
+ function createBaseMsgWithdrawLeaseResponse() {
203
+ return {};
204
+ }
205
+ /**
206
+ * MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
207
+ * @name MsgWithdrawLeaseResponse
208
+ * @package akash.market.v2beta1
209
+ * @see proto type: akash.market.v2beta1.MsgWithdrawLeaseResponse
210
+ */
211
+ exports.MsgWithdrawLeaseResponse = {
212
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLeaseResponse",
213
+ encode(_, writer = binary_1.BinaryWriter.create()) {
214
+ return writer;
215
+ },
216
+ decode(input, length) {
217
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
218
+ let end = length === undefined ? reader.len : reader.pos + length;
219
+ const message = createBaseMsgWithdrawLeaseResponse();
220
+ while (reader.pos < end) {
221
+ const tag = reader.uint32();
222
+ switch (tag >>> 3) {
223
+ default:
224
+ reader.skipType(tag & 7);
225
+ break;
226
+ }
227
+ }
228
+ return message;
229
+ },
230
+ fromPartial(_) {
231
+ const message = createBaseMsgWithdrawLeaseResponse();
232
+ return message;
233
+ },
234
+ fromAmino(_) {
235
+ const message = createBaseMsgWithdrawLeaseResponse();
236
+ return message;
237
+ },
238
+ toAmino(_) {
239
+ const obj = {};
240
+ return obj;
241
+ },
242
+ fromAminoMsg(object) {
243
+ return exports.MsgWithdrawLeaseResponse.fromAmino(object.value);
244
+ },
245
+ fromProtoMsg(message) {
246
+ return exports.MsgWithdrawLeaseResponse.decode(message.value);
247
+ },
248
+ toProto(message) {
249
+ return exports.MsgWithdrawLeaseResponse.encode(message).finish();
250
+ },
251
+ toProtoMsg(message) {
252
+ return {
253
+ typeUrl: "/akash.market.v2beta1.MsgWithdrawLeaseResponse",
254
+ value: exports.MsgWithdrawLeaseResponse.encode(message).finish()
255
+ };
256
+ }
257
+ };
258
+ function createBaseMsgCloseLease() {
259
+ return {
260
+ id: lease_1.LeaseID.fromPartial({}),
261
+ reason: 0
262
+ };
263
+ }
264
+ /**
265
+ * MsgCloseLease defines an SDK message for closing order.
266
+ * @name MsgCloseLease
267
+ * @package akash.market.v2beta1
268
+ * @see proto type: akash.market.v2beta1.MsgCloseLease
269
+ */
270
+ exports.MsgCloseLease = {
271
+ typeUrl: "/akash.market.v2beta1.MsgCloseLease",
272
+ encode(message, writer = binary_1.BinaryWriter.create()) {
273
+ if (message.id !== undefined) {
274
+ lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
275
+ }
276
+ if (message.reason !== 0) {
277
+ writer.uint32(16).int32(message.reason);
278
+ }
279
+ return writer;
280
+ },
281
+ decode(input, length) {
282
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
283
+ let end = length === undefined ? reader.len : reader.pos + length;
284
+ const message = createBaseMsgCloseLease();
285
+ while (reader.pos < end) {
286
+ const tag = reader.uint32();
287
+ switch (tag >>> 3) {
288
+ case 1:
289
+ message.id = lease_1.LeaseID.decode(reader, reader.uint32());
290
+ break;
291
+ case 2:
292
+ message.reason = reader.int32();
293
+ break;
294
+ default:
295
+ reader.skipType(tag & 7);
296
+ break;
297
+ }
298
+ }
299
+ return message;
300
+ },
301
+ fromPartial(object) {
302
+ const message = createBaseMsgCloseLease();
303
+ message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
304
+ message.reason = object.reason ?? 0;
305
+ return message;
306
+ },
307
+ fromAmino(object) {
308
+ const message = createBaseMsgCloseLease();
309
+ if (object.id !== undefined && object.id !== null) {
310
+ message.id = lease_1.LeaseID.fromAmino(object.id);
311
+ }
312
+ if (object.reason !== undefined && object.reason !== null) {
313
+ message.reason = object.reason;
314
+ }
315
+ return message;
316
+ },
317
+ toAmino(message) {
318
+ const obj = {};
319
+ obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
320
+ obj.reason = message.reason ?? 0;
321
+ return obj;
322
+ },
323
+ fromAminoMsg(object) {
324
+ return exports.MsgCloseLease.fromAmino(object.value);
325
+ },
326
+ fromProtoMsg(message) {
327
+ return exports.MsgCloseLease.decode(message.value);
328
+ },
329
+ toProto(message) {
330
+ return exports.MsgCloseLease.encode(message).finish();
331
+ },
332
+ toProtoMsg(message) {
333
+ return {
334
+ typeUrl: "/akash.market.v2beta1.MsgCloseLease",
335
+ value: exports.MsgCloseLease.encode(message).finish()
336
+ };
337
+ }
338
+ };
339
+ function createBaseMsgCloseLeaseResponse() {
340
+ return {};
341
+ }
342
+ /**
343
+ * MsgCloseLeaseResponse defines the Msg/CloseLease response type.
344
+ * @name MsgCloseLeaseResponse
345
+ * @package akash.market.v2beta1
346
+ * @see proto type: akash.market.v2beta1.MsgCloseLeaseResponse
347
+ */
348
+ exports.MsgCloseLeaseResponse = {
349
+ typeUrl: "/akash.market.v2beta1.MsgCloseLeaseResponse",
350
+ encode(_, writer = binary_1.BinaryWriter.create()) {
351
+ return writer;
352
+ },
353
+ decode(input, length) {
354
+ const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
355
+ let end = length === undefined ? reader.len : reader.pos + length;
356
+ const message = createBaseMsgCloseLeaseResponse();
357
+ while (reader.pos < end) {
358
+ const tag = reader.uint32();
359
+ switch (tag >>> 3) {
360
+ default:
361
+ reader.skipType(tag & 7);
362
+ break;
363
+ }
364
+ }
365
+ return message;
366
+ },
367
+ fromPartial(_) {
368
+ const message = createBaseMsgCloseLeaseResponse();
369
+ return message;
370
+ },
371
+ fromAmino(_) {
372
+ const message = createBaseMsgCloseLeaseResponse();
373
+ return message;
374
+ },
375
+ toAmino(_) {
376
+ const obj = {};
377
+ return obj;
378
+ },
379
+ fromAminoMsg(object) {
380
+ return exports.MsgCloseLeaseResponse.fromAmino(object.value);
381
+ },
382
+ fromProtoMsg(message) {
383
+ return exports.MsgCloseLeaseResponse.decode(message.value);
384
+ },
385
+ toProto(message) {
386
+ return exports.MsgCloseLeaseResponse.encode(message).finish();
387
+ },
388
+ toProtoMsg(message) {
389
+ return {
390
+ typeUrl: "/akash.market.v2beta1.MsgCloseLeaseResponse",
391
+ value: exports.MsgCloseLeaseResponse.encode(message).finish()
392
+ };
393
+ }
394
+ };