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

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 (274) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +5 -328
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +19 -36
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +0 -6
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +2 -18
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs +17 -2
  10. package/dist/cjs/generated/protos/akash/inventory/v1/cpu.cjs.map +2 -2
  11. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +0 -6
  12. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  13. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +1 -139
  14. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +0 -9
  16. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  17. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +0 -266
  18. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +2 -71
  20. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +0 -321
  22. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +1 -88
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +1 -462
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +0 -36
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +0 -25
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/index.akash.v1.cjs +25 -166
  32. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  33. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +0 -25
  34. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  35. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +0 -2
  36. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +0 -9
  38. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  39. package/dist/cjs/sdl/manifest/generateManifest.cjs +1 -20
  40. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  41. package/dist/cjs/sdl/manifest/manifestUtils.cjs +18 -1
  42. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  43. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +741 -798
  44. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  45. package/dist/esm/{chunk-AKNHD3CM.js → chunk-2IHQEHWT.js} +19 -4
  46. package/dist/esm/chunk-2IHQEHWT.js.map +7 -0
  47. package/dist/esm/{chunk-MIJCN6AD.js → chunk-3K7Q5MUF.js} +2 -2
  48. package/dist/esm/{chunk-GRGSTKN3.js → chunk-3QS3CMF4.js} +2 -2
  49. package/dist/esm/{chunk-3U5XKNEU.js → chunk-4SZHF6SE.js} +3 -3
  50. package/dist/esm/{chunk-W3TLZPTC.js → chunk-4TSICBUM.js} +3 -3
  51. package/dist/esm/{chunk-P64VHYRM.js → chunk-5ODS4QTF.js} +2 -2
  52. package/dist/esm/{chunk-5VWXQLXG.js → chunk-6MIQPNOR.js} +787 -1170
  53. package/dist/esm/chunk-6MIQPNOR.js.map +7 -0
  54. package/dist/esm/{chunk-OJ54L3XZ.js → chunk-7XXZVOOW.js} +4 -4
  55. package/dist/esm/{chunk-F4IQOYFH.js → chunk-AR26HCRY.js} +2 -2
  56. package/dist/esm/chunk-C3WV6GJ6.js +234 -0
  57. package/dist/esm/chunk-C3WV6GJ6.js.map +7 -0
  58. package/dist/esm/{chunk-PYD5MY63.js → chunk-CZGHFBAO.js} +9 -131
  59. package/dist/esm/chunk-CZGHFBAO.js.map +7 -0
  60. package/dist/esm/{chunk-IEWLP7PR.js → chunk-E7KECYS7.js} +1 -7
  61. package/dist/esm/chunk-E7KECYS7.js.map +7 -0
  62. package/dist/esm/{chunk-DCLXPAMC.js → chunk-EJQUNX4L.js} +3 -3
  63. package/dist/esm/{chunk-F7KT5EX5.js → chunk-ENZ3OBCL.js} +2 -2
  64. package/dist/esm/{chunk-54RECHZZ.js → chunk-IKTMMFJ5.js} +2 -2
  65. package/dist/esm/chunk-IVLF3VVZ.js +364 -0
  66. package/dist/esm/chunk-IVLF3VVZ.js.map +7 -0
  67. package/dist/esm/{chunk-7F3NJG67.js → chunk-LLM2VXJM.js} +3 -3
  68. package/dist/esm/{chunk-WNFIFYG2.js → chunk-M2RS2IFR.js} +2 -2
  69. package/dist/esm/{chunk-PAOVIX5L.js → chunk-MFZVOFPX.js} +3 -3
  70. package/dist/esm/chunk-MV27RM25.js +368 -0
  71. package/dist/esm/chunk-MV27RM25.js.map +7 -0
  72. package/dist/esm/{chunk-M5P5LAJJ.js → chunk-N42ATJOO.js} +2 -2
  73. package/dist/esm/{chunk-RJZ46VHV.js → chunk-NP4QQMME.js} +2 -2
  74. package/dist/esm/{chunk-XP2XNYEA.js → chunk-OWB6ZEHB.js} +2 -2
  75. package/dist/esm/{chunk-NNB5QBR2.js → chunk-OYI3IQIV.js} +2 -2
  76. package/dist/esm/chunk-S2CZQ6AM.js +211 -0
  77. package/dist/esm/chunk-S2CZQ6AM.js.map +7 -0
  78. package/dist/esm/{chunk-Y7BVCD32.js → chunk-SGDEIQ7L.js} +3 -3
  79. package/dist/esm/chunk-SXGU4O34.js +258 -0
  80. package/dist/esm/chunk-SXGU4O34.js.map +7 -0
  81. package/dist/esm/{chunk-HRN6NSO2.js → chunk-TTQ36NQ5.js} +2 -2
  82. package/dist/esm/chunk-V42TLXWK.js +177 -0
  83. package/dist/esm/chunk-V42TLXWK.js.map +7 -0
  84. package/dist/esm/{chunk-57534UAR.js → chunk-WCUR732W.js} +2 -2
  85. package/dist/esm/{chunk-CFEWW2ER.js → chunk-YBRE4XNB.js} +2 -2
  86. package/dist/esm/{chunk-BQNJHJXY.js → chunk-ZGK4PJCD.js} +3 -3
  87. package/dist/esm/{chunk-TN4W5NLC.js → chunk-ZRZ6LUI2.js} +1 -7
  88. package/dist/esm/chunk-ZRZ6LUI2.js.map +7 -0
  89. package/dist/esm/{chunk-PWXFQ5FI.js → chunk-ZXN75Q55.js} +3 -3
  90. package/dist/esm/generated/protos/index.akash.v1.js +75 -2986
  91. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  92. package/dist/esm/generated/protos/index.akash.v1beta4.js +13 -58
  93. package/dist/esm/generated/protos/index.akash.v1beta5.js +12 -17
  94. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  95. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  96. package/dist/esm/generated/protos/index.provider.akash.v1.js +10 -29
  97. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +4 -5
  98. package/dist/esm/index.js +36 -54
  99. package/dist/esm/index.js.map +2 -2
  100. package/dist/esm/index.web.js +13 -14
  101. package/dist/esm/index.web.js.map +1 -1
  102. package/dist/esm/{query_akash-HCIMNA7T.js → query_akash-44SHG3FL.js} +3 -4
  103. package/dist/esm/{query_akash-HCIMNA7T.js.map → query_akash-44SHG3FL.js.map} +1 -1
  104. package/dist/esm/{query_akash-SOJJMCBH.js → query_akash-54EYS6GQ.js} +7 -8
  105. package/dist/esm/{query_akash-SOJJMCBH.js.map → query_akash-54EYS6GQ.js.map} +1 -1
  106. package/dist/esm/{query_akash-HN4NCENR.js → query_akash-72TFPQBZ.js} +4 -4
  107. package/dist/esm/{query_akash-SVNQ4S67.js → query_akash-EGFDDA4L.js} +4 -4
  108. package/dist/esm/{query_akash-BTYAA6UN.js → query_akash-I3RPHLVA.js} +5 -5
  109. package/dist/esm/query_akash-N3FPIXVQ.js +39 -0
  110. package/dist/esm/query_akash-N3FPIXVQ.js.map +7 -0
  111. package/dist/esm/{query_akash-EG43V2QH.js → query_akash-QF2LHJQN.js} +4 -4
  112. package/dist/esm/{query_akash-LSGWB5MI.js → query_akash-TZ6F7OO4.js} +12 -24
  113. package/dist/esm/query_akash-TZ6F7OO4.js.map +7 -0
  114. package/dist/esm/service_akash-5AUMDLU5.js +46 -0
  115. package/dist/esm/service_akash-5AUMDLU5.js.map +7 -0
  116. package/dist/esm/{service_akash-43EJ5RKY.js → service_akash-EPHAYZEJ.js} +7 -8
  117. package/dist/esm/{service_akash-43EJ5RKY.js.map → service_akash-EPHAYZEJ.js.map} +1 -1
  118. package/dist/esm/{service_akash-T36Y5DCD.js → service_akash-FX24P5VG.js} +3 -4
  119. package/dist/esm/{service_akash-T36Y5DCD.js.map → service_akash-FX24P5VG.js.map} +1 -1
  120. package/dist/esm/{service_akash-HFGWADC2.js → service_akash-JQKI2SJP.js} +4 -4
  121. package/dist/esm/{service_akash-3R3TC3PH.js → service_akash-KRCYHNCN.js} +3 -4
  122. package/dist/esm/{service_akash-3R3TC3PH.js.map → service_akash-KRCYHNCN.js.map} +1 -1
  123. package/dist/esm/{service_akash-QTGRTXLG.js → service_akash-PFTEVUGK.js} +4 -4
  124. package/dist/esm/{service_akash-X4HCN3EG.js → service_akash-S73VJW6Q.js} +8 -9
  125. package/dist/esm/{service_akash-X4HCN3EG.js.map → service_akash-S73VJW6Q.js.map} +1 -1
  126. package/dist/esm/{service_akash-KAJJV7LX.js → service_akash-SXXXZL6K.js} +4 -4
  127. package/dist/esm/{service_akash-AXWB3IDG.js → service_akash-YXSRY4G3.js} +6 -7
  128. package/dist/esm/{service_akash-AXWB3IDG.js.map → service_akash-YXSRY4G3.js.map} +1 -1
  129. package/dist/esm/{service_akash-BZTUHKJO.js → service_akash-Z4CR3DWY.js} +7 -8
  130. package/dist/esm/{service_akash-BZTUHKJO.js.map → service_akash-Z4CR3DWY.js.map} +1 -1
  131. package/dist/sdl-schema.yaml +41 -73
  132. package/dist/tsconfig.build.tsbuildinfo +1 -1
  133. package/dist/types/generated/createNodeSDK.d.ts +0 -473
  134. package/dist/types/generated/createProviderSDK.d.ts +0 -31
  135. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +0 -8
  136. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +0 -3
  137. package/dist/types/generated/protos/akash/inventory/v1/cpu.d.ts +1 -0
  138. package/dist/types/generated/protos/akash/market/v1/types.d.ts +3 -5
  139. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +0 -29
  140. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +1 -8
  141. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +0 -40
  142. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +1 -11
  143. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +0 -57
  144. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +0 -13
  145. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +1 -93
  146. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +1 -29
  147. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +1 -20
  148. package/dist/types/generated/protos/index.akash.v1.d.ts +0 -9
  149. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +4 -7
  150. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  151. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +0 -1
  152. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +0 -45
  153. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +0 -45
  154. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +74 -109
  155. package/package.json +1 -1
  156. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +0 -943
  157. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +0 -7
  158. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +0 -50
  159. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +0 -7
  160. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +0 -248
  161. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +0 -7
  162. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +0 -417
  163. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +0 -7
  164. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +0 -96
  165. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +0 -7
  166. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +0 -132
  167. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +0 -7
  168. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +0 -2525
  169. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +0 -7
  170. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +0 -253
  171. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +0 -7
  172. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +0 -2774
  173. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +0 -7
  174. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +0 -1044
  175. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +0 -7
  176. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +0 -1559
  177. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +0 -7
  178. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +0 -147
  179. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +0 -7
  180. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs +0 -17
  181. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +0 -7
  182. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +0 -190
  183. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +0 -7
  184. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +0 -2018
  185. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +0 -7
  186. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +0 -1071
  187. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +0 -7
  188. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +0 -148
  189. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +0 -7
  190. package/dist/esm/chunk-2NPYA3YV.js +0 -1563
  191. package/dist/esm/chunk-2NPYA3YV.js.map +0 -7
  192. package/dist/esm/chunk-474YCD2T.js +0 -356
  193. package/dist/esm/chunk-474YCD2T.js.map +0 -7
  194. package/dist/esm/chunk-4CTTYO4O.js +0 -890
  195. package/dist/esm/chunk-4CTTYO4O.js.map +0 -7
  196. package/dist/esm/chunk-5VWXQLXG.js.map +0 -7
  197. package/dist/esm/chunk-AIWCRXMP.js +0 -672
  198. package/dist/esm/chunk-AIWCRXMP.js.map +0 -7
  199. package/dist/esm/chunk-AKNHD3CM.js.map +0 -7
  200. package/dist/esm/chunk-BI4YL5KH.js +0 -2742
  201. package/dist/esm/chunk-BI4YL5KH.js.map +0 -7
  202. package/dist/esm/chunk-IEWLP7PR.js.map +0 -7
  203. package/dist/esm/chunk-IFKY7FXY.js +0 -484
  204. package/dist/esm/chunk-IFKY7FXY.js.map +0 -7
  205. package/dist/esm/chunk-J4CJEGEM.js +0 -3016
  206. package/dist/esm/chunk-J4CJEGEM.js.map +0 -7
  207. package/dist/esm/chunk-PEHPXXTS.js +0 -1053
  208. package/dist/esm/chunk-PEHPXXTS.js.map +0 -7
  209. package/dist/esm/chunk-PTMMQODC.js +0 -760
  210. package/dist/esm/chunk-PTMMQODC.js.map +0 -7
  211. package/dist/esm/chunk-PYD5MY63.js.map +0 -7
  212. package/dist/esm/chunk-SK7LOVVI.js +0 -660
  213. package/dist/esm/chunk-SK7LOVVI.js.map +0 -7
  214. package/dist/esm/chunk-TN4W5NLC.js.map +0 -7
  215. package/dist/esm/chunk-VYCICKFV.js +0 -698
  216. package/dist/esm/chunk-VYCICKFV.js.map +0 -7
  217. package/dist/esm/query_akash-KU4YCMUU.js +0 -85
  218. package/dist/esm/query_akash-KU4YCMUU.js.map +0 -7
  219. package/dist/esm/query_akash-LSGWB5MI.js.map +0 -7
  220. package/dist/esm/query_akash-XYSUQTZC.js +0 -164
  221. package/dist/esm/query_akash-XYSUQTZC.js.map +0 -7
  222. package/dist/esm/service_akash-KYLB3OP3.js +0 -78
  223. package/dist/esm/service_akash-KYLB3OP3.js.map +0 -7
  224. package/dist/esm/service_akash-LJBOWZZG.js +0 -221
  225. package/dist/esm/service_akash-LJBOWZZG.js.map +0 -7
  226. package/dist/esm/snapshot_akash-KH5X5W3B.js +0 -41
  227. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +0 -7
  228. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +0 -112
  229. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +0 -22
  230. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +0 -35
  231. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +0 -87
  232. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +0 -17
  233. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +0 -22
  234. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +0 -339
  235. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +0 -45
  236. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +0 -614
  237. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +0 -147
  238. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +0 -290
  239. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +0 -97
  240. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +0 -1
  241. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +0 -126
  242. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +0 -320
  243. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +0 -348
  244. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +0 -36
  245. /package/dist/esm/{chunk-MIJCN6AD.js.map → chunk-3K7Q5MUF.js.map} +0 -0
  246. /package/dist/esm/{chunk-GRGSTKN3.js.map → chunk-3QS3CMF4.js.map} +0 -0
  247. /package/dist/esm/{chunk-3U5XKNEU.js.map → chunk-4SZHF6SE.js.map} +0 -0
  248. /package/dist/esm/{chunk-W3TLZPTC.js.map → chunk-4TSICBUM.js.map} +0 -0
  249. /package/dist/esm/{chunk-P64VHYRM.js.map → chunk-5ODS4QTF.js.map} +0 -0
  250. /package/dist/esm/{chunk-OJ54L3XZ.js.map → chunk-7XXZVOOW.js.map} +0 -0
  251. /package/dist/esm/{chunk-F4IQOYFH.js.map → chunk-AR26HCRY.js.map} +0 -0
  252. /package/dist/esm/{chunk-DCLXPAMC.js.map → chunk-EJQUNX4L.js.map} +0 -0
  253. /package/dist/esm/{chunk-F7KT5EX5.js.map → chunk-ENZ3OBCL.js.map} +0 -0
  254. /package/dist/esm/{chunk-54RECHZZ.js.map → chunk-IKTMMFJ5.js.map} +0 -0
  255. /package/dist/esm/{chunk-7F3NJG67.js.map → chunk-LLM2VXJM.js.map} +0 -0
  256. /package/dist/esm/{chunk-WNFIFYG2.js.map → chunk-M2RS2IFR.js.map} +0 -0
  257. /package/dist/esm/{chunk-PAOVIX5L.js.map → chunk-MFZVOFPX.js.map} +0 -0
  258. /package/dist/esm/{chunk-M5P5LAJJ.js.map → chunk-N42ATJOO.js.map} +0 -0
  259. /package/dist/esm/{chunk-RJZ46VHV.js.map → chunk-NP4QQMME.js.map} +0 -0
  260. /package/dist/esm/{chunk-XP2XNYEA.js.map → chunk-OWB6ZEHB.js.map} +0 -0
  261. /package/dist/esm/{chunk-NNB5QBR2.js.map → chunk-OYI3IQIV.js.map} +0 -0
  262. /package/dist/esm/{chunk-Y7BVCD32.js.map → chunk-SGDEIQ7L.js.map} +0 -0
  263. /package/dist/esm/{chunk-HRN6NSO2.js.map → chunk-TTQ36NQ5.js.map} +0 -0
  264. /package/dist/esm/{chunk-57534UAR.js.map → chunk-WCUR732W.js.map} +0 -0
  265. /package/dist/esm/{chunk-CFEWW2ER.js.map → chunk-YBRE4XNB.js.map} +0 -0
  266. /package/dist/esm/{chunk-BQNJHJXY.js.map → chunk-ZGK4PJCD.js.map} +0 -0
  267. /package/dist/esm/{chunk-PWXFQ5FI.js.map → chunk-ZXN75Q55.js.map} +0 -0
  268. /package/dist/esm/{query_akash-HN4NCENR.js.map → query_akash-72TFPQBZ.js.map} +0 -0
  269. /package/dist/esm/{query_akash-SVNQ4S67.js.map → query_akash-EGFDDA4L.js.map} +0 -0
  270. /package/dist/esm/{query_akash-BTYAA6UN.js.map → query_akash-I3RPHLVA.js.map} +0 -0
  271. /package/dist/esm/{query_akash-EG43V2QH.js.map → query_akash-QF2LHJQN.js.map} +0 -0
  272. /package/dist/esm/{service_akash-HFGWADC2.js.map → service_akash-JQKI2SJP.js.map} +0 -0
  273. /package/dist/esm/{service_akash-QTGRTXLG.js.map → service_akash-PFTEVUGK.js.map} +0 -0
  274. /package/dist/esm/{service_akash-KAJJV7LX.js.map → service_akash-SXXXZL6K.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/generated/protos/akash/audit/v1/event.ts", "../../../../src/generated/protos/akash/audit/v1/genesis.ts", "../../../../src/generated/protos/akash/base/offchain/sign/v1/sign.ts", "../../../../src/generated/protos/akash/bme/v1/events.ts", "../../../../src/generated/protos/akash/bme/v1/genesis.ts", "../../../../src/generated/protos/akash/cert/v1/genesis.ts", "../../../../src/generated/protos/akash/deployment/v1/event.ts", "../../../../src/generated/protos/akash/escrow/v1/authz.ts", "../../../../src/generated/protos/akash/escrow/v1/genesis.ts", "../../../../src/generated/protos/akash/market/v1/event.ts", "../../../../src/generated/protos/akash/oracle/v1/events.ts", "../../../../src/generated/protos/akash/oracle/v1/genesis.ts", "../../../../src/generated/protos/akash/take/v1/genesis.ts", "../../../../src/generated/protos/akash/verification/v1/event.ts", "../../../../src/generated/protos/akash/verification/v1/genesis.ts", "../../../../src/generated/protos/akash/wasm/v1/event.ts", "../../../../src/generated/protos/akash/wasm/v1/genesis.ts"],
4
- "sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/audit/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** EventTrustedAuditorCreated defines an SDK message for when a trusted auditor is created. */\nexport interface EventTrustedAuditorCreated {\n /**\n * Owner is the account bech32 address of the provider.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Auditor is the account address of the auditor.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n auditor: string;\n}\n\n/** EventTrustedAuditorDeleted defines an event for when a trusted auditor is deleted. */\nexport interface EventTrustedAuditorDeleted {\n /**\n * Owner is the account bech32 address of the provider.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Auditor is the account address of the auditor.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n auditor: string;\n}\n\nfunction createBaseEventTrustedAuditorCreated(): EventTrustedAuditorCreated {\n return { owner: \"\", auditor: \"\" };\n}\n\nexport const EventTrustedAuditorCreated: MessageFns<\n EventTrustedAuditorCreated,\n \"akash.audit.v1.EventTrustedAuditorCreated\"\n> = {\n $type: \"akash.audit.v1.EventTrustedAuditorCreated\" as const,\n\n encode(message: EventTrustedAuditorCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventTrustedAuditorCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventTrustedAuditorCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventTrustedAuditorCreated {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n };\n },\n\n toJSON(message: EventTrustedAuditorCreated): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventTrustedAuditorCreated>): EventTrustedAuditorCreated {\n const message = createBaseEventTrustedAuditorCreated();\n message.owner = object.owner ?? \"\";\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventTrustedAuditorDeleted(): EventTrustedAuditorDeleted {\n return { owner: \"\", auditor: \"\" };\n}\n\nexport const EventTrustedAuditorDeleted: MessageFns<\n EventTrustedAuditorDeleted,\n \"akash.audit.v1.EventTrustedAuditorDeleted\"\n> = {\n $type: \"akash.audit.v1.EventTrustedAuditorDeleted\" as const,\n\n encode(message: EventTrustedAuditorDeleted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventTrustedAuditorDeleted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventTrustedAuditorDeleted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventTrustedAuditorDeleted {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n };\n },\n\n toJSON(message: EventTrustedAuditorDeleted): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventTrustedAuditorDeleted>): EventTrustedAuditorDeleted {\n const message = createBaseEventTrustedAuditorDeleted();\n message.owner = object.owner ?? \"\";\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/audit/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { AuditedProvider } from \"./audit.ts\";\n\n/** GenesisState defines the basic genesis state used by audit module. */\nexport interface GenesisState {\n /** Providers contains a list of audited providers account addresses. */\n providers: AuditedProvider[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { providers: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.audit.v1.GenesisState\"> = {\n $type: \"akash.audit.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.providers) {\n AuditedProvider.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.providers.push(AuditedProvider.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n providers: globalThis.Array.isArray(object?.providers)\n ? object.providers.map((e: any) => AuditedProvider.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.providers?.length) {\n obj.providers = message.providers.map((e) => AuditedProvider.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.providers = object.providers?.map((e) => AuditedProvider.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { bytesFromBase64, base64FromBytes, isSet } from \"../../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/base/offchain/sign/v1/sign.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** MsgSignData defines an arbitrary, general-purpose, off-chain message */\nexport interface MsgSignData {\n /** Signer is the sdk.AccAddress of the message signer */\n signer: string;\n /** Data represents the raw bytes of the content that is signed (text, json, etc) */\n data: Uint8Array;\n}\n\nfunction createBaseMsgSignData(): MsgSignData {\n return { signer: \"\", data: new Uint8Array(0) };\n}\n\nexport const MsgSignData: MessageFns<MsgSignData, \"akash.base.offchain.sign.v1.MsgSignData\"> = {\n $type: \"akash.base.offchain.sign.v1.MsgSignData\" as const,\n\n encode(message: MsgSignData, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.signer !== \"\") {\n writer.uint32(10).string(message.signer);\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): MsgSignData {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseMsgSignData();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.signer = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): MsgSignData {\n return {\n signer: isSet(object.signer) ? globalThis.String(object.signer) : \"\",\n data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(0),\n };\n },\n\n toJSON(message: MsgSignData): unknown {\n const obj: any = {};\n if (message.signer !== \"\") {\n obj.signer = message.signer;\n }\n if (message.data.length !== 0) {\n obj.data = base64FromBytes(message.data);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<MsgSignData>): MsgSignData {\n const message = createBaseMsgSignData();\n message.signer = object.signer ?? \"\";\n message.data = object.data ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { patched } from \"../../../../patches/nodePatchMessage.ts\";\nimport { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/bme/v1/events.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport {\n CoinPrice,\n LedgerCanceledRecord_BMCancelReason,\n ledgerCanceledRecord_BMCancelReasonFromJSON,\n ledgerCanceledRecord_BMCancelReasonToJSON,\n LedgerRecordID,\n MintStatus,\n mintStatusFromJSON,\n mintStatusToJSON,\n} from \"./types.ts\";\n\n/** EventCircuitBreakerStatusChange is emitted when circuit breaker status changes */\nexport interface EventMintStatusChange {\n /** previous_status is the previous status */\n previousStatus: MintStatus;\n /** new_status is the new status */\n newStatus: MintStatus;\n /** collateral_ratio is the CR that triggered the change */\n collateralRatio: string;\n}\n\n/** EventVaultFunded is emitted when the vault is seeded with AKT */\nexport interface EventVaultFunded {\n /** amount is the AKT amount added to vault */\n amount:\n | Coin\n | undefined;\n /** source is where the funds came from */\n source: string;\n /** new_vault_balance is the new vault balance */\n newVaultBalance: Coin | undefined;\n}\n\n/** EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B */\nexport interface EventLedgerRecordExecuted {\n /** burned_from source address of the tokens burned */\n id:\n | LedgerRecordID\n | undefined;\n /** burned_from source address of the tokens burned */\n burnedFrom: string;\n /** minted_to destination address of the tokens minted */\n mintedTo: string;\n /** module is module account performing burn */\n burner: string;\n /** module is module account performing mint */\n minter: string;\n /** burned is the coin burned at price */\n burned:\n | CoinPrice\n | undefined;\n /** minted is coin minted at price */\n minted: CoinPrice | undefined;\n spread: Coin | undefined;\n remintCreditIssued: CoinPrice | undefined;\n remintCreditAccrued: CoinPrice | undefined;\n}\n\n/** EventLedgerRecordCanceled emitted information of unsuccessful burn/mint event */\nexport interface EventLedgerRecordCanceled {\n /** burned_from source address of the tokens burned */\n id:\n | LedgerRecordID\n | undefined;\n /** fail_reason */\n cancelReason: LedgerCanceledRecord_BMCancelReason;\n /** owner source of the coins to be burned */\n owner: string;\n /**\n * to destination of the minted coins.\n * if minted coin is ACT, \"to\" must be same as signer\n */\n to: string;\n /** coins_to_burn */\n coinsToBurn:\n | Coin\n | undefined;\n /** denom_to_mint */\n denomToMint: string;\n}\n\nfunction createBaseEventMintStatusChange(): EventMintStatusChange {\n return { previousStatus: 0, newStatus: 0, collateralRatio: \"\" };\n}\n\nconst _EventMintStatusChange: MessageFns<EventMintStatusChange, \"akash.bme.v1.EventMintStatusChange\"> = {\n $type: \"akash.bme.v1.EventMintStatusChange\" as const,\n\n encode(message: EventMintStatusChange, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.previousStatus !== 0) {\n writer.uint32(8).int32(message.previousStatus);\n }\n if (message.newStatus !== 0) {\n writer.uint32(16).int32(message.newStatus);\n }\n if (message.collateralRatio !== \"\") {\n writer.uint32(26).string(message.collateralRatio);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventMintStatusChange {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventMintStatusChange();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.previousStatus = reader.int32() as any;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.newStatus = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.collateralRatio = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventMintStatusChange {\n return {\n previousStatus: isSet(object.previous_status) ? mintStatusFromJSON(object.previous_status) : 0,\n newStatus: isSet(object.new_status) ? mintStatusFromJSON(object.new_status) : 0,\n collateralRatio: isSet(object.collateral_ratio) ? globalThis.String(object.collateral_ratio) : \"\",\n };\n },\n\n toJSON(message: EventMintStatusChange): unknown {\n const obj: any = {};\n if (message.previousStatus !== 0) {\n obj.previous_status = mintStatusToJSON(message.previousStatus);\n }\n if (message.newStatus !== 0) {\n obj.new_status = mintStatusToJSON(message.newStatus);\n }\n if (message.collateralRatio !== \"\") {\n obj.collateral_ratio = message.collateralRatio;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventMintStatusChange>): EventMintStatusChange {\n const message = createBaseEventMintStatusChange();\n message.previousStatus = object.previousStatus ?? 0;\n message.newStatus = object.newStatus ?? 0;\n message.collateralRatio = object.collateralRatio ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventVaultFunded(): EventVaultFunded {\n return { amount: undefined, source: \"\", newVaultBalance: undefined };\n}\n\nexport const EventVaultFunded: MessageFns<EventVaultFunded, \"akash.bme.v1.EventVaultFunded\"> = {\n $type: \"akash.bme.v1.EventVaultFunded\" as const,\n\n encode(message: EventVaultFunded, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(10).fork()).join();\n }\n if (message.source !== \"\") {\n writer.uint32(18).string(message.source);\n }\n if (message.newVaultBalance !== undefined) {\n Coin.encode(message.newVaultBalance, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventVaultFunded {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventVaultFunded();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.newVaultBalance = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventVaultFunded {\n return {\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n newVaultBalance: isSet(object.new_vault_balance) ? Coin.fromJSON(object.new_vault_balance) : undefined,\n };\n },\n\n toJSON(message: EventVaultFunded): unknown {\n const obj: any = {};\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.newVaultBalance !== undefined) {\n obj.new_vault_balance = Coin.toJSON(message.newVaultBalance);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventVaultFunded>): EventVaultFunded {\n const message = createBaseEventVaultFunded();\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n message.source = object.source ?? \"\";\n message.newVaultBalance = (object.newVaultBalance !== undefined && object.newVaultBalance !== null)\n ? Coin.fromPartial(object.newVaultBalance)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLedgerRecordExecuted(): EventLedgerRecordExecuted {\n return {\n id: undefined,\n burnedFrom: \"\",\n mintedTo: \"\",\n burner: \"\",\n minter: \"\",\n burned: undefined,\n minted: undefined,\n spread: undefined,\n remintCreditIssued: undefined,\n remintCreditAccrued: undefined,\n };\n}\n\nexport const EventLedgerRecordExecuted: MessageFns<\n EventLedgerRecordExecuted,\n \"akash.bme.v1.EventLedgerRecordExecuted\"\n> = {\n $type: \"akash.bme.v1.EventLedgerRecordExecuted\" as const,\n\n encode(message: EventLedgerRecordExecuted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.burnedFrom !== \"\") {\n writer.uint32(18).string(message.burnedFrom);\n }\n if (message.mintedTo !== \"\") {\n writer.uint32(26).string(message.mintedTo);\n }\n if (message.burner !== \"\") {\n writer.uint32(34).string(message.burner);\n }\n if (message.minter !== \"\") {\n writer.uint32(42).string(message.minter);\n }\n if (message.burned !== undefined) {\n CoinPrice.encode(message.burned, writer.uint32(50).fork()).join();\n }\n if (message.minted !== undefined) {\n CoinPrice.encode(message.minted, writer.uint32(58).fork()).join();\n }\n if (message.spread !== undefined) {\n Coin.encode(message.spread, writer.uint32(66).fork()).join();\n }\n if (message.remintCreditIssued !== undefined) {\n CoinPrice.encode(message.remintCreditIssued, writer.uint32(74).fork()).join();\n }\n if (message.remintCreditAccrued !== undefined) {\n CoinPrice.encode(message.remintCreditAccrued, writer.uint32(82).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordExecuted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLedgerRecordExecuted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.burnedFrom = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.mintedTo = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.burner = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.minter = reader.string();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.burned = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.minted = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.spread = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 9: {\n if (tag !== 74) {\n break;\n }\n\n message.remintCreditIssued = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n\n message.remintCreditAccrued = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLedgerRecordExecuted {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n burnedFrom: isSet(object.burned_from) ? globalThis.String(object.burned_from) : \"\",\n mintedTo: isSet(object.minted_to) ? globalThis.String(object.minted_to) : \"\",\n burner: isSet(object.burner) ? globalThis.String(object.burner) : \"\",\n minter: isSet(object.minter) ? globalThis.String(object.minter) : \"\",\n burned: isSet(object.burned) ? CoinPrice.fromJSON(object.burned) : undefined,\n minted: isSet(object.minted) ? CoinPrice.fromJSON(object.minted) : undefined,\n spread: isSet(object.spread) ? Coin.fromJSON(object.spread) : undefined,\n remintCreditIssued: isSet(object.remint_credit_issued)\n ? CoinPrice.fromJSON(object.remint_credit_issued)\n : undefined,\n remintCreditAccrued: isSet(object.remint_credit_accrued)\n ? CoinPrice.fromJSON(object.remint_credit_accrued)\n : undefined,\n };\n },\n\n toJSON(message: EventLedgerRecordExecuted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.burnedFrom !== \"\") {\n obj.burned_from = message.burnedFrom;\n }\n if (message.mintedTo !== \"\") {\n obj.minted_to = message.mintedTo;\n }\n if (message.burner !== \"\") {\n obj.burner = message.burner;\n }\n if (message.minter !== \"\") {\n obj.minter = message.minter;\n }\n if (message.burned !== undefined) {\n obj.burned = CoinPrice.toJSON(message.burned);\n }\n if (message.minted !== undefined) {\n obj.minted = CoinPrice.toJSON(message.minted);\n }\n if (message.spread !== undefined) {\n obj.spread = Coin.toJSON(message.spread);\n }\n if (message.remintCreditIssued !== undefined) {\n obj.remint_credit_issued = CoinPrice.toJSON(message.remintCreditIssued);\n }\n if (message.remintCreditAccrued !== undefined) {\n obj.remint_credit_accrued = CoinPrice.toJSON(message.remintCreditAccrued);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLedgerRecordExecuted>): EventLedgerRecordExecuted {\n const message = createBaseEventLedgerRecordExecuted();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.burnedFrom = object.burnedFrom ?? \"\";\n message.mintedTo = object.mintedTo ?? \"\";\n message.burner = object.burner ?? \"\";\n message.minter = object.minter ?? \"\";\n message.burned = (object.burned !== undefined && object.burned !== null)\n ? CoinPrice.fromPartial(object.burned)\n : undefined;\n message.minted = (object.minted !== undefined && object.minted !== null)\n ? CoinPrice.fromPartial(object.minted)\n : undefined;\n message.spread = (object.spread !== undefined && object.spread !== null)\n ? Coin.fromPartial(object.spread)\n : undefined;\n message.remintCreditIssued = (object.remintCreditIssued !== undefined && object.remintCreditIssued !== null)\n ? CoinPrice.fromPartial(object.remintCreditIssued)\n : undefined;\n message.remintCreditAccrued = (object.remintCreditAccrued !== undefined && object.remintCreditAccrued !== null)\n ? CoinPrice.fromPartial(object.remintCreditAccrued)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLedgerRecordCanceled(): EventLedgerRecordCanceled {\n return { id: undefined, cancelReason: 0, owner: \"\", to: \"\", coinsToBurn: undefined, denomToMint: \"\" };\n}\n\nexport const EventLedgerRecordCanceled: MessageFns<\n EventLedgerRecordCanceled,\n \"akash.bme.v1.EventLedgerRecordCanceled\"\n> = {\n $type: \"akash.bme.v1.EventLedgerRecordCanceled\" as const,\n\n encode(message: EventLedgerRecordCanceled, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.cancelReason !== 0) {\n writer.uint32(16).int32(message.cancelReason);\n }\n if (message.owner !== \"\") {\n writer.uint32(26).string(message.owner);\n }\n if (message.to !== \"\") {\n writer.uint32(34).string(message.to);\n }\n if (message.coinsToBurn !== undefined) {\n Coin.encode(message.coinsToBurn, writer.uint32(42).fork()).join();\n }\n if (message.denomToMint !== \"\") {\n writer.uint32(50).string(message.denomToMint);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordCanceled {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLedgerRecordCanceled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.cancelReason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.to = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.coinsToBurn = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.denomToMint = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLedgerRecordCanceled {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n cancelReason: isSet(object.cancel_reason) ? ledgerCanceledRecord_BMCancelReasonFromJSON(object.cancel_reason) : 0,\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n to: isSet(object.to) ? globalThis.String(object.to) : \"\",\n coinsToBurn: isSet(object.coins_to_burn) ? Coin.fromJSON(object.coins_to_burn) : undefined,\n denomToMint: isSet(object.denom_to_mint) ? globalThis.String(object.denom_to_mint) : \"\",\n };\n },\n\n toJSON(message: EventLedgerRecordCanceled): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.cancelReason !== 0) {\n obj.cancel_reason = ledgerCanceledRecord_BMCancelReasonToJSON(message.cancelReason);\n }\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.to !== \"\") {\n obj.to = message.to;\n }\n if (message.coinsToBurn !== undefined) {\n obj.coins_to_burn = Coin.toJSON(message.coinsToBurn);\n }\n if (message.denomToMint !== \"\") {\n obj.denom_to_mint = message.denomToMint;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLedgerRecordCanceled>): EventLedgerRecordCanceled {\n const message = createBaseEventLedgerRecordCanceled();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.cancelReason = object.cancelReason ?? 0;\n message.owner = object.owner ?? \"\";\n message.to = object.to ?? \"\";\n message.coinsToBurn = (object.coinsToBurn !== undefined && object.coinsToBurn !== null)\n ? Coin.fromPartial(object.coinsToBurn)\n : undefined;\n message.denomToMint = object.denomToMint ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n\nexport const EventMintStatusChange = patched(_EventMintStatusChange);\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/bme/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { Params } from \"./params.ts\";\nimport { LedgerPendingRecord, LedgerRecord, LedgerRecordID } from \"./types.ts\";\n\n/** GenesisLedgerRecord */\nexport interface GenesisLedgerRecord {\n id: LedgerRecordID | undefined;\n record: LedgerRecord | undefined;\n}\n\n/** GenesisLedgerPendingRecord */\nexport interface GenesisLedgerPendingRecord {\n id: LedgerRecordID | undefined;\n record: LedgerPendingRecord | undefined;\n}\n\n/** GenesisLedgerState */\nexport interface GenesisLedgerState {\n records: GenesisLedgerRecord[];\n pendingRecords: GenesisLedgerPendingRecord[];\n}\n\n/** GenesisVaultState */\nexport interface GenesisVaultState {\n /** burned is the cumulative burn for tracked tokens */\n totalBurned: Coin[];\n /** minted is the cumulative mint back for tracked tokens */\n totalMinted: Coin[];\n /**\n * remint_credits tracks available credits for reminting tokens\n * (e.g., from previous burns that can be reminted without additional collateral)\n */\n remintCredits: Coin[];\n}\n\n/** GenesisState defines the BME module's genesis state */\nexport interface GenesisState {\n /** params defines the module parameters */\n params:\n | Params\n | undefined;\n /** state is the initial vault state */\n state: GenesisVaultState | undefined;\n ledger: GenesisLedgerState | undefined;\n}\n\nfunction createBaseGenesisLedgerRecord(): GenesisLedgerRecord {\n return { id: undefined, record: undefined };\n}\n\nexport const GenesisLedgerRecord: MessageFns<GenesisLedgerRecord, \"akash.bme.v1.GenesisLedgerRecord\"> = {\n $type: \"akash.bme.v1.GenesisLedgerRecord\" as const,\n\n encode(message: GenesisLedgerRecord, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.record !== undefined) {\n LedgerRecord.encode(message.record, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerRecord {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerRecord();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.record = LedgerRecord.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerRecord {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n record: isSet(object.record) ? LedgerRecord.fromJSON(object.record) : undefined,\n };\n },\n\n toJSON(message: GenesisLedgerRecord): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.record !== undefined) {\n obj.record = LedgerRecord.toJSON(message.record);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerRecord>): GenesisLedgerRecord {\n const message = createBaseGenesisLedgerRecord();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.record = (object.record !== undefined && object.record !== null)\n ? LedgerRecord.fromPartial(object.record)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisLedgerPendingRecord(): GenesisLedgerPendingRecord {\n return { id: undefined, record: undefined };\n}\n\nexport const GenesisLedgerPendingRecord: MessageFns<\n GenesisLedgerPendingRecord,\n \"akash.bme.v1.GenesisLedgerPendingRecord\"\n> = {\n $type: \"akash.bme.v1.GenesisLedgerPendingRecord\" as const,\n\n encode(message: GenesisLedgerPendingRecord, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.record !== undefined) {\n LedgerPendingRecord.encode(message.record, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerPendingRecord {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerPendingRecord();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.record = LedgerPendingRecord.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerPendingRecord {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n record: isSet(object.record) ? LedgerPendingRecord.fromJSON(object.record) : undefined,\n };\n },\n\n toJSON(message: GenesisLedgerPendingRecord): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.record !== undefined) {\n obj.record = LedgerPendingRecord.toJSON(message.record);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerPendingRecord>): GenesisLedgerPendingRecord {\n const message = createBaseGenesisLedgerPendingRecord();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.record = (object.record !== undefined && object.record !== null)\n ? LedgerPendingRecord.fromPartial(object.record)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisLedgerState(): GenesisLedgerState {\n return { records: [], pendingRecords: [] };\n}\n\nexport const GenesisLedgerState: MessageFns<GenesisLedgerState, \"akash.bme.v1.GenesisLedgerState\"> = {\n $type: \"akash.bme.v1.GenesisLedgerState\" as const,\n\n encode(message: GenesisLedgerState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.records) {\n GenesisLedgerRecord.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.pendingRecords) {\n GenesisLedgerPendingRecord.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.records.push(GenesisLedgerRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.pendingRecords.push(GenesisLedgerPendingRecord.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerState {\n return {\n records: globalThis.Array.isArray(object?.records)\n ? object.records.map((e: any) => GenesisLedgerRecord.fromJSON(e))\n : [],\n pendingRecords: globalThis.Array.isArray(object?.pending_records)\n ? object.pending_records.map((e: any) => GenesisLedgerPendingRecord.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisLedgerState): unknown {\n const obj: any = {};\n if (message.records?.length) {\n obj.records = message.records.map((e) => GenesisLedgerRecord.toJSON(e));\n }\n if (message.pendingRecords?.length) {\n obj.pending_records = message.pendingRecords.map((e) => GenesisLedgerPendingRecord.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerState>): GenesisLedgerState {\n const message = createBaseGenesisLedgerState();\n message.records = object.records?.map((e) => GenesisLedgerRecord.fromPartial(e)) || [];\n message.pendingRecords = object.pendingRecords?.map((e) => GenesisLedgerPendingRecord.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseGenesisVaultState(): GenesisVaultState {\n return { totalBurned: [], totalMinted: [], remintCredits: [] };\n}\n\nexport const GenesisVaultState: MessageFns<GenesisVaultState, \"akash.bme.v1.GenesisVaultState\"> = {\n $type: \"akash.bme.v1.GenesisVaultState\" as const,\n\n encode(message: GenesisVaultState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.totalBurned) {\n Coin.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.totalMinted) {\n Coin.encode(v!, writer.uint32(18).fork()).join();\n }\n for (const v of message.remintCredits) {\n Coin.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisVaultState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisVaultState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.totalBurned.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.totalMinted.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.remintCredits.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisVaultState {\n return {\n totalBurned: globalThis.Array.isArray(object?.total_burned)\n ? object.total_burned.map((e: any) => Coin.fromJSON(e))\n : [],\n totalMinted: globalThis.Array.isArray(object?.total_minted)\n ? object.total_minted.map((e: any) => Coin.fromJSON(e))\n : [],\n remintCredits: globalThis.Array.isArray(object?.remint_credits)\n ? object.remint_credits.map((e: any) => Coin.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisVaultState): unknown {\n const obj: any = {};\n if (message.totalBurned?.length) {\n obj.total_burned = message.totalBurned.map((e) => Coin.toJSON(e));\n }\n if (message.totalMinted?.length) {\n obj.total_minted = message.totalMinted.map((e) => Coin.toJSON(e));\n }\n if (message.remintCredits?.length) {\n obj.remint_credits = message.remintCredits.map((e) => Coin.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisVaultState>): GenesisVaultState {\n const message = createBaseGenesisVaultState();\n message.totalBurned = object.totalBurned?.map((e) => Coin.fromPartial(e)) || [];\n message.totalMinted = object.totalMinted?.map((e) => Coin.fromPartial(e)) || [];\n message.remintCredits = object.remintCredits?.map((e) => Coin.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined, state: undefined, ledger: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.bme.v1.GenesisState\"> = {\n $type: \"akash.bme.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n if (message.state !== undefined) {\n GenesisVaultState.encode(message.state, writer.uint32(18).fork()).join();\n }\n if (message.ledger !== undefined) {\n GenesisLedgerState.encode(message.ledger, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.state = GenesisVaultState.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.ledger = GenesisLedgerState.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,\n state: isSet(object.state) ? GenesisVaultState.fromJSON(object.state) : undefined,\n ledger: isSet(object.ledger) ? GenesisLedgerState.fromJSON(object.ledger) : undefined,\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n if (message.state !== undefined) {\n obj.state = GenesisVaultState.toJSON(message.state);\n }\n if (message.ledger !== undefined) {\n obj.ledger = GenesisLedgerState.toJSON(message.ledger);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n message.state = (object.state !== undefined && object.state !== null)\n ? GenesisVaultState.fromPartial(object.state)\n : undefined;\n message.ledger = (object.ledger !== undefined && object.ledger !== null)\n ? GenesisLedgerState.fromPartial(object.ledger)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/cert/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Certificate } from \"./cert.ts\";\n\n/** GenesisCertificate defines certificate entry at genesis. */\nexport interface GenesisCertificate {\n /**\n * Owner is the account address of the user who owns the certificate.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /** Certificate holds the certificate. */\n certificate: Certificate | undefined;\n}\n\n/** GenesisState defines the basic genesis state used by cert module. */\nexport interface GenesisState {\n /** Certificates is a list of genesis certificates. */\n certificates: GenesisCertificate[];\n}\n\nfunction createBaseGenesisCertificate(): GenesisCertificate {\n return { owner: \"\", certificate: undefined };\n}\n\nexport const GenesisCertificate: MessageFns<GenesisCertificate, \"akash.cert.v1.GenesisCertificate\"> = {\n $type: \"akash.cert.v1.GenesisCertificate\" as const,\n\n encode(message: GenesisCertificate, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.certificate !== undefined) {\n Certificate.encode(message.certificate, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisCertificate {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisCertificate();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.certificate = Certificate.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisCertificate {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n certificate: isSet(object.certificate) ? Certificate.fromJSON(object.certificate) : undefined,\n };\n },\n\n toJSON(message: GenesisCertificate): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.certificate !== undefined) {\n obj.certificate = Certificate.toJSON(message.certificate);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisCertificate>): GenesisCertificate {\n const message = createBaseGenesisCertificate();\n message.owner = object.owner ?? \"\";\n message.certificate = (object.certificate !== undefined && object.certificate !== null)\n ? Certificate.fromPartial(object.certificate)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisState(): GenesisState {\n return { certificates: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.cert.v1.GenesisState\"> = {\n $type: \"akash.cert.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.certificates) {\n GenesisCertificate.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.certificates.push(GenesisCertificate.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n certificates: globalThis.Array.isArray(object?.certificates)\n ? object.certificates.map((e: any) => GenesisCertificate.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.certificates?.length) {\n obj.certificates = message.certificates.map((e) => GenesisCertificate.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.certificates = object.certificates?.map((e) => GenesisCertificate.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { bytesFromBase64, base64FromBytes, isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/deployment/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { DeploymentID } from \"./deployment.ts\";\nimport { GroupID } from \"./group.ts\";\n\n/**\n * EventDeploymentCreated event is triggered when deployment is created on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentCreated {\n /** ID is the unique identifier of the deployment. */\n id:\n | DeploymentID\n | undefined;\n /** Hash is an hashed representation of the deployment. */\n hash: Uint8Array;\n}\n\n/**\n * EventDeploymentUpdated is triggered when deployment is updated on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentUpdated {\n /** ID is the unique identifier of the deployment. */\n id:\n | DeploymentID\n | undefined;\n /** Hash is an hashed representation of the deployment. */\n hash: Uint8Array;\n}\n\n/**\n * EventDeploymentClosed is triggered when deployment is closed on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentClosed {\n /** ID is the unique identifier of the deployment. */\n id: DeploymentID | undefined;\n}\n\n/**\n * EventGroupStarted is triggered when deployment group is started.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupStarted {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\n/**\n * EventGroupPaused is triggered when deployment group is paused.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupPaused {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\n/**\n * EventGroupClosed is triggered when deployment group is closed.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupClosed {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\nfunction createBaseEventDeploymentCreated(): EventDeploymentCreated {\n return { id: undefined, hash: new Uint8Array(0) };\n}\n\nexport const EventDeploymentCreated: MessageFns<EventDeploymentCreated, \"akash.deployment.v1.EventDeploymentCreated\"> =\n {\n $type: \"akash.deployment.v1.EventDeploymentCreated\" as const,\n\n encode(message: EventDeploymentCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.hash.length !== 0) {\n writer.uint32(18).bytes(message.hash);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.hash = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentCreated {\n return {\n id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined,\n hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(0),\n };\n },\n\n toJSON(message: EventDeploymentCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n if (message.hash.length !== 0) {\n obj.hash = base64FromBytes(message.hash);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentCreated>): EventDeploymentCreated {\n const message = createBaseEventDeploymentCreated();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n message.hash = object.hash ?? new Uint8Array(0);\n return message;\n },\n };\n\nfunction createBaseEventDeploymentUpdated(): EventDeploymentUpdated {\n return { id: undefined, hash: new Uint8Array(0) };\n}\n\nexport const EventDeploymentUpdated: MessageFns<EventDeploymentUpdated, \"akash.deployment.v1.EventDeploymentUpdated\"> =\n {\n $type: \"akash.deployment.v1.EventDeploymentUpdated\" as const,\n\n encode(message: EventDeploymentUpdated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.hash.length !== 0) {\n writer.uint32(18).bytes(message.hash);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentUpdated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentUpdated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.hash = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentUpdated {\n return {\n id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined,\n hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(0),\n };\n },\n\n toJSON(message: EventDeploymentUpdated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n if (message.hash.length !== 0) {\n obj.hash = base64FromBytes(message.hash);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentUpdated>): EventDeploymentUpdated {\n const message = createBaseEventDeploymentUpdated();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n message.hash = object.hash ?? new Uint8Array(0);\n return message;\n },\n };\n\nfunction createBaseEventDeploymentClosed(): EventDeploymentClosed {\n return { id: undefined };\n}\n\nexport const EventDeploymentClosed: MessageFns<EventDeploymentClosed, \"akash.deployment.v1.EventDeploymentClosed\"> = {\n $type: \"akash.deployment.v1.EventDeploymentClosed\" as const,\n\n encode(message: EventDeploymentClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentClosed {\n return { id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventDeploymentClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentClosed>): EventDeploymentClosed {\n const message = createBaseEventDeploymentClosed();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupStarted(): EventGroupStarted {\n return { id: undefined };\n}\n\nexport const EventGroupStarted: MessageFns<EventGroupStarted, \"akash.deployment.v1.EventGroupStarted\"> = {\n $type: \"akash.deployment.v1.EventGroupStarted\" as const,\n\n encode(message: EventGroupStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupStarted {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupStarted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupStarted>): EventGroupStarted {\n const message = createBaseEventGroupStarted();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupPaused(): EventGroupPaused {\n return { id: undefined };\n}\n\nexport const EventGroupPaused: MessageFns<EventGroupPaused, \"akash.deployment.v1.EventGroupPaused\"> = {\n $type: \"akash.deployment.v1.EventGroupPaused\" as const,\n\n encode(message: EventGroupPaused, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupPaused {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupPaused();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupPaused {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupPaused): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupPaused>): EventGroupPaused {\n const message = createBaseEventGroupPaused();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupClosed(): EventGroupClosed {\n return { id: undefined };\n}\n\nexport const EventGroupClosed: MessageFns<EventGroupClosed, \"akash.deployment.v1.EventGroupClosed\"> = {\n $type: \"akash.deployment.v1.EventGroupClosed\" as const,\n\n encode(message: EventGroupClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupClosed {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupClosed>): EventGroupClosed {\n const message = createBaseEventGroupClosed();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/escrow/v1/authz.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\n\n/**\n * DepositAuthorization allows the grantee to deposit up to spend_limit coins from\n * the granter's account for Akash deployments and bids. This authorization is used\n * within the Cosmos SDK authz module to grant scoped permissions for deposit operations.\n * The authorization can be restricted to specific scopes (deployment or bid) to limit\n * what types of deposits the grantee is authorized to make on behalf of the granter.\n */\nexport interface DepositAuthorization {\n /**\n * SpendLimit is the maximum amount the grantee is authorized to spend from the granter's account.\n * This limit applies cumulatively across all deposit operations within the authorized scopes.\n * Once this limit is reached, the authorization becomes invalid and no further deposits can be made.\n * Deprecated: use spend_limits instead\n */\n spendLimit:\n | Coin\n | undefined;\n /**\n * Scopes defines the specific types of deposit operations this authorization permits.\n * This provides fine-grained control over what operations\n * the grantee can perform using the granter's funds.\n */\n scopes: DepositAuthorization_Scope[];\n /**\n * SpendLimits specifies the maximum amount per denomination the grantee is authorized to spend.\n * Each entry represents the limit for a specific denomination, enforced independently.\n * Once an individual denomination's limit is exhausted, no further deposits can be made in that denomination.\n */\n spendLimits: Coin[];\n}\n\n/**\n * Scope defines the types of deposit operations that can be authorized.\n * This enum is used to restrict the authorization to specific deposit contexts,\n * allowing fine-grained permission control within the authz system.\n */\nexport enum DepositAuthorization_Scope {\n /** invalid - Prefix should start with 0 in enum. So declaring dummy state. */\n invalid = 0,\n /** deployment - DepositScopeDeployment allows deposits for deployment-related operations. */\n deployment = 1,\n /** bid - DepositScopeBid allows deposits for bid-related operations. */\n bid = 2,\n UNRECOGNIZED = -1,\n}\n\nexport function depositAuthorization_ScopeFromJSON(object: any): DepositAuthorization_Scope {\n switch (object) {\n case 0:\n case \"invalid\":\n return DepositAuthorization_Scope.invalid;\n case 1:\n case \"deployment\":\n return DepositAuthorization_Scope.deployment;\n case 2:\n case \"bid\":\n return DepositAuthorization_Scope.bid;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return DepositAuthorization_Scope.UNRECOGNIZED;\n }\n}\n\nexport function depositAuthorization_ScopeToJSON(object: DepositAuthorization_Scope): string {\n switch (object) {\n case DepositAuthorization_Scope.invalid:\n return \"invalid\";\n case DepositAuthorization_Scope.deployment:\n return \"deployment\";\n case DepositAuthorization_Scope.bid:\n return \"bid\";\n case DepositAuthorization_Scope.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nfunction createBaseDepositAuthorization(): DepositAuthorization {\n return { spendLimit: undefined, scopes: [], spendLimits: [] };\n}\n\nexport const DepositAuthorization: MessageFns<DepositAuthorization, \"akash.escrow.v1.DepositAuthorization\"> = {\n $type: \"akash.escrow.v1.DepositAuthorization\" as const,\n\n encode(message: DepositAuthorization, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.spendLimit !== undefined) {\n Coin.encode(message.spendLimit, writer.uint32(10).fork()).join();\n }\n for (const v of message.scopes) {\n writer.uint32(16).int32(v!);\n }\n for (const v of message.spendLimits) {\n Coin.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): DepositAuthorization {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseDepositAuthorization();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.spendLimit = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag === 16) {\n message.scopes.push(reader.int32() as any);\n\n continue;\n }\n\n if (tag === 18) {\n const end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2) {\n message.scopes.push(reader.int32() as any);\n }\n\n continue;\n }\n\n break;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.spendLimits.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): DepositAuthorization {\n return {\n spendLimit: isSet(object.spend_limit) ? Coin.fromJSON(object.spend_limit) : undefined,\n scopes: globalThis.Array.isArray(object?.scopes)\n ? object.scopes.map((e: any) => depositAuthorization_ScopeFromJSON(e))\n : [],\n spendLimits: globalThis.Array.isArray(object?.spend_limits)\n ? object.spend_limits.map((e: any) => Coin.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: DepositAuthorization): unknown {\n const obj: any = {};\n if (message.spendLimit !== undefined) {\n obj.spend_limit = Coin.toJSON(message.spendLimit);\n }\n if (message.scopes?.length) {\n obj.scopes = message.scopes.map((e) => depositAuthorization_ScopeToJSON(e));\n }\n if (message.spendLimits?.length) {\n obj.spend_limits = message.spendLimits.map((e) => Coin.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<DepositAuthorization>): DepositAuthorization {\n const message = createBaseDepositAuthorization();\n message.spendLimit = (object.spendLimit !== undefined && object.spendLimit !== null)\n ? Coin.fromPartial(object.spendLimit)\n : undefined;\n message.scopes = object.scopes?.map((e) => e) || [];\n message.spendLimits = object.spendLimits?.map((e) => Coin.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/escrow/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Account } from \"../types/v1/account.ts\";\nimport { Payment } from \"../types/v1/payment.ts\";\n\n/** GenesisState defines the basic genesis state used by the escrow module. */\nexport interface GenesisState {\n /** Accounts is a list of accounts on the genesis state. */\n accounts: Account[];\n /** Payments is a list of fractional payments on the genesis state.. */\n payments: Payment[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { accounts: [], payments: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.escrow.v1.GenesisState\"> = {\n $type: \"akash.escrow.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.accounts) {\n Account.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.payments) {\n Payment.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.accounts.push(Account.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.payments.push(Payment.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Account.fromJSON(e)) : [],\n payments: globalThis.Array.isArray(object?.payments) ? object.payments.map((e: any) => Payment.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.accounts?.length) {\n obj.accounts = message.accounts.map((e) => Account.toJSON(e));\n }\n if (message.payments?.length) {\n obj.payments = message.payments.map((e) => Payment.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.accounts = object.accounts?.map((e) => Account.fromPartial(e)) || [];\n message.payments = object.payments?.map((e) => Payment.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/market/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { DecCoin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { BidID } from \"./bid.ts\";\nimport { LeaseID } from \"./lease.ts\";\nimport { OrderID } from \"./order.ts\";\nimport { LeaseClosedReason, leaseClosedReasonFromJSON, leaseClosedReasonToJSON } from \"./types.ts\";\n\n/**\n * EventOrderCreated is triggered when an order is created.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderCreated {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventOrderClosed is triggered when an order is closed.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderClosed {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventBidCreated is triggered when a bid is created.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidCreated {\n /** Id is the unique identifier of the Bid. */\n id:\n | BidID\n | undefined;\n /** Price stated on the Bid. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventBidClosed is triggered when a bid is closed.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidClosed {\n /** Id is the unique identifier of the Bid. */\n id: BidID | undefined;\n}\n\n/**\n * EventLeaseCreated is triggered when a lease is created.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseCreated {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** Price settled for the lease. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventLeaseClosed is triggered when a lease is closed.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseClosed {\n /** Id is the unique identifier of the Lease. */\n id: LeaseID | undefined;\n reason: LeaseClosedReason;\n}\n\n/** EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease. */\nexport interface EventLeaseReclaimStarted {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** reason is the provider's stated reason for reclamation. */\n reason: LeaseClosedReason;\n /** deadline is the unix timestamp when the reclamation window expires. */\n deadline: bigint;\n}\n\nfunction createBaseEventOrderCreated(): EventOrderCreated {\n return { id: undefined };\n}\n\nexport const EventOrderCreated: MessageFns<EventOrderCreated, \"akash.market.v1.EventOrderCreated\"> = {\n $type: \"akash.market.v1.EventOrderCreated\" as const,\n\n encode(message: EventOrderCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderCreated {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderCreated>): EventOrderCreated {\n const message = createBaseEventOrderCreated();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventOrderClosed(): EventOrderClosed {\n return { id: undefined };\n}\n\nexport const EventOrderClosed: MessageFns<EventOrderClosed, \"akash.market.v1.EventOrderClosed\"> = {\n $type: \"akash.market.v1.EventOrderClosed\" as const,\n\n encode(message: EventOrderClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderClosed {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderClosed>): EventOrderClosed {\n const message = createBaseEventOrderClosed();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidCreated(): EventBidCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventBidCreated: MessageFns<EventBidCreated, \"akash.market.v1.EventBidCreated\"> = {\n $type: \"akash.market.v1.EventBidCreated\" as const,\n\n encode(message: EventBidCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidCreated {\n return {\n id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventBidCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidCreated>): EventBidCreated {\n const message = createBaseEventBidCreated();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidClosed(): EventBidClosed {\n return { id: undefined };\n}\n\nexport const EventBidClosed: MessageFns<EventBidClosed, \"akash.market.v1.EventBidClosed\"> = {\n $type: \"akash.market.v1.EventBidClosed\" as const,\n\n encode(message: EventBidClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidClosed {\n return { id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventBidClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidClosed>): EventBidClosed {\n const message = createBaseEventBidClosed();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseCreated(): EventLeaseCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventLeaseCreated: MessageFns<EventLeaseCreated, \"akash.market.v1.EventLeaseCreated\"> = {\n $type: \"akash.market.v1.EventLeaseCreated\" as const,\n\n encode(message: EventLeaseCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseCreated {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventLeaseCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseCreated>): EventLeaseCreated {\n const message = createBaseEventLeaseCreated();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseClosed(): EventLeaseClosed {\n return { id: undefined, reason: 0 };\n}\n\nexport const EventLeaseClosed: MessageFns<EventLeaseClosed, \"akash.market.v1.EventLeaseClosed\"> = {\n $type: \"akash.market.v1.EventLeaseClosed\" as const,\n\n encode(message: EventLeaseClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseClosed {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventLeaseClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseClosed>): EventLeaseClosed {\n const message = createBaseEventLeaseClosed();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventLeaseReclaimStarted(): EventLeaseReclaimStarted {\n return { id: undefined, reason: 0, deadline: 0n };\n}\n\nexport const EventLeaseReclaimStarted: MessageFns<\n EventLeaseReclaimStarted,\n \"akash.market.v1.EventLeaseReclaimStarted\"\n> = {\n $type: \"akash.market.v1.EventLeaseReclaimStarted\" as const,\n\n encode(message: EventLeaseReclaimStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n if (message.deadline !== 0n) {\n if (BigInt.asIntN(64, message.deadline) !== message.deadline) {\n throw new globalThis.Error(\"value provided for field message.deadline of type int64 too large\");\n }\n writer.uint32(24).int64(message.deadline);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseReclaimStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseReclaimStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.deadline = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseReclaimStarted {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n deadline: isSet(object.deadline) ? BigInt(object.deadline) : 0n,\n };\n },\n\n toJSON(message: EventLeaseReclaimStarted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n if (message.deadline !== 0n) {\n obj.deadline = message.deadline.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseReclaimStarted>): EventLeaseReclaimStarted {\n const message = createBaseEventLeaseReclaimStarted();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n message.deadline = (object.deadline !== undefined && object.deadline !== null) ? BigInt(object.deadline) : 0n;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/oracle/v1/events.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { AggregatedPrice, DataID, PriceDataState } from \"./prices.ts\";\n\n/** EventPriceData is emitted when new price data is added to the oracle */\nexport interface EventPriceData {\n /** source is the address of the price source (oracle provider) */\n source: string;\n /** id identifies the price pair (denom and base_denom) */\n id:\n | DataID\n | undefined;\n /** data contains the price value and timestamp */\n data: PriceDataState | undefined;\n}\n\n/** EventPriceStaleWarning is emitted when price has not been updated and is about to become stale */\nexport interface EventPriceStaleWarning {\n /** source is the address of the price source */\n source: string;\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** last_height is the block height when the price was last updated */\n lastHeight: bigint;\n /** blocks_to_stall is the number of blocks until the price becomes stale */\n blocksToStall: bigint;\n}\n\n/** EventPriceStaled is emitted when a price has become stale */\nexport interface EventPriceStaled {\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** last_height is the block height when the price was last updated before becoming stale */\n lastHeight: bigint;\n}\n\n/** EventPriceRecovered is emitted when a stale price has started receiving updates again */\nexport interface EventPriceRecovered {\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** height is the block height when the price recovery was detected */\n height: bigint;\n}\n\n/** EventAggregatedPrice is emitted when aggregated price has an update */\nexport interface EventAggregatedPrice {\n price: AggregatedPrice | undefined;\n}\n\nfunction createBaseEventPriceData(): EventPriceData {\n return { source: \"\", id: undefined, data: undefined };\n}\n\nexport const EventPriceData: MessageFns<EventPriceData, \"akash.oracle.v1.EventPriceData\"> = {\n $type: \"akash.oracle.v1.EventPriceData\" as const,\n\n encode(message: EventPriceData, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.source !== \"\") {\n writer.uint32(10).string(message.source);\n }\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(18).fork()).join();\n }\n if (message.data !== undefined) {\n PriceDataState.encode(message.data, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceData {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceData();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.data = PriceDataState.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceData {\n return {\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n data: isSet(object.data) ? PriceDataState.fromJSON(object.data) : undefined,\n };\n },\n\n toJSON(message: EventPriceData): unknown {\n const obj: any = {};\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.data !== undefined) {\n obj.data = PriceDataState.toJSON(message.data);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceData>): EventPriceData {\n const message = createBaseEventPriceData();\n message.source = object.source ?? \"\";\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.data = (object.data !== undefined && object.data !== null)\n ? PriceDataState.fromPartial(object.data)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventPriceStaleWarning(): EventPriceStaleWarning {\n return { source: \"\", id: undefined, lastHeight: 0n, blocksToStall: 0n };\n}\n\nexport const EventPriceStaleWarning: MessageFns<EventPriceStaleWarning, \"akash.oracle.v1.EventPriceStaleWarning\"> = {\n $type: \"akash.oracle.v1.EventPriceStaleWarning\" as const,\n\n encode(message: EventPriceStaleWarning, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.source !== \"\") {\n writer.uint32(10).string(message.source);\n }\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(18).fork()).join();\n }\n if (message.lastHeight !== 0n) {\n if (BigInt.asIntN(64, message.lastHeight) !== message.lastHeight) {\n throw new globalThis.Error(\"value provided for field message.lastHeight of type int64 too large\");\n }\n writer.uint32(24).int64(message.lastHeight);\n }\n if (message.blocksToStall !== 0n) {\n if (BigInt.asIntN(64, message.blocksToStall) !== message.blocksToStall) {\n throw new globalThis.Error(\"value provided for field message.blocksToStall of type int64 too large\");\n }\n writer.uint32(32).int64(message.blocksToStall);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceStaleWarning {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceStaleWarning();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.lastHeight = reader.int64() as bigint;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.blocksToStall = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceStaleWarning {\n return {\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n lastHeight: isSet(object.last_height) ? BigInt(object.last_height) : 0n,\n blocksToStall: isSet(object.blocks_to_stall) ? BigInt(object.blocks_to_stall) : 0n,\n };\n },\n\n toJSON(message: EventPriceStaleWarning): unknown {\n const obj: any = {};\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.lastHeight !== 0n) {\n obj.last_height = message.lastHeight.toString();\n }\n if (message.blocksToStall !== 0n) {\n obj.blocks_to_stall = message.blocksToStall.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceStaleWarning>): EventPriceStaleWarning {\n const message = createBaseEventPriceStaleWarning();\n message.source = object.source ?? \"\";\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.lastHeight = (object.lastHeight !== undefined && object.lastHeight !== null)\n ? BigInt(object.lastHeight)\n : 0n;\n message.blocksToStall = (object.blocksToStall !== undefined && object.blocksToStall !== null)\n ? BigInt(object.blocksToStall)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventPriceStaled(): EventPriceStaled {\n return { id: undefined, lastHeight: 0n };\n}\n\nexport const EventPriceStaled: MessageFns<EventPriceStaled, \"akash.oracle.v1.EventPriceStaled\"> = {\n $type: \"akash.oracle.v1.EventPriceStaled\" as const,\n\n encode(message: EventPriceStaled, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.lastHeight !== 0n) {\n if (BigInt.asIntN(64, message.lastHeight) !== message.lastHeight) {\n throw new globalThis.Error(\"value provided for field message.lastHeight of type int64 too large\");\n }\n writer.uint32(16).int64(message.lastHeight);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceStaled {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceStaled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.lastHeight = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceStaled {\n return {\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n lastHeight: isSet(object.last_height) ? BigInt(object.last_height) : 0n,\n };\n },\n\n toJSON(message: EventPriceStaled): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.lastHeight !== 0n) {\n obj.last_height = message.lastHeight.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceStaled>): EventPriceStaled {\n const message = createBaseEventPriceStaled();\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.lastHeight = (object.lastHeight !== undefined && object.lastHeight !== null)\n ? BigInt(object.lastHeight)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventPriceRecovered(): EventPriceRecovered {\n return { id: undefined, height: 0n };\n}\n\nexport const EventPriceRecovered: MessageFns<EventPriceRecovered, \"akash.oracle.v1.EventPriceRecovered\"> = {\n $type: \"akash.oracle.v1.EventPriceRecovered\" as const,\n\n encode(message: EventPriceRecovered, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.height !== 0n) {\n if (BigInt.asIntN(64, message.height) !== message.height) {\n throw new globalThis.Error(\"value provided for field message.height of type int64 too large\");\n }\n writer.uint32(16).int64(message.height);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceRecovered {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceRecovered();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.height = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceRecovered {\n return {\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n height: isSet(object.height) ? BigInt(object.height) : 0n,\n };\n },\n\n toJSON(message: EventPriceRecovered): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.height !== 0n) {\n obj.height = message.height.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceRecovered>): EventPriceRecovered {\n const message = createBaseEventPriceRecovered();\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.height = (object.height !== undefined && object.height !== null) ? BigInt(object.height) : 0n;\n return message;\n },\n};\n\nfunction createBaseEventAggregatedPrice(): EventAggregatedPrice {\n return { price: undefined };\n}\n\nexport const EventAggregatedPrice: MessageFns<EventAggregatedPrice, \"akash.oracle.v1.EventAggregatedPrice\"> = {\n $type: \"akash.oracle.v1.EventAggregatedPrice\" as const,\n\n encode(message: EventAggregatedPrice, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.price !== undefined) {\n AggregatedPrice.encode(message.price, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAggregatedPrice {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAggregatedPrice();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.price = AggregatedPrice.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAggregatedPrice {\n return { price: isSet(object.price) ? AggregatedPrice.fromJSON(object.price) : undefined };\n },\n\n toJSON(message: EventAggregatedPrice): unknown {\n const obj: any = {};\n if (message.price !== undefined) {\n obj.price = AggregatedPrice.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAggregatedPrice>): EventAggregatedPrice {\n const message = createBaseEventAggregatedPrice();\n message.price = (object.price !== undefined && object.price !== null)\n ? AggregatedPrice.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/oracle/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\nimport { PriceData, PriceDataID } from \"./prices.ts\";\n\n/** GenesisState defines the oracle module's genesis state */\nexport interface GenesisState {\n /** params holds the oracle module parameters */\n params:\n | Params\n | undefined;\n /** prices is the list of all historical price data entries */\n prices: PriceData[];\n /** latest_height tracks the most recent block height for each price feed source */\n latestHeight: PriceDataID[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined, prices: [], latestHeight: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.oracle.v1.GenesisState\"> = {\n $type: \"akash.oracle.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n for (const v of message.prices) {\n PriceData.encode(v!, writer.uint32(18).fork()).join();\n }\n for (const v of message.latestHeight) {\n PriceDataID.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.prices.push(PriceData.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.latestHeight.push(PriceDataID.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,\n prices: globalThis.Array.isArray(object?.prices) ? object.prices.map((e: any) => PriceData.fromJSON(e)) : [],\n latestHeight: globalThis.Array.isArray(object?.latest_height)\n ? object.latest_height.map((e: any) => PriceDataID.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n if (message.prices?.length) {\n obj.prices = message.prices.map((e) => PriceData.toJSON(e));\n }\n if (message.latestHeight?.length) {\n obj.latest_height = message.latestHeight.map((e) => PriceDataID.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n message.prices = object.prices?.map((e) => PriceData.fromPartial(e)) || [];\n message.latestHeight = object.latestHeight?.map((e) => PriceDataID.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/take/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\n\n/** GenesisState stores slice of genesis staking parameters. */\nexport interface GenesisState {\n /** Params holds parameters of the genesis of staking. */\n params: Params | undefined;\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.take.v1.GenesisState\"> = {\n $type: \"akash.take.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp, fromJsonTimestamp, isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/verification/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.ts\";\nimport {\n AttestationRevocationReason,\n attestationRevocationReasonFromJSON,\n attestationRevocationReasonToJSON,\n AuditEscrowSettlementReason,\n auditEscrowSettlementReasonFromJSON,\n auditEscrowSettlementReasonToJSON,\n CapabilityFlag,\n capabilityFlagFromJSON,\n capabilityFlagToJSON,\n DiscrepancyResolutionReason,\n discrepancyResolutionReasonFromJSON,\n discrepancyResolutionReasonToJSON,\n FaultAttribution,\n faultAttributionFromJSON,\n faultAttributionToJSON,\n ProviderBondSlashReason,\n providerBondSlashReasonFromJSON,\n providerBondSlashReasonToJSON,\n VerificationGraceStatus,\n verificationGraceStatusFromJSON,\n verificationGraceStatusToJSON,\n VerificationTier,\n verificationTierFromJSON,\n verificationTierToJSON,\n VoidedReason,\n voidedReasonFromJSON,\n voidedReasonToJSON,\n} from \"./types.ts\";\n\n/** EventAuditorRegistered is emitted when a new auditor is registered. */\nexport interface EventAuditorRegistered {\n /** Auditor is the bech32 account address of the newly registered auditor. */\n auditor: string;\n /** MaxAttestationTier is the maximum tier the auditor may attest at. */\n maxAttestationTier: VerificationTier;\n}\n\n/** EventAuditorBondPosted is emitted when an auditor posts (or tops up) bond. */\nexport interface EventAuditorBondPosted {\n /** Auditor is the bech32 account address of the bonding auditor. */\n auditor: string;\n /** Amount is the coin amount posted as bond. */\n amount: Coin | undefined;\n}\n\n/**\n * EventAuditorFrozen is emitted when an auditor crosses the discrepancy\n * threshold and is frozen pending governance review.\n */\nexport interface EventAuditorFrozen {\n /** Auditor is the bech32 account address of the frozen auditor. */\n auditor: string;\n /** DiscrepancyID is the identifier of the discrepancy that triggered the freeze. */\n discrepancyId: bigint;\n}\n\n/**\n * EventAuditorLapsed is emitted when an auditor's renewal deadline passes\n * without renewal.\n */\nexport interface EventAuditorLapsed {\n /** Auditor is the bech32 account address of the lapsed auditor. */\n auditor: string;\n}\n\n/** EventAuditorResigned is emitted when an auditor voluntarily resigns. */\nexport interface EventAuditorResigned {\n /** Auditor is the bech32 account address of the resigning auditor. */\n auditor: string;\n}\n\n/** EventAuditorRemoved is emitted when governance removes an auditor. */\nexport interface EventAuditorRemoved {\n /** Auditor is the bech32 account address of the removed auditor. */\n auditor: string;\n}\n\n/** EventAuditorRenewed is emitted when an auditor's registration is renewed. */\nexport interface EventAuditorRenewed {\n /** Auditor is the bech32 account address of the renewed auditor. */\n auditor: string;\n /** NewDeadline is the new renewal deadline assigned to the auditor. */\n newDeadline: Date | undefined;\n}\n\n/** EventAttestationSubmitted is emitted when an auditor submits an attestation. */\nexport interface EventAttestationSubmitted {\n /** Provider is the bech32 account address of the attested provider. */\n provider: string;\n /** Auditor is the bech32 account address of the issuing auditor. */\n auditor: string;\n /** Tier is the verification tier asserted by the attestation. */\n tier: VerificationTier;\n /** Capabilities is the set of capability flags asserted by the attestation. */\n capabilities: CapabilityFlag[];\n /** ExpiresAt is the chain timestamp at which the attestation expires. */\n expiresAt:\n | Date\n | undefined;\n /** AuditEscrowID is the audit escrow identifier that authorized the attestation. */\n auditEscrowId: bigint;\n}\n\n/** EventAttestationExpired is emitted when an attestation expires. */\nexport interface EventAttestationExpired {\n /** Provider is the bech32 account address of the provider whose attestation expired. */\n provider: string;\n /** Auditor is the bech32 account address of the auditor whose attestation expired. */\n auditor: string;\n /** Tier is the tier of the expired attestation. */\n tier: VerificationTier;\n}\n\n/**\n * EventAttestationReplaced is emitted when a new attestation replaces an existing\n * attestation from the same auditor for the same provider.\n */\nexport interface EventAttestationReplaced {\n /** Provider is the bech32 account address of the provider involved. */\n provider: string;\n /** Auditor is the bech32 account address of the auditor involved. */\n auditor: string;\n /** OldTier is the tier of the previous attestation being replaced. */\n oldTier: VerificationTier;\n /** NewTier is the tier of the new attestation. */\n newTier: VerificationTier;\n /** OldAuditEscrowID is the audit escrow that authorized the previous attestation. */\n oldAuditEscrowId: bigint;\n /** NewAuditEscrowID is the audit escrow that authorized the new attestation. */\n newAuditEscrowId: bigint;\n}\n\n/** EventAttestationRevoked is emitted when an attestation is revoked by the auditor. */\nexport interface EventAttestationRevoked {\n /** Provider is the bech32 account address of the provider involved. */\n provider: string;\n /** Auditor is the bech32 account address of the auditor involved. */\n auditor: string;\n /**\n * Initiator is the textual identifier of the party that initiated the\n * revocation (e.g. \"auditor\", \"governance\").\n */\n initiator: string;\n /** Reason is the typed reason recorded for the revocation. */\n reason: AttestationRevocationReason;\n}\n\n/** EventAttestationVoided is emitted when an attestation transitions to voided state. */\nexport interface EventAttestationVoided {\n /** Provider is the bech32 account address of the provider whose attestation was voided. */\n provider: string;\n /** Auditor is the bech32 account address of the auditor whose attestation was voided. */\n auditor: string;\n /** Reason is the typed reason recorded for the void. */\n reason: VoidedReason;\n}\n\n/**\n * EventDiscrepancyDetected is emitted when the chain detects two conflicting\n * attestations from different auditors for the same provider.\n */\nexport interface EventDiscrepancyDetected {\n /** DiscrepancyID is the identifier of the newly created discrepancy record. */\n discrepancyId: bigint;\n /** Provider is the bech32 account address of the disputed provider. */\n provider: string;\n /** AuditorA is the bech32 account address of the first auditor in the dispute. */\n auditorA: string;\n /** TierA is the tier asserted by auditor A. */\n tierA: VerificationTier;\n /** AuditorB is the bech32 account address of the second auditor in the dispute. */\n auditorB: string;\n /** TierB is the tier asserted by auditor B. */\n tierB: VerificationTier;\n}\n\n/** EventDiscrepancyResolved is emitted when a discrepancy is resolved by governance. */\nexport interface EventDiscrepancyResolved {\n /** DiscrepancyID is the identifier of the resolved discrepancy record. */\n discrepancyId: bigint;\n /**\n * VindicatedAuditor is the identifier of the auditor vindicated by the\n * resolution; carries an empty string when neither party is vindicated.\n */\n vindicatedAuditor: string;\n /** Reason is the typed resolution reason recorded by governance. */\n reason: DiscrepancyResolutionReason;\n /** FaultAttribution is the typed fault attribution recorded at resolution. */\n faultAttribution: FaultAttribution;\n}\n\n/**\n * EventDiscrepancyTimedOut is emitted when a discrepancy's resolution window\n * elapses without governance action.\n */\nexport interface EventDiscrepancyTimedOut {\n /** DiscrepancyID is the identifier of the timed-out discrepancy record. */\n discrepancyId: bigint;\n /** AuditorA is the bech32 account address of the first auditor in the dispute. */\n auditorA: string;\n /** AuditorB is the bech32 account address of the second auditor in the dispute. */\n auditorB: string;\n}\n\n/** EventProviderBondPosted is emitted when a provider posts (or tops up) bond. */\nexport interface EventProviderBondPosted {\n /** Provider is the bech32 account address of the bonding provider. */\n provider: string;\n /** Amount is the coin amount just posted in this transaction. */\n amount:\n | Coin\n | undefined;\n /** TotalBonded is the resulting total bonded amount after this posting. */\n totalBonded: Coin | undefined;\n}\n\n/** EventProviderBondSlashed is emitted when a provider's bond is slashed. */\nexport interface EventProviderBondSlashed {\n /** Provider is the bech32 account address of the slashed provider. */\n provider: string;\n /** SlashedAmount is the coin amount slashed in this action. */\n slashedAmount:\n | Coin\n | undefined;\n /** Reason is the typed slash reason recorded. */\n reason: ProviderBondSlashReason;\n}\n\n/**\n * EventProviderBondWithdrawalInitiated is emitted when a provider begins\n * unbonding part or all of its bond.\n */\nexport interface EventProviderBondWithdrawalInitiated {\n /** Provider is the bech32 account address of the unbonding provider. */\n provider: string;\n /** Amount is the coin amount the provider is unbonding. */\n amount:\n | Coin\n | undefined;\n /** CompletionTime is the chain timestamp at which the unbonding completes. */\n completionTime: Date | undefined;\n}\n\n/**\n * EventProviderBondWithdrawalCompleted is emitted when an unbonding entry\n * matures and the amount is returned to the provider.\n */\nexport interface EventProviderBondWithdrawalCompleted {\n /** Provider is the bech32 account address of the provider receiving the unbonded coins. */\n provider: string;\n /** Amount is the coin amount returned to the provider. */\n amount: Coin | undefined;\n}\n\n/** EventSnapshotHashPosted is emitted when a provider posts a snapshot hash. */\nexport interface EventSnapshotHashPosted {\n /** Provider is the bech32 account address of the snapshotting provider. */\n provider: string;\n /** SnapshotHash is the opaque hash bytes posted by the provider. */\n snapshotHash: Uint8Array;\n /** ComplianceDeadline is the chain timestamp by which the next snapshot must be posted. */\n complianceDeadline: Date | undefined;\n}\n\n/**\n * EventSnapshotSuspended is emitted when a provider's snapshot is suspended\n * for missing a compliance deadline.\n */\nexport interface EventSnapshotSuspended {\n /** Provider is the bech32 account address of the suspended provider. */\n provider: string;\n}\n\n/**\n * EventSnapshotResumed is emitted when a previously suspended provider snapshot\n * returns to compliance.\n */\nexport interface EventSnapshotResumed {\n /** Provider is the bech32 account address of the resumed provider. */\n provider: string;\n}\n\n/** EventFeeEscrowed is emitted when an audit fee is escrowed by a provider. */\nexport interface EventFeeEscrowed {\n /** Provider is the bech32 account address of the escrowing provider. */\n provider: string;\n /** Auditor is the bech32 account address of the consuming auditor (may be empty). */\n auditor: string;\n /** Amount is the coin amount escrowed. */\n amount: Coin | undefined;\n}\n\n/** EventFeeReleasedToAuditor is emitted when an escrowed fee is released to the auditor. */\nexport interface EventFeeReleasedToAuditor {\n /** Auditor is the bech32 account address of the auditor receiving the fee. */\n auditor: string;\n /** Amount is the coin amount released to the auditor. */\n amount: Coin | undefined;\n}\n\n/** EventFeeReturnedToProvider is emitted when an escrowed fee is returned to the provider. */\nexport interface EventFeeReturnedToProvider {\n /** Provider is the bech32 account address of the provider receiving the fee. */\n provider: string;\n /** Amount is the coin amount returned to the provider. */\n amount: Coin | undefined;\n}\n\n/** EventAuditEscrowOpened is emitted when a provider opens an audit escrow. */\nexport interface EventAuditEscrowOpened {\n /** AuditEscrowID is the identifier of the newly opened audit escrow. */\n auditEscrowId: bigint;\n /** Provider is the bech32 account address of the provider opening the escrow. */\n provider: string;\n /** Fee is the audit fee escrowed. */\n fee:\n | Coin\n | undefined;\n /** ProviderDeposit is the deposit a provider escrows alongside the fee. */\n providerDeposit: Coin | undefined;\n}\n\n/** EventAuditEscrowSettled is emitted when an audit escrow reaches final settlement. */\nexport interface EventAuditEscrowSettled {\n /** AuditEscrowID is the identifier of the settled audit escrow. */\n auditEscrowId: bigint;\n /** Reason is the typed settlement reason recorded. */\n reason: AuditEscrowSettlementReason;\n /** FaultAttribution is the typed fault attribution recorded at settlement. */\n faultAttribution: FaultAttribution;\n}\n\n/**\n * EventDepositReturnedToAuditor is emitted when an auditor's anti-griefing\n * deposit is returned.\n */\nexport interface EventDepositReturnedToAuditor {\n /** Auditor is the bech32 account address of the auditor receiving the deposit. */\n auditor: string;\n /** Amount is the coin amount returned to the auditor. */\n amount: Coin | undefined;\n}\n\n/** EventDepositSlashed is emitted when an auditor's anti-griefing deposit is slashed. */\nexport interface EventDepositSlashed {\n /** Auditor is the bech32 account address of the auditor whose deposit was slashed. */\n auditor: string;\n /** Amount is the coin amount slashed from the deposit. */\n amount: Coin | undefined;\n}\n\n/**\n * EventVerificationGraceStarted is emitted when a provider enters a verification\n * grace window.\n */\nexport interface EventVerificationGraceStarted {\n /** GraceRecordID is the identifier of the newly opened grace record. */\n graceRecordId: bigint;\n /** Provider is the bech32 account address of the provider entering grace. */\n provider: string;\n /** PreservedTier is the verification tier preserved for the provider during grace. */\n preservedTier: VerificationTier;\n}\n\n/**\n * EventVerificationGraceEnded is emitted when a verification grace window\n * concludes for any reason.\n */\nexport interface EventVerificationGraceEnded {\n /** GraceRecordID is the identifier of the closed grace record. */\n graceRecordId: bigint;\n /** Status is the final lifecycle status of the closed grace record. */\n status: VerificationGraceStatus;\n}\n\nfunction createBaseEventAuditorRegistered(): EventAuditorRegistered {\n return { auditor: \"\", maxAttestationTier: 0 };\n}\n\nexport const EventAuditorRegistered: MessageFns<\n EventAuditorRegistered,\n \"akash.verification.v1.EventAuditorRegistered\"\n> = {\n $type: \"akash.verification.v1.EventAuditorRegistered\" as const,\n\n encode(message: EventAuditorRegistered, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.maxAttestationTier !== 0) {\n writer.uint32(16).int32(message.maxAttestationTier);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorRegistered {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorRegistered();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.maxAttestationTier = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorRegistered {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n maxAttestationTier: isSet(object.max_attestation_tier)\n ? verificationTierFromJSON(object.max_attestation_tier)\n : 0,\n };\n },\n\n toJSON(message: EventAuditorRegistered): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.maxAttestationTier !== 0) {\n obj.max_attestation_tier = verificationTierToJSON(message.maxAttestationTier);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorRegistered>): EventAuditorRegistered {\n const message = createBaseEventAuditorRegistered();\n message.auditor = object.auditor ?? \"\";\n message.maxAttestationTier = object.maxAttestationTier ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventAuditorBondPosted(): EventAuditorBondPosted {\n return { auditor: \"\", amount: undefined };\n}\n\nexport const EventAuditorBondPosted: MessageFns<\n EventAuditorBondPosted,\n \"akash.verification.v1.EventAuditorBondPosted\"\n> = {\n $type: \"akash.verification.v1.EventAuditorBondPosted\" as const,\n\n encode(message: EventAuditorBondPosted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorBondPosted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorBondPosted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorBondPosted {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventAuditorBondPosted): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorBondPosted>): EventAuditorBondPosted {\n const message = createBaseEventAuditorBondPosted();\n message.auditor = object.auditor ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventAuditorFrozen(): EventAuditorFrozen {\n return { auditor: \"\", discrepancyId: 0n };\n}\n\nexport const EventAuditorFrozen: MessageFns<EventAuditorFrozen, \"akash.verification.v1.EventAuditorFrozen\"> = {\n $type: \"akash.verification.v1.EventAuditorFrozen\" as const,\n\n encode(message: EventAuditorFrozen, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.discrepancyId !== 0n) {\n if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {\n throw new globalThis.Error(\"value provided for field message.discrepancyId of type uint64 too large\");\n }\n writer.uint32(16).uint64(message.discrepancyId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorFrozen {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorFrozen();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.discrepancyId = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorFrozen {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,\n };\n },\n\n toJSON(message: EventAuditorFrozen): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.discrepancyId !== 0n) {\n obj.discrepancy_id = message.discrepancyId.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorFrozen>): EventAuditorFrozen {\n const message = createBaseEventAuditorFrozen();\n message.auditor = object.auditor ?? \"\";\n message.discrepancyId = (object.discrepancyId !== undefined && object.discrepancyId !== null)\n ? BigInt(object.discrepancyId)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventAuditorLapsed(): EventAuditorLapsed {\n return { auditor: \"\" };\n}\n\nexport const EventAuditorLapsed: MessageFns<EventAuditorLapsed, \"akash.verification.v1.EventAuditorLapsed\"> = {\n $type: \"akash.verification.v1.EventAuditorLapsed\" as const,\n\n encode(message: EventAuditorLapsed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorLapsed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorLapsed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorLapsed {\n return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\" };\n },\n\n toJSON(message: EventAuditorLapsed): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorLapsed>): EventAuditorLapsed {\n const message = createBaseEventAuditorLapsed();\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventAuditorResigned(): EventAuditorResigned {\n return { auditor: \"\" };\n}\n\nexport const EventAuditorResigned: MessageFns<EventAuditorResigned, \"akash.verification.v1.EventAuditorResigned\"> = {\n $type: \"akash.verification.v1.EventAuditorResigned\" as const,\n\n encode(message: EventAuditorResigned, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorResigned {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorResigned();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorResigned {\n return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\" };\n },\n\n toJSON(message: EventAuditorResigned): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorResigned>): EventAuditorResigned {\n const message = createBaseEventAuditorResigned();\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventAuditorRemoved(): EventAuditorRemoved {\n return { auditor: \"\" };\n}\n\nexport const EventAuditorRemoved: MessageFns<EventAuditorRemoved, \"akash.verification.v1.EventAuditorRemoved\"> = {\n $type: \"akash.verification.v1.EventAuditorRemoved\" as const,\n\n encode(message: EventAuditorRemoved, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorRemoved {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorRemoved();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorRemoved {\n return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\" };\n },\n\n toJSON(message: EventAuditorRemoved): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorRemoved>): EventAuditorRemoved {\n const message = createBaseEventAuditorRemoved();\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventAuditorRenewed(): EventAuditorRenewed {\n return { auditor: \"\", newDeadline: undefined };\n}\n\nexport const EventAuditorRenewed: MessageFns<EventAuditorRenewed, \"akash.verification.v1.EventAuditorRenewed\"> = {\n $type: \"akash.verification.v1.EventAuditorRenewed\" as const,\n\n encode(message: EventAuditorRenewed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.newDeadline !== undefined) {\n Timestamp.encode(toTimestamp(message.newDeadline), writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditorRenewed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditorRenewed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.newDeadline = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditorRenewed {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n newDeadline: isSet(object.new_deadline) ? fromJsonTimestamp(object.new_deadline) : undefined,\n };\n },\n\n toJSON(message: EventAuditorRenewed): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.newDeadline !== undefined) {\n obj.new_deadline = message.newDeadline.toISOString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditorRenewed>): EventAuditorRenewed {\n const message = createBaseEventAuditorRenewed();\n message.auditor = object.auditor ?? \"\";\n message.newDeadline = object.newDeadline ?? undefined;\n return message;\n },\n};\n\nfunction createBaseEventAttestationSubmitted(): EventAttestationSubmitted {\n return { provider: \"\", auditor: \"\", tier: 0, capabilities: [], expiresAt: undefined, auditEscrowId: 0n };\n}\n\nexport const EventAttestationSubmitted: MessageFns<\n EventAttestationSubmitted,\n \"akash.verification.v1.EventAttestationSubmitted\"\n> = {\n $type: \"akash.verification.v1.EventAttestationSubmitted\" as const,\n\n encode(message: EventAttestationSubmitted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.tier !== 0) {\n writer.uint32(24).int32(message.tier);\n }\n for (const v of message.capabilities) {\n writer.uint32(32).int32(v!);\n }\n if (message.expiresAt !== undefined) {\n Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(42).fork()).join();\n }\n if (message.auditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.auditEscrowId of type uint64 too large\");\n }\n writer.uint32(48).uint64(message.auditEscrowId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAttestationSubmitted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAttestationSubmitted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.tier = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag === 32) {\n message.capabilities.push(reader.int32() as any);\n\n continue;\n }\n\n if (tag === 34) {\n const end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2) {\n message.capabilities.push(reader.int32() as any);\n }\n\n continue;\n }\n\n break;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.auditEscrowId = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAttestationSubmitted {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n tier: isSet(object.tier) ? verificationTierFromJSON(object.tier) : 0,\n capabilities: globalThis.Array.isArray(object?.capabilities)\n ? object.capabilities.map((e: any) => capabilityFlagFromJSON(e))\n : [],\n expiresAt: isSet(object.expires_at) ? fromJsonTimestamp(object.expires_at) : undefined,\n auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n,\n };\n },\n\n toJSON(message: EventAttestationSubmitted): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.tier !== 0) {\n obj.tier = verificationTierToJSON(message.tier);\n }\n if (message.capabilities?.length) {\n obj.capabilities = message.capabilities.map((e) => capabilityFlagToJSON(e));\n }\n if (message.expiresAt !== undefined) {\n obj.expires_at = message.expiresAt.toISOString();\n }\n if (message.auditEscrowId !== 0n) {\n obj.audit_escrow_id = message.auditEscrowId.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAttestationSubmitted>): EventAttestationSubmitted {\n const message = createBaseEventAttestationSubmitted();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.tier = object.tier ?? 0;\n message.capabilities = object.capabilities?.map((e) => e) || [];\n message.expiresAt = object.expiresAt ?? undefined;\n message.auditEscrowId = (object.auditEscrowId !== undefined && object.auditEscrowId !== null)\n ? BigInt(object.auditEscrowId)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventAttestationExpired(): EventAttestationExpired {\n return { provider: \"\", auditor: \"\", tier: 0 };\n}\n\nexport const EventAttestationExpired: MessageFns<\n EventAttestationExpired,\n \"akash.verification.v1.EventAttestationExpired\"\n> = {\n $type: \"akash.verification.v1.EventAttestationExpired\" as const,\n\n encode(message: EventAttestationExpired, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.tier !== 0) {\n writer.uint32(24).int32(message.tier);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAttestationExpired {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAttestationExpired();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.tier = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAttestationExpired {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n tier: isSet(object.tier) ? verificationTierFromJSON(object.tier) : 0,\n };\n },\n\n toJSON(message: EventAttestationExpired): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.tier !== 0) {\n obj.tier = verificationTierToJSON(message.tier);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAttestationExpired>): EventAttestationExpired {\n const message = createBaseEventAttestationExpired();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.tier = object.tier ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventAttestationReplaced(): EventAttestationReplaced {\n return { provider: \"\", auditor: \"\", oldTier: 0, newTier: 0, oldAuditEscrowId: 0n, newAuditEscrowId: 0n };\n}\n\nexport const EventAttestationReplaced: MessageFns<\n EventAttestationReplaced,\n \"akash.verification.v1.EventAttestationReplaced\"\n> = {\n $type: \"akash.verification.v1.EventAttestationReplaced\" as const,\n\n encode(message: EventAttestationReplaced, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.oldTier !== 0) {\n writer.uint32(24).int32(message.oldTier);\n }\n if (message.newTier !== 0) {\n writer.uint32(32).int32(message.newTier);\n }\n if (message.oldAuditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.oldAuditEscrowId) !== message.oldAuditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.oldAuditEscrowId of type uint64 too large\");\n }\n writer.uint32(40).uint64(message.oldAuditEscrowId);\n }\n if (message.newAuditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.newAuditEscrowId) !== message.newAuditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.newAuditEscrowId of type uint64 too large\");\n }\n writer.uint32(48).uint64(message.newAuditEscrowId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAttestationReplaced {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAttestationReplaced();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.oldTier = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.newTier = reader.int32() as any;\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n\n message.oldAuditEscrowId = reader.uint64() as bigint;\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.newAuditEscrowId = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAttestationReplaced {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n oldTier: isSet(object.old_tier) ? verificationTierFromJSON(object.old_tier) : 0,\n newTier: isSet(object.new_tier) ? verificationTierFromJSON(object.new_tier) : 0,\n oldAuditEscrowId: isSet(object.old_audit_escrow_id) ? BigInt(object.old_audit_escrow_id) : 0n,\n newAuditEscrowId: isSet(object.new_audit_escrow_id) ? BigInt(object.new_audit_escrow_id) : 0n,\n };\n },\n\n toJSON(message: EventAttestationReplaced): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.oldTier !== 0) {\n obj.old_tier = verificationTierToJSON(message.oldTier);\n }\n if (message.newTier !== 0) {\n obj.new_tier = verificationTierToJSON(message.newTier);\n }\n if (message.oldAuditEscrowId !== 0n) {\n obj.old_audit_escrow_id = message.oldAuditEscrowId.toString();\n }\n if (message.newAuditEscrowId !== 0n) {\n obj.new_audit_escrow_id = message.newAuditEscrowId.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAttestationReplaced>): EventAttestationReplaced {\n const message = createBaseEventAttestationReplaced();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.oldTier = object.oldTier ?? 0;\n message.newTier = object.newTier ?? 0;\n message.oldAuditEscrowId = (object.oldAuditEscrowId !== undefined && object.oldAuditEscrowId !== null)\n ? BigInt(object.oldAuditEscrowId)\n : 0n;\n message.newAuditEscrowId = (object.newAuditEscrowId !== undefined && object.newAuditEscrowId !== null)\n ? BigInt(object.newAuditEscrowId)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventAttestationRevoked(): EventAttestationRevoked {\n return { provider: \"\", auditor: \"\", initiator: \"\", reason: 0 };\n}\n\nexport const EventAttestationRevoked: MessageFns<\n EventAttestationRevoked,\n \"akash.verification.v1.EventAttestationRevoked\"\n> = {\n $type: \"akash.verification.v1.EventAttestationRevoked\" as const,\n\n encode(message: EventAttestationRevoked, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.initiator !== \"\") {\n writer.uint32(26).string(message.initiator);\n }\n if (message.reason !== 0) {\n writer.uint32(32).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAttestationRevoked {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAttestationRevoked();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.initiator = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAttestationRevoked {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n initiator: isSet(object.initiator) ? globalThis.String(object.initiator) : \"\",\n reason: isSet(object.reason) ? attestationRevocationReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventAttestationRevoked): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.initiator !== \"\") {\n obj.initiator = message.initiator;\n }\n if (message.reason !== 0) {\n obj.reason = attestationRevocationReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAttestationRevoked>): EventAttestationRevoked {\n const message = createBaseEventAttestationRevoked();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.initiator = object.initiator ?? \"\";\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventAttestationVoided(): EventAttestationVoided {\n return { provider: \"\", auditor: \"\", reason: 0 };\n}\n\nexport const EventAttestationVoided: MessageFns<\n EventAttestationVoided,\n \"akash.verification.v1.EventAttestationVoided\"\n> = {\n $type: \"akash.verification.v1.EventAttestationVoided\" as const,\n\n encode(message: EventAttestationVoided, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.reason !== 0) {\n writer.uint32(24).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAttestationVoided {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAttestationVoided();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAttestationVoided {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n reason: isSet(object.reason) ? voidedReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventAttestationVoided): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.reason !== 0) {\n obj.reason = voidedReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAttestationVoided>): EventAttestationVoided {\n const message = createBaseEventAttestationVoided();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventDiscrepancyDetected(): EventDiscrepancyDetected {\n return { discrepancyId: 0n, provider: \"\", auditorA: \"\", tierA: 0, auditorB: \"\", tierB: 0 };\n}\n\nexport const EventDiscrepancyDetected: MessageFns<\n EventDiscrepancyDetected,\n \"akash.verification.v1.EventDiscrepancyDetected\"\n> = {\n $type: \"akash.verification.v1.EventDiscrepancyDetected\" as const,\n\n encode(message: EventDiscrepancyDetected, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.discrepancyId !== 0n) {\n if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {\n throw new globalThis.Error(\"value provided for field message.discrepancyId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.discrepancyId);\n }\n if (message.provider !== \"\") {\n writer.uint32(18).string(message.provider);\n }\n if (message.auditorA !== \"\") {\n writer.uint32(26).string(message.auditorA);\n }\n if (message.tierA !== 0) {\n writer.uint32(32).int32(message.tierA);\n }\n if (message.auditorB !== \"\") {\n writer.uint32(42).string(message.auditorB);\n }\n if (message.tierB !== 0) {\n writer.uint32(48).int32(message.tierB);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDiscrepancyDetected {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDiscrepancyDetected();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.discrepancyId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.auditorA = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.tierA = reader.int32() as any;\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.auditorB = reader.string();\n continue;\n }\n case 6: {\n if (tag !== 48) {\n break;\n }\n\n message.tierB = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDiscrepancyDetected {\n return {\n discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditorA: isSet(object.auditor_a) ? globalThis.String(object.auditor_a) : \"\",\n tierA: isSet(object.tier_a) ? verificationTierFromJSON(object.tier_a) : 0,\n auditorB: isSet(object.auditor_b) ? globalThis.String(object.auditor_b) : \"\",\n tierB: isSet(object.tier_b) ? verificationTierFromJSON(object.tier_b) : 0,\n };\n },\n\n toJSON(message: EventDiscrepancyDetected): unknown {\n const obj: any = {};\n if (message.discrepancyId !== 0n) {\n obj.discrepancy_id = message.discrepancyId.toString();\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditorA !== \"\") {\n obj.auditor_a = message.auditorA;\n }\n if (message.tierA !== 0) {\n obj.tier_a = verificationTierToJSON(message.tierA);\n }\n if (message.auditorB !== \"\") {\n obj.auditor_b = message.auditorB;\n }\n if (message.tierB !== 0) {\n obj.tier_b = verificationTierToJSON(message.tierB);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDiscrepancyDetected>): EventDiscrepancyDetected {\n const message = createBaseEventDiscrepancyDetected();\n message.discrepancyId = (object.discrepancyId !== undefined && object.discrepancyId !== null)\n ? BigInt(object.discrepancyId)\n : 0n;\n message.provider = object.provider ?? \"\";\n message.auditorA = object.auditorA ?? \"\";\n message.tierA = object.tierA ?? 0;\n message.auditorB = object.auditorB ?? \"\";\n message.tierB = object.tierB ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventDiscrepancyResolved(): EventDiscrepancyResolved {\n return { discrepancyId: 0n, vindicatedAuditor: \"\", reason: 0, faultAttribution: 0 };\n}\n\nexport const EventDiscrepancyResolved: MessageFns<\n EventDiscrepancyResolved,\n \"akash.verification.v1.EventDiscrepancyResolved\"\n> = {\n $type: \"akash.verification.v1.EventDiscrepancyResolved\" as const,\n\n encode(message: EventDiscrepancyResolved, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.discrepancyId !== 0n) {\n if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {\n throw new globalThis.Error(\"value provided for field message.discrepancyId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.discrepancyId);\n }\n if (message.vindicatedAuditor !== \"\") {\n writer.uint32(18).string(message.vindicatedAuditor);\n }\n if (message.reason !== 0) {\n writer.uint32(24).int32(message.reason);\n }\n if (message.faultAttribution !== 0) {\n writer.uint32(32).int32(message.faultAttribution);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDiscrepancyResolved {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDiscrepancyResolved();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.discrepancyId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.vindicatedAuditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.faultAttribution = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDiscrepancyResolved {\n return {\n discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,\n vindicatedAuditor: isSet(object.vindicated_auditor) ? globalThis.String(object.vindicated_auditor) : \"\",\n reason: isSet(object.reason) ? discrepancyResolutionReasonFromJSON(object.reason) : 0,\n faultAttribution: isSet(object.fault_attribution) ? faultAttributionFromJSON(object.fault_attribution) : 0,\n };\n },\n\n toJSON(message: EventDiscrepancyResolved): unknown {\n const obj: any = {};\n if (message.discrepancyId !== 0n) {\n obj.discrepancy_id = message.discrepancyId.toString();\n }\n if (message.vindicatedAuditor !== \"\") {\n obj.vindicated_auditor = message.vindicatedAuditor;\n }\n if (message.reason !== 0) {\n obj.reason = discrepancyResolutionReasonToJSON(message.reason);\n }\n if (message.faultAttribution !== 0) {\n obj.fault_attribution = faultAttributionToJSON(message.faultAttribution);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDiscrepancyResolved>): EventDiscrepancyResolved {\n const message = createBaseEventDiscrepancyResolved();\n message.discrepancyId = (object.discrepancyId !== undefined && object.discrepancyId !== null)\n ? BigInt(object.discrepancyId)\n : 0n;\n message.vindicatedAuditor = object.vindicatedAuditor ?? \"\";\n message.reason = object.reason ?? 0;\n message.faultAttribution = object.faultAttribution ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventDiscrepancyTimedOut(): EventDiscrepancyTimedOut {\n return { discrepancyId: 0n, auditorA: \"\", auditorB: \"\" };\n}\n\nexport const EventDiscrepancyTimedOut: MessageFns<\n EventDiscrepancyTimedOut,\n \"akash.verification.v1.EventDiscrepancyTimedOut\"\n> = {\n $type: \"akash.verification.v1.EventDiscrepancyTimedOut\" as const,\n\n encode(message: EventDiscrepancyTimedOut, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.discrepancyId !== 0n) {\n if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {\n throw new globalThis.Error(\"value provided for field message.discrepancyId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.discrepancyId);\n }\n if (message.auditorA !== \"\") {\n writer.uint32(18).string(message.auditorA);\n }\n if (message.auditorB !== \"\") {\n writer.uint32(26).string(message.auditorB);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDiscrepancyTimedOut {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDiscrepancyTimedOut();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.discrepancyId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditorA = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.auditorB = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDiscrepancyTimedOut {\n return {\n discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,\n auditorA: isSet(object.auditor_a) ? globalThis.String(object.auditor_a) : \"\",\n auditorB: isSet(object.auditor_b) ? globalThis.String(object.auditor_b) : \"\",\n };\n },\n\n toJSON(message: EventDiscrepancyTimedOut): unknown {\n const obj: any = {};\n if (message.discrepancyId !== 0n) {\n obj.discrepancy_id = message.discrepancyId.toString();\n }\n if (message.auditorA !== \"\") {\n obj.auditor_a = message.auditorA;\n }\n if (message.auditorB !== \"\") {\n obj.auditor_b = message.auditorB;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDiscrepancyTimedOut>): EventDiscrepancyTimedOut {\n const message = createBaseEventDiscrepancyTimedOut();\n message.discrepancyId = (object.discrepancyId !== undefined && object.discrepancyId !== null)\n ? BigInt(object.discrepancyId)\n : 0n;\n message.auditorA = object.auditorA ?? \"\";\n message.auditorB = object.auditorB ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventProviderBondPosted(): EventProviderBondPosted {\n return { provider: \"\", amount: undefined, totalBonded: undefined };\n}\n\nexport const EventProviderBondPosted: MessageFns<\n EventProviderBondPosted,\n \"akash.verification.v1.EventProviderBondPosted\"\n> = {\n $type: \"akash.verification.v1.EventProviderBondPosted\" as const,\n\n encode(message: EventProviderBondPosted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n if (message.totalBonded !== undefined) {\n Coin.encode(message.totalBonded, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventProviderBondPosted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventProviderBondPosted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.totalBonded = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventProviderBondPosted {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n totalBonded: isSet(object.total_bonded) ? Coin.fromJSON(object.total_bonded) : undefined,\n };\n },\n\n toJSON(message: EventProviderBondPosted): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n if (message.totalBonded !== undefined) {\n obj.total_bonded = Coin.toJSON(message.totalBonded);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventProviderBondPosted>): EventProviderBondPosted {\n const message = createBaseEventProviderBondPosted();\n message.provider = object.provider ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n message.totalBonded = (object.totalBonded !== undefined && object.totalBonded !== null)\n ? Coin.fromPartial(object.totalBonded)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventProviderBondSlashed(): EventProviderBondSlashed {\n return { provider: \"\", slashedAmount: undefined, reason: 0 };\n}\n\nexport const EventProviderBondSlashed: MessageFns<\n EventProviderBondSlashed,\n \"akash.verification.v1.EventProviderBondSlashed\"\n> = {\n $type: \"akash.verification.v1.EventProviderBondSlashed\" as const,\n\n encode(message: EventProviderBondSlashed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.slashedAmount !== undefined) {\n Coin.encode(message.slashedAmount, writer.uint32(18).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(24).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventProviderBondSlashed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventProviderBondSlashed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.slashedAmount = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventProviderBondSlashed {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n slashedAmount: isSet(object.slashed_amount) ? Coin.fromJSON(object.slashed_amount) : undefined,\n reason: isSet(object.reason) ? providerBondSlashReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventProviderBondSlashed): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.slashedAmount !== undefined) {\n obj.slashed_amount = Coin.toJSON(message.slashedAmount);\n }\n if (message.reason !== 0) {\n obj.reason = providerBondSlashReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventProviderBondSlashed>): EventProviderBondSlashed {\n const message = createBaseEventProviderBondSlashed();\n message.provider = object.provider ?? \"\";\n message.slashedAmount = (object.slashedAmount !== undefined && object.slashedAmount !== null)\n ? Coin.fromPartial(object.slashedAmount)\n : undefined;\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventProviderBondWithdrawalInitiated(): EventProviderBondWithdrawalInitiated {\n return { provider: \"\", amount: undefined, completionTime: undefined };\n}\n\nexport const EventProviderBondWithdrawalInitiated: MessageFns<\n EventProviderBondWithdrawalInitiated,\n \"akash.verification.v1.EventProviderBondWithdrawalInitiated\"\n> = {\n $type: \"akash.verification.v1.EventProviderBondWithdrawalInitiated\" as const,\n\n encode(message: EventProviderBondWithdrawalInitiated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n if (message.completionTime !== undefined) {\n Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventProviderBondWithdrawalInitiated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventProviderBondWithdrawalInitiated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventProviderBondWithdrawalInitiated {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n completionTime: isSet(object.completion_time) ? fromJsonTimestamp(object.completion_time) : undefined,\n };\n },\n\n toJSON(message: EventProviderBondWithdrawalInitiated): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n if (message.completionTime !== undefined) {\n obj.completion_time = message.completionTime.toISOString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventProviderBondWithdrawalInitiated>): EventProviderBondWithdrawalInitiated {\n const message = createBaseEventProviderBondWithdrawalInitiated();\n message.provider = object.provider ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n message.completionTime = object.completionTime ?? undefined;\n return message;\n },\n};\n\nfunction createBaseEventProviderBondWithdrawalCompleted(): EventProviderBondWithdrawalCompleted {\n return { provider: \"\", amount: undefined };\n}\n\nexport const EventProviderBondWithdrawalCompleted: MessageFns<\n EventProviderBondWithdrawalCompleted,\n \"akash.verification.v1.EventProviderBondWithdrawalCompleted\"\n> = {\n $type: \"akash.verification.v1.EventProviderBondWithdrawalCompleted\" as const,\n\n encode(message: EventProviderBondWithdrawalCompleted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventProviderBondWithdrawalCompleted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventProviderBondWithdrawalCompleted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventProviderBondWithdrawalCompleted {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventProviderBondWithdrawalCompleted): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventProviderBondWithdrawalCompleted>): EventProviderBondWithdrawalCompleted {\n const message = createBaseEventProviderBondWithdrawalCompleted();\n message.provider = object.provider ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventSnapshotHashPosted(): EventSnapshotHashPosted {\n return { provider: \"\", snapshotHash: new Uint8Array(0), complianceDeadline: undefined };\n}\n\nexport const EventSnapshotHashPosted: MessageFns<\n EventSnapshotHashPosted,\n \"akash.verification.v1.EventSnapshotHashPosted\"\n> = {\n $type: \"akash.verification.v1.EventSnapshotHashPosted\" as const,\n\n encode(message: EventSnapshotHashPosted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.snapshotHash.length !== 0) {\n writer.uint32(18).bytes(message.snapshotHash);\n }\n if (message.complianceDeadline !== undefined) {\n Timestamp.encode(toTimestamp(message.complianceDeadline), writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventSnapshotHashPosted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventSnapshotHashPosted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.snapshotHash = reader.bytes();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.complianceDeadline = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventSnapshotHashPosted {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n snapshotHash: isSet(object.snapshot_hash) ? bytesFromBase64(object.snapshot_hash) : new Uint8Array(0),\n complianceDeadline: isSet(object.compliance_deadline) ? fromJsonTimestamp(object.compliance_deadline) : undefined,\n };\n },\n\n toJSON(message: EventSnapshotHashPosted): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.snapshotHash.length !== 0) {\n obj.snapshot_hash = base64FromBytes(message.snapshotHash);\n }\n if (message.complianceDeadline !== undefined) {\n obj.compliance_deadline = message.complianceDeadline.toISOString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventSnapshotHashPosted>): EventSnapshotHashPosted {\n const message = createBaseEventSnapshotHashPosted();\n message.provider = object.provider ?? \"\";\n message.snapshotHash = object.snapshotHash ?? new Uint8Array(0);\n message.complianceDeadline = object.complianceDeadline ?? undefined;\n return message;\n },\n};\n\nfunction createBaseEventSnapshotSuspended(): EventSnapshotSuspended {\n return { provider: \"\" };\n}\n\nexport const EventSnapshotSuspended: MessageFns<\n EventSnapshotSuspended,\n \"akash.verification.v1.EventSnapshotSuspended\"\n> = {\n $type: \"akash.verification.v1.EventSnapshotSuspended\" as const,\n\n encode(message: EventSnapshotSuspended, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventSnapshotSuspended {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventSnapshotSuspended();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventSnapshotSuspended {\n return { provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\" };\n },\n\n toJSON(message: EventSnapshotSuspended): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventSnapshotSuspended>): EventSnapshotSuspended {\n const message = createBaseEventSnapshotSuspended();\n message.provider = object.provider ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventSnapshotResumed(): EventSnapshotResumed {\n return { provider: \"\" };\n}\n\nexport const EventSnapshotResumed: MessageFns<EventSnapshotResumed, \"akash.verification.v1.EventSnapshotResumed\"> = {\n $type: \"akash.verification.v1.EventSnapshotResumed\" as const,\n\n encode(message: EventSnapshotResumed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventSnapshotResumed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventSnapshotResumed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventSnapshotResumed {\n return { provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\" };\n },\n\n toJSON(message: EventSnapshotResumed): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventSnapshotResumed>): EventSnapshotResumed {\n const message = createBaseEventSnapshotResumed();\n message.provider = object.provider ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventFeeEscrowed(): EventFeeEscrowed {\n return { provider: \"\", auditor: \"\", amount: undefined };\n}\n\nexport const EventFeeEscrowed: MessageFns<EventFeeEscrowed, \"akash.verification.v1.EventFeeEscrowed\"> = {\n $type: \"akash.verification.v1.EventFeeEscrowed\" as const,\n\n encode(message: EventFeeEscrowed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventFeeEscrowed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventFeeEscrowed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventFeeEscrowed {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventFeeEscrowed): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventFeeEscrowed>): EventFeeEscrowed {\n const message = createBaseEventFeeEscrowed();\n message.provider = object.provider ?? \"\";\n message.auditor = object.auditor ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventFeeReleasedToAuditor(): EventFeeReleasedToAuditor {\n return { auditor: \"\", amount: undefined };\n}\n\nexport const EventFeeReleasedToAuditor: MessageFns<\n EventFeeReleasedToAuditor,\n \"akash.verification.v1.EventFeeReleasedToAuditor\"\n> = {\n $type: \"akash.verification.v1.EventFeeReleasedToAuditor\" as const,\n\n encode(message: EventFeeReleasedToAuditor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventFeeReleasedToAuditor {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventFeeReleasedToAuditor();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventFeeReleasedToAuditor {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventFeeReleasedToAuditor): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventFeeReleasedToAuditor>): EventFeeReleasedToAuditor {\n const message = createBaseEventFeeReleasedToAuditor();\n message.auditor = object.auditor ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventFeeReturnedToProvider(): EventFeeReturnedToProvider {\n return { provider: \"\", amount: undefined };\n}\n\nexport const EventFeeReturnedToProvider: MessageFns<\n EventFeeReturnedToProvider,\n \"akash.verification.v1.EventFeeReturnedToProvider\"\n> = {\n $type: \"akash.verification.v1.EventFeeReturnedToProvider\" as const,\n\n encode(message: EventFeeReturnedToProvider, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.provider !== \"\") {\n writer.uint32(10).string(message.provider);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventFeeReturnedToProvider {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventFeeReturnedToProvider();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventFeeReturnedToProvider {\n return {\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventFeeReturnedToProvider): unknown {\n const obj: any = {};\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventFeeReturnedToProvider>): EventFeeReturnedToProvider {\n const message = createBaseEventFeeReturnedToProvider();\n message.provider = object.provider ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventAuditEscrowOpened(): EventAuditEscrowOpened {\n return { auditEscrowId: 0n, provider: \"\", fee: undefined, providerDeposit: undefined };\n}\n\nexport const EventAuditEscrowOpened: MessageFns<\n EventAuditEscrowOpened,\n \"akash.verification.v1.EventAuditEscrowOpened\"\n> = {\n $type: \"akash.verification.v1.EventAuditEscrowOpened\" as const,\n\n encode(message: EventAuditEscrowOpened, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.auditEscrowId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.auditEscrowId);\n }\n if (message.provider !== \"\") {\n writer.uint32(18).string(message.provider);\n }\n if (message.fee !== undefined) {\n Coin.encode(message.fee, writer.uint32(26).fork()).join();\n }\n if (message.providerDeposit !== undefined) {\n Coin.encode(message.providerDeposit, writer.uint32(34).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditEscrowOpened {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditEscrowOpened();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.auditEscrowId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.fee = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.providerDeposit = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditEscrowOpened {\n return {\n auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n,\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined,\n providerDeposit: isSet(object.provider_deposit) ? Coin.fromJSON(object.provider_deposit) : undefined,\n };\n },\n\n toJSON(message: EventAuditEscrowOpened): unknown {\n const obj: any = {};\n if (message.auditEscrowId !== 0n) {\n obj.audit_escrow_id = message.auditEscrowId.toString();\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.fee !== undefined) {\n obj.fee = Coin.toJSON(message.fee);\n }\n if (message.providerDeposit !== undefined) {\n obj.provider_deposit = Coin.toJSON(message.providerDeposit);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditEscrowOpened>): EventAuditEscrowOpened {\n const message = createBaseEventAuditEscrowOpened();\n message.auditEscrowId = (object.auditEscrowId !== undefined && object.auditEscrowId !== null)\n ? BigInt(object.auditEscrowId)\n : 0n;\n message.provider = object.provider ?? \"\";\n message.fee = (object.fee !== undefined && object.fee !== null) ? Coin.fromPartial(object.fee) : undefined;\n message.providerDeposit = (object.providerDeposit !== undefined && object.providerDeposit !== null)\n ? Coin.fromPartial(object.providerDeposit)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventAuditEscrowSettled(): EventAuditEscrowSettled {\n return { auditEscrowId: 0n, reason: 0, faultAttribution: 0 };\n}\n\nexport const EventAuditEscrowSettled: MessageFns<\n EventAuditEscrowSettled,\n \"akash.verification.v1.EventAuditEscrowSettled\"\n> = {\n $type: \"akash.verification.v1.EventAuditEscrowSettled\" as const,\n\n encode(message: EventAuditEscrowSettled, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.auditEscrowId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.auditEscrowId);\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n if (message.faultAttribution !== 0) {\n writer.uint32(24).int32(message.faultAttribution);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAuditEscrowSettled {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAuditEscrowSettled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.auditEscrowId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.faultAttribution = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAuditEscrowSettled {\n return {\n auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n,\n reason: isSet(object.reason) ? auditEscrowSettlementReasonFromJSON(object.reason) : 0,\n faultAttribution: isSet(object.fault_attribution) ? faultAttributionFromJSON(object.fault_attribution) : 0,\n };\n },\n\n toJSON(message: EventAuditEscrowSettled): unknown {\n const obj: any = {};\n if (message.auditEscrowId !== 0n) {\n obj.audit_escrow_id = message.auditEscrowId.toString();\n }\n if (message.reason !== 0) {\n obj.reason = auditEscrowSettlementReasonToJSON(message.reason);\n }\n if (message.faultAttribution !== 0) {\n obj.fault_attribution = faultAttributionToJSON(message.faultAttribution);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAuditEscrowSettled>): EventAuditEscrowSettled {\n const message = createBaseEventAuditEscrowSettled();\n message.auditEscrowId = (object.auditEscrowId !== undefined && object.auditEscrowId !== null)\n ? BigInt(object.auditEscrowId)\n : 0n;\n message.reason = object.reason ?? 0;\n message.faultAttribution = object.faultAttribution ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventDepositReturnedToAuditor(): EventDepositReturnedToAuditor {\n return { auditor: \"\", amount: undefined };\n}\n\nexport const EventDepositReturnedToAuditor: MessageFns<\n EventDepositReturnedToAuditor,\n \"akash.verification.v1.EventDepositReturnedToAuditor\"\n> = {\n $type: \"akash.verification.v1.EventDepositReturnedToAuditor\" as const,\n\n encode(message: EventDepositReturnedToAuditor, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDepositReturnedToAuditor {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDepositReturnedToAuditor();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDepositReturnedToAuditor {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventDepositReturnedToAuditor): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDepositReturnedToAuditor>): EventDepositReturnedToAuditor {\n const message = createBaseEventDepositReturnedToAuditor();\n message.auditor = object.auditor ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventDepositSlashed(): EventDepositSlashed {\n return { auditor: \"\", amount: undefined };\n}\n\nexport const EventDepositSlashed: MessageFns<EventDepositSlashed, \"akash.verification.v1.EventDepositSlashed\"> = {\n $type: \"akash.verification.v1.EventDepositSlashed\" as const,\n\n encode(message: EventDepositSlashed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.auditor !== \"\") {\n writer.uint32(10).string(message.auditor);\n }\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDepositSlashed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDepositSlashed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDepositSlashed {\n return {\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n };\n },\n\n toJSON(message: EventDepositSlashed): unknown {\n const obj: any = {};\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDepositSlashed>): EventDepositSlashed {\n const message = createBaseEventDepositSlashed();\n message.auditor = object.auditor ?? \"\";\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventVerificationGraceStarted(): EventVerificationGraceStarted {\n return { graceRecordId: 0n, provider: \"\", preservedTier: 0 };\n}\n\nexport const EventVerificationGraceStarted: MessageFns<\n EventVerificationGraceStarted,\n \"akash.verification.v1.EventVerificationGraceStarted\"\n> = {\n $type: \"akash.verification.v1.EventVerificationGraceStarted\" as const,\n\n encode(message: EventVerificationGraceStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.graceRecordId !== 0n) {\n if (BigInt.asUintN(64, message.graceRecordId) !== message.graceRecordId) {\n throw new globalThis.Error(\"value provided for field message.graceRecordId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.graceRecordId);\n }\n if (message.provider !== \"\") {\n writer.uint32(18).string(message.provider);\n }\n if (message.preservedTier !== 0) {\n writer.uint32(24).int32(message.preservedTier);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventVerificationGraceStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventVerificationGraceStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.graceRecordId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.provider = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.preservedTier = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventVerificationGraceStarted {\n return {\n graceRecordId: isSet(object.grace_record_id) ? BigInt(object.grace_record_id) : 0n,\n provider: isSet(object.provider) ? globalThis.String(object.provider) : \"\",\n preservedTier: isSet(object.preserved_tier) ? verificationTierFromJSON(object.preserved_tier) : 0,\n };\n },\n\n toJSON(message: EventVerificationGraceStarted): unknown {\n const obj: any = {};\n if (message.graceRecordId !== 0n) {\n obj.grace_record_id = message.graceRecordId.toString();\n }\n if (message.provider !== \"\") {\n obj.provider = message.provider;\n }\n if (message.preservedTier !== 0) {\n obj.preserved_tier = verificationTierToJSON(message.preservedTier);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventVerificationGraceStarted>): EventVerificationGraceStarted {\n const message = createBaseEventVerificationGraceStarted();\n message.graceRecordId = (object.graceRecordId !== undefined && object.graceRecordId !== null)\n ? BigInt(object.graceRecordId)\n : 0n;\n message.provider = object.provider ?? \"\";\n message.preservedTier = object.preservedTier ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventVerificationGraceEnded(): EventVerificationGraceEnded {\n return { graceRecordId: 0n, status: 0 };\n}\n\nexport const EventVerificationGraceEnded: MessageFns<\n EventVerificationGraceEnded,\n \"akash.verification.v1.EventVerificationGraceEnded\"\n> = {\n $type: \"akash.verification.v1.EventVerificationGraceEnded\" as const,\n\n encode(message: EventVerificationGraceEnded, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.graceRecordId !== 0n) {\n if (BigInt.asUintN(64, message.graceRecordId) !== message.graceRecordId) {\n throw new globalThis.Error(\"value provided for field message.graceRecordId of type uint64 too large\");\n }\n writer.uint32(8).uint64(message.graceRecordId);\n }\n if (message.status !== 0) {\n writer.uint32(16).int32(message.status);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventVerificationGraceEnded {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventVerificationGraceEnded();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.graceRecordId = reader.uint64() as bigint;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.status = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventVerificationGraceEnded {\n return {\n graceRecordId: isSet(object.grace_record_id) ? BigInt(object.grace_record_id) : 0n,\n status: isSet(object.status) ? verificationGraceStatusFromJSON(object.status) : 0,\n };\n },\n\n toJSON(message: EventVerificationGraceEnded): unknown {\n const obj: any = {};\n if (message.graceRecordId !== 0n) {\n obj.grace_record_id = message.graceRecordId.toString();\n }\n if (message.status !== 0) {\n obj.status = verificationGraceStatusToJSON(message.status);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventVerificationGraceEnded>): EventVerificationGraceEnded {\n const message = createBaseEventVerificationGraceEnded();\n message.graceRecordId = (object.graceRecordId !== undefined && object.graceRecordId !== null)\n ? BigInt(object.graceRecordId)\n : 0n;\n message.status = object.status ?? 0;\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_toTimestamp(date: Date): Timestamp {\n const seconds = BigInt(Math.trunc(date.getTime() / 1_000));\n const nanos = (date.getTime() % 1_000) * 1_000_000;\n return { seconds, nanos };\n}\n\nfunction _unused_fromTimestamp(t: Timestamp): Date {\n let millis = (globalThis.Number(t.seconds.toString()) || 0) * 1_000;\n millis += (t.nanos || 0) / 1_000_000;\n return new globalThis.Date(millis);\n}\n\nfunction _unused_fromJsonTimestamp(o: any): Date {\n if (o instanceof globalThis.Date) {\n return o;\n } else if (typeof o === \"string\") {\n return new globalThis.Date(o);\n } else {\n return fromTimestamp(Timestamp.fromJSON(o));\n }\n}\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/verification/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\nimport {\n AttestationRecord,\n AuditEscrowRecord,\n AuditorRecord,\n DiscrepancyEvent,\n ProviderBondRecord,\n ProviderSnapshotRecord,\n ProviderVerificationGraceRecord,\n} from \"./state.ts\";\n\n/**\n * GenesisState defines the genesis state of the verification module. It\n * contains the on-chain parameters and the full set of records the module\n * is responsible for: auditors, attestations, discrepancies (and the next ID\n * counter), provider bonds, provider snapshot records, audit escrows (and\n * the next ID counter), and provider verification grace records (and the\n * next ID counter).\n */\nexport interface GenesisState {\n /** Params holds the on-chain parameters for the verification module. */\n params:\n | Params\n | undefined;\n /** Auditors is the list of registered auditor records. */\n auditors: AuditorRecord[];\n /** Attestations is the list of attestation records. */\n attestations: AttestationRecord[];\n /** Discrepancies is the list of discrepancy events. */\n discrepancies: DiscrepancyEvent[];\n /** ProviderBonds is the list of provider bond records. */\n providerBonds: ProviderBondRecord[];\n /** ProviderSnapshots is the list of provider snapshot records. */\n providerSnapshots: ProviderSnapshotRecord[];\n /**\n * NextDiscrepancyID is the monotonically increasing ID assigned to the next\n * discrepancy event.\n */\n nextDiscrepancyId: bigint;\n /** AuditEscrows is the list of audit escrow records. */\n auditEscrows: AuditEscrowRecord[];\n /**\n * NextAuditEscrowID is the monotonically increasing ID assigned to the next\n * audit escrow record.\n */\n nextAuditEscrowId: bigint;\n /** VerificationGraces is the list of provider verification grace records. */\n verificationGraces: ProviderVerificationGraceRecord[];\n /**\n * NextGraceRecordID is the monotonically increasing ID assigned to the next\n * provider verification grace record.\n */\n nextGraceRecordId: bigint;\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return {\n params: undefined,\n auditors: [],\n attestations: [],\n discrepancies: [],\n providerBonds: [],\n providerSnapshots: [],\n nextDiscrepancyId: 0n,\n auditEscrows: [],\n nextAuditEscrowId: 0n,\n verificationGraces: [],\n nextGraceRecordId: 0n,\n };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.verification.v1.GenesisState\"> = {\n $type: \"akash.verification.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n for (const v of message.auditors) {\n AuditorRecord.encode(v!, writer.uint32(18).fork()).join();\n }\n for (const v of message.attestations) {\n AttestationRecord.encode(v!, writer.uint32(26).fork()).join();\n }\n for (const v of message.discrepancies) {\n DiscrepancyEvent.encode(v!, writer.uint32(34).fork()).join();\n }\n for (const v of message.providerBonds) {\n ProviderBondRecord.encode(v!, writer.uint32(42).fork()).join();\n }\n for (const v of message.providerSnapshots) {\n ProviderSnapshotRecord.encode(v!, writer.uint32(50).fork()).join();\n }\n if (message.nextDiscrepancyId !== 0n) {\n if (BigInt.asUintN(64, message.nextDiscrepancyId) !== message.nextDiscrepancyId) {\n throw new globalThis.Error(\"value provided for field message.nextDiscrepancyId of type uint64 too large\");\n }\n writer.uint32(56).uint64(message.nextDiscrepancyId);\n }\n for (const v of message.auditEscrows) {\n AuditEscrowRecord.encode(v!, writer.uint32(66).fork()).join();\n }\n if (message.nextAuditEscrowId !== 0n) {\n if (BigInt.asUintN(64, message.nextAuditEscrowId) !== message.nextAuditEscrowId) {\n throw new globalThis.Error(\"value provided for field message.nextAuditEscrowId of type uint64 too large\");\n }\n writer.uint32(72).uint64(message.nextAuditEscrowId);\n }\n for (const v of message.verificationGraces) {\n ProviderVerificationGraceRecord.encode(v!, writer.uint32(82).fork()).join();\n }\n if (message.nextGraceRecordId !== 0n) {\n if (BigInt.asUintN(64, message.nextGraceRecordId) !== message.nextGraceRecordId) {\n throw new globalThis.Error(\"value provided for field message.nextGraceRecordId of type uint64 too large\");\n }\n writer.uint32(88).uint64(message.nextGraceRecordId);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditors.push(AuditorRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.attestations.push(AttestationRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.discrepancies.push(DiscrepancyEvent.decode(reader, reader.uint32()));\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.providerBonds.push(ProviderBondRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.providerSnapshots.push(ProviderSnapshotRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 7: {\n if (tag !== 56) {\n break;\n }\n\n message.nextDiscrepancyId = reader.uint64() as bigint;\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.auditEscrows.push(AuditEscrowRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 9: {\n if (tag !== 72) {\n break;\n }\n\n message.nextAuditEscrowId = reader.uint64() as bigint;\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n\n message.verificationGraces.push(ProviderVerificationGraceRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 11: {\n if (tag !== 88) {\n break;\n }\n\n message.nextGraceRecordId = reader.uint64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,\n auditors: globalThis.Array.isArray(object?.auditors)\n ? object.auditors.map((e: any) => AuditorRecord.fromJSON(e))\n : [],\n attestations: globalThis.Array.isArray(object?.attestations)\n ? object.attestations.map((e: any) => AttestationRecord.fromJSON(e))\n : [],\n discrepancies: globalThis.Array.isArray(object?.discrepancies)\n ? object.discrepancies.map((e: any) => DiscrepancyEvent.fromJSON(e))\n : [],\n providerBonds: globalThis.Array.isArray(object?.provider_bonds)\n ? object.provider_bonds.map((e: any) => ProviderBondRecord.fromJSON(e))\n : [],\n providerSnapshots: globalThis.Array.isArray(object?.provider_snapshots)\n ? object.provider_snapshots.map((e: any) => ProviderSnapshotRecord.fromJSON(e))\n : [],\n nextDiscrepancyId: isSet(object.next_discrepancy_id) ? BigInt(object.next_discrepancy_id) : 0n,\n auditEscrows: globalThis.Array.isArray(object?.audit_escrows)\n ? object.audit_escrows.map((e: any) => AuditEscrowRecord.fromJSON(e))\n : [],\n nextAuditEscrowId: isSet(object.next_audit_escrow_id) ? BigInt(object.next_audit_escrow_id) : 0n,\n verificationGraces: globalThis.Array.isArray(object?.verification_graces)\n ? object.verification_graces.map((e: any) => ProviderVerificationGraceRecord.fromJSON(e))\n : [],\n nextGraceRecordId: isSet(object.next_grace_record_id) ? BigInt(object.next_grace_record_id) : 0n,\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n if (message.auditors?.length) {\n obj.auditors = message.auditors.map((e) => AuditorRecord.toJSON(e));\n }\n if (message.attestations?.length) {\n obj.attestations = message.attestations.map((e) => AttestationRecord.toJSON(e));\n }\n if (message.discrepancies?.length) {\n obj.discrepancies = message.discrepancies.map((e) => DiscrepancyEvent.toJSON(e));\n }\n if (message.providerBonds?.length) {\n obj.provider_bonds = message.providerBonds.map((e) => ProviderBondRecord.toJSON(e));\n }\n if (message.providerSnapshots?.length) {\n obj.provider_snapshots = message.providerSnapshots.map((e) => ProviderSnapshotRecord.toJSON(e));\n }\n if (message.nextDiscrepancyId !== 0n) {\n obj.next_discrepancy_id = message.nextDiscrepancyId.toString();\n }\n if (message.auditEscrows?.length) {\n obj.audit_escrows = message.auditEscrows.map((e) => AuditEscrowRecord.toJSON(e));\n }\n if (message.nextAuditEscrowId !== 0n) {\n obj.next_audit_escrow_id = message.nextAuditEscrowId.toString();\n }\n if (message.verificationGraces?.length) {\n obj.verification_graces = message.verificationGraces.map((e) => ProviderVerificationGraceRecord.toJSON(e));\n }\n if (message.nextGraceRecordId !== 0n) {\n obj.next_grace_record_id = message.nextGraceRecordId.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n message.auditors = object.auditors?.map((e) => AuditorRecord.fromPartial(e)) || [];\n message.attestations = object.attestations?.map((e) => AttestationRecord.fromPartial(e)) || [];\n message.discrepancies = object.discrepancies?.map((e) => DiscrepancyEvent.fromPartial(e)) || [];\n message.providerBonds = object.providerBonds?.map((e) => ProviderBondRecord.fromPartial(e)) || [];\n message.providerSnapshots = object.providerSnapshots?.map((e) => ProviderSnapshotRecord.fromPartial(e)) || [];\n message.nextDiscrepancyId = (object.nextDiscrepancyId !== undefined && object.nextDiscrepancyId !== null)\n ? BigInt(object.nextDiscrepancyId)\n : 0n;\n message.auditEscrows = object.auditEscrows?.map((e) => AuditEscrowRecord.fromPartial(e)) || [];\n message.nextAuditEscrowId = (object.nextAuditEscrowId !== undefined && object.nextAuditEscrowId !== null)\n ? BigInt(object.nextAuditEscrowId)\n : 0n;\n message.verificationGraces =\n object.verificationGraces?.map((e) => ProviderVerificationGraceRecord.fromPartial(e)) || [];\n message.nextGraceRecordId = (object.nextGraceRecordId !== undefined && object.nextGraceRecordId !== null)\n ? BigInt(object.nextGraceRecordId)\n : 0n;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/wasm/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/**\n * EventMsgBlocked is triggered when smart contract does not\n * pass message filter\n */\nexport interface EventMsgBlocked {\n contractAddress: string;\n msgType: string;\n reason: string;\n}\n\nfunction createBaseEventMsgBlocked(): EventMsgBlocked {\n return { contractAddress: \"\", msgType: \"\", reason: \"\" };\n}\n\nexport const EventMsgBlocked: MessageFns<EventMsgBlocked, \"akash.wasm.v1.EventMsgBlocked\"> = {\n $type: \"akash.wasm.v1.EventMsgBlocked\" as const,\n\n encode(message: EventMsgBlocked, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.contractAddress !== \"\") {\n writer.uint32(10).string(message.contractAddress);\n }\n if (message.msgType !== \"\") {\n writer.uint32(18).string(message.msgType);\n }\n if (message.reason !== \"\") {\n writer.uint32(26).string(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventMsgBlocked {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventMsgBlocked();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.contractAddress = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.msgType = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.reason = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventMsgBlocked {\n return {\n contractAddress: isSet(object.contract_address) ? globalThis.String(object.contract_address) : \"\",\n msgType: isSet(object.msg_type) ? globalThis.String(object.msg_type) : \"\",\n reason: isSet(object.reason) ? globalThis.String(object.reason) : \"\",\n };\n },\n\n toJSON(message: EventMsgBlocked): unknown {\n const obj: any = {};\n if (message.contractAddress !== \"\") {\n obj.contract_address = message.contractAddress;\n }\n if (message.msgType !== \"\") {\n obj.msg_type = message.msgType;\n }\n if (message.reason !== \"\") {\n obj.reason = message.reason;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventMsgBlocked>): EventMsgBlocked {\n const message = createBaseEventMsgBlocked();\n message.contractAddress = object.contractAddress ?? \"\";\n message.msgType = object.msgType ?? \"\";\n message.reason = object.reason ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/wasm/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\n\n/** GenesisState stores slice of genesis wasm parameters. */\nexport interface GenesisState {\n /** Params holds parameters of the genesis of akash wasm. */\n params: Params | undefined;\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.wasm.v1.GenesisState\"> = {\n $type: \"akash.wasm.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,cAAc,oBAAoB;AA0C3C,SAAS,uCAAmE;AAC1E,SAAO,EAAE,OAAO,IAAI,SAAS,GAAG;AAClC;AAEO,IAAM,6BAGT;AAAA,EACF,OAAO;AAAA,EAEP,OAAO,SAAqC,SAAuB,IAAI,aAAa,GAAiB;AACnG,QAAI,QAAQ,UAAU,IAAI;AACxB,aAAO,OAAO,EAAE,EAAE,OAAO,QAAQ,KAAK;AAAA,IACxC;AACA,QAAI,QAAQ,YAAY,IAAI;AAC1B,aAAO,OAAO,EAAE,EAAE,OAAO,QAAQ,OAAO;AAAA,IAC1C;AACA,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAA6C;AACpF,UAAM,SAAS,iBAAiB,eAAe,QAAQ,IAAI,aAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAU,qCAAqC;AACrD,WAAO,OAA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ter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "createBaseGenesisState", "GenesisState", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "createBaseGenesisState", "GenesisState", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "DepositAuthorization_Scope", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Account", "Payment", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader"]
3
+ "sources": ["../../../../src/generated/protos/akash/audit/v1/event.ts", "../../../../src/generated/protos/akash/audit/v1/genesis.ts", "../../../../src/generated/protos/akash/base/offchain/sign/v1/sign.ts", "../../../../src/generated/protos/akash/bme/v1/events.ts", "../../../../src/generated/protos/akash/bme/v1/genesis.ts", "../../../../src/generated/protos/akash/cert/v1/genesis.ts", "../../../../src/generated/protos/akash/deployment/v1/event.ts", "../../../../src/generated/protos/akash/escrow/v1/authz.ts", "../../../../src/generated/protos/akash/escrow/v1/genesis.ts", "../../../../src/generated/protos/akash/market/v1/event.ts", "../../../../src/generated/protos/akash/oracle/v1/events.ts", "../../../../src/generated/protos/akash/oracle/v1/genesis.ts", "../../../../src/generated/protos/akash/take/v1/genesis.ts", "../../../../src/generated/protos/akash/wasm/v1/event.ts", "../../../../src/generated/protos/akash/wasm/v1/genesis.ts"],
4
+ "sourcesContent": ["import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/audit/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** EventTrustedAuditorCreated defines an SDK message for when a trusted auditor is created. */\nexport interface EventTrustedAuditorCreated {\n /**\n * Owner is the account bech32 address of the provider.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Auditor is the account address of the auditor.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n auditor: string;\n}\n\n/** EventTrustedAuditorDeleted defines an event for when a trusted auditor is deleted. */\nexport interface EventTrustedAuditorDeleted {\n /**\n * Owner is the account bech32 address of the provider.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /**\n * Auditor is the account address of the auditor.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n auditor: string;\n}\n\nfunction createBaseEventTrustedAuditorCreated(): EventTrustedAuditorCreated {\n return { owner: \"\", auditor: \"\" };\n}\n\nexport const EventTrustedAuditorCreated: MessageFns<\n EventTrustedAuditorCreated,\n \"akash.audit.v1.EventTrustedAuditorCreated\"\n> = {\n $type: \"akash.audit.v1.EventTrustedAuditorCreated\" as const,\n\n encode(message: EventTrustedAuditorCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventTrustedAuditorCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventTrustedAuditorCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventTrustedAuditorCreated {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n };\n },\n\n toJSON(message: EventTrustedAuditorCreated): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventTrustedAuditorCreated>): EventTrustedAuditorCreated {\n const message = createBaseEventTrustedAuditorCreated();\n message.owner = object.owner ?? \"\";\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventTrustedAuditorDeleted(): EventTrustedAuditorDeleted {\n return { owner: \"\", auditor: \"\" };\n}\n\nexport const EventTrustedAuditorDeleted: MessageFns<\n EventTrustedAuditorDeleted,\n \"akash.audit.v1.EventTrustedAuditorDeleted\"\n> = {\n $type: \"akash.audit.v1.EventTrustedAuditorDeleted\" as const,\n\n encode(message: EventTrustedAuditorDeleted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.auditor !== \"\") {\n writer.uint32(18).string(message.auditor);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventTrustedAuditorDeleted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventTrustedAuditorDeleted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.auditor = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventTrustedAuditorDeleted {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : \"\",\n };\n },\n\n toJSON(message: EventTrustedAuditorDeleted): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.auditor !== \"\") {\n obj.auditor = message.auditor;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventTrustedAuditorDeleted>): EventTrustedAuditorDeleted {\n const message = createBaseEventTrustedAuditorDeleted();\n message.owner = object.owner ?? \"\";\n message.auditor = object.auditor ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/audit/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { AuditedProvider } from \"./audit.ts\";\n\n/** GenesisState defines the basic genesis state used by audit module. */\nexport interface GenesisState {\n /** Providers contains a list of audited providers account addresses. */\n providers: AuditedProvider[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { providers: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.audit.v1.GenesisState\"> = {\n $type: \"akash.audit.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.providers) {\n AuditedProvider.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.providers.push(AuditedProvider.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n providers: globalThis.Array.isArray(object?.providers)\n ? object.providers.map((e: any) => AuditedProvider.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.providers?.length) {\n obj.providers = message.providers.map((e) => AuditedProvider.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.providers = object.providers?.map((e) => AuditedProvider.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { bytesFromBase64, base64FromBytes, isSet } from \"../../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/base/offchain/sign/v1/sign.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** MsgSignData defines an arbitrary, general-purpose, off-chain message */\nexport interface MsgSignData {\n /** Signer is the sdk.AccAddress of the message signer */\n signer: string;\n /** Data represents the raw bytes of the content that is signed (text, json, etc) */\n data: Uint8Array;\n}\n\nfunction createBaseMsgSignData(): MsgSignData {\n return { signer: \"\", data: new Uint8Array(0) };\n}\n\nexport const MsgSignData: MessageFns<MsgSignData, \"akash.base.offchain.sign.v1.MsgSignData\"> = {\n $type: \"akash.base.offchain.sign.v1.MsgSignData\" as const,\n\n encode(message: MsgSignData, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.signer !== \"\") {\n writer.uint32(10).string(message.signer);\n }\n if (message.data.length !== 0) {\n writer.uint32(18).bytes(message.data);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): MsgSignData {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseMsgSignData();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.signer = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.data = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): MsgSignData {\n return {\n signer: isSet(object.signer) ? globalThis.String(object.signer) : \"\",\n data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(0),\n };\n },\n\n toJSON(message: MsgSignData): unknown {\n const obj: any = {};\n if (message.signer !== \"\") {\n obj.signer = message.signer;\n }\n if (message.data.length !== 0) {\n obj.data = base64FromBytes(message.data);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<MsgSignData>): MsgSignData {\n const message = createBaseMsgSignData();\n message.signer = object.signer ?? \"\";\n message.data = object.data ?? new Uint8Array(0);\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { patched } from \"../../../../patches/nodePatchMessage.ts\";\nimport { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/bme/v1/events.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport {\n CoinPrice,\n LedgerCanceledRecord_BMCancelReason,\n ledgerCanceledRecord_BMCancelReasonFromJSON,\n ledgerCanceledRecord_BMCancelReasonToJSON,\n LedgerRecordID,\n MintStatus,\n mintStatusFromJSON,\n mintStatusToJSON,\n} from \"./types.ts\";\n\n/** EventCircuitBreakerStatusChange is emitted when circuit breaker status changes */\nexport interface EventMintStatusChange {\n /** previous_status is the previous status */\n previousStatus: MintStatus;\n /** new_status is the new status */\n newStatus: MintStatus;\n /** collateral_ratio is the CR that triggered the change */\n collateralRatio: string;\n}\n\n/** EventVaultFunded is emitted when the vault is seeded with AKT */\nexport interface EventVaultFunded {\n /** amount is the AKT amount added to vault */\n amount:\n | Coin\n | undefined;\n /** source is where the funds came from */\n source: string;\n /** new_vault_balance is the new vault balance */\n newVaultBalance: Coin | undefined;\n}\n\n/** EventLedgerRecordExecuted emitted information of burn/mint event of token A burn to mint token B */\nexport interface EventLedgerRecordExecuted {\n /** burned_from source address of the tokens burned */\n id:\n | LedgerRecordID\n | undefined;\n /** burned_from source address of the tokens burned */\n burnedFrom: string;\n /** minted_to destination address of the tokens minted */\n mintedTo: string;\n /** module is module account performing burn */\n burner: string;\n /** module is module account performing mint */\n minter: string;\n /** burned is the coin burned at price */\n burned:\n | CoinPrice\n | undefined;\n /** minted is coin minted at price */\n minted: CoinPrice | undefined;\n spread: Coin | undefined;\n remintCreditIssued: CoinPrice | undefined;\n remintCreditAccrued: CoinPrice | undefined;\n}\n\n/** EventLedgerRecordCanceled emitted information of unsuccessful burn/mint event */\nexport interface EventLedgerRecordCanceled {\n /** burned_from source address of the tokens burned */\n id:\n | LedgerRecordID\n | undefined;\n /** fail_reason */\n cancelReason: LedgerCanceledRecord_BMCancelReason;\n /** owner source of the coins to be burned */\n owner: string;\n /**\n * to destination of the minted coins.\n * if minted coin is ACT, \"to\" must be same as signer\n */\n to: string;\n /** coins_to_burn */\n coinsToBurn:\n | Coin\n | undefined;\n /** denom_to_mint */\n denomToMint: string;\n}\n\nfunction createBaseEventMintStatusChange(): EventMintStatusChange {\n return { previousStatus: 0, newStatus: 0, collateralRatio: \"\" };\n}\n\nconst _EventMintStatusChange: MessageFns<EventMintStatusChange, \"akash.bme.v1.EventMintStatusChange\"> = {\n $type: \"akash.bme.v1.EventMintStatusChange\" as const,\n\n encode(message: EventMintStatusChange, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.previousStatus !== 0) {\n writer.uint32(8).int32(message.previousStatus);\n }\n if (message.newStatus !== 0) {\n writer.uint32(16).int32(message.newStatus);\n }\n if (message.collateralRatio !== \"\") {\n writer.uint32(26).string(message.collateralRatio);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventMintStatusChange {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventMintStatusChange();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n\n message.previousStatus = reader.int32() as any;\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.newStatus = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.collateralRatio = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventMintStatusChange {\n return {\n previousStatus: isSet(object.previous_status) ? mintStatusFromJSON(object.previous_status) : 0,\n newStatus: isSet(object.new_status) ? mintStatusFromJSON(object.new_status) : 0,\n collateralRatio: isSet(object.collateral_ratio) ? globalThis.String(object.collateral_ratio) : \"\",\n };\n },\n\n toJSON(message: EventMintStatusChange): unknown {\n const obj: any = {};\n if (message.previousStatus !== 0) {\n obj.previous_status = mintStatusToJSON(message.previousStatus);\n }\n if (message.newStatus !== 0) {\n obj.new_status = mintStatusToJSON(message.newStatus);\n }\n if (message.collateralRatio !== \"\") {\n obj.collateral_ratio = message.collateralRatio;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventMintStatusChange>): EventMintStatusChange {\n const message = createBaseEventMintStatusChange();\n message.previousStatus = object.previousStatus ?? 0;\n message.newStatus = object.newStatus ?? 0;\n message.collateralRatio = object.collateralRatio ?? \"\";\n return message;\n },\n};\n\nfunction createBaseEventVaultFunded(): EventVaultFunded {\n return { amount: undefined, source: \"\", newVaultBalance: undefined };\n}\n\nexport const EventVaultFunded: MessageFns<EventVaultFunded, \"akash.bme.v1.EventVaultFunded\"> = {\n $type: \"akash.bme.v1.EventVaultFunded\" as const,\n\n encode(message: EventVaultFunded, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.amount !== undefined) {\n Coin.encode(message.amount, writer.uint32(10).fork()).join();\n }\n if (message.source !== \"\") {\n writer.uint32(18).string(message.source);\n }\n if (message.newVaultBalance !== undefined) {\n Coin.encode(message.newVaultBalance, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventVaultFunded {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventVaultFunded();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.amount = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.newVaultBalance = Coin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventVaultFunded {\n return {\n amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined,\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n newVaultBalance: isSet(object.new_vault_balance) ? Coin.fromJSON(object.new_vault_balance) : undefined,\n };\n },\n\n toJSON(message: EventVaultFunded): unknown {\n const obj: any = {};\n if (message.amount !== undefined) {\n obj.amount = Coin.toJSON(message.amount);\n }\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.newVaultBalance !== undefined) {\n obj.new_vault_balance = Coin.toJSON(message.newVaultBalance);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventVaultFunded>): EventVaultFunded {\n const message = createBaseEventVaultFunded();\n message.amount = (object.amount !== undefined && object.amount !== null)\n ? Coin.fromPartial(object.amount)\n : undefined;\n message.source = object.source ?? \"\";\n message.newVaultBalance = (object.newVaultBalance !== undefined && object.newVaultBalance !== null)\n ? Coin.fromPartial(object.newVaultBalance)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLedgerRecordExecuted(): EventLedgerRecordExecuted {\n return {\n id: undefined,\n burnedFrom: \"\",\n mintedTo: \"\",\n burner: \"\",\n minter: \"\",\n burned: undefined,\n minted: undefined,\n spread: undefined,\n remintCreditIssued: undefined,\n remintCreditAccrued: undefined,\n };\n}\n\nexport const EventLedgerRecordExecuted: MessageFns<\n EventLedgerRecordExecuted,\n \"akash.bme.v1.EventLedgerRecordExecuted\"\n> = {\n $type: \"akash.bme.v1.EventLedgerRecordExecuted\" as const,\n\n encode(message: EventLedgerRecordExecuted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.burnedFrom !== \"\") {\n writer.uint32(18).string(message.burnedFrom);\n }\n if (message.mintedTo !== \"\") {\n writer.uint32(26).string(message.mintedTo);\n }\n if (message.burner !== \"\") {\n writer.uint32(34).string(message.burner);\n }\n if (message.minter !== \"\") {\n writer.uint32(42).string(message.minter);\n }\n if (message.burned !== undefined) {\n CoinPrice.encode(message.burned, writer.uint32(50).fork()).join();\n }\n if (message.minted !== undefined) {\n CoinPrice.encode(message.minted, writer.uint32(58).fork()).join();\n }\n if (message.spread !== undefined) {\n Coin.encode(message.spread, writer.uint32(66).fork()).join();\n }\n if (message.remintCreditIssued !== undefined) {\n CoinPrice.encode(message.remintCreditIssued, writer.uint32(74).fork()).join();\n }\n if (message.remintCreditAccrued !== undefined) {\n CoinPrice.encode(message.remintCreditAccrued, writer.uint32(82).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordExecuted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLedgerRecordExecuted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.burnedFrom = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.mintedTo = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.burner = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.minter = reader.string();\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.burned = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 7: {\n if (tag !== 58) {\n break;\n }\n\n message.minted = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 8: {\n if (tag !== 66) {\n break;\n }\n\n message.spread = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 9: {\n if (tag !== 74) {\n break;\n }\n\n message.remintCreditIssued = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n\n message.remintCreditAccrued = CoinPrice.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLedgerRecordExecuted {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n burnedFrom: isSet(object.burned_from) ? globalThis.String(object.burned_from) : \"\",\n mintedTo: isSet(object.minted_to) ? globalThis.String(object.minted_to) : \"\",\n burner: isSet(object.burner) ? globalThis.String(object.burner) : \"\",\n minter: isSet(object.minter) ? globalThis.String(object.minter) : \"\",\n burned: isSet(object.burned) ? CoinPrice.fromJSON(object.burned) : undefined,\n minted: isSet(object.minted) ? CoinPrice.fromJSON(object.minted) : undefined,\n spread: isSet(object.spread) ? Coin.fromJSON(object.spread) : undefined,\n remintCreditIssued: isSet(object.remint_credit_issued)\n ? CoinPrice.fromJSON(object.remint_credit_issued)\n : undefined,\n remintCreditAccrued: isSet(object.remint_credit_accrued)\n ? CoinPrice.fromJSON(object.remint_credit_accrued)\n : undefined,\n };\n },\n\n toJSON(message: EventLedgerRecordExecuted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.burnedFrom !== \"\") {\n obj.burned_from = message.burnedFrom;\n }\n if (message.mintedTo !== \"\") {\n obj.minted_to = message.mintedTo;\n }\n if (message.burner !== \"\") {\n obj.burner = message.burner;\n }\n if (message.minter !== \"\") {\n obj.minter = message.minter;\n }\n if (message.burned !== undefined) {\n obj.burned = CoinPrice.toJSON(message.burned);\n }\n if (message.minted !== undefined) {\n obj.minted = CoinPrice.toJSON(message.minted);\n }\n if (message.spread !== undefined) {\n obj.spread = Coin.toJSON(message.spread);\n }\n if (message.remintCreditIssued !== undefined) {\n obj.remint_credit_issued = CoinPrice.toJSON(message.remintCreditIssued);\n }\n if (message.remintCreditAccrued !== undefined) {\n obj.remint_credit_accrued = CoinPrice.toJSON(message.remintCreditAccrued);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLedgerRecordExecuted>): EventLedgerRecordExecuted {\n const message = createBaseEventLedgerRecordExecuted();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.burnedFrom = object.burnedFrom ?? \"\";\n message.mintedTo = object.mintedTo ?? \"\";\n message.burner = object.burner ?? \"\";\n message.minter = object.minter ?? \"\";\n message.burned = (object.burned !== undefined && object.burned !== null)\n ? CoinPrice.fromPartial(object.burned)\n : undefined;\n message.minted = (object.minted !== undefined && object.minted !== null)\n ? CoinPrice.fromPartial(object.minted)\n : undefined;\n message.spread = (object.spread !== undefined && object.spread !== null)\n ? Coin.fromPartial(object.spread)\n : undefined;\n message.remintCreditIssued = (object.remintCreditIssued !== undefined && object.remintCreditIssued !== null)\n ? CoinPrice.fromPartial(object.remintCreditIssued)\n : undefined;\n message.remintCreditAccrued = (object.remintCreditAccrued !== undefined && object.remintCreditAccrued !== null)\n ? CoinPrice.fromPartial(object.remintCreditAccrued)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLedgerRecordCanceled(): EventLedgerRecordCanceled {\n return { id: undefined, cancelReason: 0, owner: \"\", to: \"\", coinsToBurn: undefined, denomToMint: \"\" };\n}\n\nexport const EventLedgerRecordCanceled: MessageFns<\n EventLedgerRecordCanceled,\n \"akash.bme.v1.EventLedgerRecordCanceled\"\n> = {\n $type: \"akash.bme.v1.EventLedgerRecordCanceled\" as const,\n\n encode(message: EventLedgerRecordCanceled, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.cancelReason !== 0) {\n writer.uint32(16).int32(message.cancelReason);\n }\n if (message.owner !== \"\") {\n writer.uint32(26).string(message.owner);\n }\n if (message.to !== \"\") {\n writer.uint32(34).string(message.to);\n }\n if (message.coinsToBurn !== undefined) {\n Coin.encode(message.coinsToBurn, writer.uint32(42).fork()).join();\n }\n if (message.denomToMint !== \"\") {\n writer.uint32(50).string(message.denomToMint);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLedgerRecordCanceled {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLedgerRecordCanceled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.cancelReason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 4: {\n if (tag !== 34) {\n break;\n }\n\n message.to = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n\n message.coinsToBurn = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 6: {\n if (tag !== 50) {\n break;\n }\n\n message.denomToMint = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLedgerRecordCanceled {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n cancelReason: isSet(object.cancel_reason) ? ledgerCanceledRecord_BMCancelReasonFromJSON(object.cancel_reason) : 0,\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n to: isSet(object.to) ? globalThis.String(object.to) : \"\",\n coinsToBurn: isSet(object.coins_to_burn) ? Coin.fromJSON(object.coins_to_burn) : undefined,\n denomToMint: isSet(object.denom_to_mint) ? globalThis.String(object.denom_to_mint) : \"\",\n };\n },\n\n toJSON(message: EventLedgerRecordCanceled): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.cancelReason !== 0) {\n obj.cancel_reason = ledgerCanceledRecord_BMCancelReasonToJSON(message.cancelReason);\n }\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.to !== \"\") {\n obj.to = message.to;\n }\n if (message.coinsToBurn !== undefined) {\n obj.coins_to_burn = Coin.toJSON(message.coinsToBurn);\n }\n if (message.denomToMint !== \"\") {\n obj.denom_to_mint = message.denomToMint;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLedgerRecordCanceled>): EventLedgerRecordCanceled {\n const message = createBaseEventLedgerRecordCanceled();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.cancelReason = object.cancelReason ?? 0;\n message.owner = object.owner ?? \"\";\n message.to = object.to ?? \"\";\n message.coinsToBurn = (object.coinsToBurn !== undefined && object.coinsToBurn !== null)\n ? Coin.fromPartial(object.coinsToBurn)\n : undefined;\n message.denomToMint = object.denomToMint ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n\nexport const EventMintStatusChange = patched(_EventMintStatusChange);\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/bme/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { Params } from \"./params.ts\";\nimport { LedgerPendingRecord, LedgerRecord, LedgerRecordID } from \"./types.ts\";\n\n/** GenesisLedgerRecord */\nexport interface GenesisLedgerRecord {\n id: LedgerRecordID | undefined;\n record: LedgerRecord | undefined;\n}\n\n/** GenesisLedgerPendingRecord */\nexport interface GenesisLedgerPendingRecord {\n id: LedgerRecordID | undefined;\n record: LedgerPendingRecord | undefined;\n}\n\n/** GenesisLedgerState */\nexport interface GenesisLedgerState {\n records: GenesisLedgerRecord[];\n pendingRecords: GenesisLedgerPendingRecord[];\n}\n\n/** GenesisVaultState */\nexport interface GenesisVaultState {\n /** burned is the cumulative burn for tracked tokens */\n totalBurned: Coin[];\n /** minted is the cumulative mint back for tracked tokens */\n totalMinted: Coin[];\n /**\n * remint_credits tracks available credits for reminting tokens\n * (e.g., from previous burns that can be reminted without additional collateral)\n */\n remintCredits: Coin[];\n}\n\n/** GenesisState defines the BME module's genesis state */\nexport interface GenesisState {\n /** params defines the module parameters */\n params:\n | Params\n | undefined;\n /** state is the initial vault state */\n state: GenesisVaultState | undefined;\n ledger: GenesisLedgerState | undefined;\n}\n\nfunction createBaseGenesisLedgerRecord(): GenesisLedgerRecord {\n return { id: undefined, record: undefined };\n}\n\nexport const GenesisLedgerRecord: MessageFns<GenesisLedgerRecord, \"akash.bme.v1.GenesisLedgerRecord\"> = {\n $type: \"akash.bme.v1.GenesisLedgerRecord\" as const,\n\n encode(message: GenesisLedgerRecord, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.record !== undefined) {\n LedgerRecord.encode(message.record, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerRecord {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerRecord();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.record = LedgerRecord.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerRecord {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n record: isSet(object.record) ? LedgerRecord.fromJSON(object.record) : undefined,\n };\n },\n\n toJSON(message: GenesisLedgerRecord): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.record !== undefined) {\n obj.record = LedgerRecord.toJSON(message.record);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerRecord>): GenesisLedgerRecord {\n const message = createBaseGenesisLedgerRecord();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.record = (object.record !== undefined && object.record !== null)\n ? LedgerRecord.fromPartial(object.record)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisLedgerPendingRecord(): GenesisLedgerPendingRecord {\n return { id: undefined, record: undefined };\n}\n\nexport const GenesisLedgerPendingRecord: MessageFns<\n GenesisLedgerPendingRecord,\n \"akash.bme.v1.GenesisLedgerPendingRecord\"\n> = {\n $type: \"akash.bme.v1.GenesisLedgerPendingRecord\" as const,\n\n encode(message: GenesisLedgerPendingRecord, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LedgerRecordID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.record !== undefined) {\n LedgerPendingRecord.encode(message.record, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerPendingRecord {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerPendingRecord();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LedgerRecordID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.record = LedgerPendingRecord.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerPendingRecord {\n return {\n id: isSet(object.id) ? LedgerRecordID.fromJSON(object.id) : undefined,\n record: isSet(object.record) ? LedgerPendingRecord.fromJSON(object.record) : undefined,\n };\n },\n\n toJSON(message: GenesisLedgerPendingRecord): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LedgerRecordID.toJSON(message.id);\n }\n if (message.record !== undefined) {\n obj.record = LedgerPendingRecord.toJSON(message.record);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerPendingRecord>): GenesisLedgerPendingRecord {\n const message = createBaseGenesisLedgerPendingRecord();\n message.id = (object.id !== undefined && object.id !== null) ? LedgerRecordID.fromPartial(object.id) : undefined;\n message.record = (object.record !== undefined && object.record !== null)\n ? LedgerPendingRecord.fromPartial(object.record)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisLedgerState(): GenesisLedgerState {\n return { records: [], pendingRecords: [] };\n}\n\nexport const GenesisLedgerState: MessageFns<GenesisLedgerState, \"akash.bme.v1.GenesisLedgerState\"> = {\n $type: \"akash.bme.v1.GenesisLedgerState\" as const,\n\n encode(message: GenesisLedgerState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.records) {\n GenesisLedgerRecord.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.pendingRecords) {\n GenesisLedgerPendingRecord.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisLedgerState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisLedgerState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.records.push(GenesisLedgerRecord.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.pendingRecords.push(GenesisLedgerPendingRecord.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisLedgerState {\n return {\n records: globalThis.Array.isArray(object?.records)\n ? object.records.map((e: any) => GenesisLedgerRecord.fromJSON(e))\n : [],\n pendingRecords: globalThis.Array.isArray(object?.pending_records)\n ? object.pending_records.map((e: any) => GenesisLedgerPendingRecord.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisLedgerState): unknown {\n const obj: any = {};\n if (message.records?.length) {\n obj.records = message.records.map((e) => GenesisLedgerRecord.toJSON(e));\n }\n if (message.pendingRecords?.length) {\n obj.pending_records = message.pendingRecords.map((e) => GenesisLedgerPendingRecord.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisLedgerState>): GenesisLedgerState {\n const message = createBaseGenesisLedgerState();\n message.records = object.records?.map((e) => GenesisLedgerRecord.fromPartial(e)) || [];\n message.pendingRecords = object.pendingRecords?.map((e) => GenesisLedgerPendingRecord.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseGenesisVaultState(): GenesisVaultState {\n return { totalBurned: [], totalMinted: [], remintCredits: [] };\n}\n\nexport const GenesisVaultState: MessageFns<GenesisVaultState, \"akash.bme.v1.GenesisVaultState\"> = {\n $type: \"akash.bme.v1.GenesisVaultState\" as const,\n\n encode(message: GenesisVaultState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.totalBurned) {\n Coin.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.totalMinted) {\n Coin.encode(v!, writer.uint32(18).fork()).join();\n }\n for (const v of message.remintCredits) {\n Coin.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisVaultState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisVaultState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.totalBurned.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.totalMinted.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.remintCredits.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisVaultState {\n return {\n totalBurned: globalThis.Array.isArray(object?.total_burned)\n ? object.total_burned.map((e: any) => Coin.fromJSON(e))\n : [],\n totalMinted: globalThis.Array.isArray(object?.total_minted)\n ? object.total_minted.map((e: any) => Coin.fromJSON(e))\n : [],\n remintCredits: globalThis.Array.isArray(object?.remint_credits)\n ? object.remint_credits.map((e: any) => Coin.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisVaultState): unknown {\n const obj: any = {};\n if (message.totalBurned?.length) {\n obj.total_burned = message.totalBurned.map((e) => Coin.toJSON(e));\n }\n if (message.totalMinted?.length) {\n obj.total_minted = message.totalMinted.map((e) => Coin.toJSON(e));\n }\n if (message.remintCredits?.length) {\n obj.remint_credits = message.remintCredits.map((e) => Coin.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisVaultState>): GenesisVaultState {\n const message = createBaseGenesisVaultState();\n message.totalBurned = object.totalBurned?.map((e) => Coin.fromPartial(e)) || [];\n message.totalMinted = object.totalMinted?.map((e) => Coin.fromPartial(e)) || [];\n message.remintCredits = object.remintCredits?.map((e) => Coin.fromPartial(e)) || [];\n return message;\n },\n};\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined, state: undefined, ledger: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.bme.v1.GenesisState\"> = {\n $type: \"akash.bme.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n if (message.state !== undefined) {\n GenesisVaultState.encode(message.state, writer.uint32(18).fork()).join();\n }\n if (message.ledger !== undefined) {\n GenesisLedgerState.encode(message.ledger, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.state = GenesisVaultState.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.ledger = GenesisLedgerState.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,\n state: isSet(object.state) ? GenesisVaultState.fromJSON(object.state) : undefined,\n ledger: isSet(object.ledger) ? GenesisLedgerState.fromJSON(object.ledger) : undefined,\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n if (message.state !== undefined) {\n obj.state = GenesisVaultState.toJSON(message.state);\n }\n if (message.ledger !== undefined) {\n obj.ledger = GenesisLedgerState.toJSON(message.ledger);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n message.state = (object.state !== undefined && object.state !== null)\n ? GenesisVaultState.fromPartial(object.state)\n : undefined;\n message.ledger = (object.ledger !== undefined && object.ledger !== null)\n ? GenesisLedgerState.fromPartial(object.ledger)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/cert/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Certificate } from \"./cert.ts\";\n\n/** GenesisCertificate defines certificate entry at genesis. */\nexport interface GenesisCertificate {\n /**\n * Owner is the account address of the user who owns the certificate.\n * It is a string representing a valid account address.\n *\n * Example:\n * \"akash1...\"\n */\n owner: string;\n /** Certificate holds the certificate. */\n certificate: Certificate | undefined;\n}\n\n/** GenesisState defines the basic genesis state used by cert module. */\nexport interface GenesisState {\n /** Certificates is a list of genesis certificates. */\n certificates: GenesisCertificate[];\n}\n\nfunction createBaseGenesisCertificate(): GenesisCertificate {\n return { owner: \"\", certificate: undefined };\n}\n\nexport const GenesisCertificate: MessageFns<GenesisCertificate, \"akash.cert.v1.GenesisCertificate\"> = {\n $type: \"akash.cert.v1.GenesisCertificate\" as const,\n\n encode(message: GenesisCertificate, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.owner !== \"\") {\n writer.uint32(10).string(message.owner);\n }\n if (message.certificate !== undefined) {\n Certificate.encode(message.certificate, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisCertificate {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisCertificate();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.owner = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.certificate = Certificate.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisCertificate {\n return {\n owner: isSet(object.owner) ? globalThis.String(object.owner) : \"\",\n certificate: isSet(object.certificate) ? Certificate.fromJSON(object.certificate) : undefined,\n };\n },\n\n toJSON(message: GenesisCertificate): unknown {\n const obj: any = {};\n if (message.owner !== \"\") {\n obj.owner = message.owner;\n }\n if (message.certificate !== undefined) {\n obj.certificate = Certificate.toJSON(message.certificate);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisCertificate>): GenesisCertificate {\n const message = createBaseGenesisCertificate();\n message.owner = object.owner ?? \"\";\n message.certificate = (object.certificate !== undefined && object.certificate !== null)\n ? Certificate.fromPartial(object.certificate)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseGenesisState(): GenesisState {\n return { certificates: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.cert.v1.GenesisState\"> = {\n $type: \"akash.cert.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.certificates) {\n GenesisCertificate.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.certificates.push(GenesisCertificate.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n certificates: globalThis.Array.isArray(object?.certificates)\n ? object.certificates.map((e: any) => GenesisCertificate.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.certificates?.length) {\n obj.certificates = message.certificates.map((e) => GenesisCertificate.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.certificates = object.certificates?.map((e) => GenesisCertificate.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { bytesFromBase64, base64FromBytes, isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/deployment/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { DeploymentID } from \"./deployment.ts\";\nimport { GroupID } from \"./group.ts\";\n\n/**\n * EventDeploymentCreated event is triggered when deployment is created on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentCreated {\n /** ID is the unique identifier of the deployment. */\n id:\n | DeploymentID\n | undefined;\n /** Hash is an hashed representation of the deployment. */\n hash: Uint8Array;\n}\n\n/**\n * EventDeploymentUpdated is triggered when deployment is updated on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentUpdated {\n /** ID is the unique identifier of the deployment. */\n id:\n | DeploymentID\n | undefined;\n /** Hash is an hashed representation of the deployment. */\n hash: Uint8Array;\n}\n\n/**\n * EventDeploymentClosed is triggered when deployment is closed on chain.\n * It contains all the information required to identify a deployment.\n */\nexport interface EventDeploymentClosed {\n /** ID is the unique identifier of the deployment. */\n id: DeploymentID | undefined;\n}\n\n/**\n * EventGroupStarted is triggered when deployment group is started.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupStarted {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\n/**\n * EventGroupPaused is triggered when deployment group is paused.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupPaused {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\n/**\n * EventGroupClosed is triggered when deployment group is closed.\n * It contains all the information required to identify a group.\n */\nexport interface EventGroupClosed {\n /** ID is the unique identifier of the group. */\n id: GroupID | undefined;\n}\n\nfunction createBaseEventDeploymentCreated(): EventDeploymentCreated {\n return { id: undefined, hash: new Uint8Array(0) };\n}\n\nexport const EventDeploymentCreated: MessageFns<EventDeploymentCreated, \"akash.deployment.v1.EventDeploymentCreated\"> =\n {\n $type: \"akash.deployment.v1.EventDeploymentCreated\" as const,\n\n encode(message: EventDeploymentCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.hash.length !== 0) {\n writer.uint32(18).bytes(message.hash);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.hash = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentCreated {\n return {\n id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined,\n hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(0),\n };\n },\n\n toJSON(message: EventDeploymentCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n if (message.hash.length !== 0) {\n obj.hash = base64FromBytes(message.hash);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentCreated>): EventDeploymentCreated {\n const message = createBaseEventDeploymentCreated();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n message.hash = object.hash ?? new Uint8Array(0);\n return message;\n },\n };\n\nfunction createBaseEventDeploymentUpdated(): EventDeploymentUpdated {\n return { id: undefined, hash: new Uint8Array(0) };\n}\n\nexport const EventDeploymentUpdated: MessageFns<EventDeploymentUpdated, \"akash.deployment.v1.EventDeploymentUpdated\"> =\n {\n $type: \"akash.deployment.v1.EventDeploymentUpdated\" as const,\n\n encode(message: EventDeploymentUpdated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.hash.length !== 0) {\n writer.uint32(18).bytes(message.hash);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentUpdated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentUpdated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.hash = reader.bytes();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentUpdated {\n return {\n id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined,\n hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(0),\n };\n },\n\n toJSON(message: EventDeploymentUpdated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n if (message.hash.length !== 0) {\n obj.hash = base64FromBytes(message.hash);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentUpdated>): EventDeploymentUpdated {\n const message = createBaseEventDeploymentUpdated();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n message.hash = object.hash ?? new Uint8Array(0);\n return message;\n },\n };\n\nfunction createBaseEventDeploymentClosed(): EventDeploymentClosed {\n return { id: undefined };\n}\n\nexport const EventDeploymentClosed: MessageFns<EventDeploymentClosed, \"akash.deployment.v1.EventDeploymentClosed\"> = {\n $type: \"akash.deployment.v1.EventDeploymentClosed\" as const,\n\n encode(message: EventDeploymentClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DeploymentID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventDeploymentClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventDeploymentClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DeploymentID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventDeploymentClosed {\n return { id: isSet(object.id) ? DeploymentID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventDeploymentClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DeploymentID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventDeploymentClosed>): EventDeploymentClosed {\n const message = createBaseEventDeploymentClosed();\n message.id = (object.id !== undefined && object.id !== null) ? DeploymentID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupStarted(): EventGroupStarted {\n return { id: undefined };\n}\n\nexport const EventGroupStarted: MessageFns<EventGroupStarted, \"akash.deployment.v1.EventGroupStarted\"> = {\n $type: \"akash.deployment.v1.EventGroupStarted\" as const,\n\n encode(message: EventGroupStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupStarted {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupStarted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupStarted>): EventGroupStarted {\n const message = createBaseEventGroupStarted();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupPaused(): EventGroupPaused {\n return { id: undefined };\n}\n\nexport const EventGroupPaused: MessageFns<EventGroupPaused, \"akash.deployment.v1.EventGroupPaused\"> = {\n $type: \"akash.deployment.v1.EventGroupPaused\" as const,\n\n encode(message: EventGroupPaused, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupPaused {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupPaused();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupPaused {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupPaused): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupPaused>): EventGroupPaused {\n const message = createBaseEventGroupPaused();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventGroupClosed(): EventGroupClosed {\n return { id: undefined };\n}\n\nexport const EventGroupClosed: MessageFns<EventGroupClosed, \"akash.deployment.v1.EventGroupClosed\"> = {\n $type: \"akash.deployment.v1.EventGroupClosed\" as const,\n\n encode(message: EventGroupClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n GroupID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventGroupClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventGroupClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = GroupID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventGroupClosed {\n return { id: isSet(object.id) ? GroupID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventGroupClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = GroupID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventGroupClosed>): EventGroupClosed {\n const message = createBaseEventGroupClosed();\n message.id = (object.id !== undefined && object.id !== null) ? GroupID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction _unused_bytesFromBase64(b64: string): Uint8Array {\n if ((globalThis as any).Buffer) {\n return Uint8Array.from((globalThis as any).Buffer.from(b64, \"base64\"));\n } else {\n const bin = globalThis.atob(b64);\n const arr = new Uint8Array(bin.length);\n for (let i = 0; i < bin.length; ++i) {\n arr[i] = bin.charCodeAt(i);\n }\n return arr;\n }\n}\n\nfunction _unused_base64FromBytes(arr: Uint8Array): string {\n if ((globalThis as any).Buffer) {\n return (globalThis as any).Buffer.from(arr).toString(\"base64\");\n } else {\n const bin: string[] = [];\n arr.forEach((byte) => {\n bin.push(globalThis.String.fromCharCode(byte));\n });\n return globalThis.btoa(bin.join(\"\"));\n }\n}\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/escrow/v1/authz.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Coin } from \"../../../cosmos/base/v1beta1/coin.ts\";\n\n/**\n * DepositAuthorization allows the grantee to deposit up to spend_limit coins from\n * the granter's account for Akash deployments and bids. This authorization is used\n * within the Cosmos SDK authz module to grant scoped permissions for deposit operations.\n * The authorization can be restricted to specific scopes (deployment or bid) to limit\n * what types of deposits the grantee is authorized to make on behalf of the granter.\n */\nexport interface DepositAuthorization {\n /**\n * SpendLimit is the maximum amount the grantee is authorized to spend from the granter's account.\n * This limit applies cumulatively across all deposit operations within the authorized scopes.\n * Once this limit is reached, the authorization becomes invalid and no further deposits can be made.\n * Deprecated: use spend_limits instead\n */\n spendLimit:\n | Coin\n | undefined;\n /**\n * Scopes defines the specific types of deposit operations this authorization permits.\n * This provides fine-grained control over what operations\n * the grantee can perform using the granter's funds.\n */\n scopes: DepositAuthorization_Scope[];\n /**\n * SpendLimits specifies the maximum amount per denomination the grantee is authorized to spend.\n * Each entry represents the limit for a specific denomination, enforced independently.\n * Once an individual denomination's limit is exhausted, no further deposits can be made in that denomination.\n */\n spendLimits: Coin[];\n}\n\n/**\n * Scope defines the types of deposit operations that can be authorized.\n * This enum is used to restrict the authorization to specific deposit contexts,\n * allowing fine-grained permission control within the authz system.\n */\nexport enum DepositAuthorization_Scope {\n /** invalid - Prefix should start with 0 in enum. So declaring dummy state. */\n invalid = 0,\n /** deployment - DepositScopeDeployment allows deposits for deployment-related operations. */\n deployment = 1,\n /** bid - DepositScopeBid allows deposits for bid-related operations. */\n bid = 2,\n UNRECOGNIZED = -1,\n}\n\nexport function depositAuthorization_ScopeFromJSON(object: any): DepositAuthorization_Scope {\n switch (object) {\n case 0:\n case \"invalid\":\n return DepositAuthorization_Scope.invalid;\n case 1:\n case \"deployment\":\n return DepositAuthorization_Scope.deployment;\n case 2:\n case \"bid\":\n return DepositAuthorization_Scope.bid;\n case -1:\n case \"UNRECOGNIZED\":\n default:\n return DepositAuthorization_Scope.UNRECOGNIZED;\n }\n}\n\nexport function depositAuthorization_ScopeToJSON(object: DepositAuthorization_Scope): string {\n switch (object) {\n case DepositAuthorization_Scope.invalid:\n return \"invalid\";\n case DepositAuthorization_Scope.deployment:\n return \"deployment\";\n case DepositAuthorization_Scope.bid:\n return \"bid\";\n case DepositAuthorization_Scope.UNRECOGNIZED:\n default:\n return \"UNRECOGNIZED\";\n }\n}\n\nfunction createBaseDepositAuthorization(): DepositAuthorization {\n return { spendLimit: undefined, scopes: [], spendLimits: [] };\n}\n\nexport const DepositAuthorization: MessageFns<DepositAuthorization, \"akash.escrow.v1.DepositAuthorization\"> = {\n $type: \"akash.escrow.v1.DepositAuthorization\" as const,\n\n encode(message: DepositAuthorization, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.spendLimit !== undefined) {\n Coin.encode(message.spendLimit, writer.uint32(10).fork()).join();\n }\n for (const v of message.scopes) {\n writer.uint32(16).int32(v!);\n }\n for (const v of message.spendLimits) {\n Coin.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): DepositAuthorization {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseDepositAuthorization();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.spendLimit = Coin.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag === 16) {\n message.scopes.push(reader.int32() as any);\n\n continue;\n }\n\n if (tag === 18) {\n const end2 = reader.uint32() + reader.pos;\n while (reader.pos < end2) {\n message.scopes.push(reader.int32() as any);\n }\n\n continue;\n }\n\n break;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.spendLimits.push(Coin.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): DepositAuthorization {\n return {\n spendLimit: isSet(object.spend_limit) ? Coin.fromJSON(object.spend_limit) : undefined,\n scopes: globalThis.Array.isArray(object?.scopes)\n ? object.scopes.map((e: any) => depositAuthorization_ScopeFromJSON(e))\n : [],\n spendLimits: globalThis.Array.isArray(object?.spend_limits)\n ? object.spend_limits.map((e: any) => Coin.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: DepositAuthorization): unknown {\n const obj: any = {};\n if (message.spendLimit !== undefined) {\n obj.spend_limit = Coin.toJSON(message.spendLimit);\n }\n if (message.scopes?.length) {\n obj.scopes = message.scopes.map((e) => depositAuthorization_ScopeToJSON(e));\n }\n if (message.spendLimits?.length) {\n obj.spend_limits = message.spendLimits.map((e) => Coin.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<DepositAuthorization>): DepositAuthorization {\n const message = createBaseDepositAuthorization();\n message.spendLimit = (object.spendLimit !== undefined && object.spendLimit !== null)\n ? Coin.fromPartial(object.spendLimit)\n : undefined;\n message.scopes = object.scopes?.map((e) => e) || [];\n message.spendLimits = object.spendLimits?.map((e) => Coin.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/escrow/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Account } from \"../types/v1/account.ts\";\nimport { Payment } from \"../types/v1/payment.ts\";\n\n/** GenesisState defines the basic genesis state used by the escrow module. */\nexport interface GenesisState {\n /** Accounts is a list of accounts on the genesis state. */\n accounts: Account[];\n /** Payments is a list of fractional payments on the genesis state.. */\n payments: Payment[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { accounts: [], payments: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.escrow.v1.GenesisState\"> = {\n $type: \"akash.escrow.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.accounts) {\n Account.encode(v!, writer.uint32(10).fork()).join();\n }\n for (const v of message.payments) {\n Payment.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.accounts.push(Account.decode(reader, reader.uint32()));\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.payments.push(Payment.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Account.fromJSON(e)) : [],\n payments: globalThis.Array.isArray(object?.payments) ? object.payments.map((e: any) => Payment.fromJSON(e)) : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.accounts?.length) {\n obj.accounts = message.accounts.map((e) => Account.toJSON(e));\n }\n if (message.payments?.length) {\n obj.payments = message.payments.map((e) => Payment.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.accounts = object.accounts?.map((e) => Account.fromPartial(e)) || [];\n message.payments = object.payments?.map((e) => Payment.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/market/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { DecCoin } from \"../../../cosmos/base/v1beta1/coin.ts\";\nimport { BidID } from \"./bid.ts\";\nimport { LeaseID } from \"./lease.ts\";\nimport { OrderID } from \"./order.ts\";\nimport { LeaseClosedReason, leaseClosedReasonFromJSON, leaseClosedReasonToJSON } from \"./types.ts\";\n\n/**\n * EventOrderCreated is triggered when an order is created.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderCreated {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventOrderClosed is triggered when an order is closed.\n * It contains all the information required to identify an order.\n */\nexport interface EventOrderClosed {\n /** Id is the unique identifier of the Order. */\n id: OrderID | undefined;\n}\n\n/**\n * EventBidCreated is triggered when a bid is created.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidCreated {\n /** Id is the unique identifier of the Bid. */\n id:\n | BidID\n | undefined;\n /** Price stated on the Bid. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventBidClosed is triggered when a bid is closed.\n * It contains all the information required to identify a bid.\n */\nexport interface EventBidClosed {\n /** Id is the unique identifier of the Bid. */\n id: BidID | undefined;\n}\n\n/**\n * EventLeaseCreated is triggered when a lease is created.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseCreated {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** Price settled for the lease. */\n price: DecCoin | undefined;\n}\n\n/**\n * EventLeaseClosed is triggered when a lease is closed.\n * It contains all the information required to identify a lease.\n */\nexport interface EventLeaseClosed {\n /** Id is the unique identifier of the Lease. */\n id: LeaseID | undefined;\n reason: LeaseClosedReason;\n}\n\n/** EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease. */\nexport interface EventLeaseReclaimStarted {\n /** Id is the unique identifier of the Lease. */\n id:\n | LeaseID\n | undefined;\n /** reason is the provider's stated reason for reclamation. */\n reason: LeaseClosedReason;\n /** deadline is the unix timestamp when the reclamation window expires. */\n deadline: bigint;\n}\n\nfunction createBaseEventOrderCreated(): EventOrderCreated {\n return { id: undefined };\n}\n\nexport const EventOrderCreated: MessageFns<EventOrderCreated, \"akash.market.v1.EventOrderCreated\"> = {\n $type: \"akash.market.v1.EventOrderCreated\" as const,\n\n encode(message: EventOrderCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderCreated {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderCreated>): EventOrderCreated {\n const message = createBaseEventOrderCreated();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventOrderClosed(): EventOrderClosed {\n return { id: undefined };\n}\n\nexport const EventOrderClosed: MessageFns<EventOrderClosed, \"akash.market.v1.EventOrderClosed\"> = {\n $type: \"akash.market.v1.EventOrderClosed\" as const,\n\n encode(message: EventOrderClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n OrderID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventOrderClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventOrderClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = OrderID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventOrderClosed {\n return { id: isSet(object.id) ? OrderID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventOrderClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = OrderID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventOrderClosed>): EventOrderClosed {\n const message = createBaseEventOrderClosed();\n message.id = (object.id !== undefined && object.id !== null) ? OrderID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidCreated(): EventBidCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventBidCreated: MessageFns<EventBidCreated, \"akash.market.v1.EventBidCreated\"> = {\n $type: \"akash.market.v1.EventBidCreated\" as const,\n\n encode(message: EventBidCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidCreated {\n return {\n id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventBidCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidCreated>): EventBidCreated {\n const message = createBaseEventBidCreated();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventBidClosed(): EventBidClosed {\n return { id: undefined };\n}\n\nexport const EventBidClosed: MessageFns<EventBidClosed, \"akash.market.v1.EventBidClosed\"> = {\n $type: \"akash.market.v1.EventBidClosed\" as const,\n\n encode(message: EventBidClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n BidID.encode(message.id, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventBidClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventBidClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = BidID.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventBidClosed {\n return { id: isSet(object.id) ? BidID.fromJSON(object.id) : undefined };\n },\n\n toJSON(message: EventBidClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = BidID.toJSON(message.id);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventBidClosed>): EventBidClosed {\n const message = createBaseEventBidClosed();\n message.id = (object.id !== undefined && object.id !== null) ? BidID.fromPartial(object.id) : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseCreated(): EventLeaseCreated {\n return { id: undefined, price: undefined };\n}\n\nexport const EventLeaseCreated: MessageFns<EventLeaseCreated, \"akash.market.v1.EventLeaseCreated\"> = {\n $type: \"akash.market.v1.EventLeaseCreated\" as const,\n\n encode(message: EventLeaseCreated, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.price !== undefined) {\n DecCoin.encode(message.price, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseCreated {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseCreated();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.price = DecCoin.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseCreated {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n price: isSet(object.price) ? DecCoin.fromJSON(object.price) : undefined,\n };\n },\n\n toJSON(message: EventLeaseCreated): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.price !== undefined) {\n obj.price = DecCoin.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseCreated>): EventLeaseCreated {\n const message = createBaseEventLeaseCreated();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.price = (object.price !== undefined && object.price !== null)\n ? DecCoin.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventLeaseClosed(): EventLeaseClosed {\n return { id: undefined, reason: 0 };\n}\n\nexport const EventLeaseClosed: MessageFns<EventLeaseClosed, \"akash.market.v1.EventLeaseClosed\"> = {\n $type: \"akash.market.v1.EventLeaseClosed\" as const,\n\n encode(message: EventLeaseClosed, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseClosed {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseClosed();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseClosed {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n };\n },\n\n toJSON(message: EventLeaseClosed): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseClosed>): EventLeaseClosed {\n const message = createBaseEventLeaseClosed();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n return message;\n },\n};\n\nfunction createBaseEventLeaseReclaimStarted(): EventLeaseReclaimStarted {\n return { id: undefined, reason: 0, deadline: 0n };\n}\n\nexport const EventLeaseReclaimStarted: MessageFns<\n EventLeaseReclaimStarted,\n \"akash.market.v1.EventLeaseReclaimStarted\"\n> = {\n $type: \"akash.market.v1.EventLeaseReclaimStarted\" as const,\n\n encode(message: EventLeaseReclaimStarted, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n LeaseID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.reason !== 0) {\n writer.uint32(16).int32(message.reason);\n }\n if (message.deadline !== 0n) {\n if (BigInt.asIntN(64, message.deadline) !== message.deadline) {\n throw new globalThis.Error(\"value provided for field message.deadline of type int64 too large\");\n }\n writer.uint32(24).int64(message.deadline);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseReclaimStarted {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventLeaseReclaimStarted();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = LeaseID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.reason = reader.int32() as any;\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.deadline = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventLeaseReclaimStarted {\n return {\n id: isSet(object.id) ? LeaseID.fromJSON(object.id) : undefined,\n reason: isSet(object.reason) ? leaseClosedReasonFromJSON(object.reason) : 0,\n deadline: isSet(object.deadline) ? BigInt(object.deadline) : 0n,\n };\n },\n\n toJSON(message: EventLeaseReclaimStarted): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = LeaseID.toJSON(message.id);\n }\n if (message.reason !== 0) {\n obj.reason = leaseClosedReasonToJSON(message.reason);\n }\n if (message.deadline !== 0n) {\n obj.deadline = message.deadline.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventLeaseReclaimStarted>): EventLeaseReclaimStarted {\n const message = createBaseEventLeaseReclaimStarted();\n message.id = (object.id !== undefined && object.id !== null) ? LeaseID.fromPartial(object.id) : undefined;\n message.reason = object.reason ?? 0;\n message.deadline = (object.deadline !== undefined && object.deadline !== null) ? BigInt(object.deadline) : 0n;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/oracle/v1/events.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { AggregatedPrice, DataID, PriceDataState } from \"./prices.ts\";\n\n/** EventPriceData is emitted when new price data is added to the oracle */\nexport interface EventPriceData {\n /** source is the address of the price source (oracle provider) */\n source: string;\n /** id identifies the price pair (denom and base_denom) */\n id:\n | DataID\n | undefined;\n /** data contains the price value and timestamp */\n data: PriceDataState | undefined;\n}\n\n/** EventPriceStaleWarning is emitted when price has not been updated and is about to become stale */\nexport interface EventPriceStaleWarning {\n /** source is the address of the price source */\n source: string;\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** last_height is the block height when the price was last updated */\n lastHeight: bigint;\n /** blocks_to_stall is the number of blocks until the price becomes stale */\n blocksToStall: bigint;\n}\n\n/** EventPriceStaled is emitted when a price has become stale */\nexport interface EventPriceStaled {\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** last_height is the block height when the price was last updated before becoming stale */\n lastHeight: bigint;\n}\n\n/** EventPriceRecovered is emitted when a stale price has started receiving updates again */\nexport interface EventPriceRecovered {\n /** id identifies the price pair */\n id:\n | DataID\n | undefined;\n /** height is the block height when the price recovery was detected */\n height: bigint;\n}\n\n/** EventAggregatedPrice is emitted when aggregated price has an update */\nexport interface EventAggregatedPrice {\n price: AggregatedPrice | undefined;\n}\n\nfunction createBaseEventPriceData(): EventPriceData {\n return { source: \"\", id: undefined, data: undefined };\n}\n\nexport const EventPriceData: MessageFns<EventPriceData, \"akash.oracle.v1.EventPriceData\"> = {\n $type: \"akash.oracle.v1.EventPriceData\" as const,\n\n encode(message: EventPriceData, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.source !== \"\") {\n writer.uint32(10).string(message.source);\n }\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(18).fork()).join();\n }\n if (message.data !== undefined) {\n PriceDataState.encode(message.data, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceData {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceData();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.data = PriceDataState.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceData {\n return {\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n data: isSet(object.data) ? PriceDataState.fromJSON(object.data) : undefined,\n };\n },\n\n toJSON(message: EventPriceData): unknown {\n const obj: any = {};\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.data !== undefined) {\n obj.data = PriceDataState.toJSON(message.data);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceData>): EventPriceData {\n const message = createBaseEventPriceData();\n message.source = object.source ?? \"\";\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.data = (object.data !== undefined && object.data !== null)\n ? PriceDataState.fromPartial(object.data)\n : undefined;\n return message;\n },\n};\n\nfunction createBaseEventPriceStaleWarning(): EventPriceStaleWarning {\n return { source: \"\", id: undefined, lastHeight: 0n, blocksToStall: 0n };\n}\n\nexport const EventPriceStaleWarning: MessageFns<EventPriceStaleWarning, \"akash.oracle.v1.EventPriceStaleWarning\"> = {\n $type: \"akash.oracle.v1.EventPriceStaleWarning\" as const,\n\n encode(message: EventPriceStaleWarning, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.source !== \"\") {\n writer.uint32(10).string(message.source);\n }\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(18).fork()).join();\n }\n if (message.lastHeight !== 0n) {\n if (BigInt.asIntN(64, message.lastHeight) !== message.lastHeight) {\n throw new globalThis.Error(\"value provided for field message.lastHeight of type int64 too large\");\n }\n writer.uint32(24).int64(message.lastHeight);\n }\n if (message.blocksToStall !== 0n) {\n if (BigInt.asIntN(64, message.blocksToStall) !== message.blocksToStall) {\n throw new globalThis.Error(\"value provided for field message.blocksToStall of type int64 too large\");\n }\n writer.uint32(32).int64(message.blocksToStall);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceStaleWarning {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceStaleWarning();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.source = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n\n message.lastHeight = reader.int64() as bigint;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n\n message.blocksToStall = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceStaleWarning {\n return {\n source: isSet(object.source) ? globalThis.String(object.source) : \"\",\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n lastHeight: isSet(object.last_height) ? BigInt(object.last_height) : 0n,\n blocksToStall: isSet(object.blocks_to_stall) ? BigInt(object.blocks_to_stall) : 0n,\n };\n },\n\n toJSON(message: EventPriceStaleWarning): unknown {\n const obj: any = {};\n if (message.source !== \"\") {\n obj.source = message.source;\n }\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.lastHeight !== 0n) {\n obj.last_height = message.lastHeight.toString();\n }\n if (message.blocksToStall !== 0n) {\n obj.blocks_to_stall = message.blocksToStall.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceStaleWarning>): EventPriceStaleWarning {\n const message = createBaseEventPriceStaleWarning();\n message.source = object.source ?? \"\";\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.lastHeight = (object.lastHeight !== undefined && object.lastHeight !== null)\n ? BigInt(object.lastHeight)\n : 0n;\n message.blocksToStall = (object.blocksToStall !== undefined && object.blocksToStall !== null)\n ? BigInt(object.blocksToStall)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventPriceStaled(): EventPriceStaled {\n return { id: undefined, lastHeight: 0n };\n}\n\nexport const EventPriceStaled: MessageFns<EventPriceStaled, \"akash.oracle.v1.EventPriceStaled\"> = {\n $type: \"akash.oracle.v1.EventPriceStaled\" as const,\n\n encode(message: EventPriceStaled, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.lastHeight !== 0n) {\n if (BigInt.asIntN(64, message.lastHeight) !== message.lastHeight) {\n throw new globalThis.Error(\"value provided for field message.lastHeight of type int64 too large\");\n }\n writer.uint32(16).int64(message.lastHeight);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceStaled {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceStaled();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.lastHeight = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceStaled {\n return {\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n lastHeight: isSet(object.last_height) ? BigInt(object.last_height) : 0n,\n };\n },\n\n toJSON(message: EventPriceStaled): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.lastHeight !== 0n) {\n obj.last_height = message.lastHeight.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceStaled>): EventPriceStaled {\n const message = createBaseEventPriceStaled();\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.lastHeight = (object.lastHeight !== undefined && object.lastHeight !== null)\n ? BigInt(object.lastHeight)\n : 0n;\n return message;\n },\n};\n\nfunction createBaseEventPriceRecovered(): EventPriceRecovered {\n return { id: undefined, height: 0n };\n}\n\nexport const EventPriceRecovered: MessageFns<EventPriceRecovered, \"akash.oracle.v1.EventPriceRecovered\"> = {\n $type: \"akash.oracle.v1.EventPriceRecovered\" as const,\n\n encode(message: EventPriceRecovered, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== undefined) {\n DataID.encode(message.id, writer.uint32(10).fork()).join();\n }\n if (message.height !== 0n) {\n if (BigInt.asIntN(64, message.height) !== message.height) {\n throw new globalThis.Error(\"value provided for field message.height of type int64 too large\");\n }\n writer.uint32(16).int64(message.height);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventPriceRecovered {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventPriceRecovered();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.id = DataID.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n\n message.height = reader.int64() as bigint;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventPriceRecovered {\n return {\n id: isSet(object.id) ? DataID.fromJSON(object.id) : undefined,\n height: isSet(object.height) ? BigInt(object.height) : 0n,\n };\n },\n\n toJSON(message: EventPriceRecovered): unknown {\n const obj: any = {};\n if (message.id !== undefined) {\n obj.id = DataID.toJSON(message.id);\n }\n if (message.height !== 0n) {\n obj.height = message.height.toString();\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventPriceRecovered>): EventPriceRecovered {\n const message = createBaseEventPriceRecovered();\n message.id = (object.id !== undefined && object.id !== null) ? DataID.fromPartial(object.id) : undefined;\n message.height = (object.height !== undefined && object.height !== null) ? BigInt(object.height) : 0n;\n return message;\n },\n};\n\nfunction createBaseEventAggregatedPrice(): EventAggregatedPrice {\n return { price: undefined };\n}\n\nexport const EventAggregatedPrice: MessageFns<EventAggregatedPrice, \"akash.oracle.v1.EventAggregatedPrice\"> = {\n $type: \"akash.oracle.v1.EventAggregatedPrice\" as const,\n\n encode(message: EventAggregatedPrice, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.price !== undefined) {\n AggregatedPrice.encode(message.price, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventAggregatedPrice {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventAggregatedPrice();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.price = AggregatedPrice.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventAggregatedPrice {\n return { price: isSet(object.price) ? AggregatedPrice.fromJSON(object.price) : undefined };\n },\n\n toJSON(message: EventAggregatedPrice): unknown {\n const obj: any = {};\n if (message.price !== undefined) {\n obj.price = AggregatedPrice.toJSON(message.price);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventAggregatedPrice>): EventAggregatedPrice {\n const message = createBaseEventAggregatedPrice();\n message.price = (object.price !== undefined && object.price !== null)\n ? AggregatedPrice.fromPartial(object.price)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/oracle/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\nimport { PriceData, PriceDataID } from \"./prices.ts\";\n\n/** GenesisState defines the oracle module's genesis state */\nexport interface GenesisState {\n /** params holds the oracle module parameters */\n params:\n | Params\n | undefined;\n /** prices is the list of all historical price data entries */\n prices: PriceData[];\n /** latest_height tracks the most recent block height for each price feed source */\n latestHeight: PriceDataID[];\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined, prices: [], latestHeight: [] };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.oracle.v1.GenesisState\"> = {\n $type: \"akash.oracle.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n for (const v of message.prices) {\n PriceData.encode(v!, writer.uint32(18).fork()).join();\n }\n for (const v of message.latestHeight) {\n PriceDataID.encode(v!, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.prices.push(PriceData.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.latestHeight.push(PriceDataID.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return {\n params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,\n prices: globalThis.Array.isArray(object?.prices) ? object.prices.map((e: any) => PriceData.fromJSON(e)) : [],\n latestHeight: globalThis.Array.isArray(object?.latest_height)\n ? object.latest_height.map((e: any) => PriceDataID.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n if (message.prices?.length) {\n obj.prices = message.prices.map((e) => PriceData.toJSON(e));\n }\n if (message.latestHeight?.length) {\n obj.latest_height = message.latestHeight.map((e) => PriceDataID.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n message.prices = object.prices?.map((e) => PriceData.fromPartial(e)) || [];\n message.latestHeight = object.latestHeight?.map((e) => PriceDataID.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/take/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\n\n/** GenesisState stores slice of genesis staking parameters. */\nexport interface GenesisState {\n /** Params holds parameters of the genesis of staking. */\n params: Params | undefined;\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.take.v1.GenesisState\"> = {\n $type: \"akash.take.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/wasm/v1/event.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/**\n * EventMsgBlocked is triggered when smart contract does not\n * pass message filter\n */\nexport interface EventMsgBlocked {\n contractAddress: string;\n msgType: string;\n reason: string;\n}\n\nfunction createBaseEventMsgBlocked(): EventMsgBlocked {\n return { contractAddress: \"\", msgType: \"\", reason: \"\" };\n}\n\nexport const EventMsgBlocked: MessageFns<EventMsgBlocked, \"akash.wasm.v1.EventMsgBlocked\"> = {\n $type: \"akash.wasm.v1.EventMsgBlocked\" as const,\n\n encode(message: EventMsgBlocked, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.contractAddress !== \"\") {\n writer.uint32(10).string(message.contractAddress);\n }\n if (message.msgType !== \"\") {\n writer.uint32(18).string(message.msgType);\n }\n if (message.reason !== \"\") {\n writer.uint32(26).string(message.reason);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): EventMsgBlocked {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseEventMsgBlocked();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.contractAddress = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.msgType = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.reason = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): EventMsgBlocked {\n return {\n contractAddress: isSet(object.contract_address) ? globalThis.String(object.contract_address) : \"\",\n msgType: isSet(object.msg_type) ? globalThis.String(object.msg_type) : \"\",\n reason: isSet(object.reason) ? globalThis.String(object.reason) : \"\",\n };\n },\n\n toJSON(message: EventMsgBlocked): unknown {\n const obj: any = {};\n if (message.contractAddress !== \"\") {\n obj.contract_address = message.contractAddress;\n }\n if (message.msgType !== \"\") {\n obj.msg_type = message.msgType;\n }\n if (message.reason !== \"\") {\n obj.reason = message.reason;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<EventMsgBlocked>): EventMsgBlocked {\n const message = createBaseEventMsgBlocked();\n message.contractAddress = object.contractAddress ?? \"\";\n message.msgType = object.msgType ?? \"\";\n message.reason = object.reason ?? \"\";\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n", "import { isSet } from \"../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/wasm/v1/genesis.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Params } from \"./params.ts\";\n\n/** GenesisState stores slice of genesis wasm parameters. */\nexport interface GenesisState {\n /** Params holds parameters of the genesis of akash wasm. */\n params: Params | undefined;\n}\n\nfunction createBaseGenesisState(): GenesisState {\n return { params: undefined };\n}\n\nexport const GenesisState: MessageFns<GenesisState, \"akash.wasm.v1.GenesisState\"> = {\n $type: \"akash.wasm.v1.GenesisState\" as const,\n\n encode(message: GenesisState, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.params !== undefined) {\n Params.encode(message.params, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): GenesisState {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseGenesisState();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.params = Params.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): GenesisState {\n return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };\n },\n\n toJSON(message: GenesisState): unknown {\n const obj: any = {};\n if (message.params !== undefined) {\n obj.params = Params.toJSON(message.params);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<GenesisState>): GenesisState {\n const message = createBaseGenesisState();\n message.params = (object.params !== undefined && object.params !== null)\n ? Params.fromPartial(object.params)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,cAAc,oBAAoB;AA0C3C,SAAS,uCAAmE;AAC1E,SAAO,EAAE,OAAO,IAAI,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O,EAAE,EAAE,KAAK,CAAC,EAAE,KAAK;AAAA,IAC/D;AACA,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAA+B;AACtE,UAAM,SAAS,iBAAiBC,iBAAe,QAAQ,IAAIA,eAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAUJ,wBAAuB;AACvC,WAAO,OAAO,MAAM,KAAK;AACvB,YAAM,MAAM,OAAO,OAAO;AAC1B,cAAQ,QAAQ,GAAG;AAAA,QACjB,KAAK,GAAG;AACN,cAAI,QAAQ,IAAI;AACd;AAAA,UACF;AAEA,kBAAQ,SAASG,QAAO,OAAO,QAAQ,OAAO,OAAO,CAAC;AACtD;AAAA,QACF;AAAA,MACF;AACA,WAAK,MAAM,OAAO,KAAK,QAAQ,GAAG;AAChC;AAAA,MACF;AACA,aAAO,KAAK,MAAM,CAAC;AAAA,IACrB;AACA,WAAO;AAAA,EACT;AAAA,EAEA,SAAS,QAA2B;AAClC,WAAO,EAAE,QAAQ,MAAM,OAAO,MAAM,IAAIA,QAAO,SAAS,OAAO,MAAM,IAAI,OAAU;AAAA,EACrF;AAAA,EAEA,OAAO,SAAgC;AACrC,UAAM,MAAW,CAAC;AAClB,QAAI,QAAQ,WAAW,QAAW;AAChC,UAAI,SAASA,QAAO,OAAO,QAAQ,MAAM;AAAA,IAC3C;AACA,WAAO;AAAA,EACT;AAAA,EACA,YAAY,QAAiD;AAC3D,UAAM,UAAUH,wBAAuB;AACvC,YAAQ,SAAU,OAAO,WAAW,UAAa,OAAO,WAAW,OAC/DG,QAAO,YAAY,OAAO,MAAM,IAChC;AACJ,WAAO;AAAA,EACT;AACF;",
6
+ "names": ["BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "createBaseGenesisState", "GenesisState", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "createBaseGenesisState", "GenesisState", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "DepositAuthorization_Scope", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Account", "Payment", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryWriter", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader", "BinaryReader", "BinaryWriter", "BinaryReader", "BinaryWriter", "createBaseGenesisState", "GenesisState", "BinaryWriter", "Params", "BinaryReader"]
7
7
  }