@sparkdreamnft/sparkdreamjs 0.0.28 → 0.0.29

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 (625) hide show
  1. package/akash/audit/v1/audit.d.ts +209 -0
  2. package/akash/audit/v1/audit.js +265 -0
  3. package/akash/audit/v1/event.d.ts +150 -0
  4. package/akash/audit/v1/event.js +167 -0
  5. package/akash/audit/v1/genesis.d.ts +53 -0
  6. package/akash/audit/v1/genesis.js +78 -0
  7. package/akash/audit/v1/msg.d.ts +253 -0
  8. package/akash/audit/v1/msg.js +310 -0
  9. package/akash/audit/v1/query.d.ts +392 -0
  10. package/akash/audit/v1/query.js +484 -0
  11. package/akash/audit/v1/query.lcd.d.ts +12 -0
  12. package/akash/audit/v1/query.lcd.js +60 -0
  13. package/akash/audit/v1/query.rpc.Query.d.ts +44 -0
  14. package/akash/audit/v1/query.rpc.Query.js +66 -0
  15. package/akash/audit/v1/service.amino.d.ts +13 -0
  16. package/akash/audit/v1/service.amino.js +17 -0
  17. package/akash/audit/v1/service.d.ts +1 -0
  18. package/akash/audit/v1/service.js +2 -0
  19. package/akash/audit/v1/service.registry.d.ts +37 -0
  20. package/akash/audit/v1/service.registry.js +55 -0
  21. package/akash/audit/v1/service.rpc.msg.d.ts +16 -0
  22. package/akash/audit/v1/service.rpc.msg.js +28 -0
  23. package/akash/audit/v1beta3/audit.amino.d.ts +13 -0
  24. package/akash/audit/v1beta3/audit.amino.js +17 -0
  25. package/akash/audit/v1beta3/audit.d.ts +369 -0
  26. package/akash/audit/v1beta3/audit.js +661 -0
  27. package/akash/audit/v1beta3/audit.registry.d.ts +37 -0
  28. package/akash/audit/v1beta3/audit.registry.js +55 -0
  29. package/akash/audit/v1beta3/audit.rpc.msg.d.ts +16 -0
  30. package/akash/audit/v1beta3/audit.rpc.msg.js +28 -0
  31. package/akash/audit/v1beta3/genesis.d.ts +47 -0
  32. package/akash/audit/v1beta3/genesis.js +78 -0
  33. package/akash/audit/v1beta3/query.d.ts +278 -0
  34. package/akash/audit/v1beta3/query.js +484 -0
  35. package/akash/audit/v1beta3/query.lcd.d.ts +12 -0
  36. package/akash/audit/v1beta3/query.lcd.js +60 -0
  37. package/akash/audit/v1beta3/query.rpc.Query.d.ts +44 -0
  38. package/akash/audit/v1beta3/query.rpc.Query.js +66 -0
  39. package/akash/base/attributes/v1/attribute.d.ts +185 -0
  40. package/akash/base/attributes/v1/attribute.js +260 -0
  41. package/akash/base/resources/v1beta4/cpu.d.ts +66 -0
  42. package/akash/base/resources/v1beta4/cpu.js +91 -0
  43. package/akash/base/resources/v1beta4/endpoint.d.ts +73 -0
  44. package/akash/base/resources/v1beta4/endpoint.js +130 -0
  45. package/akash/base/resources/v1beta4/gpu.d.ts +58 -0
  46. package/akash/base/resources/v1beta4/gpu.js +91 -0
  47. package/akash/base/resources/v1beta4/memory.d.ts +66 -0
  48. package/akash/base/resources/v1beta4/memory.js +91 -0
  49. package/akash/base/resources/v1beta4/resources.d.ts +108 -0
  50. package/akash/base/resources/v1beta4/resources.js +146 -0
  51. package/akash/base/resources/v1beta4/resourcevalue.d.ts +46 -0
  52. package/akash/base/resources/v1beta4/resourcevalue.js +75 -0
  53. package/akash/base/resources/v1beta4/storage.d.ts +74 -0
  54. package/akash/base/resources/v1beta4/storage.js +103 -0
  55. package/akash/base/v1beta3/attribute.d.ts +173 -0
  56. package/akash/base/v1beta3/attribute.js +260 -0
  57. package/akash/base/v1beta3/cpu.d.ts +50 -0
  58. package/akash/base/v1beta3/cpu.js +91 -0
  59. package/akash/base/v1beta3/endpoint.d.ts +61 -0
  60. package/akash/base/v1beta3/endpoint.js +130 -0
  61. package/akash/base/v1beta3/gpu.d.ts +50 -0
  62. package/akash/base/v1beta3/gpu.js +91 -0
  63. package/akash/base/v1beta3/memory.d.ts +50 -0
  64. package/akash/base/v1beta3/memory.js +91 -0
  65. package/akash/base/v1beta3/resources.d.ts +64 -0
  66. package/akash/base/v1beta3/resources.js +146 -0
  67. package/akash/base/v1beta3/resourcevalue.d.ts +46 -0
  68. package/akash/base/v1beta3/resourcevalue.js +75 -0
  69. package/akash/base/v1beta3/storage.d.ts +52 -0
  70. package/akash/base/v1beta3/storage.js +103 -0
  71. package/akash/bundle.d.ts +5068 -0
  72. package/akash/bundle.js +465 -0
  73. package/akash/cert/v1/cert.d.ts +154 -0
  74. package/akash/cert/v1/cert.js +225 -0
  75. package/akash/cert/v1/filters.d.ts +80 -0
  76. package/akash/cert/v1/filters.js +98 -0
  77. package/akash/cert/v1/genesis.d.ts +119 -0
  78. package/akash/cert/v1/genesis.js +159 -0
  79. package/akash/cert/v1/msg.d.ts +211 -0
  80. package/akash/cert/v1/msg.js +281 -0
  81. package/akash/cert/v1/query.d.ts +179 -0
  82. package/akash/cert/v1/query.js +254 -0
  83. package/akash/cert/v1/query.lcd.d.ts +9 -0
  84. package/akash/cert/v1/query.lcd.js +26 -0
  85. package/akash/cert/v1/query.rpc.Query.d.ts +16 -0
  86. package/akash/cert/v1/query.rpc.Query.js +29 -0
  87. package/akash/cert/v1/service.amino.d.ts +13 -0
  88. package/akash/cert/v1/service.amino.js +17 -0
  89. package/akash/cert/v1/service.d.ts +1 -0
  90. package/akash/cert/v1/service.js +2 -0
  91. package/akash/cert/v1/service.registry.d.ts +37 -0
  92. package/akash/cert/v1/service.registry.js +55 -0
  93. package/akash/cert/v1/service.rpc.msg.d.ts +16 -0
  94. package/akash/cert/v1/service.rpc.msg.js +28 -0
  95. package/akash/cert/v1beta3/cert.amino.d.ts +13 -0
  96. package/akash/cert/v1beta3/cert.amino.js +17 -0
  97. package/akash/cert/v1beta3/cert.d.ts +333 -0
  98. package/akash/cert/v1beta3/cert.js +591 -0
  99. package/akash/cert/v1beta3/cert.registry.d.ts +37 -0
  100. package/akash/cert/v1beta3/cert.registry.js +55 -0
  101. package/akash/cert/v1beta3/cert.rpc.msg.d.ts +16 -0
  102. package/akash/cert/v1beta3/cert.rpc.msg.js +28 -0
  103. package/akash/cert/v1beta3/genesis.d.ts +93 -0
  104. package/akash/cert/v1beta3/genesis.js +159 -0
  105. package/akash/cert/v1beta3/query.d.ts +142 -0
  106. package/akash/cert/v1beta3/query.js +253 -0
  107. package/akash/cert/v1beta3/query.lcd.d.ts +9 -0
  108. package/akash/cert/v1beta3/query.lcd.js +26 -0
  109. package/akash/cert/v1beta3/query.rpc.Query.d.ts +16 -0
  110. package/akash/cert/v1beta3/query.rpc.Query.js +29 -0
  111. package/akash/client.d.ts +222 -0
  112. package/akash/client.js +97 -0
  113. package/akash/deployment/v1/authz.d.ts +58 -0
  114. package/akash/deployment/v1/authz.js +76 -0
  115. package/akash/deployment/v1/deployment.d.ts +162 -0
  116. package/akash/deployment/v1/deployment.js +237 -0
  117. package/akash/deployment/v1/event.d.ts +338 -0
  118. package/akash/deployment/v1/event.js +452 -0
  119. package/akash/deployment/v1/group.d.ts +89 -0
  120. package/akash/deployment/v1/group.js +101 -0
  121. package/akash/deployment/v1/msg.d.ts +122 -0
  122. package/akash/deployment/v1/msg.js +158 -0
  123. package/akash/deployment/v1beta3/authz.d.ts +58 -0
  124. package/akash/deployment/v1beta3/authz.js +76 -0
  125. package/akash/deployment/v1beta3/deployment.d.ts +159 -0
  126. package/akash/deployment/v1beta3/deployment.js +329 -0
  127. package/akash/deployment/v1beta3/deploymentmsg.d.ts +375 -0
  128. package/akash/deployment/v1beta3/deploymentmsg.js +596 -0
  129. package/akash/deployment/v1beta3/genesis.d.ts +97 -0
  130. package/akash/deployment/v1beta3/genesis.js +176 -0
  131. package/akash/deployment/v1beta3/group.d.ts +71 -0
  132. package/akash/deployment/v1beta3/group.js +170 -0
  133. package/akash/deployment/v1beta3/groupid.d.ts +50 -0
  134. package/akash/deployment/v1beta3/groupid.js +98 -0
  135. package/akash/deployment/v1beta3/groupmsg.d.ts +261 -0
  136. package/akash/deployment/v1beta3/groupmsg.js +381 -0
  137. package/akash/deployment/v1beta3/groupspec.d.ts +52 -0
  138. package/akash/deployment/v1beta3/groupspec.js +103 -0
  139. package/akash/deployment/v1beta3/params.d.ts +47 -0
  140. package/akash/deployment/v1beta3/params.js +78 -0
  141. package/akash/deployment/v1beta3/query.d.ts +279 -0
  142. package/akash/deployment/v1beta3/query.js +478 -0
  143. package/akash/deployment/v1beta3/query.lcd.d.ts +11 -0
  144. package/akash/deployment/v1beta3/query.lcd.js +48 -0
  145. package/akash/deployment/v1beta3/query.rpc.Query.d.ts +24 -0
  146. package/akash/deployment/v1beta3/query.rpc.Query.js +47 -0
  147. package/akash/deployment/v1beta3/resourceunit.d.ts +52 -0
  148. package/akash/deployment/v1beta3/resourceunit.js +100 -0
  149. package/akash/deployment/v1beta3/service.amino.d.ts +39 -0
  150. package/akash/deployment/v1beta3/service.amino.js +43 -0
  151. package/akash/deployment/v1beta3/service.d.ts +1 -0
  152. package/akash/deployment/v1beta3/service.js +2 -0
  153. package/akash/deployment/v1beta3/service.registry.d.ts +98 -0
  154. package/akash/deployment/v1beta3/service.registry.js +146 -0
  155. package/akash/deployment/v1beta3/service.rpc.msg.d.ts +32 -0
  156. package/akash/deployment/v1beta3/service.rpc.msg.js +59 -0
  157. package/akash/deployment/v1beta4/deploymentmsg.d.ts +333 -0
  158. package/akash/deployment/v1beta4/deploymentmsg.js +447 -0
  159. package/akash/deployment/v1beta4/filters.d.ts +164 -0
  160. package/akash/deployment/v1beta4/filters.js +203 -0
  161. package/akash/deployment/v1beta4/genesis.d.ts +121 -0
  162. package/akash/deployment/v1beta4/genesis.js +176 -0
  163. package/akash/deployment/v1beta4/group.d.ts +95 -0
  164. package/akash/deployment/v1beta4/group.js +170 -0
  165. package/akash/deployment/v1beta4/groupmsg.d.ts +279 -0
  166. package/akash/deployment/v1beta4/groupmsg.js +381 -0
  167. package/akash/deployment/v1beta4/groupspec.d.ts +77 -0
  168. package/akash/deployment/v1beta4/groupspec.js +104 -0
  169. package/akash/deployment/v1beta4/params.d.ts +53 -0
  170. package/akash/deployment/v1beta4/params.js +78 -0
  171. package/akash/deployment/v1beta4/paramsmsg.d.ts +122 -0
  172. package/akash/deployment/v1beta4/paramsmsg.js +148 -0
  173. package/akash/deployment/v1beta4/query.d.ts +437 -0
  174. package/akash/deployment/v1beta4/query.js +605 -0
  175. package/akash/deployment/v1beta4/query.lcd.d.ts +12 -0
  176. package/akash/deployment/v1beta4/query.lcd.js +53 -0
  177. package/akash/deployment/v1beta4/query.rpc.Query.d.ts +28 -0
  178. package/akash/deployment/v1beta4/query.rpc.Query.js +56 -0
  179. package/akash/deployment/v1beta4/resourceunit.d.ts +70 -0
  180. package/akash/deployment/v1beta4/resourceunit.js +100 -0
  181. package/akash/deployment/v1beta4/service.amino.d.ts +46 -0
  182. package/akash/deployment/v1beta4/service.amino.js +50 -0
  183. package/akash/deployment/v1beta4/service.d.ts +1 -0
  184. package/akash/deployment/v1beta4/service.js +2 -0
  185. package/akash/deployment/v1beta4/service.registry.d.ts +112 -0
  186. package/akash/deployment/v1beta4/service.registry.js +166 -0
  187. package/akash/deployment/v1beta4/service.rpc.msg.d.ts +42 -0
  188. package/akash/deployment/v1beta4/service.rpc.msg.js +70 -0
  189. package/akash/discovery/v1/akash.d.ts +53 -0
  190. package/akash/discovery/v1/akash.js +75 -0
  191. package/akash/discovery/v1/client_info.d.ts +52 -0
  192. package/akash/discovery/v1/client_info.js +74 -0
  193. package/akash/escrow/v1/account.d.ts +147 -0
  194. package/akash/escrow/v1/account.js +211 -0
  195. package/akash/escrow/v1/accountid.d.ts +60 -0
  196. package/akash/escrow/v1/accountid.js +86 -0
  197. package/akash/escrow/v1/fractional_payment.d.ts +125 -0
  198. package/akash/escrow/v1/fractional_payment.js +199 -0
  199. package/akash/escrow/v1/genesis.d.ts +62 -0
  200. package/akash/escrow/v1/genesis.js +94 -0
  201. package/akash/escrow/v1/query.d.ts +309 -0
  202. package/akash/escrow/v1/query.js +422 -0
  203. package/akash/escrow/v1/query.lcd.d.ts +10 -0
  204. package/akash/escrow/v1/query.lcd.js +65 -0
  205. package/akash/escrow/v1/query.rpc.Query.d.ts +28 -0
  206. package/akash/escrow/v1/query.rpc.Query.js +42 -0
  207. package/akash/escrow/v1beta3/genesis.d.ts +49 -0
  208. package/akash/escrow/v1beta3/genesis.js +93 -0
  209. package/akash/escrow/v1beta3/query.d.ts +202 -0
  210. package/akash/escrow/v1beta3/query.js +421 -0
  211. package/akash/escrow/v1beta3/query.lcd.d.ts +10 -0
  212. package/akash/escrow/v1beta3/query.lcd.js +65 -0
  213. package/akash/escrow/v1beta3/query.rpc.Query.d.ts +28 -0
  214. package/akash/escrow/v1beta3/query.rpc.Query.js +42 -0
  215. package/akash/escrow/v1beta3/types.d.ts +247 -0
  216. package/akash/escrow/v1beta3/types.js +483 -0
  217. package/akash/lcd.d.ts +89 -0
  218. package/akash/lcd.js +193 -0
  219. package/akash/market/v1/bid.d.ts +109 -0
  220. package/akash/market/v1/bid.js +123 -0
  221. package/akash/market/v1/event.d.ts +340 -0
  222. package/akash/market/v1/event.js +453 -0
  223. package/akash/market/v1/filters.d.ts +114 -0
  224. package/akash/market/v1/filters.js +134 -0
  225. package/akash/market/v1/lease.d.ts +213 -0
  226. package/akash/market/v1/lease.js +294 -0
  227. package/akash/market/v1/order.d.ts +90 -0
  228. package/akash/market/v1/order.js +110 -0
  229. package/akash/market/v1beta4/bid.d.ts +412 -0
  230. package/akash/market/v1beta4/bid.js +816 -0
  231. package/akash/market/v1beta4/genesis.d.ts +56 -0
  232. package/akash/market/v1beta4/genesis.js +123 -0
  233. package/akash/market/v1beta4/lease.d.ts +435 -0
  234. package/akash/market/v1beta4/lease.js +796 -0
  235. package/akash/market/v1beta4/order.d.ts +170 -0
  236. package/akash/market/v1beta4/order.js +384 -0
  237. package/akash/market/v1beta4/params.d.ts +49 -0
  238. package/akash/market/v1beta4/params.js +87 -0
  239. package/akash/market/v1beta4/query.d.ts +551 -0
  240. package/akash/market/v1beta4/query.js +943 -0
  241. package/akash/market/v1beta4/query.lcd.d.ts +14 -0
  242. package/akash/market/v1beta4/query.lcd.js +87 -0
  243. package/akash/market/v1beta4/query.rpc.Query.d.ts +36 -0
  244. package/akash/market/v1beta4/query.rpc.Query.js +74 -0
  245. package/akash/market/v1beta4/service.amino.d.ts +29 -0
  246. package/akash/market/v1beta4/service.amino.js +33 -0
  247. package/akash/market/v1beta4/service.d.ts +1 -0
  248. package/akash/market/v1beta4/service.js +2 -0
  249. package/akash/market/v1beta4/service.registry.d.ts +74 -0
  250. package/akash/market/v1beta4/service.registry.js +111 -0
  251. package/akash/market/v1beta4/service.rpc.msg.d.ts +26 -0
  252. package/akash/market/v1beta4/service.rpc.msg.js +48 -0
  253. package/akash/market/v1beta5/bid.d.ts +106 -0
  254. package/akash/market/v1beta5/bid.js +186 -0
  255. package/akash/market/v1beta5/bidmsg.d.ts +230 -0
  256. package/akash/market/v1beta5/bidmsg.js +310 -0
  257. package/akash/market/v1beta5/filters.d.ts +210 -0
  258. package/akash/market/v1beta5/filters.js +251 -0
  259. package/akash/market/v1beta5/genesis.d.ts +80 -0
  260. package/akash/market/v1beta5/genesis.js +123 -0
  261. package/akash/market/v1beta5/leasemsg.d.ts +280 -0
  262. package/akash/market/v1beta5/leasemsg.js +382 -0
  263. package/akash/market/v1beta5/order.d.ts +75 -0
  264. package/akash/market/v1beta5/order.js +163 -0
  265. package/akash/market/v1beta5/params.d.ts +61 -0
  266. package/akash/market/v1beta5/params.js +87 -0
  267. package/akash/market/v1beta5/paramsmsg.d.ts +122 -0
  268. package/akash/market/v1beta5/paramsmsg.js +148 -0
  269. package/akash/market/v1beta5/query.d.ts +769 -0
  270. package/akash/market/v1beta5/query.js +1074 -0
  271. package/akash/market/v1beta5/query.lcd.d.ts +15 -0
  272. package/akash/market/v1beta5/query.lcd.js +92 -0
  273. package/akash/market/v1beta5/query.rpc.Query.d.ts +40 -0
  274. package/akash/market/v1beta5/query.rpc.Query.js +83 -0
  275. package/akash/market/v1beta5/resourcesoffer.d.ts +64 -0
  276. package/akash/market/v1beta5/resourcesoffer.js +88 -0
  277. package/akash/market/v1beta5/service.amino.d.ts +35 -0
  278. package/akash/market/v1beta5/service.amino.js +39 -0
  279. package/akash/market/v1beta5/service.d.ts +1 -0
  280. package/akash/market/v1beta5/service.js +2 -0
  281. package/akash/market/v1beta5/service.registry.d.ts +87 -0
  282. package/akash/market/v1beta5/service.registry.js +129 -0
  283. package/akash/market/v1beta5/service.rpc.msg.d.ts +35 -0
  284. package/akash/market/v1beta5/service.rpc.msg.js +57 -0
  285. package/akash/provider/v1beta3/genesis.d.ts +47 -0
  286. package/akash/provider/v1beta3/genesis.js +78 -0
  287. package/akash/provider/v1beta3/provider.amino.d.ts +18 -0
  288. package/akash/provider/v1beta3/provider.amino.js +22 -0
  289. package/akash/provider/v1beta3/provider.d.ts +369 -0
  290. package/akash/provider/v1beta3/provider.js +648 -0
  291. package/akash/provider/v1beta3/provider.registry.d.ts +49 -0
  292. package/akash/provider/v1beta3/provider.registry.js +73 -0
  293. package/akash/provider/v1beta3/provider.rpc.msg.d.ts +19 -0
  294. package/akash/provider/v1beta3/provider.rpc.msg.js +34 -0
  295. package/akash/provider/v1beta3/query.d.ts +182 -0
  296. package/akash/provider/v1beta3/query.js +298 -0
  297. package/akash/provider/v1beta3/query.lcd.d.ts +10 -0
  298. package/akash/provider/v1beta3/query.lcd.js +30 -0
  299. package/akash/provider/v1beta3/query.rpc.Query.d.ts +20 -0
  300. package/akash/provider/v1beta3/query.rpc.Query.js +40 -0
  301. package/akash/provider/v1beta4/event.d.ts +182 -0
  302. package/akash/provider/v1beta4/event.js +214 -0
  303. package/akash/provider/v1beta4/genesis.d.ts +53 -0
  304. package/akash/provider/v1beta4/genesis.js +78 -0
  305. package/akash/provider/v1beta4/msg.d.ts +308 -0
  306. package/akash/provider/v1beta4/msg.js +460 -0
  307. package/akash/provider/v1beta4/provider.d.ts +157 -0
  308. package/akash/provider/v1beta4/provider.js +199 -0
  309. package/akash/provider/v1beta4/query.d.ts +220 -0
  310. package/akash/provider/v1beta4/query.js +298 -0
  311. package/akash/provider/v1beta4/query.lcd.d.ts +10 -0
  312. package/akash/provider/v1beta4/query.lcd.js +30 -0
  313. package/akash/provider/v1beta4/query.rpc.Query.d.ts +20 -0
  314. package/akash/provider/v1beta4/query.rpc.Query.js +40 -0
  315. package/akash/provider/v1beta4/service.amino.d.ts +18 -0
  316. package/akash/provider/v1beta4/service.amino.js +22 -0
  317. package/akash/provider/v1beta4/service.d.ts +1 -0
  318. package/akash/provider/v1beta4/service.js +2 -0
  319. package/akash/provider/v1beta4/service.registry.d.ts +49 -0
  320. package/akash/provider/v1beta4/service.registry.js +73 -0
  321. package/akash/provider/v1beta4/service.rpc.msg.d.ts +19 -0
  322. package/akash/provider/v1beta4/service.rpc.msg.js +34 -0
  323. package/akash/rpc.query.d.ts +281 -0
  324. package/akash/rpc.query.js +135 -0
  325. package/akash/rpc.tx.d.ts +81 -0
  326. package/akash/rpc.tx.js +115 -0
  327. package/akash/take/v1/genesis.d.ts +53 -0
  328. package/akash/take/v1/genesis.js +75 -0
  329. package/akash/take/v1/params.d.ts +118 -0
  330. package/akash/take/v1/params.js +170 -0
  331. package/akash/take/v1/paramsmsg.d.ts +122 -0
  332. package/akash/take/v1/paramsmsg.js +148 -0
  333. package/akash/take/v1/query.d.ts +95 -0
  334. package/akash/take/v1/query.js +131 -0
  335. package/akash/take/v1/query.lcd.d.ts +9 -0
  336. package/akash/take/v1/query.lcd.js +15 -0
  337. package/akash/take/v1/query.rpc.Query.d.ts +16 -0
  338. package/akash/take/v1/query.rpc.Query.js +29 -0
  339. package/akash/take/v1/service.amino.d.ts +8 -0
  340. package/akash/take/v1/service.amino.js +12 -0
  341. package/akash/take/v1/service.d.ts +1 -0
  342. package/akash/take/v1/service.js +2 -0
  343. package/akash/take/v1/service.registry.d.ts +25 -0
  344. package/akash/take/v1/service.registry.js +37 -0
  345. package/akash/take/v1/service.rpc.msg.d.ts +18 -0
  346. package/akash/take/v1/service.rpc.msg.js +25 -0
  347. package/akash/take/v1beta3/genesis.d.ts +47 -0
  348. package/akash/take/v1beta3/genesis.js +75 -0
  349. package/akash/take/v1beta3/params.d.ts +100 -0
  350. package/akash/take/v1beta3/params.js +170 -0
  351. package/akash/take/v1beta3/query.d.ts +1 -0
  352. package/akash/take/v1beta3/query.js +2 -0
  353. package/akash/take/v1beta3/query.rpc.Query.d.ts +10 -0
  354. package/akash/take/v1beta3/query.rpc.Query.js +17 -0
  355. package/amino/bundle.js +2 -2
  356. package/cosmos/bundle.d.ts +7609 -7547
  357. package/cosmos/bundle.js +420 -412
  358. package/cosmos/client.d.ts +2 -2
  359. package/cosmos/crypto/bls12_381/keys.d.ts +106 -0
  360. package/cosmos/crypto/bls12_381/keys.js +162 -0
  361. package/cosmos/crypto/mldsa65/keys.d.ts +106 -0
  362. package/cosmos/crypto/mldsa65/keys.js +162 -0
  363. package/cosmos_proto/bundle.d.ts +23 -23
  364. package/cosmos_proto/bundle.js +2 -2
  365. package/esm/akash/audit/v1/audit.js +262 -0
  366. package/esm/akash/audit/v1/event.js +164 -0
  367. package/esm/akash/audit/v1/genesis.js +75 -0
  368. package/esm/akash/audit/v1/msg.js +307 -0
  369. package/esm/akash/audit/v1/query.js +481 -0
  370. package/esm/akash/audit/v1/query.lcd.js +56 -0
  371. package/esm/akash/audit/v1/query.rpc.Query.js +61 -0
  372. package/esm/akash/audit/v1/service.amino.js +14 -0
  373. package/esm/akash/audit/v1/service.js +1 -0
  374. package/esm/akash/audit/v1/service.registry.js +51 -0
  375. package/esm/akash/audit/v1/service.rpc.msg.js +23 -0
  376. package/esm/akash/audit/v1beta3/audit.amino.js +14 -0
  377. package/esm/akash/audit/v1beta3/audit.js +658 -0
  378. package/esm/akash/audit/v1beta3/audit.registry.js +51 -0
  379. package/esm/akash/audit/v1beta3/audit.rpc.msg.js +23 -0
  380. package/esm/akash/audit/v1beta3/genesis.js +75 -0
  381. package/esm/akash/audit/v1beta3/query.js +481 -0
  382. package/esm/akash/audit/v1beta3/query.lcd.js +56 -0
  383. package/esm/akash/audit/v1beta3/query.rpc.Query.js +61 -0
  384. package/esm/akash/base/attributes/v1/attribute.js +257 -0
  385. package/esm/akash/base/resources/v1beta4/cpu.js +88 -0
  386. package/esm/akash/base/resources/v1beta4/endpoint.js +125 -0
  387. package/esm/akash/base/resources/v1beta4/gpu.js +88 -0
  388. package/esm/akash/base/resources/v1beta4/memory.js +88 -0
  389. package/esm/akash/base/resources/v1beta4/resources.js +143 -0
  390. package/esm/akash/base/resources/v1beta4/resourcevalue.js +72 -0
  391. package/esm/akash/base/resources/v1beta4/storage.js +100 -0
  392. package/esm/akash/base/v1beta3/attribute.js +257 -0
  393. package/esm/akash/base/v1beta3/cpu.js +88 -0
  394. package/esm/akash/base/v1beta3/endpoint.js +125 -0
  395. package/esm/akash/base/v1beta3/gpu.js +88 -0
  396. package/esm/akash/base/v1beta3/memory.js +88 -0
  397. package/esm/akash/base/v1beta3/resources.js +143 -0
  398. package/esm/akash/base/v1beta3/resourcevalue.js +72 -0
  399. package/esm/akash/base/v1beta3/storage.js +100 -0
  400. package/esm/akash/bundle.js +429 -0
  401. package/esm/akash/cert/v1/cert.js +220 -0
  402. package/esm/akash/cert/v1/filters.js +95 -0
  403. package/esm/akash/cert/v1/genesis.js +156 -0
  404. package/esm/akash/cert/v1/msg.js +278 -0
  405. package/esm/akash/cert/v1/query.js +251 -0
  406. package/esm/akash/cert/v1/query.lcd.js +22 -0
  407. package/esm/akash/cert/v1/query.rpc.Query.js +24 -0
  408. package/esm/akash/cert/v1/service.amino.js +14 -0
  409. package/esm/akash/cert/v1/service.js +1 -0
  410. package/esm/akash/cert/v1/service.registry.js +51 -0
  411. package/esm/akash/cert/v1/service.rpc.msg.js +23 -0
  412. package/esm/akash/cert/v1beta3/cert.amino.js +14 -0
  413. package/esm/akash/cert/v1beta3/cert.js +586 -0
  414. package/esm/akash/cert/v1beta3/cert.registry.js +51 -0
  415. package/esm/akash/cert/v1beta3/cert.rpc.msg.js +23 -0
  416. package/esm/akash/cert/v1beta3/genesis.js +156 -0
  417. package/esm/akash/cert/v1beta3/query.js +250 -0
  418. package/esm/akash/cert/v1beta3/query.lcd.js +22 -0
  419. package/esm/akash/cert/v1beta3/query.rpc.Query.js +24 -0
  420. package/esm/akash/client.js +59 -0
  421. package/esm/akash/deployment/v1/authz.js +73 -0
  422. package/esm/akash/deployment/v1/deployment.js +232 -0
  423. package/esm/akash/deployment/v1/event.js +449 -0
  424. package/esm/akash/deployment/v1/group.js +98 -0
  425. package/esm/akash/deployment/v1/msg.js +155 -0
  426. package/esm/akash/deployment/v1beta3/authz.js +73 -0
  427. package/esm/akash/deployment/v1beta3/deployment.js +324 -0
  428. package/esm/akash/deployment/v1beta3/deploymentmsg.js +593 -0
  429. package/esm/akash/deployment/v1beta3/genesis.js +173 -0
  430. package/esm/akash/deployment/v1beta3/group.js +165 -0
  431. package/esm/akash/deployment/v1beta3/groupid.js +95 -0
  432. package/esm/akash/deployment/v1beta3/groupmsg.js +378 -0
  433. package/esm/akash/deployment/v1beta3/groupspec.js +100 -0
  434. package/esm/akash/deployment/v1beta3/params.js +75 -0
  435. package/esm/akash/deployment/v1beta3/query.js +475 -0
  436. package/esm/akash/deployment/v1beta3/query.lcd.js +44 -0
  437. package/esm/akash/deployment/v1beta3/query.rpc.Query.js +42 -0
  438. package/esm/akash/deployment/v1beta3/resourceunit.js +97 -0
  439. package/esm/akash/deployment/v1beta3/service.amino.js +40 -0
  440. package/esm/akash/deployment/v1beta3/service.js +1 -0
  441. package/esm/akash/deployment/v1beta3/service.registry.js +142 -0
  442. package/esm/akash/deployment/v1beta3/service.rpc.msg.js +54 -0
  443. package/esm/akash/deployment/v1beta4/deploymentmsg.js +444 -0
  444. package/esm/akash/deployment/v1beta4/filters.js +200 -0
  445. package/esm/akash/deployment/v1beta4/genesis.js +173 -0
  446. package/esm/akash/deployment/v1beta4/group.js +165 -0
  447. package/esm/akash/deployment/v1beta4/groupmsg.js +378 -0
  448. package/esm/akash/deployment/v1beta4/groupspec.js +101 -0
  449. package/esm/akash/deployment/v1beta4/params.js +75 -0
  450. package/esm/akash/deployment/v1beta4/paramsmsg.js +145 -0
  451. package/esm/akash/deployment/v1beta4/query.js +602 -0
  452. package/esm/akash/deployment/v1beta4/query.lcd.js +49 -0
  453. package/esm/akash/deployment/v1beta4/query.rpc.Query.js +51 -0
  454. package/esm/akash/deployment/v1beta4/resourceunit.js +97 -0
  455. package/esm/akash/deployment/v1beta4/service.amino.js +47 -0
  456. package/esm/akash/deployment/v1beta4/service.js +1 -0
  457. package/esm/akash/deployment/v1beta4/service.registry.js +162 -0
  458. package/esm/akash/deployment/v1beta4/service.rpc.msg.js +65 -0
  459. package/esm/akash/discovery/v1/akash.js +72 -0
  460. package/esm/akash/discovery/v1/client_info.js +71 -0
  461. package/esm/akash/escrow/v1/account.js +206 -0
  462. package/esm/akash/escrow/v1/accountid.js +83 -0
  463. package/esm/akash/escrow/v1/fractional_payment.js +194 -0
  464. package/esm/akash/escrow/v1/genesis.js +91 -0
  465. package/esm/akash/escrow/v1/query.js +419 -0
  466. package/esm/akash/escrow/v1/query.lcd.js +61 -0
  467. package/esm/akash/escrow/v1/query.rpc.Query.js +37 -0
  468. package/esm/akash/escrow/v1beta3/genesis.js +90 -0
  469. package/esm/akash/escrow/v1beta3/query.js +418 -0
  470. package/esm/akash/escrow/v1beta3/query.lcd.js +61 -0
  471. package/esm/akash/escrow/v1beta3/query.rpc.Query.js +37 -0
  472. package/esm/akash/escrow/v1beta3/types.js +476 -0
  473. package/esm/akash/lcd.js +156 -0
  474. package/esm/akash/market/v1/bid.js +120 -0
  475. package/esm/akash/market/v1/event.js +450 -0
  476. package/esm/akash/market/v1/filters.js +131 -0
  477. package/esm/akash/market/v1/lease.js +289 -0
  478. package/esm/akash/market/v1/order.js +107 -0
  479. package/esm/akash/market/v1beta4/bid.js +811 -0
  480. package/esm/akash/market/v1beta4/genesis.js +120 -0
  481. package/esm/akash/market/v1beta4/lease.js +791 -0
  482. package/esm/akash/market/v1beta4/order.js +379 -0
  483. package/esm/akash/market/v1beta4/params.js +84 -0
  484. package/esm/akash/market/v1beta4/query.js +940 -0
  485. package/esm/akash/market/v1beta4/query.lcd.js +83 -0
  486. package/esm/akash/market/v1beta4/query.rpc.Query.js +69 -0
  487. package/esm/akash/market/v1beta4/service.amino.js +30 -0
  488. package/esm/akash/market/v1beta4/service.js +1 -0
  489. package/esm/akash/market/v1beta4/service.registry.js +107 -0
  490. package/esm/akash/market/v1beta4/service.rpc.msg.js +43 -0
  491. package/esm/akash/market/v1beta5/bid.js +181 -0
  492. package/esm/akash/market/v1beta5/bidmsg.js +307 -0
  493. package/esm/akash/market/v1beta5/filters.js +248 -0
  494. package/esm/akash/market/v1beta5/genesis.js +120 -0
  495. package/esm/akash/market/v1beta5/leasemsg.js +379 -0
  496. package/esm/akash/market/v1beta5/order.js +158 -0
  497. package/esm/akash/market/v1beta5/params.js +84 -0
  498. package/esm/akash/market/v1beta5/paramsmsg.js +145 -0
  499. package/esm/akash/market/v1beta5/query.js +1071 -0
  500. package/esm/akash/market/v1beta5/query.lcd.js +88 -0
  501. package/esm/akash/market/v1beta5/query.rpc.Query.js +78 -0
  502. package/esm/akash/market/v1beta5/resourcesoffer.js +85 -0
  503. package/esm/akash/market/v1beta5/service.amino.js +36 -0
  504. package/esm/akash/market/v1beta5/service.js +1 -0
  505. package/esm/akash/market/v1beta5/service.registry.js +125 -0
  506. package/esm/akash/market/v1beta5/service.rpc.msg.js +52 -0
  507. package/esm/akash/provider/v1beta3/genesis.js +75 -0
  508. package/esm/akash/provider/v1beta3/provider.amino.js +19 -0
  509. package/esm/akash/provider/v1beta3/provider.js +645 -0
  510. package/esm/akash/provider/v1beta3/provider.registry.js +69 -0
  511. package/esm/akash/provider/v1beta3/provider.rpc.msg.js +29 -0
  512. package/esm/akash/provider/v1beta3/query.js +295 -0
  513. package/esm/akash/provider/v1beta3/query.lcd.js +26 -0
  514. package/esm/akash/provider/v1beta3/query.rpc.Query.js +35 -0
  515. package/esm/akash/provider/v1beta4/event.js +211 -0
  516. package/esm/akash/provider/v1beta4/genesis.js +75 -0
  517. package/esm/akash/provider/v1beta4/msg.js +457 -0
  518. package/esm/akash/provider/v1beta4/provider.js +196 -0
  519. package/esm/akash/provider/v1beta4/query.js +295 -0
  520. package/esm/akash/provider/v1beta4/query.lcd.js +26 -0
  521. package/esm/akash/provider/v1beta4/query.rpc.Query.js +35 -0
  522. package/esm/akash/provider/v1beta4/service.amino.js +19 -0
  523. package/esm/akash/provider/v1beta4/service.js +1 -0
  524. package/esm/akash/provider/v1beta4/service.registry.js +69 -0
  525. package/esm/akash/provider/v1beta4/service.rpc.msg.js +29 -0
  526. package/esm/akash/rpc.query.js +98 -0
  527. package/esm/akash/rpc.tx.js +78 -0
  528. package/esm/akash/take/v1/genesis.js +72 -0
  529. package/esm/akash/take/v1/params.js +167 -0
  530. package/esm/akash/take/v1/paramsmsg.js +145 -0
  531. package/esm/akash/take/v1/query.js +128 -0
  532. package/esm/akash/take/v1/query.lcd.js +11 -0
  533. package/esm/akash/take/v1/query.rpc.Query.js +24 -0
  534. package/esm/akash/take/v1/service.amino.js +9 -0
  535. package/esm/akash/take/v1/service.js +1 -0
  536. package/esm/akash/take/v1/service.registry.js +33 -0
  537. package/esm/akash/take/v1/service.rpc.msg.js +20 -0
  538. package/esm/akash/take/v1beta3/genesis.js +72 -0
  539. package/esm/akash/take/v1beta3/params.js +167 -0
  540. package/esm/akash/take/v1beta3/query.js +1 -0
  541. package/esm/akash/take/v1beta3/query.rpc.Query.js +12 -0
  542. package/esm/amino/bundle.js +2 -2
  543. package/esm/cosmos/bundle.js +420 -412
  544. package/esm/cosmos/crypto/bls12_381/keys.js +159 -0
  545. package/esm/cosmos/crypto/mldsa65/keys.js +159 -0
  546. package/esm/cosmos_proto/bundle.js +2 -2
  547. package/esm/gogoproto/bundle.js +2 -2
  548. package/esm/google/bundle.js +8 -8
  549. package/esm/google/protobuf/any.js +22 -77
  550. package/esm/google/protobuf/descriptor.js +135 -1
  551. package/esm/google/protobuf/timestamp.js +2 -2
  552. package/esm/ibc/applications/gmp/v1/account.js +271 -0
  553. package/esm/ibc/applications/gmp/v1/genesis.js +170 -0
  554. package/esm/ibc/applications/gmp/v1/packet.js +203 -0
  555. package/esm/ibc/applications/gmp/v1/query.js +331 -0
  556. package/esm/ibc/applications/gmp/v1/query.lcd.js +23 -0
  557. package/esm/ibc/applications/gmp/v1/query.rpc.Query.js +34 -0
  558. package/esm/ibc/applications/gmp/v1/tx.amino.js +9 -0
  559. package/esm/ibc/applications/gmp/v1/tx.js +239 -0
  560. package/esm/ibc/applications/gmp/v1/tx.registry.js +33 -0
  561. package/esm/ibc/applications/gmp/v1/tx.rpc.msg.js +17 -0
  562. package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
  563. package/esm/ibc/applications/rate_limiting/v1/genesis.js +16 -1
  564. package/esm/ibc/bundle.js +244 -212
  565. package/esm/ibc/client.js +4 -1
  566. package/esm/ibc/lcd.js +5 -0
  567. package/esm/ibc/lightclients/attestations/v1/attestations.js +288 -0
  568. package/esm/ibc/rpc.query.js +3 -0
  569. package/esm/ibc/rpc.tx.js +3 -0
  570. package/esm/index.js +2 -0
  571. package/esm/sparkdream/bundle.js +540 -540
  572. package/esm/tendermint/bundle.js +20 -20
  573. package/gogoproto/bundle.js +2 -2
  574. package/google/bundle.d.ts +434 -418
  575. package/google/bundle.js +8 -8
  576. package/google/protobuf/any.d.ts +133 -296
  577. package/google/protobuf/any.js +22 -77
  578. package/google/protobuf/descriptor.d.ts +106 -0
  579. package/google/protobuf/descriptor.js +139 -3
  580. package/google/protobuf/timestamp.d.ts +13 -12
  581. package/google/protobuf/timestamp.js +2 -2
  582. package/ibc/applications/gmp/v1/account.d.ts +165 -0
  583. package/ibc/applications/gmp/v1/account.js +274 -0
  584. package/ibc/applications/gmp/v1/genesis.d.ts +115 -0
  585. package/ibc/applications/gmp/v1/genesis.js +173 -0
  586. package/ibc/applications/gmp/v1/packet.d.ts +138 -0
  587. package/ibc/applications/gmp/v1/packet.js +206 -0
  588. package/ibc/applications/gmp/v1/query.d.ts +215 -0
  589. package/ibc/applications/gmp/v1/query.js +334 -0
  590. package/ibc/applications/gmp/v1/query.lcd.d.ts +10 -0
  591. package/ibc/applications/gmp/v1/query.lcd.js +27 -0
  592. package/ibc/applications/gmp/v1/query.rpc.Query.d.ts +23 -0
  593. package/ibc/applications/gmp/v1/query.rpc.Query.js +39 -0
  594. package/ibc/applications/gmp/v1/tx.amino.d.ts +8 -0
  595. package/ibc/applications/gmp/v1/tx.amino.js +12 -0
  596. package/ibc/applications/gmp/v1/tx.d.ts +162 -0
  597. package/ibc/applications/gmp/v1/tx.js +242 -0
  598. package/ibc/applications/gmp/v1/tx.registry.d.ts +25 -0
  599. package/ibc/applications/gmp/v1/tx.registry.js +37 -0
  600. package/ibc/applications/gmp/v1/tx.rpc.msg.d.ts +13 -0
  601. package/ibc/applications/gmp/v1/tx.rpc.msg.js +22 -0
  602. package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -2
  603. package/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
  604. package/ibc/applications/rate_limiting/v1/genesis.d.ts +2 -0
  605. package/ibc/applications/rate_limiting/v1/genesis.js +16 -1
  606. package/ibc/bundle.d.ts +3971 -3681
  607. package/ibc/bundle.js +244 -212
  608. package/ibc/client.d.ts +7 -2
  609. package/ibc/client.js +4 -1
  610. package/ibc/lcd.d.ts +3 -0
  611. package/ibc/lcd.js +5 -0
  612. package/ibc/lightclients/attestations/v1/attestations.d.ts +199 -0
  613. package/ibc/lightclients/attestations/v1/attestations.js +291 -0
  614. package/ibc/rpc.query.d.ts +6 -0
  615. package/ibc/rpc.query.js +3 -0
  616. package/ibc/rpc.tx.d.ts +3 -0
  617. package/ibc/rpc.tx.js +3 -0
  618. package/index.d.ts +2 -0
  619. package/index.js +2 -0
  620. package/package.json +8 -5
  621. package/sparkdream/bundle.d.ts +17390 -17390
  622. package/sparkdream/bundle.js +540 -540
  623. package/sparkdream/client.d.ts +2 -2
  624. package/tendermint/bundle.d.ts +844 -844
  625. package/tendermint/bundle.js +20 -20
