@akashnetwork/chain-sdk 1.0.0-alpha.41 → 1.0.0-alpha.43

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 (295) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +328 -5
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +36 -19
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +6 -0
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +18 -2
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +943 -0
  10. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +7 -0
  11. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +50 -0
  12. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +7 -0
  13. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs +159 -2
  14. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +248 -0
  16. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +7 -0
  17. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +6 -0
  18. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +139 -1
  20. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +9 -0
  22. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +266 -0
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +71 -2
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +417 -0
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +7 -0
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +321 -0
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +96 -0
  32. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +7 -0
  33. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +132 -0
  34. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +7 -0
  35. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +88 -1
  36. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +462 -1
  38. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  39. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +36 -0
  40. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  41. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +25 -0
  42. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  43. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +2525 -0
  44. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +7 -0
  45. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +253 -0
  46. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +7 -0
  47. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +2774 -0
  48. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +7 -0
  49. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +1044 -0
  50. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +7 -0
  51. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +1559 -0
  52. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +7 -0
  53. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +147 -0
  54. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +7 -0
  55. package/dist/cjs/{sdl/types.cjs → generated/protos/akash/verification/v1/service.cjs} +3 -3
  56. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +7 -0
  57. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +190 -0
  58. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +7 -0
  59. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +2018 -0
  60. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +7 -0
  61. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +1071 -0
  62. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +7 -0
  63. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +148 -0
  64. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +7 -0
  65. package/dist/cjs/generated/protos/index.akash.v1.cjs +166 -25
  66. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  67. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +25 -0
  68. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  69. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
  70. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  71. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +9 -0
  72. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  73. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
  74. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
  75. package/dist/cjs/sdl/duration.cjs +44 -0
  76. package/dist/cjs/sdl/duration.cjs.map +7 -0
  77. package/dist/cjs/sdl/httpTimeout.cjs +59 -0
  78. package/dist/cjs/sdl/httpTimeout.cjs.map +7 -0
  79. package/dist/cjs/sdl/index.cjs +0 -2
  80. package/dist/cjs/sdl/index.cjs.map +2 -2
  81. package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -1
  82. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  83. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +11 -0
  84. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  85. package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
  86. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  87. package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
  88. package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
  89. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
  90. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  91. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
  92. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  93. package/dist/esm/chunk-2NPYA3YV.js +1563 -0
  94. package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
  95. package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
  96. package/dist/esm/chunk-474YCD2T.js +356 -0
  97. package/dist/esm/chunk-474YCD2T.js.map +7 -0
  98. package/dist/esm/chunk-4CTTYO4O.js +890 -0
  99. package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
  100. package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
  101. package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
  102. package/dist/esm/{chunk-UHI2V2WP.js → chunk-5VWXQLXG.js} +1331 -489
  103. package/dist/esm/chunk-5VWXQLXG.js.map +7 -0
  104. package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
  105. package/dist/esm/chunk-AIWCRXMP.js +672 -0
  106. package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
  107. package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
  108. package/dist/esm/chunk-BI4YL5KH.js +2742 -0
  109. package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
  110. package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
  111. package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
  112. package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
  113. package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
  114. package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
  115. package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
  116. package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
  117. package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
  118. package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
  119. package/dist/esm/chunk-IFKY7FXY.js +484 -0
  120. package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
  121. package/dist/esm/chunk-J4CJEGEM.js +3016 -0
  122. package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
  123. package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
  124. package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
  125. package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
  126. package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
  127. package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
  128. package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
  129. package/dist/esm/chunk-PEHPXXTS.js +1053 -0
  130. package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
  131. package/dist/esm/chunk-PTMMQODC.js +760 -0
  132. package/dist/esm/chunk-PTMMQODC.js.map +7 -0
  133. package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
  134. package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
  135. package/dist/esm/chunk-PYD5MY63.js.map +7 -0
  136. package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
  137. package/dist/esm/chunk-SK7LOVVI.js +660 -0
  138. package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
  139. package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
  140. package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
  141. package/dist/esm/chunk-VYCICKFV.js +698 -0
  142. package/dist/esm/chunk-VYCICKFV.js.map +7 -0
  143. package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
  144. package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
  145. package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
  146. package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
  147. package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
  148. package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
  149. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  150. package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
  151. package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
  152. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  153. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  154. package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
  155. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
  156. package/dist/esm/index.js +54 -36
  157. package/dist/esm/index.js.map +2 -2
  158. package/dist/esm/index.web.js +14 -13
  159. package/dist/esm/index.web.js.map +1 -1
  160. package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
  161. package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
  162. package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
  163. package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
  164. package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
  165. package/dist/esm/query_akash-KU4YCMUU.js +85 -0
  166. package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
  167. package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
  168. package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
  169. package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
  170. package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
  171. package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
  172. package/dist/esm/query_akash-XYSUQTZC.js +164 -0
  173. package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
  174. package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
  175. package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
  176. package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
  177. package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
  178. package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
  179. package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
  180. package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
  181. package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
  182. package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
  183. package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
  184. package/dist/esm/service_akash-KYLB3OP3.js +78 -0
  185. package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
  186. package/dist/esm/service_akash-LJBOWZZG.js +221 -0
  187. package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
  188. package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
  189. package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
  190. package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
  191. package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
  192. package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
  193. package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
  194. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
  195. package/dist/sdl-schema.yaml +84 -8
  196. package/dist/tsconfig.build.tsbuildinfo +1 -1
  197. package/dist/types/generated/createNodeSDK.d.ts +473 -0
  198. package/dist/types/generated/createProviderSDK.d.ts +31 -0
  199. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
  200. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
  201. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
  202. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
  203. package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
  204. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
  205. package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
  206. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
  207. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
  208. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
  209. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
  210. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
  211. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
  212. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
  213. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
  214. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
  215. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
  216. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
  217. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
  218. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
  219. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
  220. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
  221. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
  222. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
  223. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
  224. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
  225. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
  226. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
  227. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
  228. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
  229. package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
  230. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
  231. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  232. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  233. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  234. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
  235. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
  236. package/dist/types/sdl/duration.d.ts +13 -0
  237. package/dist/types/sdl/httpTimeout.d.ts +10 -0
  238. package/dist/types/sdl/index.d.ts +0 -1
  239. package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
  240. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
  241. package/package.json +1 -1
  242. package/dist/cjs/sdl/types.cjs.map +0 -7
  243. package/dist/esm/chunk-C3WV6GJ6.js +0 -234
  244. package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
  245. package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
  246. package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
  247. package/dist/esm/chunk-E7KECYS7.js.map +0 -7
  248. package/dist/esm/chunk-IVLF3VVZ.js +0 -364
  249. package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
  250. package/dist/esm/chunk-MV27RM25.js +0 -368
  251. package/dist/esm/chunk-MV27RM25.js.map +0 -7
  252. package/dist/esm/chunk-S2CZQ6AM.js +0 -211
  253. package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
  254. package/dist/esm/chunk-SXGU4O34.js +0 -258
  255. package/dist/esm/chunk-SXGU4O34.js.map +0 -7
  256. package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
  257. package/dist/esm/chunk-V42TLXWK.js +0 -177
  258. package/dist/esm/chunk-V42TLXWK.js.map +0 -7
  259. package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
  260. package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
  261. package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
  262. package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
  263. package/dist/esm/service_akash-5AUMDLU5.js +0 -46
  264. package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
  265. package/dist/types/sdl/types.d.ts +0 -305
  266. /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
  267. /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
  268. /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
  269. /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
  270. /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
  271. /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
  272. /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
  273. /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
  274. /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
  275. /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
  276. /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
  277. /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
  278. /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
  279. /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
  280. /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
  281. /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
  282. /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
  283. /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
  284. /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
  285. /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
  286. /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
  287. /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
  288. /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
  289. /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
  290. /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
  291. /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
  292. /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
  293. /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
  294. /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
  295. /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