@@ -0,0 +1,159 @@
1
+ //@ts-nocheck
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { bytesFromBase64, base64FromBytes } from "../../../helpers";
4
+ function createBasePubKey() {
5
+ return {
6
+ key: new Uint8Array()
7
+ };
8
+ }
9
+ /**
10
+ * PubKey is an bls12_381 public key for handling CometBFT keys in SDK.
11
+ * It's needed for Any serialization and SDK compatibility.
12
+ * It must not be used in a non Tendermint key context because it doesn't implement
13
+ * ADR-28. Nevertheless, you will like to use bls12_381 in app user level
14
+ * then you must create a new proto message and follow ADR-28 for Address construction.
15
+ * @name PubKey
16
+ * @package cosmos.crypto.bls12_381
17
+ * @see proto type: cosmos.crypto.bls12_381.PubKey
18
+ */
19
+ export const PubKey = {
20
+ typeUrl: "/cosmos.crypto.bls12_381.PubKey",
21
+ aminoType: "cometbft/PubKeyBls12_381",
22
+ encode(message, writer = BinaryWriter.create()) {
23
+ if (message.key.length !== 0) {
24
+ writer.uint32(10).bytes(message.key);
25
+ }
26
+ return writer;
27
+ },
28
+ decode(input, length) {
29
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
30
+ let end = length === undefined ? reader.len : reader.pos + length;
31
+ const message = createBasePubKey();
32
+ while (reader.pos < end) {
33
+ const tag = reader.uint32();
34
+ switch (tag >>> 3) {
35
+ case 1:
36
+ message.key = reader.bytes();
37
+ break;
38
+ default:
39
+ reader.skipType(tag & 7);
40
+ break;
41
+ }
42
+ }
43
+ return message;
44
+ },
45
+ fromPartial(object) {
46
+ const message = createBasePubKey();
47
+ message.key = object.key ?? new Uint8Array();
48
+ return message;
49
+ },
50
+ fromAmino(object) {
51
+ const message = createBasePubKey();
52
+ if (object.key !== undefined && object.key !== null) {
53
+ message.key = bytesFromBase64(object.key);
54
+ }
55
+ return message;
56
+ },
57
+ toAmino(message) {
58
+ const obj = {};
59
+ obj.key = message.key ? base64FromBytes(message.key) : undefined;
60
+ return obj;
61
+ },
62
+ fromAminoMsg(object) {
63
+ return PubKey.fromAmino(object.value);
64
+ },
65
+ toAminoMsg(message) {
66
+ return {
67
+ type: "cometbft/PubKeyBls12_381",
68
+ value: PubKey.toAmino(message)
69
+ };
70
+ },
71
+ fromProtoMsg(message) {
72
+ return PubKey.decode(message.value);
73
+ },
74
+ toProto(message) {
75
+ return PubKey.encode(message).finish();
76
+ },
77
+ toProtoMsg(message) {
78
+ return {
79
+ typeUrl: "/cosmos.crypto.bls12_381.PubKey",
80
+ value: PubKey.encode(message).finish()
81
+ };
82
+ }
83
+ };
84
+ function createBasePrivKey() {
85
+ return {
86
+ key: new Uint8Array()
87
+ };
88
+ }
89
+ /**
90
+ * PrivKey defines a bls12_381 private key.
91
+ * @name PrivKey
92
+ * @package cosmos.crypto.bls12_381
93
+ * @see proto type: cosmos.crypto.bls12_381.PrivKey
94
+ */
95
+ export const PrivKey = {
96
+ typeUrl: "/cosmos.crypto.bls12_381.PrivKey",
97
+ aminoType: "cometbft/PrivKeyBls12_381",
98
+ encode(message, writer = BinaryWriter.create()) {
99
+ if (message.key.length !== 0) {
100
+ writer.uint32(10).bytes(message.key);
101
+ }
102
+ return writer;
103
+ },
104
+ decode(input, length) {
105
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
106
+ let end = length === undefined ? reader.len : reader.pos + length;
107
+ const message = createBasePrivKey();
108
+ while (reader.pos < end) {
109
+ const tag = reader.uint32();
110
+ switch (tag >>> 3) {
111
+ case 1:
112
+ message.key = reader.bytes();
113
+ break;
114
+ default:
115
+ reader.skipType(tag & 7);
116
+ break;
117
+ }
118
+ }
119
+ return message;
120
+ },
121
+ fromPartial(object) {
122
+ const message = createBasePrivKey();
123
+ message.key = object.key ?? new Uint8Array();
124
+ return message;
125
+ },
126
+ fromAmino(object) {
127
+ const message = createBasePrivKey();
128
+ if (object.key !== undefined && object.key !== null) {
129
+ message.key = bytesFromBase64(object.key);
130
+ }
131
+ return message;
132
+ },
133
+ toAmino(message) {
134
+ const obj = {};
135
+ obj.key = message.key ? base64FromBytes(message.key) : undefined;
136
+ return obj;
137
+ },
138
+ fromAminoMsg(object) {
139
+ return PrivKey.fromAmino(object.value);
140
+ },
141
+ toAminoMsg(message) {
142
+ return {
143
+ type: "cometbft/PrivKeyBls12_381",
144
+ value: PrivKey.toAmino(message)
145
+ };
146
+ },
147
+ fromProtoMsg(message) {
148
+ return PrivKey.decode(message.value);
149
+ },
150
+ toProto(message) {
151
+ return PrivKey.encode(message).finish();
152
+ },
153
+ toProtoMsg(message) {
154
+ return {
155
+ typeUrl: "/cosmos.crypto.bls12_381.PrivKey",
156
+ value: PrivKey.encode(message).finish()
157
+ };
158
+ }
159
+ };
@@ -0,0 +1,159 @@
1
+ //@ts-nocheck
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { bytesFromBase64, base64FromBytes } from "../../../helpers";
4
+ function createBasePubKey() {
5
+ return {
6
+ key: new Uint8Array()
7
+ };
8
+ }
9
+ /**
10
+ * PubKey is an ML-DSA-65 (FIPS 204) public key for handling CometBFT keys in
11
+ * the SDK. It is intended for validator-key use and must not be used in
12
+ * application-level account contexts because it does not implement ADR-28
13
+ * address derivation. If you want to use ML-DSA-65 at the user/account level,
14
+ * define a new proto message and follow ADR-28 for address construction.
15
+ * @name PubKey
16
+ * @package cosmos.crypto.mldsa65
17
+ * @see proto type: cosmos.crypto.mldsa65.PubKey
18
+ */
19
+ export const PubKey = {
20
+ typeUrl: "/cosmos.crypto.mldsa65.PubKey",
21
+ aminoType: "cometbft/PubKeyMlDsa65",
22
+ encode(message, writer = BinaryWriter.create()) {
23
+ if (message.key.length !== 0) {
24
+ writer.uint32(10).bytes(message.key);
25
+ }
26
+ return writer;
27
+ },
28
+ decode(input, length) {
29
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
30
+ let end = length === undefined ? reader.len : reader.pos + length;
31
+ const message = createBasePubKey();
32
+ while (reader.pos < end) {
33
+ const tag = reader.uint32();
34
+ switch (tag >>> 3) {
35
+ case 1:
36
+ message.key = reader.bytes();
37
+ break;
38
+ default:
39
+ reader.skipType(tag & 7);
40
+ break;
41
+ }
42
+ }
43
+ return message;
44
+ },
45
+ fromPartial(object) {
46
+ const message = createBasePubKey();
47
+ message.key = object.key ?? new Uint8Array();
48
+ return message;
49
+ },
50
+ fromAmino(object) {
51
+ const message = createBasePubKey();
52
+ if (object.key !== undefined && object.key !== null) {
53
+ message.key = bytesFromBase64(object.key);
54
+ }
55
+ return message;
56
+ },
57
+ toAmino(message) {
58
+ const obj = {};
59
+ obj.key = message.key ? base64FromBytes(message.key) : undefined;
60
+ return obj;
61
+ },
62
+ fromAminoMsg(object) {
63
+ return PubKey.fromAmino(object.value);
64
+ },
65
+ toAminoMsg(message) {
66
+ return {
67
+ type: "cometbft/PubKeyMlDsa65",
68
+ value: PubKey.toAmino(message)
69
+ };
70
+ },
71
+ fromProtoMsg(message) {
72
+ return PubKey.decode(message.value);
73
+ },
74
+ toProto(message) {
75
+ return PubKey.encode(message).finish();
76
+ },
77
+ toProtoMsg(message) {
78
+ return {
79
+ typeUrl: "/cosmos.crypto.mldsa65.PubKey",
80
+ value: PubKey.encode(message).finish()
81
+ };
82
+ }
83
+ };
84
+ function createBasePrivKey() {
85
+ return {
86
+ key: new Uint8Array()
87
+ };
88
+ }
89
+ /**
90
+ * PrivKey defines an ML-DSA-65 private key (FIPS 204 packed form).
91
+ * @name PrivKey
92
+ * @package cosmos.crypto.mldsa65
93
+ * @see proto type: cosmos.crypto.mldsa65.PrivKey
94
+ */
95
+ export const PrivKey = {
96
+ typeUrl: "/cosmos.crypto.mldsa65.PrivKey",
97
+ aminoType: "cometbft/PrivKeyMlDsa65",
98
+ encode(message, writer = BinaryWriter.create()) {
99
+ if (message.key.length !== 0) {
100
+ writer.uint32(10).bytes(message.key);
101
+ }
102
+ return writer;
103
+ },
104
+ decode(input, length) {
105
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
106
+ let end = length === undefined ? reader.len : reader.pos + length;
107
+ const message = createBasePrivKey();
108
+ while (reader.pos < end) {
109
+ const tag = reader.uint32();
110
+ switch (tag >>> 3) {
111
+ case 1:
112
+ message.key = reader.bytes();
113
+ break;
114
+ default:
115
+ reader.skipType(tag & 7);
116
+ break;
117
+ }
118
+ }
119
+ return message;
120
+ },
121
+ fromPartial(object) {
122
+ const message = createBasePrivKey();
123
+ message.key = object.key ?? new Uint8Array();
124
+ return message;
125
+ },
126
+ fromAmino(object) {
127
+ const message = createBasePrivKey();
128
+ if (object.key !== undefined && object.key !== null) {
129
+ message.key = bytesFromBase64(object.key);
130
+ }
131
+ return message;
132
+ },
133
+ toAmino(message) {
134
+ const obj = {};
135
+ obj.key = message.key ? base64FromBytes(message.key) : undefined;
136
+ return obj;
137
+ },
138
+ fromAminoMsg(object) {
139
+ return PrivKey.fromAmino(object.value);
140
+ },
141
+ toAminoMsg(message) {
142
+ return {
143
+ type: "cometbft/PrivKeyMlDsa65",
144
+ value: PrivKey.toAmino(message)
145
+ };
146
+ },
147
+ fromProtoMsg(message) {
148
+ return PrivKey.decode(message.value);
149
+ },
150
+ toProto(message) {
151
+ return PrivKey.encode(message).finish();
152
+ },
153
+ toProtoMsg(message) {
154
+ return {
155
+ typeUrl: "/cosmos.crypto.mldsa65.PrivKey",
156
+ value: PrivKey.encode(message).finish()
157
+ };
158
+ }
159
+ };
@@ -1,5 +1,5 @@
1
1
  //@ts-nocheck
2
- import * as _1 from "./cosmos";
2
+ import * as _113 from "./cosmos";
3
3
  export const cosmos_proto = {
4
- ..._1
4
+ ..._113
5
5
  };
@@ -1,5 +1,5 @@
1
1
  //@ts-nocheck
2
- import * as _117 from "./gogo";
2
+ import * as _231 from "./gogo";
3
3
  export const gogoproto = {
4
- ..._117
4
+ ..._231
5
5
  };
@@ -1,14 +1,14 @@
1
1
  //@ts-nocheck
2
- import * as _118 from "./protobuf/any";
3
- import * as _119 from "./protobuf/descriptor";
4
- import * as _120 from "./protobuf/duration";
5
- import * as _121 from "./protobuf/timestamp";
2
+ import * as _232 from "./protobuf/any";
3
+ import * as _233 from "./protobuf/descriptor";
4
+ import * as _234 from "./protobuf/duration";
5
+ import * as _235 from "./protobuf/timestamp";
6
6
  export var google;
7
7
  (function (google) {
8
8
  google.protobuf = {
9
- ..._118,
10
- ..._119,
11
- ..._120,
12
- ..._121
9
+ ..._232,
10
+ ..._233,
11
+ ..._234,
12
+ ..._235
13
13
  };
14
14
  })(google || (google = {}));