@@ -1,6 +1,8 @@
1
1
  import type { MessageFns } from "../../../../../encoding/typeEncodingHelpers.ts";
2
2
  import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination.ts";
3
- import { Provider } from "./provider.ts";
3
+ import { ProviderMaintenanceStatus, ProviderMaintenanceWithStatus } from "./maintenance.ts";
4
+ import { ProviderMaintenanceParams } from "./params.ts";
5
+ import { Provider, ProviderRegistration } from "./provider.ts";
4
6
  /** QueryProvidersRequest is request type for the Query/Providers RPC method */
5
7
  export interface QueryProvidersRequest {
6
8
  /** Pagination is used to paginate the request. */
@@ -29,7 +31,97 @@ export interface QueryProviderResponse {
29
31
  /** Provider holds the representation of a provider on the network. */
30
32
  provider: Provider | undefined;
31
33
  }
34
+ /**
35
+ * QueryProviderMaintenanceRequest is the request type for the
36
+ * Query/ProviderMaintenance RPC method.
37
+ */
38
+ export interface QueryProviderMaintenanceRequest {
39
+ /**
40
+ * provider is the bech32 address of the provider whose maintenance record
41
+ * is being looked up.
42
+ *
43
+ * Example:
44
+ * "akash1..."
45
+ */
46
+ provider: string;
47
+ /** maintenance_id is the identifier of the maintenance record. */
48
+ maintenanceId: bigint;
49
+ }
50
+ /**
51
+ * QueryProviderMaintenanceResponse is the response type for the
52
+ * Query/ProviderMaintenance RPC method.
53
+ */
54
+ export interface QueryProviderMaintenanceResponse {
55
+ /** maintenance is the requested maintenance record. */
56
+ maintenance: ProviderMaintenanceWithStatus | undefined;
57
+ }
58
+ /**
59
+ * QueryProviderMaintenancesRequest is the request type for the
60
+ * Query/ProviderMaintenances RPC method.
61
+ */
62
+ export interface QueryProviderMaintenancesRequest {
63
+ /**
64
+ * provider is the bech32 address of the provider whose maintenance records
65
+ * are being listed.
66
+ *
67
+ * Example:
68
+ * "akash1..."
69
+ */
70
+ provider: string;
71
+ /** status_filter optionally restricts the results by status. */
72
+ statusFilter: ProviderMaintenanceStatus;
73
+ /** pagination is used to paginate the request. */
74
+ pagination: PageRequest | undefined;
75
+ }
76
+ /**
77
+ * QueryProviderMaintenancesResponse is the response type for the
78
+ * Query/ProviderMaintenances RPC method.
79
+ */
80
+ export interface QueryProviderMaintenancesResponse {
81
+ /** maintenance is the list of records matching the request. */
82
+ maintenance: ProviderMaintenanceWithStatus[];
83
+ /** pagination contains the information about response pagination. */
84
+ pagination: PageResponse | undefined;
85
+ }
86
+ /** QueryParamsRequest is the request type for the Query/Params RPC method. */
87
+ export interface QueryParamsRequest {
88
+ }
89
+ /** QueryParamsResponse is the response type for the Query/Params RPC method. */
90
+ export interface QueryParamsResponse {
91
+ /** params defines the parameters of the x/provider module. */
92
+ params: ProviderMaintenanceParams | undefined;
93
+ }
94
+ /**
95
+ * QueryRegistrationRequest is the request type for the Query/Registration RPC
96
+ * method.
97
+ */
98
+ export interface QueryRegistrationRequest {
99
+ /**
100
+ * provider is the bech32 address of the provider whose registration record
101
+ * is being looked up.
102
+ *
103
+ * Example:
104
+ * "akash1..."
105
+ */
106
+ provider: string;
107
+ }
108
+ /**
109
+ * QueryRegistrationResponse is the response type for the Query/Registration
110
+ * RPC method.
111
+ */
112
+ export interface QueryRegistrationResponse {
113
+ /** registration is the provider registration record. */
114
+ registration: ProviderRegistration | undefined;
115
+ }
32
116
  export declare const QueryProvidersRequest: MessageFns<QueryProvidersRequest, "akash.provider.v1beta4.QueryProvidersRequest">;
33
117
  export declare const QueryProvidersResponse: MessageFns<QueryProvidersResponse, "akash.provider.v1beta4.QueryProvidersResponse">;
34
118
  export declare const QueryProviderRequest: MessageFns<QueryProviderRequest, "akash.provider.v1beta4.QueryProviderRequest">;
35
119
  export declare const QueryProviderResponse: MessageFns<QueryProviderResponse, "akash.provider.v1beta4.QueryProviderResponse">;
120
+ export declare const QueryProviderMaintenanceRequest: MessageFns<QueryProviderMaintenanceRequest, "akash.provider.v1beta4.QueryProviderMaintenanceRequest">;
121
+ export declare const QueryProviderMaintenanceResponse: MessageFns<QueryProviderMaintenanceResponse, "akash.provider.v1beta4.QueryProviderMaintenanceResponse">;
122
+ export declare const QueryProviderMaintenancesRequest: MessageFns<QueryProviderMaintenancesRequest, "akash.provider.v1beta4.QueryProviderMaintenancesRequest">;
123
+ export declare const QueryProviderMaintenancesResponse: MessageFns<QueryProviderMaintenancesResponse, "akash.provider.v1beta4.QueryProviderMaintenancesResponse">;
124
+ export declare const QueryParamsRequest: MessageFns<QueryParamsRequest, "akash.provider.v1beta4.QueryParamsRequest">;
125
+ export declare const QueryParamsResponse: MessageFns<QueryParamsResponse, "akash.provider.v1beta4.QueryParamsResponse">;
126
+ export declare const QueryRegistrationRequest: MessageFns<QueryRegistrationRequest, "akash.provider.v1beta4.QueryRegistrationRequest">;
127
+ export declare const QueryRegistrationResponse: MessageFns<QueryRegistrationResponse, "akash.provider.v1beta4.QueryRegistrationResponse">;
@@ -1,4 +1,4 @@
1
- import { QueryProviderRequest, QueryProviderResponse, QueryProvidersRequest, QueryProvidersResponse } from "./query.ts";
1
+ import { QueryParamsRequest, QueryParamsResponse, QueryProviderMaintenanceRequest, QueryProviderMaintenanceResponse, QueryProviderMaintenancesRequest, QueryProviderMaintenancesResponse, QueryProviderRequest, QueryProviderResponse, QueryProvidersRequest, QueryProvidersResponse, QueryRegistrationRequest, QueryRegistrationResponse } from "./query.ts";
2
2
  export declare const Query: {
3
3
  readonly typeName: "akash.provider.v1beta4.Query";
4
4
  readonly methods: {
@@ -16,5 +16,33 @@ export declare const Query: {
16
16
  readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryProviderResponse, "akash.provider.v1beta4.QueryProviderResponse">;
17
17
  readonly parent: /*elided*/ any;
18
18
  };
19
+ readonly providerMaintenance: {
20
+ readonly name: "ProviderMaintenance";
21
+ readonly httpPath: "/akash/provider/v1beta4/providers/{provider}/maintenance/{maintenance_id}";
22
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryProviderMaintenanceRequest, "akash.provider.v1beta4.QueryProviderMaintenanceRequest">;
23
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryProviderMaintenanceResponse, "akash.provider.v1beta4.QueryProviderMaintenanceResponse">;
24
+ readonly parent: /*elided*/ any;
25
+ };
26
+ readonly providerMaintenances: {
27
+ readonly name: "ProviderMaintenances";
28
+ readonly httpPath: "/akash/provider/v1beta4/providers/{provider}/maintenance";
29
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryProviderMaintenancesRequest, "akash.provider.v1beta4.QueryProviderMaintenancesRequest">;
30
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryProviderMaintenancesResponse, "akash.provider.v1beta4.QueryProviderMaintenancesResponse">;
31
+ readonly parent: /*elided*/ any;
32
+ };
33
+ readonly params: {
34
+ readonly name: "Params";
35
+ readonly httpPath: "/akash/provider/v1beta4/params";
36
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryParamsRequest, "akash.provider.v1beta4.QueryParamsRequest">;
37
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryParamsResponse, "akash.provider.v1beta4.QueryParamsResponse">;
38
+ readonly parent: /*elided*/ any;
39
+ };
40
+ readonly registration: {
41
+ readonly name: "Registration";
42
+ readonly httpPath: "/akash/provider/v1beta4/providers/{provider}/registration";
43
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryRegistrationRequest, "akash.provider.v1beta4.QueryRegistrationRequest">;
44
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<QueryRegistrationResponse, "akash.provider.v1beta4.QueryRegistrationResponse">;
45
+ readonly parent: /*elided*/ any;
46
+ };
19
47
  };
20
48
  };
@@ -1,4 +1,5 @@
1
- import { MsgCreateProvider, MsgCreateProviderResponse, MsgDeleteProvider, MsgDeleteProviderResponse, MsgUpdateProvider, MsgUpdateProviderResponse } from "./msg.ts";
1
+ import { MsgCloseProviderMaintenance, MsgCloseProviderMaintenanceResponse, MsgCreateProvider, MsgCreateProviderResponse, MsgDeleteProvider, MsgDeleteProviderResponse, MsgOpenProviderMaintenance, MsgOpenProviderMaintenanceResponse, MsgUpdateProvider, MsgUpdateProviderResponse } from "./msg.ts";
2
+ import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg.ts";
2
3
  export declare const Msg: {
3
4
  readonly typeName: "akash.provider.v1beta4.Msg";
4
5
  readonly methods: {
@@ -20,5 +21,23 @@ export declare const Msg: {
20
21
  readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgDeleteProviderResponse, "akash.provider.v1beta4.MsgDeleteProviderResponse">;
21
22
  readonly parent: /*elided*/ any;
22
23
  };
24
+ readonly openProviderMaintenance: {
25
+ readonly name: "OpenProviderMaintenance";
26
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgOpenProviderMaintenance, "akash.provider.v1beta4.MsgOpenProviderMaintenance">;
27
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgOpenProviderMaintenanceResponse, "akash.provider.v1beta4.MsgOpenProviderMaintenanceResponse">;
28
+ readonly parent: /*elided*/ any;
29
+ };
30
+ readonly closeProviderMaintenance: {
31
+ readonly name: "CloseProviderMaintenance";
32
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgCloseProviderMaintenance, "akash.provider.v1beta4.MsgCloseProviderMaintenance">;
33
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgCloseProviderMaintenanceResponse, "akash.provider.v1beta4.MsgCloseProviderMaintenanceResponse">;
34
+ readonly parent: /*elided*/ any;
35
+ };
36
+ readonly updateParams: {
37
+ readonly name: "UpdateParams";
38
+ readonly input: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgUpdateParams, "akash.provider.v1beta4.MsgUpdateParams">;
39
+ readonly output: import("../../../../../encoding/typeEncodingHelpers.ts").MessageFns<MsgUpdateParamsResponse, "akash.provider.v1beta4.MsgUpdateParamsResponse">;
40
+ readonly parent: /*elided*/ any;
41
+ };
23
42
  };
24
43
  };
@@ -0,0 +1,339 @@
1
+ import type { MessageFns } from "../../../../../encoding/typeEncodingHelpers.ts";
2
+ import { Coin } from "../../../cosmos/base/v1beta1/coin.ts";
3
+ import { AttestationRevocationReason, AuditEscrowSettlementReason, CapabilityFlag, DiscrepancyResolutionReason, FaultAttribution, ProviderBondSlashReason, VerificationGraceStatus, VerificationTier, VoidedReason } from "./types.ts";
4
+ /** EventAuditorRegistered is emitted when a new auditor is registered. */
5
+ export interface EventAuditorRegistered {
6
+ /** Auditor is the bech32 account address of the newly registered auditor. */
7
+ auditor: string;
8
+ /** MaxAttestationTier is the maximum tier the auditor may attest at. */
9
+ maxAttestationTier: VerificationTier;
10
+ }
11
+ /** EventAuditorBondPosted is emitted when an auditor posts (or tops up) bond. */
12
+ export interface EventAuditorBondPosted {
13
+ /** Auditor is the bech32 account address of the bonding auditor. */
14
+ auditor: string;
15
+ /** Amount is the coin amount posted as bond. */
16
+ amount: Coin | undefined;
17
+ }
18
+ /**
19
+ * EventAuditorFrozen is emitted when an auditor crosses the discrepancy
20
+ * threshold and is frozen pending governance review.
21
+ */
22
+ export interface EventAuditorFrozen {
23
+ /** Auditor is the bech32 account address of the frozen auditor. */
24
+ auditor: string;
25
+ /** DiscrepancyID is the identifier of the discrepancy that triggered the freeze. */
26
+ discrepancyId: bigint;
27
+ }
28
+ /**
29
+ * EventAuditorLapsed is emitted when an auditor's renewal deadline passes
30
+ * without renewal.
31
+ */
32
+ export interface EventAuditorLapsed {
33
+ /** Auditor is the bech32 account address of the lapsed auditor. */
34
+ auditor: string;
35
+ }
36
+ /** EventAuditorResigned is emitted when an auditor voluntarily resigns. */
37
+ export interface EventAuditorResigned {
38
+ /** Auditor is the bech32 account address of the resigning auditor. */
39
+ auditor: string;
40
+ }
41
+ /** EventAuditorRemoved is emitted when governance removes an auditor. */
42
+ export interface EventAuditorRemoved {
43
+ /** Auditor is the bech32 account address of the removed auditor. */
44
+ auditor: string;
45
+ }
46
+ /** EventAuditorRenewed is emitted when an auditor's registration is renewed. */
47
+ export interface EventAuditorRenewed {
48
+ /** Auditor is the bech32 account address of the renewed auditor. */
49
+ auditor: string;
50
+ /** NewDeadline is the new renewal deadline assigned to the auditor. */
51
+ newDeadline: Date | undefined;
52
+ }
53
+ /** EventAttestationSubmitted is emitted when an auditor submits an attestation. */
54
+ export interface EventAttestationSubmitted {
55
+ /** Provider is the bech32 account address of the attested provider. */
56
+ provider: string;
57
+ /** Auditor is the bech32 account address of the issuing auditor. */
58
+ auditor: string;
59
+ /** Tier is the verification tier asserted by the attestation. */
60
+ tier: VerificationTier;
61
+ /** Capabilities is the set of capability flags asserted by the attestation. */
62
+ capabilities: CapabilityFlag[];
63
+ /** ExpiresAt is the chain timestamp at which the attestation expires. */
64
+ expiresAt: Date | undefined;
65
+ /** AuditEscrowID is the audit escrow identifier that authorized the attestation. */
66
+ auditEscrowId: bigint;
67
+ }
68
+ /** EventAttestationExpired is emitted when an attestation expires. */
69
+ export interface EventAttestationExpired {
70
+ /** Provider is the bech32 account address of the provider whose attestation expired. */
71
+ provider: string;
72
+ /** Auditor is the bech32 account address of the auditor whose attestation expired. */
73
+ auditor: string;
74
+ /** Tier is the tier of the expired attestation. */
75
+ tier: VerificationTier;
76
+ }
77
+ /**
78
+ * EventAttestationReplaced is emitted when a new attestation replaces an existing
79
+ * attestation from the same auditor for the same provider.
80
+ */
81
+ export interface EventAttestationReplaced {
82
+ /** Provider is the bech32 account address of the provider involved. */
83
+ provider: string;
84
+ /** Auditor is the bech32 account address of the auditor involved. */
85
+ auditor: string;
86
+ /** OldTier is the tier of the previous attestation being replaced. */
87
+ oldTier: VerificationTier;
88
+ /** NewTier is the tier of the new attestation. */
89
+ newTier: VerificationTier;
90
+ /** OldAuditEscrowID is the audit escrow that authorized the previous attestation. */
91
+ oldAuditEscrowId: bigint;
92
+ /** NewAuditEscrowID is the audit escrow that authorized the new attestation. */
93
+ newAuditEscrowId: bigint;
94
+ }
95
+ /** EventAttestationRevoked is emitted when an attestation is revoked by the auditor. */
96
+ export interface EventAttestationRevoked {
97
+ /** Provider is the bech32 account address of the provider involved. */
98
+ provider: string;
99
+ /** Auditor is the bech32 account address of the auditor involved. */
100
+ auditor: string;
101
+ /**
102
+ * Initiator is the textual identifier of the party that initiated the
103
+ * revocation (e.g. "auditor", "governance").
104
+ */
105
+ initiator: string;
106
+ /** Reason is the typed reason recorded for the revocation. */
107
+ reason: AttestationRevocationReason;
108
+ }
109
+ /** EventAttestationVoided is emitted when an attestation transitions to voided state. */
110
+ export interface EventAttestationVoided {
111
+ /** Provider is the bech32 account address of the provider whose attestation was voided. */
112
+ provider: string;
113
+ /** Auditor is the bech32 account address of the auditor whose attestation was voided. */
114
+ auditor: string;
115
+ /** Reason is the typed reason recorded for the void. */
116
+ reason: VoidedReason;
117
+ }
118
+ /**
119
+ * EventDiscrepancyDetected is emitted when the chain detects two conflicting
120
+ * attestations from different auditors for the same provider.
121
+ */
122
+ export interface EventDiscrepancyDetected {
123
+ /** DiscrepancyID is the identifier of the newly created discrepancy record. */
124
+ discrepancyId: bigint;
125
+ /** Provider is the bech32 account address of the disputed provider. */
126
+ provider: string;
127
+ /** AuditorA is the bech32 account address of the first auditor in the dispute. */
128
+ auditorA: string;
129
+ /** TierA is the tier asserted by auditor A. */
130
+ tierA: VerificationTier;
131
+ /** AuditorB is the bech32 account address of the second auditor in the dispute. */
132
+ auditorB: string;
133
+ /** TierB is the tier asserted by auditor B. */
134
+ tierB: VerificationTier;
135
+ }
136
+ /** EventDiscrepancyResolved is emitted when a discrepancy is resolved by governance. */
137
+ export interface EventDiscrepancyResolved {
138
+ /** DiscrepancyID is the identifier of the resolved discrepancy record. */
139
+ discrepancyId: bigint;
140
+ /**
141
+ * VindicatedAuditor is the identifier of the auditor vindicated by the
142
+ * resolution; carries an empty string when neither party is vindicated.
143
+ */
144
+ vindicatedAuditor: string;
145
+ /** Reason is the typed resolution reason recorded by governance. */
146
+ reason: DiscrepancyResolutionReason;
147
+ /** FaultAttribution is the typed fault attribution recorded at resolution. */
148
+ faultAttribution: FaultAttribution;
149
+ }
150
+ /**
151
+ * EventDiscrepancyTimedOut is emitted when a discrepancy's resolution window
152
+ * elapses without governance action.
153
+ */
154
+ export interface EventDiscrepancyTimedOut {
155
+ /** DiscrepancyID is the identifier of the timed-out discrepancy record. */
156
+ discrepancyId: bigint;
157
+ /** AuditorA is the bech32 account address of the first auditor in the dispute. */
158
+ auditorA: string;
159
+ /** AuditorB is the bech32 account address of the second auditor in the dispute. */
160
+ auditorB: string;
161
+ }
162
+ /** EventProviderBondPosted is emitted when a provider posts (or tops up) bond. */
163
+ export interface EventProviderBondPosted {
164
+ /** Provider is the bech32 account address of the bonding provider. */
165
+ provider: string;
166
+ /** Amount is the coin amount just posted in this transaction. */
167
+ amount: Coin | undefined;
168
+ /** TotalBonded is the resulting total bonded amount after this posting. */
169
+ totalBonded: Coin | undefined;
170
+ }
171
+ /** EventProviderBondSlashed is emitted when a provider's bond is slashed. */
172
+ export interface EventProviderBondSlashed {
173
+ /** Provider is the bech32 account address of the slashed provider. */
174
+ provider: string;
175
+ /** SlashedAmount is the coin amount slashed in this action. */
176
+ slashedAmount: Coin | undefined;
177
+ /** Reason is the typed slash reason recorded. */
178
+ reason: ProviderBondSlashReason;
179
+ }
180
+ /**
181
+ * EventProviderBondWithdrawalInitiated is emitted when a provider begins
182
+ * unbonding part or all of its bond.
183
+ */
184
+ export interface EventProviderBondWithdrawalInitiated {
185
+ /** Provider is the bech32 account address of the unbonding provider. */
186
+ provider: string;
187
+ /** Amount is the coin amount the provider is unbonding. */
188
+ amount: Coin | undefined;
189
+ /** CompletionTime is the chain timestamp at which the unbonding completes. */
190
+ completionTime: Date | undefined;
191
+ }
192
+ /**
193
+ * EventProviderBondWithdrawalCompleted is emitted when an unbonding entry
194
+ * matures and the amount is returned to the provider.
195
+ */
196
+ export interface EventProviderBondWithdrawalCompleted {
197
+ /** Provider is the bech32 account address of the provider receiving the unbonded coins. */
198
+ provider: string;
199
+ /** Amount is the coin amount returned to the provider. */
200
+ amount: Coin | undefined;
201
+ }
202
+ /** EventSnapshotHashPosted is emitted when a provider posts a snapshot hash. */
203
+ export interface EventSnapshotHashPosted {
204
+ /** Provider is the bech32 account address of the snapshotting provider. */
205
+ provider: string;
206
+ /** SnapshotHash is the opaque hash bytes posted by the provider. */
207
+ snapshotHash: Uint8Array;
208
+ /** ComplianceDeadline is the chain timestamp by which the next snapshot must be posted. */
209
+ complianceDeadline: Date | undefined;
210
+ }
211
+ /**
212
+ * EventSnapshotSuspended is emitted when a provider's snapshot is suspended
213
+ * for missing a compliance deadline.
214
+ */
215
+ export interface EventSnapshotSuspended {
216
+ /** Provider is the bech32 account address of the suspended provider. */
217
+ provider: string;
218
+ }
219
+ /**
220
+ * EventSnapshotResumed is emitted when a previously suspended provider snapshot
221
+ * returns to compliance.
222
+ */
223
+ export interface EventSnapshotResumed {
224
+ /** Provider is the bech32 account address of the resumed provider. */
225
+ provider: string;
226
+ }
227
+ /** EventFeeEscrowed is emitted when an audit fee is escrowed by a provider. */
228
+ export interface EventFeeEscrowed {
229
+ /** Provider is the bech32 account address of the escrowing provider. */
230
+ provider: string;
231
+ /** Auditor is the bech32 account address of the consuming auditor (may be empty). */
232
+ auditor: string;
233
+ /** Amount is the coin amount escrowed. */
234
+ amount: Coin | undefined;
235
+ }
236
+ /** EventFeeReleasedToAuditor is emitted when an escrowed fee is released to the auditor. */
237
+ export interface EventFeeReleasedToAuditor {
238
+ /** Auditor is the bech32 account address of the auditor receiving the fee. */
239
+ auditor: string;
240
+ /** Amount is the coin amount released to the auditor. */
241
+ amount: Coin | undefined;
242
+ }
243
+ /** EventFeeReturnedToProvider is emitted when an escrowed fee is returned to the provider. */
244
+ export interface EventFeeReturnedToProvider {
245
+ /** Provider is the bech32 account address of the provider receiving the fee. */
246
+ provider: string;
247
+ /** Amount is the coin amount returned to the provider. */
248
+ amount: Coin | undefined;
249
+ }
250
+ /** EventAuditEscrowOpened is emitted when a provider opens an audit escrow. */
251
+ export interface EventAuditEscrowOpened {
252
+ /** AuditEscrowID is the identifier of the newly opened audit escrow. */
253
+ auditEscrowId: bigint;
254
+ /** Provider is the bech32 account address of the provider opening the escrow. */
255
+ provider: string;
256
+ /** Fee is the audit fee escrowed. */
257
+ fee: Coin | undefined;
258
+ /** ProviderDeposit is the deposit a provider escrows alongside the fee. */
259
+ providerDeposit: Coin | undefined;
260
+ }
261
+ /** EventAuditEscrowSettled is emitted when an audit escrow reaches final settlement. */
262
+ export interface EventAuditEscrowSettled {
263
+ /** AuditEscrowID is the identifier of the settled audit escrow. */
264
+ auditEscrowId: bigint;
265
+ /** Reason is the typed settlement reason recorded. */
266
+ reason: AuditEscrowSettlementReason;
267
+ /** FaultAttribution is the typed fault attribution recorded at settlement. */
268
+ faultAttribution: FaultAttribution;
269
+ }
270
+ /**
271
+ * EventDepositReturnedToAuditor is emitted when an auditor's anti-griefing
272
+ * deposit is returned.
273
+ */
274
+ export interface EventDepositReturnedToAuditor {
275
+ /** Auditor is the bech32 account address of the auditor receiving the deposit. */
276
+ auditor: string;
277
+ /** Amount is the coin amount returned to the auditor. */
278
+ amount: Coin | undefined;
279
+ }
280
+ /** EventDepositSlashed is emitted when an auditor's anti-griefing deposit is slashed. */
281
+ export interface EventDepositSlashed {
282
+ /** Auditor is the bech32 account address of the auditor whose deposit was slashed. */
283
+ auditor: string;
284
+ /** Amount is the coin amount slashed from the deposit. */
285
+ amount: Coin | undefined;
286
+ }
287
+ /**
288
+ * EventVerificationGraceStarted is emitted when a provider enters a verification
289
+ * grace window.
290
+ */
291
+ export interface EventVerificationGraceStarted {
292
+ /** GraceRecordID is the identifier of the newly opened grace record. */
293
+ graceRecordId: bigint;
294
+ /** Provider is the bech32 account address of the provider entering grace. */
295
+ provider: string;
296
+ /** PreservedTier is the verification tier preserved for the provider during grace. */
297
+ preservedTier: VerificationTier;
298
+ }
299
+ /**
300
+ * EventVerificationGraceEnded is emitted when a verification grace window
301
+ * concludes for any reason.
302
+ */
303
+ export interface EventVerificationGraceEnded {
304
+ /** GraceRecordID is the identifier of the closed grace record. */
305
+ graceRecordId: bigint;
306
+ /** Status is the final lifecycle status of the closed grace record. */
307
+ status: VerificationGraceStatus;
308
+ }
309
+ export declare const EventAuditorRegistered: MessageFns<EventAuditorRegistered, "akash.verification.v1.EventAuditorRegistered">;
310
+ export declare const EventAuditorBondPosted: MessageFns<EventAuditorBondPosted, "akash.verification.v1.EventAuditorBondPosted">;
311
+ export declare const EventAuditorFrozen: MessageFns<EventAuditorFrozen, "akash.verification.v1.EventAuditorFrozen">;
312
+ export declare const EventAuditorLapsed: MessageFns<EventAuditorLapsed, "akash.verification.v1.EventAuditorLapsed">;
313
+ export declare const EventAuditorResigned: MessageFns<EventAuditorResigned, "akash.verification.v1.EventAuditorResigned">;
314
+ export declare const EventAuditorRemoved: MessageFns<EventAuditorRemoved, "akash.verification.v1.EventAuditorRemoved">;
315
+ export declare const EventAuditorRenewed: MessageFns<EventAuditorRenewed, "akash.verification.v1.EventAuditorRenewed">;
316
+ export declare const EventAttestationSubmitted: MessageFns<EventAttestationSubmitted, "akash.verification.v1.EventAttestationSubmitted">;
317
+ export declare const EventAttestationExpired: MessageFns<EventAttestationExpired, "akash.verification.v1.EventAttestationExpired">;
318
+ export declare const EventAttestationReplaced: MessageFns<EventAttestationReplaced, "akash.verification.v1.EventAttestationReplaced">;
319
+ export declare const EventAttestationRevoked: MessageFns<EventAttestationRevoked, "akash.verification.v1.EventAttestationRevoked">;
320
+ export declare const EventAttestationVoided: MessageFns<EventAttestationVoided, "akash.verification.v1.EventAttestationVoided">;
321
+ export declare const EventDiscrepancyDetected: MessageFns<EventDiscrepancyDetected, "akash.verification.v1.EventDiscrepancyDetected">;
322
+ export declare const EventDiscrepancyResolved: MessageFns<EventDiscrepancyResolved, "akash.verification.v1.EventDiscrepancyResolved">;
323
+ export declare const EventDiscrepancyTimedOut: MessageFns<EventDiscrepancyTimedOut, "akash.verification.v1.EventDiscrepancyTimedOut">;
324
+ export declare const EventProviderBondPosted: MessageFns<EventProviderBondPosted, "akash.verification.v1.EventProviderBondPosted">;
325
+ export declare const EventProviderBondSlashed: MessageFns<EventProviderBondSlashed, "akash.verification.v1.EventProviderBondSlashed">;
326
+ export declare const EventProviderBondWithdrawalInitiated: MessageFns<EventProviderBondWithdrawalInitiated, "akash.verification.v1.EventProviderBondWithdrawalInitiated">;
327
+ export declare const EventProviderBondWithdrawalCompleted: MessageFns<EventProviderBondWithdrawalCompleted, "akash.verification.v1.EventProviderBondWithdrawalCompleted">;
328
+ export declare const EventSnapshotHashPosted: MessageFns<EventSnapshotHashPosted, "akash.verification.v1.EventSnapshotHashPosted">;
329
+ export declare const EventSnapshotSuspended: MessageFns<EventSnapshotSuspended, "akash.verification.v1.EventSnapshotSuspended">;
330
+ export declare const EventSnapshotResumed: MessageFns<EventSnapshotResumed, "akash.verification.v1.EventSnapshotResumed">;
331
+ export declare const EventFeeEscrowed: MessageFns<EventFeeEscrowed, "akash.verification.v1.EventFeeEscrowed">;
332
+ export declare const EventFeeReleasedToAuditor: MessageFns<EventFeeReleasedToAuditor, "akash.verification.v1.EventFeeReleasedToAuditor">;
333
+ export declare const EventFeeReturnedToProvider: MessageFns<EventFeeReturnedToProvider, "akash.verification.v1.EventFeeReturnedToProvider">;
334
+ export declare const EventAuditEscrowOpened: MessageFns<EventAuditEscrowOpened, "akash.verification.v1.EventAuditEscrowOpened">;
335
+ export declare const EventAuditEscrowSettled: MessageFns<EventAuditEscrowSettled, "akash.verification.v1.EventAuditEscrowSettled">;
336
+ export declare const EventDepositReturnedToAuditor: MessageFns<EventDepositReturnedToAuditor, "akash.verification.v1.EventDepositReturnedToAuditor">;
337
+ export declare const EventDepositSlashed: MessageFns<EventDepositSlashed, "akash.verification.v1.EventDepositSlashed">;
338
+ export declare const EventVerificationGraceStarted: MessageFns<EventVerificationGraceStarted, "akash.verification.v1.EventVerificationGraceStarted">;
339
+ export declare const EventVerificationGraceEnded: MessageFns<EventVerificationGraceEnded, "akash.verification.v1.EventVerificationGraceEnded">;
@@ -0,0 +1,45 @@
1
+ import type { MessageFns } from "../../../../../encoding/typeEncodingHelpers.ts";
2
+ import { Params } from "./params.ts";
3
+ import { AttestationRecord, AuditEscrowRecord, AuditorRecord, DiscrepancyEvent, ProviderBondRecord, ProviderSnapshotRecord, ProviderVerificationGraceRecord } from "./state.ts";
4
+ /**
5
+ * GenesisState defines the genesis state of the verification module. It
6
+ * contains the on-chain parameters and the full set of records the module
7
+ * is responsible for: auditors, attestations, discrepancies (and the next ID
8
+ * counter), provider bonds, provider snapshot records, audit escrows (and
9
+ * the next ID counter), and provider verification grace records (and the
10
+ * next ID counter).
11
+ */
12
+ export interface GenesisState {
13
+ /** Params holds the on-chain parameters for the verification module. */
14
+ params: Params | undefined;
15
+ /** Auditors is the list of registered auditor records. */
16
+ auditors: AuditorRecord[];
17
+ /** Attestations is the list of attestation records. */
18
+ attestations: AttestationRecord[];
19
+ /** Discrepancies is the list of discrepancy events. */
20
+ discrepancies: DiscrepancyEvent[];
21
+ /** ProviderBonds is the list of provider bond records. */
22
+ providerBonds: ProviderBondRecord[];
23
+ /** ProviderSnapshots is the list of provider snapshot records. */
24
+ providerSnapshots: ProviderSnapshotRecord[];
25
+ /**
26
+ * NextDiscrepancyID is the monotonically increasing ID assigned to the next
27
+ * discrepancy event.
28
+ */
29
+ nextDiscrepancyId: bigint;
30
+ /** AuditEscrows is the list of audit escrow records. */
31
+ auditEscrows: AuditEscrowRecord[];
32
+ /**
33
+ * NextAuditEscrowID is the monotonically increasing ID assigned to the next
34
+ * audit escrow record.
35
+ */
36
+ nextAuditEscrowId: bigint;
37
+ /** VerificationGraces is the list of provider verification grace records. */
38
+ verificationGraces: ProviderVerificationGraceRecord[];
39
+ /**
40
+ * NextGraceRecordID is the monotonically increasing ID assigned to the next
41
+ * provider verification grace record.
42
+ */
43
+ nextGraceRecordId: bigint;
44
+ }
45
+ export declare const GenesisState: MessageFns<GenesisState, "akash.verification.v1.GenesisState">;