@@ -10,88 +10,33 @@ function createBaseAny() {
10
10
  * `Any` contains an arbitrary serialized protocol buffer message along with a
11
11
  * URL that describes the type of the serialized message.
12
12
  *
13
- * Protobuf library provides support to pack/unpack Any values in the form
14
- * of utility functions or additional generated methods of the Any type.
13
+ * In its binary encoding, an `Any` is an ordinary message; but in other wire
14
+ * forms like JSON, it has a special encoding. The format of the type URL is
15
+ * described on the `type_url` field.
15
16
  *
16
- * Example 1: Pack and unpack a message in C++.
17
+ * Protobuf APIs provide utilities to interact with `Any` values:
17
18
  *
18
- * Foo foo = ...;
19
- * Any any;
20
- * any.PackFrom(foo);
21
- * ...
22
- * if (any.UnpackTo(&foo)) {
23
- * ...
24
- * }
19
+ * - A 'pack' operation accepts a message and constructs a generic `Any` wrapper
20
+ * around it.
21
+ * - An 'unpack' operation reads the content of an `Any` message, either into an
22
+ * existing message or a new one. Unpack operations must check the type of the
23
+ * value they unpack against the declared `type_url`.
24
+ * - An 'is' operation decides whether an `Any` contains a message of the given
25
+ * type, i.e. whether it can 'unpack' that type.
25
26
  *
26
- * Example 2: Pack and unpack a message in Java.
27
+ * The JSON format representation of an `Any` follows one of these cases:
27
28
  *
28
- * Foo foo = ...;
29
- * Any any = Any.pack(foo);
30
- * ...
31
- * if (any.is(Foo.class)) {
32
- * foo = any.unpack(Foo.class);
33
- * }
34
- * // or ...
35
- * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
36
- * foo = any.unpack(Foo.getDefaultInstance());
37
- * }
29
+ * - For types without special-cased JSON encodings, the JSON format
30
+ * representation of the `Any` is the same as that of the message, with an
31
+ * additional `@type` field which contains the type URL.
32
+ * - For types with special-cased JSON encodings (typically called 'well-known'
33
+ * types, listed in https://protobuf.dev/programming-guides/json/#any), the
34
+ * JSON format representation has a key `@type` which contains the type URL
35
+ * and a key `value` which contains the JSON-serialized value.
38
36
  *
39
- * Example 3: Pack and unpack a message in Python.
40
- *
41
- * foo = Foo(...)
42
- * any = Any()
43
- * any.Pack(foo)
44
- * ...
45
- * if any.Is(Foo.DESCRIPTOR):
46
- * any.Unpack(foo)
47
- * ...
48
- *
49
- * Example 4: Pack and unpack a message in Go
50
- *
51
- * foo := &pb.Foo{...}
52
- * any, err := anypb.New(foo)
53
- * if err != nil {
54
- * ...
55
- * }
56
- * ...
57
- * foo := &pb.Foo{}
58
- * if err := any.UnmarshalTo(foo); err != nil {
59
- * ...
60
- * }
61
- *
62
- * The pack methods provided by protobuf library will by default use
63
- * 'type.googleapis.com/full.type.name' as the type URL and the unpack
64
- * methods only use the fully qualified type name after the last '/'
65
- * in the type URL, for example "foo.bar.com/x/y.z" will yield type
66
- * name "y.z".
67
- *
68
- * JSON
69
- * ====
70
- * The JSON representation of an `Any` value uses the regular
71
- * representation of the deserialized, embedded message, with an
72
- * additional field `@type` which contains the type URL. Example:
73
- *
74
- * package google.profile;
75
- * message Person {
76
- * string first_name = 1;
77
- * string last_name = 2;
78
- * }
79
- *
80
- * {
81
- * "@type": "type.googleapis.com/google.profile.Person",
82
- * "firstName": <string>,
83
- * "lastName": <string>
84
- * }
85
- *
86
- * If the embedded message type is well-known and has a custom JSON
87
- * representation, that representation will be embedded adding a field
88
- * `value` which holds the custom JSON in addition to the `@type`
89
- * field. Example (for message [google.protobuf.Duration][]):
90
- *
91
- * {
92
- * "@type": "type.googleapis.com/google.protobuf.Duration",
93
- * "value": "1.212s"
94
- * }
37
+ * The text format representation of an `Any` is like a message with one field
38
+ * whose name is the type URL in brackets. For example, an `Any` containing a
39
+ * `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`.
95
40
  * @name Any
96
41
  * @package google.protobuf
97
42
  * @see proto type: google.protobuf.Any