@akashnetwork/chain-sdk 1.0.0-alpha.41 → 1.0.0-alpha.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/createNodeSDK.cjs +328 -5
- package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
- package/dist/cjs/generated/createProviderSDK.cjs +36 -19
- package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +6 -0
- package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +18 -2
- package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +943 -0
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +50 -0
- package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs +159 -2
- package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +248 -0
- package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs +6 -0
- package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +139 -1
- package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +9 -0
- package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +266 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +71 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +417 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +321 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +96 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +132 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +88 -1
- package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +462 -1
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +36 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +25 -0
- package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +2525 -0
- package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +253 -0
- package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +2774 -0
- package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +1044 -0
- package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +1559 -0
- package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +147 -0
- package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +7 -0
- package/dist/cjs/{sdl/types.cjs → generated/protos/akash/verification/v1/service.cjs} +3 -3
- package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +190 -0
- package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +2018 -0
- package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +1071 -0
- package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +7 -0
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +148 -0
- package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +7 -0
- package/dist/cjs/generated/protos/index.akash.v1.cjs +166 -25
- package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +25 -0
- package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
- package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +9 -0
- package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
- package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
- package/dist/cjs/sdl/duration.cjs +44 -0
- package/dist/cjs/sdl/duration.cjs.map +7 -0
- package/dist/cjs/sdl/httpTimeout.cjs +59 -0
- package/dist/cjs/sdl/httpTimeout.cjs.map +7 -0
- package/dist/cjs/sdl/index.cjs +0 -2
- package/dist/cjs/sdl/index.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -1
- package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +11 -0
- package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
- package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
- package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
- package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
- package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
- package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
- package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
- package/dist/esm/chunk-2NPYA3YV.js +1563 -0
- package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
- package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
- package/dist/esm/chunk-474YCD2T.js +356 -0
- package/dist/esm/chunk-474YCD2T.js.map +7 -0
- package/dist/esm/chunk-4CTTYO4O.js +890 -0
- package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
- package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
- package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
- package/dist/esm/{chunk-UHI2V2WP.js → chunk-5VWXQLXG.js} +1331 -489
- package/dist/esm/chunk-5VWXQLXG.js.map +7 -0
- package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
- package/dist/esm/chunk-AIWCRXMP.js +672 -0
- package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
- package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
- package/dist/esm/chunk-BI4YL5KH.js +2742 -0
- package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
- package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
- package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
- package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
- package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
- package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
- package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
- package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
- package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
- package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
- package/dist/esm/chunk-IFKY7FXY.js +484 -0
- package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
- package/dist/esm/chunk-J4CJEGEM.js +3016 -0
- package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
- package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
- package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
- package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
- package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
- package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
- package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
- package/dist/esm/chunk-PEHPXXTS.js +1053 -0
- package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
- package/dist/esm/chunk-PTMMQODC.js +760 -0
- package/dist/esm/chunk-PTMMQODC.js.map +7 -0
- package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
- package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
- package/dist/esm/chunk-PYD5MY63.js.map +7 -0
- package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
- package/dist/esm/chunk-SK7LOVVI.js +660 -0
- package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
- package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
- package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
- package/dist/esm/chunk-VYCICKFV.js +698 -0
- package/dist/esm/chunk-VYCICKFV.js.map +7 -0
- package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
- package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
- package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
- package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
- package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
- package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
- package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
- package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
- package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
- package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
- package/dist/esm/generated/protos/index.akash.v2.js +4 -4
- package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
- package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
- package/dist/esm/index.js +54 -36
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.web.js +14 -13
- package/dist/esm/index.web.js.map +1 -1
- package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
- package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
- package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
- package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
- package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
- package/dist/esm/query_akash-KU4YCMUU.js +85 -0
- package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
- package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
- package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
- package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
- package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
- package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
- package/dist/esm/query_akash-XYSUQTZC.js +164 -0
- package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
- package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
- package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
- package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
- package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
- package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
- package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
- package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
- package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
- package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
- package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
- package/dist/esm/service_akash-KYLB3OP3.js +78 -0
- package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
- package/dist/esm/service_akash-LJBOWZZG.js +221 -0
- package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
- package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
- package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
- package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
- package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
- package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
- package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
- package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
- package/dist/sdl-schema.yaml +84 -8
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/generated/createNodeSDK.d.ts +473 -0
- package/dist/types/generated/createProviderSDK.d.ts +31 -0
- package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
- package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
- package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
- package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
- package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
- package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
- package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
- package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
- package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
- package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
- package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
- package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
- package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
- package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
- package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
- package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
- package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
- package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
- package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
- package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
- package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
- package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
- package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
- package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
- package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
- package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
- package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
- package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
- package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
- package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
- package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
- package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
- package/dist/types/sdl/duration.d.ts +13 -0
- package/dist/types/sdl/httpTimeout.d.ts +10 -0
- package/dist/types/sdl/index.d.ts +0 -1
- package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
- package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
- package/package.json +1 -1
- package/dist/cjs/sdl/types.cjs.map +0 -7
- package/dist/esm/chunk-C3WV6GJ6.js +0 -234
- package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
- package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
- package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
- package/dist/esm/chunk-E7KECYS7.js.map +0 -7
- package/dist/esm/chunk-IVLF3VVZ.js +0 -364
- package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
- package/dist/esm/chunk-MV27RM25.js +0 -368
- package/dist/esm/chunk-MV27RM25.js.map +0 -7
- package/dist/esm/chunk-S2CZQ6AM.js +0 -211
- package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
- package/dist/esm/chunk-SXGU4O34.js +0 -258
- package/dist/esm/chunk-SXGU4O34.js.map +0 -7
- package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
- package/dist/esm/chunk-V42TLXWK.js +0 -177
- package/dist/esm/chunk-V42TLXWK.js.map +0 -7
- package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
- package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
- package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
- package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
- package/dist/esm/service_akash-5AUMDLU5.js +0 -46
- package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
- package/dist/types/sdl/types.d.ts +0 -305
- /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
- /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
- /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
- /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
- /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
- /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
- /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
- /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
- /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
- /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
- /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
- /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
- /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
- /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
- /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
- /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
- /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
- /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
- /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
- /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
- /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
- /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
- /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
- /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
- /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
- /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
- /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
- /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
- /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
- /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MsgUpdateParams as MsgUpdateParams5,
|
|
3
|
+
MsgUpdateParamsResponse as MsgUpdateParamsResponse5
|
|
4
|
+
} from "../../chunk-2CIRAU4H.js";
|
|
1
5
|
import {
|
|
2
6
|
QueryParamsRequest as QueryParamsRequest3,
|
|
3
7
|
QueryParamsResponse as QueryParamsResponse3
|
|
@@ -11,22 +15,102 @@ import {
|
|
|
11
15
|
Params as Params3
|
|
12
16
|
} from "../../chunk-P6UH4F4M.js";
|
|
13
17
|
import {
|
|
18
|
+
QueryAttestationRequest,
|
|
19
|
+
QueryAttestationResponse,
|
|
20
|
+
QueryAuditEscrowRequest,
|
|
21
|
+
QueryAuditEscrowResponse,
|
|
22
|
+
QueryAuditorAttestationsRequest,
|
|
23
|
+
QueryAuditorAttestationsResponse,
|
|
24
|
+
QueryAuditorRequest,
|
|
25
|
+
QueryAuditorResponse,
|
|
26
|
+
QueryAuditorsRequest,
|
|
27
|
+
QueryAuditorsResponse,
|
|
28
|
+
QueryDiscrepanciesRequest,
|
|
29
|
+
QueryDiscrepanciesResponse,
|
|
30
|
+
QueryDiscrepancyRequest,
|
|
31
|
+
QueryDiscrepancyResponse,
|
|
14
32
|
QueryParamsRequest as QueryParamsRequest4,
|
|
15
|
-
QueryParamsResponse as QueryParamsResponse4
|
|
16
|
-
|
|
33
|
+
QueryParamsResponse as QueryParamsResponse4,
|
|
34
|
+
QueryProviderAttestationsRequest,
|
|
35
|
+
QueryProviderAttestationsResponse,
|
|
36
|
+
QueryProviderAuditEscrowsRequest,
|
|
37
|
+
QueryProviderAuditEscrowsResponse,
|
|
38
|
+
QueryProviderBondRequest,
|
|
39
|
+
QueryProviderBondResponse,
|
|
40
|
+
QueryProviderSnapshotRequest,
|
|
41
|
+
QueryProviderSnapshotResponse,
|
|
42
|
+
QueryProviderVerificationGraceRequest,
|
|
43
|
+
QueryProviderVerificationGraceResponse
|
|
44
|
+
} from "../../chunk-2NPYA3YV.js";
|
|
17
45
|
import {
|
|
46
|
+
MsgCancelAuditEscrow,
|
|
47
|
+
MsgCancelAuditEscrowResponse,
|
|
48
|
+
MsgOpenAuditEscrow,
|
|
49
|
+
MsgOpenAuditEscrowResponse,
|
|
50
|
+
MsgPostAuditorBond,
|
|
51
|
+
MsgPostAuditorBondResponse,
|
|
52
|
+
MsgPostProviderBond,
|
|
53
|
+
MsgPostProviderBondResponse,
|
|
54
|
+
MsgPostSnapshotHash,
|
|
55
|
+
MsgPostSnapshotHashResponse,
|
|
56
|
+
MsgRegisterAuditor,
|
|
57
|
+
MsgRegisterAuditorResponse,
|
|
58
|
+
MsgRemoveAttestation,
|
|
59
|
+
MsgRemoveAttestationResponse,
|
|
60
|
+
MsgRemoveAuditor,
|
|
61
|
+
MsgRemoveAuditorResponse,
|
|
62
|
+
MsgRenewAuditor,
|
|
63
|
+
MsgRenewAuditorResponse,
|
|
64
|
+
MsgResignAuditor,
|
|
65
|
+
MsgResignAuditorResponse,
|
|
66
|
+
MsgResolveDiscrepancy,
|
|
67
|
+
MsgResolveDiscrepancyResponse,
|
|
68
|
+
MsgRevokeAllProviderAttestations,
|
|
69
|
+
MsgRevokeAllProviderAttestationsResponse,
|
|
70
|
+
MsgRevokeAttestation,
|
|
71
|
+
MsgRevokeAttestationResponse,
|
|
72
|
+
MsgRevokeAuditorAttestations,
|
|
73
|
+
MsgRevokeAuditorAttestationsResponse,
|
|
74
|
+
MsgRevokeProviderAttestation,
|
|
75
|
+
MsgRevokeProviderAttestationResponse,
|
|
76
|
+
MsgSettleAuditEscrow,
|
|
77
|
+
MsgSettleAuditEscrowResponse,
|
|
78
|
+
MsgSlashProviderBond,
|
|
79
|
+
MsgSlashProviderBondResponse,
|
|
80
|
+
MsgSubmitAttestation,
|
|
81
|
+
MsgSubmitAttestationResponse,
|
|
18
82
|
MsgUpdateParams as MsgUpdateParams4,
|
|
19
|
-
MsgUpdateParamsResponse as MsgUpdateParamsResponse4
|
|
20
|
-
|
|
83
|
+
MsgUpdateParamsResponse as MsgUpdateParamsResponse4,
|
|
84
|
+
MsgWithdrawProviderBond,
|
|
85
|
+
MsgWithdrawProviderBondResponse
|
|
86
|
+
} from "../../chunk-BI4YL5KH.js";
|
|
21
87
|
import {
|
|
22
|
-
|
|
88
|
+
AttestationRecord,
|
|
89
|
+
AuditEscrowRecord,
|
|
90
|
+
AuditorRecord,
|
|
91
|
+
DiscrepancyEvent,
|
|
92
|
+
Params as Params4,
|
|
93
|
+
ProviderBondRecord,
|
|
94
|
+
ProviderSnapshotRecord,
|
|
95
|
+
ProviderVerificationGraceRecord,
|
|
96
|
+
ResourceSummary,
|
|
97
|
+
SoftwareIdentity,
|
|
98
|
+
UnbondingEntry,
|
|
99
|
+
VerificationStoreRecord
|
|
100
|
+
} from "../../chunk-J4CJEGEM.js";
|
|
101
|
+
import {
|
|
102
|
+
QueryParamsRequest as QueryParamsRequest5,
|
|
103
|
+
QueryParamsResponse as QueryParamsResponse5
|
|
104
|
+
} from "../../chunk-3TLFAPPK.js";
|
|
105
|
+
import {
|
|
106
|
+
Params as Params5
|
|
23
107
|
} from "../../chunk-5SGBRXUR.js";
|
|
24
108
|
import {
|
|
25
109
|
QueryAccountsRequest,
|
|
26
110
|
QueryAccountsResponse,
|
|
27
111
|
QueryPaymentsRequest,
|
|
28
112
|
QueryPaymentsResponse
|
|
29
|
-
} from "../../chunk-
|
|
113
|
+
} from "../../chunk-3U5XKNEU.js";
|
|
30
114
|
import {
|
|
31
115
|
MsgAccountDeposit,
|
|
32
116
|
MsgAccountDepositResponse
|
|
@@ -36,13 +120,13 @@ import {
|
|
|
36
120
|
QueryAggregatedPriceResponse,
|
|
37
121
|
QueryParamsRequest as QueryParamsRequest2,
|
|
38
122
|
QueryParamsResponse as QueryParamsResponse2
|
|
39
|
-
} from "../../chunk-
|
|
123
|
+
} from "../../chunk-HRN6NSO2.js";
|
|
40
124
|
import {
|
|
41
125
|
MsgAddPriceEntry,
|
|
42
126
|
MsgAddPriceEntryResponse,
|
|
43
127
|
MsgUpdateParams as MsgUpdateParams2,
|
|
44
128
|
MsgUpdateParamsResponse as MsgUpdateParamsResponse2
|
|
45
|
-
} from "../../chunk-
|
|
129
|
+
} from "../../chunk-RJZ46VHV.js";
|
|
46
130
|
import {
|
|
47
131
|
AggregatedPrice,
|
|
48
132
|
DataID,
|
|
@@ -55,7 +139,7 @@ import {
|
|
|
55
139
|
PricesFilter,
|
|
56
140
|
QueryPricesRequest,
|
|
57
141
|
QueryPricesResponse
|
|
58
|
-
} from "../../chunk-
|
|
142
|
+
} from "../../chunk-M5P5LAJJ.js";
|
|
59
143
|
import {
|
|
60
144
|
LedgerRecordFilters,
|
|
61
145
|
QueryLedgerRecordEntry,
|
|
@@ -67,7 +151,7 @@ import {
|
|
|
67
151
|
QueryStatusResponse,
|
|
68
152
|
QueryVaultStateRequest,
|
|
69
153
|
QueryVaultStateResponse
|
|
70
|
-
} from "../../chunk-
|
|
154
|
+
} from "../../chunk-DCLXPAMC.js";
|
|
71
155
|
import {
|
|
72
156
|
MsgBurnACT,
|
|
73
157
|
MsgBurnACTResponse,
|
|
@@ -79,7 +163,7 @@ import {
|
|
|
79
163
|
MsgMintACTResponse,
|
|
80
164
|
MsgUpdateParams,
|
|
81
165
|
MsgUpdateParamsResponse
|
|
82
|
-
} from "../../chunk-
|
|
166
|
+
} from "../../chunk-WNFIFYG2.js";
|
|
83
167
|
import {
|
|
84
168
|
BurnMintPair,
|
|
85
169
|
CoinPrice,
|
|
@@ -99,7 +183,7 @@ import {
|
|
|
99
183
|
ledgerCanceledRecord_BMCancelReasonToJSON,
|
|
100
184
|
mintStatusFromJSON,
|
|
101
185
|
mintStatusToJSON
|
|
102
|
-
} from "../../chunk-
|
|
186
|
+
} from "../../chunk-P64VHYRM.js";
|
|
103
187
|
import {
|
|
104
188
|
CertificateFilter,
|
|
105
189
|
CertificateResponse,
|
|
@@ -135,24 +219,26 @@ import {
|
|
|
135
219
|
QueryProviderAuditorRequest,
|
|
136
220
|
QueryProviderRequest,
|
|
137
221
|
QueryProvidersResponse
|
|
138
|
-
} from "../../chunk-
|
|
222
|
+
} from "../../chunk-GRGSTKN3.js";
|
|
139
223
|
import {
|
|
140
224
|
MsgDeleteProviderAttributes,
|
|
141
225
|
MsgDeleteProviderAttributesResponse,
|
|
142
226
|
MsgSignProviderAttributes,
|
|
143
227
|
MsgSignProviderAttributesResponse
|
|
144
|
-
} from "../../chunk-
|
|
228
|
+
} from "../../chunk-NNB5QBR2.js";
|
|
145
229
|
import {
|
|
146
230
|
GroupID
|
|
147
231
|
} from "../../chunk-2WQH66GJ.js";
|
|
148
232
|
import {
|
|
149
233
|
LeaseFilters,
|
|
150
|
-
OrderID
|
|
151
|
-
|
|
234
|
+
OrderID,
|
|
235
|
+
ProviderLeaseStats,
|
|
236
|
+
ProviderLeaseStatsByReason
|
|
237
|
+
} from "../../chunk-IFKY7FXY.js";
|
|
152
238
|
import {
|
|
153
239
|
Payment as Payment2,
|
|
154
240
|
PaymentState
|
|
155
|
-
} from "../../chunk-
|
|
241
|
+
} from "../../chunk-F4IQOYFH.js";
|
|
156
242
|
import {
|
|
157
243
|
BidID
|
|
158
244
|
} from "../../chunk-DCODTSWU.js";
|
|
@@ -164,14 +250,14 @@ import {
|
|
|
164
250
|
Reclamation,
|
|
165
251
|
leaseClosedReasonFromJSON,
|
|
166
252
|
leaseClosedReasonToJSON
|
|
167
|
-
} from "../../chunk-
|
|
253
|
+
} from "../../chunk-IEWLP7PR.js";
|
|
168
254
|
import {
|
|
169
255
|
Account as Account2,
|
|
170
256
|
AccountState,
|
|
171
257
|
Balance,
|
|
172
258
|
Depositor,
|
|
173
259
|
State
|
|
174
|
-
} from "../../chunk-
|
|
260
|
+
} from "../../chunk-57534UAR.js";
|
|
175
261
|
import {
|
|
176
262
|
Account,
|
|
177
263
|
Payment,
|
|
@@ -190,8 +276,48 @@ import {
|
|
|
190
276
|
import {
|
|
191
277
|
Attribute,
|
|
192
278
|
PlacementRequirements,
|
|
193
|
-
SignedBy
|
|
194
|
-
|
|
279
|
+
SignedBy,
|
|
280
|
+
VerificationRequirement
|
|
281
|
+
} from "../../chunk-474YCD2T.js";
|
|
282
|
+
import {
|
|
283
|
+
AttestationRevocationReason,
|
|
284
|
+
AttestationStatus,
|
|
285
|
+
AuditEscrowSettlementReason,
|
|
286
|
+
AuditEscrowStatus,
|
|
287
|
+
AuditorSelectionMode,
|
|
288
|
+
AuditorStatus,
|
|
289
|
+
BondStatus,
|
|
290
|
+
CapabilityFlag,
|
|
291
|
+
DepositStatus,
|
|
292
|
+
DiscrepancyResolutionReason,
|
|
293
|
+
DiscrepancyStatus,
|
|
294
|
+
FaultAttribution,
|
|
295
|
+
FeeStatus,
|
|
296
|
+
GovernanceAttestationReason,
|
|
297
|
+
ProviderBondSlashReason,
|
|
298
|
+
ProviderDepositStatus,
|
|
299
|
+
VerificationGraceStatus,
|
|
300
|
+
VerificationTier,
|
|
301
|
+
VoidedReason,
|
|
302
|
+
attestationRevocationReasonFromJSON,
|
|
303
|
+
attestationRevocationReasonToJSON,
|
|
304
|
+
auditEscrowSettlementReasonFromJSON,
|
|
305
|
+
auditEscrowSettlementReasonToJSON,
|
|
306
|
+
capabilityFlagFromJSON,
|
|
307
|
+
capabilityFlagToJSON,
|
|
308
|
+
discrepancyResolutionReasonFromJSON,
|
|
309
|
+
discrepancyResolutionReasonToJSON,
|
|
310
|
+
faultAttributionFromJSON,
|
|
311
|
+
faultAttributionToJSON,
|
|
312
|
+
providerBondSlashReasonFromJSON,
|
|
313
|
+
providerBondSlashReasonToJSON,
|
|
314
|
+
verificationGraceStatusFromJSON,
|
|
315
|
+
verificationGraceStatusToJSON,
|
|
316
|
+
verificationTierFromJSON,
|
|
317
|
+
verificationTierToJSON,
|
|
318
|
+
voidedReasonFromJSON,
|
|
319
|
+
voidedReasonToJSON
|
|
320
|
+
} from "../../chunk-PEHPXXTS.js";
|
|
195
321
|
import {
|
|
196
322
|
Coin,
|
|
197
323
|
DecCoin
|
|
@@ -200,14 +326,18 @@ import "../../chunk-W35XLVRS.js";
|
|
|
200
326
|
import "../../chunk-EMB6YRGY.js";
|
|
201
327
|
import {
|
|
202
328
|
patched
|
|
203
|
-
} from "../../chunk-
|
|
329
|
+
} from "../../chunk-TN4W5NLC.js";
|
|
204
330
|
import "../../chunk-NPYFA3KP.js";
|
|
205
331
|
import "../../chunk-V5REIB55.js";
|
|
206
332
|
import "../../chunk-RAWXZV6K.js";
|
|
207
333
|
import {
|
|
334
|
+
Timestamp,
|
|
208
335
|
base64FromBytes,
|
|
209
336
|
bytesFromBase64,
|
|
210
|
-
|
|
337
|
+
fromJsonTimestamp,
|
|
338
|
+
fromTimestamp,
|
|
339
|
+
isSet,
|
|
340
|
+
toTimestamp
|
|
211
341
|
} from "../../chunk-5EZRSM6V.js";
|
|
212
342
|
|
|
213
343
|
// src/generated/protos/akash/audit/v1/event.ts
|
|
@@ -2909,29 +3039,92 @@ var GenesisState6 = {
|
|
|
2909
3039
|
}
|
|
2910
3040
|
};
|
|
2911
3041
|
|
|
2912
|
-
// src/generated/protos/akash/
|
|
3042
|
+
// src/generated/protos/akash/verification/v1/event.ts
|
|
2913
3043
|
import { BinaryReader as BinaryReader14, BinaryWriter as BinaryWriter14 } from "@bufbuild/protobuf/wire";
|
|
2914
|
-
function
|
|
2915
|
-
return {
|
|
3044
|
+
function createBaseEventAuditorRegistered() {
|
|
3045
|
+
return { auditor: "", maxAttestationTier: 0 };
|
|
2916
3046
|
}
|
|
2917
|
-
var
|
|
2918
|
-
$type: "akash.
|
|
3047
|
+
var EventAuditorRegistered = {
|
|
3048
|
+
$type: "akash.verification.v1.EventAuditorRegistered",
|
|
2919
3049
|
encode(message, writer = new BinaryWriter14()) {
|
|
2920
|
-
if (message.
|
|
2921
|
-
writer.uint32(10).string(message.
|
|
3050
|
+
if (message.auditor !== "") {
|
|
3051
|
+
writer.uint32(10).string(message.auditor);
|
|
2922
3052
|
}
|
|
2923
|
-
if (message.
|
|
2924
|
-
writer.uint32(
|
|
3053
|
+
if (message.maxAttestationTier !== 0) {
|
|
3054
|
+
writer.uint32(16).int32(message.maxAttestationTier);
|
|
2925
3055
|
}
|
|
2926
|
-
|
|
2927
|
-
|
|
3056
|
+
return writer;
|
|
3057
|
+
},
|
|
3058
|
+
decode(input, length) {
|
|
3059
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3060
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3061
|
+
const message = createBaseEventAuditorRegistered();
|
|
3062
|
+
while (reader.pos < end) {
|
|
3063
|
+
const tag = reader.uint32();
|
|
3064
|
+
switch (tag >>> 3) {
|
|
3065
|
+
case 1: {
|
|
3066
|
+
if (tag !== 10) {
|
|
3067
|
+
break;
|
|
3068
|
+
}
|
|
3069
|
+
message.auditor = reader.string();
|
|
3070
|
+
continue;
|
|
3071
|
+
}
|
|
3072
|
+
case 2: {
|
|
3073
|
+
if (tag !== 16) {
|
|
3074
|
+
break;
|
|
3075
|
+
}
|
|
3076
|
+
message.maxAttestationTier = reader.int32();
|
|
3077
|
+
continue;
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3081
|
+
break;
|
|
3082
|
+
}
|
|
3083
|
+
reader.skip(tag & 7);
|
|
3084
|
+
}
|
|
3085
|
+
return message;
|
|
3086
|
+
},
|
|
3087
|
+
fromJSON(object) {
|
|
3088
|
+
return {
|
|
3089
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3090
|
+
maxAttestationTier: isSet(object.max_attestation_tier) ? verificationTierFromJSON(object.max_attestation_tier) : 0
|
|
3091
|
+
};
|
|
3092
|
+
},
|
|
3093
|
+
toJSON(message) {
|
|
3094
|
+
const obj = {};
|
|
3095
|
+
if (message.auditor !== "") {
|
|
3096
|
+
obj.auditor = message.auditor;
|
|
3097
|
+
}
|
|
3098
|
+
if (message.maxAttestationTier !== 0) {
|
|
3099
|
+
obj.max_attestation_tier = verificationTierToJSON(message.maxAttestationTier);
|
|
3100
|
+
}
|
|
3101
|
+
return obj;
|
|
3102
|
+
},
|
|
3103
|
+
fromPartial(object) {
|
|
3104
|
+
const message = createBaseEventAuditorRegistered();
|
|
3105
|
+
message.auditor = object.auditor ?? "";
|
|
3106
|
+
message.maxAttestationTier = object.maxAttestationTier ?? 0;
|
|
3107
|
+
return message;
|
|
3108
|
+
}
|
|
3109
|
+
};
|
|
3110
|
+
function createBaseEventAuditorBondPosted() {
|
|
3111
|
+
return { auditor: "", amount: void 0 };
|
|
3112
|
+
}
|
|
3113
|
+
var EventAuditorBondPosted = {
|
|
3114
|
+
$type: "akash.verification.v1.EventAuditorBondPosted",
|
|
3115
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3116
|
+
if (message.auditor !== "") {
|
|
3117
|
+
writer.uint32(10).string(message.auditor);
|
|
3118
|
+
}
|
|
3119
|
+
if (message.amount !== void 0) {
|
|
3120
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
2928
3121
|
}
|
|
2929
3122
|
return writer;
|
|
2930
3123
|
},
|
|
2931
3124
|
decode(input, length) {
|
|
2932
3125
|
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
2933
3126
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
2934
|
-
const message =
|
|
3127
|
+
const message = createBaseEventAuditorBondPosted();
|
|
2935
3128
|
while (reader.pos < end) {
|
|
2936
3129
|
const tag = reader.uint32();
|
|
2937
3130
|
switch (tag >>> 3) {
|
|
@@ -2939,21 +3132,83 @@ var EventMsgBlocked = {
|
|
|
2939
3132
|
if (tag !== 10) {
|
|
2940
3133
|
break;
|
|
2941
3134
|
}
|
|
2942
|
-
message.
|
|
3135
|
+
message.auditor = reader.string();
|
|
2943
3136
|
continue;
|
|
2944
3137
|
}
|
|
2945
3138
|
case 2: {
|
|
2946
3139
|
if (tag !== 18) {
|
|
2947
3140
|
break;
|
|
2948
3141
|
}
|
|
2949
|
-
message.
|
|
3142
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
2950
3143
|
continue;
|
|
2951
3144
|
}
|
|
2952
|
-
|
|
2953
|
-
|
|
3145
|
+
}
|
|
3146
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3147
|
+
break;
|
|
3148
|
+
}
|
|
3149
|
+
reader.skip(tag & 7);
|
|
3150
|
+
}
|
|
3151
|
+
return message;
|
|
3152
|
+
},
|
|
3153
|
+
fromJSON(object) {
|
|
3154
|
+
return {
|
|
3155
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3156
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
3157
|
+
};
|
|
3158
|
+
},
|
|
3159
|
+
toJSON(message) {
|
|
3160
|
+
const obj = {};
|
|
3161
|
+
if (message.auditor !== "") {
|
|
3162
|
+
obj.auditor = message.auditor;
|
|
3163
|
+
}
|
|
3164
|
+
if (message.amount !== void 0) {
|
|
3165
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
3166
|
+
}
|
|
3167
|
+
return obj;
|
|
3168
|
+
},
|
|
3169
|
+
fromPartial(object) {
|
|
3170
|
+
const message = createBaseEventAuditorBondPosted();
|
|
3171
|
+
message.auditor = object.auditor ?? "";
|
|
3172
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
3173
|
+
return message;
|
|
3174
|
+
}
|
|
3175
|
+
};
|
|
3176
|
+
function createBaseEventAuditorFrozen() {
|
|
3177
|
+
return { auditor: "", discrepancyId: 0n };
|
|
3178
|
+
}
|
|
3179
|
+
var EventAuditorFrozen = {
|
|
3180
|
+
$type: "akash.verification.v1.EventAuditorFrozen",
|
|
3181
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3182
|
+
if (message.auditor !== "") {
|
|
3183
|
+
writer.uint32(10).string(message.auditor);
|
|
3184
|
+
}
|
|
3185
|
+
if (message.discrepancyId !== 0n) {
|
|
3186
|
+
if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {
|
|
3187
|
+
throw new globalThis.Error("value provided for field message.discrepancyId of type uint64 too large");
|
|
3188
|
+
}
|
|
3189
|
+
writer.uint32(16).uint64(message.discrepancyId);
|
|
3190
|
+
}
|
|
3191
|
+
return writer;
|
|
3192
|
+
},
|
|
3193
|
+
decode(input, length) {
|
|
3194
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3195
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3196
|
+
const message = createBaseEventAuditorFrozen();
|
|
3197
|
+
while (reader.pos < end) {
|
|
3198
|
+
const tag = reader.uint32();
|
|
3199
|
+
switch (tag >>> 3) {
|
|
3200
|
+
case 1: {
|
|
3201
|
+
if (tag !== 10) {
|
|
2954
3202
|
break;
|
|
2955
3203
|
}
|
|
2956
|
-
message.
|
|
3204
|
+
message.auditor = reader.string();
|
|
3205
|
+
continue;
|
|
3206
|
+
}
|
|
3207
|
+
case 2: {
|
|
3208
|
+
if (tag !== 16) {
|
|
3209
|
+
break;
|
|
3210
|
+
}
|
|
3211
|
+
message.discrepancyId = reader.uint64();
|
|
2957
3212
|
continue;
|
|
2958
3213
|
}
|
|
2959
3214
|
}
|
|
@@ -2966,50 +3221,91 @@ var EventMsgBlocked = {
|
|
|
2966
3221
|
},
|
|
2967
3222
|
fromJSON(object) {
|
|
2968
3223
|
return {
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
reason: isSet(object.reason) ? globalThis.String(object.reason) : ""
|
|
3224
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3225
|
+
discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n
|
|
2972
3226
|
};
|
|
2973
3227
|
},
|
|
2974
3228
|
toJSON(message) {
|
|
2975
3229
|
const obj = {};
|
|
2976
|
-
if (message.
|
|
2977
|
-
obj.
|
|
3230
|
+
if (message.auditor !== "") {
|
|
3231
|
+
obj.auditor = message.auditor;
|
|
2978
3232
|
}
|
|
2979
|
-
if (message.
|
|
2980
|
-
obj.
|
|
3233
|
+
if (message.discrepancyId !== 0n) {
|
|
3234
|
+
obj.discrepancy_id = message.discrepancyId.toString();
|
|
2981
3235
|
}
|
|
2982
|
-
|
|
2983
|
-
|
|
3236
|
+
return obj;
|
|
3237
|
+
},
|
|
3238
|
+
fromPartial(object) {
|
|
3239
|
+
const message = createBaseEventAuditorFrozen();
|
|
3240
|
+
message.auditor = object.auditor ?? "";
|
|
3241
|
+
message.discrepancyId = object.discrepancyId !== void 0 && object.discrepancyId !== null ? BigInt(object.discrepancyId) : 0n;
|
|
3242
|
+
return message;
|
|
3243
|
+
}
|
|
3244
|
+
};
|
|
3245
|
+
function createBaseEventAuditorLapsed() {
|
|
3246
|
+
return { auditor: "" };
|
|
3247
|
+
}
|
|
3248
|
+
var EventAuditorLapsed = {
|
|
3249
|
+
$type: "akash.verification.v1.EventAuditorLapsed",
|
|
3250
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3251
|
+
if (message.auditor !== "") {
|
|
3252
|
+
writer.uint32(10).string(message.auditor);
|
|
3253
|
+
}
|
|
3254
|
+
return writer;
|
|
3255
|
+
},
|
|
3256
|
+
decode(input, length) {
|
|
3257
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3258
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3259
|
+
const message = createBaseEventAuditorLapsed();
|
|
3260
|
+
while (reader.pos < end) {
|
|
3261
|
+
const tag = reader.uint32();
|
|
3262
|
+
switch (tag >>> 3) {
|
|
3263
|
+
case 1: {
|
|
3264
|
+
if (tag !== 10) {
|
|
3265
|
+
break;
|
|
3266
|
+
}
|
|
3267
|
+
message.auditor = reader.string();
|
|
3268
|
+
continue;
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3272
|
+
break;
|
|
3273
|
+
}
|
|
3274
|
+
reader.skip(tag & 7);
|
|
3275
|
+
}
|
|
3276
|
+
return message;
|
|
3277
|
+
},
|
|
3278
|
+
fromJSON(object) {
|
|
3279
|
+
return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "" };
|
|
3280
|
+
},
|
|
3281
|
+
toJSON(message) {
|
|
3282
|
+
const obj = {};
|
|
3283
|
+
if (message.auditor !== "") {
|
|
3284
|
+
obj.auditor = message.auditor;
|
|
2984
3285
|
}
|
|
2985
3286
|
return obj;
|
|
2986
3287
|
},
|
|
2987
3288
|
fromPartial(object) {
|
|
2988
|
-
const message =
|
|
2989
|
-
message.
|
|
2990
|
-
message.msgType = object.msgType ?? "";
|
|
2991
|
-
message.reason = object.reason ?? "";
|
|
3289
|
+
const message = createBaseEventAuditorLapsed();
|
|
3290
|
+
message.auditor = object.auditor ?? "";
|
|
2992
3291
|
return message;
|
|
2993
3292
|
}
|
|
2994
3293
|
};
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
import { BinaryReader as BinaryReader15, BinaryWriter as BinaryWriter15 } from "@bufbuild/protobuf/wire";
|
|
2998
|
-
function createBaseGenesisState7() {
|
|
2999
|
-
return { params: void 0 };
|
|
3294
|
+
function createBaseEventAuditorResigned() {
|
|
3295
|
+
return { auditor: "" };
|
|
3000
3296
|
}
|
|
3001
|
-
var
|
|
3002
|
-
$type: "akash.
|
|
3003
|
-
encode(message, writer = new
|
|
3004
|
-
if (message.
|
|
3005
|
-
|
|
3297
|
+
var EventAuditorResigned = {
|
|
3298
|
+
$type: "akash.verification.v1.EventAuditorResigned",
|
|
3299
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3300
|
+
if (message.auditor !== "") {
|
|
3301
|
+
writer.uint32(10).string(message.auditor);
|
|
3006
3302
|
}
|
|
3007
3303
|
return writer;
|
|
3008
3304
|
},
|
|
3009
3305
|
decode(input, length) {
|
|
3010
|
-
const reader = input instanceof
|
|
3306
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3011
3307
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3012
|
-
const message =
|
|
3308
|
+
const message = createBaseEventAuditorResigned();
|
|
3013
3309
|
while (reader.pos < end) {
|
|
3014
3310
|
const tag = reader.uint32();
|
|
3015
3311
|
switch (tag >>> 3) {
|
|
@@ -3017,7 +3313,7 @@ var GenesisState7 = {
|
|
|
3017
3313
|
if (tag !== 10) {
|
|
3018
3314
|
break;
|
|
3019
3315
|
}
|
|
3020
|
-
message.
|
|
3316
|
+
message.auditor = reader.string();
|
|
3021
3317
|
continue;
|
|
3022
3318
|
}
|
|
3023
3319
|
}
|
|
@@ -3029,18 +3325,2501 @@ var GenesisState7 = {
|
|
|
3029
3325
|
return message;
|
|
3030
3326
|
},
|
|
3031
3327
|
fromJSON(object) {
|
|
3032
|
-
return {
|
|
3328
|
+
return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "" };
|
|
3033
3329
|
},
|
|
3034
3330
|
toJSON(message) {
|
|
3035
3331
|
const obj = {};
|
|
3036
|
-
if (message.
|
|
3037
|
-
obj.
|
|
3332
|
+
if (message.auditor !== "") {
|
|
3333
|
+
obj.auditor = message.auditor;
|
|
3038
3334
|
}
|
|
3039
3335
|
return obj;
|
|
3040
3336
|
},
|
|
3041
3337
|
fromPartial(object) {
|
|
3042
|
-
const message =
|
|
3043
|
-
message.
|
|
3338
|
+
const message = createBaseEventAuditorResigned();
|
|
3339
|
+
message.auditor = object.auditor ?? "";
|
|
3340
|
+
return message;
|
|
3341
|
+
}
|
|
3342
|
+
};
|
|
3343
|
+
function createBaseEventAuditorRemoved() {
|
|
3344
|
+
return { auditor: "" };
|
|
3345
|
+
}
|
|
3346
|
+
var EventAuditorRemoved = {
|
|
3347
|
+
$type: "akash.verification.v1.EventAuditorRemoved",
|
|
3348
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3349
|
+
if (message.auditor !== "") {
|
|
3350
|
+
writer.uint32(10).string(message.auditor);
|
|
3351
|
+
}
|
|
3352
|
+
return writer;
|
|
3353
|
+
},
|
|
3354
|
+
decode(input, length) {
|
|
3355
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3356
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3357
|
+
const message = createBaseEventAuditorRemoved();
|
|
3358
|
+
while (reader.pos < end) {
|
|
3359
|
+
const tag = reader.uint32();
|
|
3360
|
+
switch (tag >>> 3) {
|
|
3361
|
+
case 1: {
|
|
3362
|
+
if (tag !== 10) {
|
|
3363
|
+
break;
|
|
3364
|
+
}
|
|
3365
|
+
message.auditor = reader.string();
|
|
3366
|
+
continue;
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3370
|
+
break;
|
|
3371
|
+
}
|
|
3372
|
+
reader.skip(tag & 7);
|
|
3373
|
+
}
|
|
3374
|
+
return message;
|
|
3375
|
+
},
|
|
3376
|
+
fromJSON(object) {
|
|
3377
|
+
return { auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "" };
|
|
3378
|
+
},
|
|
3379
|
+
toJSON(message) {
|
|
3380
|
+
const obj = {};
|
|
3381
|
+
if (message.auditor !== "") {
|
|
3382
|
+
obj.auditor = message.auditor;
|
|
3383
|
+
}
|
|
3384
|
+
return obj;
|
|
3385
|
+
},
|
|
3386
|
+
fromPartial(object) {
|
|
3387
|
+
const message = createBaseEventAuditorRemoved();
|
|
3388
|
+
message.auditor = object.auditor ?? "";
|
|
3389
|
+
return message;
|
|
3390
|
+
}
|
|
3391
|
+
};
|
|
3392
|
+
function createBaseEventAuditorRenewed() {
|
|
3393
|
+
return { auditor: "", newDeadline: void 0 };
|
|
3394
|
+
}
|
|
3395
|
+
var EventAuditorRenewed = {
|
|
3396
|
+
$type: "akash.verification.v1.EventAuditorRenewed",
|
|
3397
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3398
|
+
if (message.auditor !== "") {
|
|
3399
|
+
writer.uint32(10).string(message.auditor);
|
|
3400
|
+
}
|
|
3401
|
+
if (message.newDeadline !== void 0) {
|
|
3402
|
+
Timestamp.encode(toTimestamp(message.newDeadline), writer.uint32(18).fork()).join();
|
|
3403
|
+
}
|
|
3404
|
+
return writer;
|
|
3405
|
+
},
|
|
3406
|
+
decode(input, length) {
|
|
3407
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3408
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3409
|
+
const message = createBaseEventAuditorRenewed();
|
|
3410
|
+
while (reader.pos < end) {
|
|
3411
|
+
const tag = reader.uint32();
|
|
3412
|
+
switch (tag >>> 3) {
|
|
3413
|
+
case 1: {
|
|
3414
|
+
if (tag !== 10) {
|
|
3415
|
+
break;
|
|
3416
|
+
}
|
|
3417
|
+
message.auditor = reader.string();
|
|
3418
|
+
continue;
|
|
3419
|
+
}
|
|
3420
|
+
case 2: {
|
|
3421
|
+
if (tag !== 18) {
|
|
3422
|
+
break;
|
|
3423
|
+
}
|
|
3424
|
+
message.newDeadline = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3425
|
+
continue;
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3429
|
+
break;
|
|
3430
|
+
}
|
|
3431
|
+
reader.skip(tag & 7);
|
|
3432
|
+
}
|
|
3433
|
+
return message;
|
|
3434
|
+
},
|
|
3435
|
+
fromJSON(object) {
|
|
3436
|
+
return {
|
|
3437
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3438
|
+
newDeadline: isSet(object.new_deadline) ? fromJsonTimestamp(object.new_deadline) : void 0
|
|
3439
|
+
};
|
|
3440
|
+
},
|
|
3441
|
+
toJSON(message) {
|
|
3442
|
+
const obj = {};
|
|
3443
|
+
if (message.auditor !== "") {
|
|
3444
|
+
obj.auditor = message.auditor;
|
|
3445
|
+
}
|
|
3446
|
+
if (message.newDeadline !== void 0) {
|
|
3447
|
+
obj.new_deadline = message.newDeadline.toISOString();
|
|
3448
|
+
}
|
|
3449
|
+
return obj;
|
|
3450
|
+
},
|
|
3451
|
+
fromPartial(object) {
|
|
3452
|
+
const message = createBaseEventAuditorRenewed();
|
|
3453
|
+
message.auditor = object.auditor ?? "";
|
|
3454
|
+
message.newDeadline = object.newDeadline ?? void 0;
|
|
3455
|
+
return message;
|
|
3456
|
+
}
|
|
3457
|
+
};
|
|
3458
|
+
function createBaseEventAttestationSubmitted() {
|
|
3459
|
+
return { provider: "", auditor: "", tier: 0, capabilities: [], expiresAt: void 0, auditEscrowId: 0n };
|
|
3460
|
+
}
|
|
3461
|
+
var EventAttestationSubmitted = {
|
|
3462
|
+
$type: "akash.verification.v1.EventAttestationSubmitted",
|
|
3463
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3464
|
+
if (message.provider !== "") {
|
|
3465
|
+
writer.uint32(10).string(message.provider);
|
|
3466
|
+
}
|
|
3467
|
+
if (message.auditor !== "") {
|
|
3468
|
+
writer.uint32(18).string(message.auditor);
|
|
3469
|
+
}
|
|
3470
|
+
if (message.tier !== 0) {
|
|
3471
|
+
writer.uint32(24).int32(message.tier);
|
|
3472
|
+
}
|
|
3473
|
+
for (const v of message.capabilities) {
|
|
3474
|
+
writer.uint32(32).int32(v);
|
|
3475
|
+
}
|
|
3476
|
+
if (message.expiresAt !== void 0) {
|
|
3477
|
+
Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(42).fork()).join();
|
|
3478
|
+
}
|
|
3479
|
+
if (message.auditEscrowId !== 0n) {
|
|
3480
|
+
if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {
|
|
3481
|
+
throw new globalThis.Error("value provided for field message.auditEscrowId of type uint64 too large");
|
|
3482
|
+
}
|
|
3483
|
+
writer.uint32(48).uint64(message.auditEscrowId);
|
|
3484
|
+
}
|
|
3485
|
+
return writer;
|
|
3486
|
+
},
|
|
3487
|
+
decode(input, length) {
|
|
3488
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3489
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3490
|
+
const message = createBaseEventAttestationSubmitted();
|
|
3491
|
+
while (reader.pos < end) {
|
|
3492
|
+
const tag = reader.uint32();
|
|
3493
|
+
switch (tag >>> 3) {
|
|
3494
|
+
case 1: {
|
|
3495
|
+
if (tag !== 10) {
|
|
3496
|
+
break;
|
|
3497
|
+
}
|
|
3498
|
+
message.provider = reader.string();
|
|
3499
|
+
continue;
|
|
3500
|
+
}
|
|
3501
|
+
case 2: {
|
|
3502
|
+
if (tag !== 18) {
|
|
3503
|
+
break;
|
|
3504
|
+
}
|
|
3505
|
+
message.auditor = reader.string();
|
|
3506
|
+
continue;
|
|
3507
|
+
}
|
|
3508
|
+
case 3: {
|
|
3509
|
+
if (tag !== 24) {
|
|
3510
|
+
break;
|
|
3511
|
+
}
|
|
3512
|
+
message.tier = reader.int32();
|
|
3513
|
+
continue;
|
|
3514
|
+
}
|
|
3515
|
+
case 4: {
|
|
3516
|
+
if (tag === 32) {
|
|
3517
|
+
message.capabilities.push(reader.int32());
|
|
3518
|
+
continue;
|
|
3519
|
+
}
|
|
3520
|
+
if (tag === 34) {
|
|
3521
|
+
const end2 = reader.uint32() + reader.pos;
|
|
3522
|
+
while (reader.pos < end2) {
|
|
3523
|
+
message.capabilities.push(reader.int32());
|
|
3524
|
+
}
|
|
3525
|
+
continue;
|
|
3526
|
+
}
|
|
3527
|
+
break;
|
|
3528
|
+
}
|
|
3529
|
+
case 5: {
|
|
3530
|
+
if (tag !== 42) {
|
|
3531
|
+
break;
|
|
3532
|
+
}
|
|
3533
|
+
message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3534
|
+
continue;
|
|
3535
|
+
}
|
|
3536
|
+
case 6: {
|
|
3537
|
+
if (tag !== 48) {
|
|
3538
|
+
break;
|
|
3539
|
+
}
|
|
3540
|
+
message.auditEscrowId = reader.uint64();
|
|
3541
|
+
continue;
|
|
3542
|
+
}
|
|
3543
|
+
}
|
|
3544
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3545
|
+
break;
|
|
3546
|
+
}
|
|
3547
|
+
reader.skip(tag & 7);
|
|
3548
|
+
}
|
|
3549
|
+
return message;
|
|
3550
|
+
},
|
|
3551
|
+
fromJSON(object) {
|
|
3552
|
+
return {
|
|
3553
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
3554
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3555
|
+
tier: isSet(object.tier) ? verificationTierFromJSON(object.tier) : 0,
|
|
3556
|
+
capabilities: globalThis.Array.isArray(object?.capabilities) ? object.capabilities.map((e) => capabilityFlagFromJSON(e)) : [],
|
|
3557
|
+
expiresAt: isSet(object.expires_at) ? fromJsonTimestamp(object.expires_at) : void 0,
|
|
3558
|
+
auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n
|
|
3559
|
+
};
|
|
3560
|
+
},
|
|
3561
|
+
toJSON(message) {
|
|
3562
|
+
const obj = {};
|
|
3563
|
+
if (message.provider !== "") {
|
|
3564
|
+
obj.provider = message.provider;
|
|
3565
|
+
}
|
|
3566
|
+
if (message.auditor !== "") {
|
|
3567
|
+
obj.auditor = message.auditor;
|
|
3568
|
+
}
|
|
3569
|
+
if (message.tier !== 0) {
|
|
3570
|
+
obj.tier = verificationTierToJSON(message.tier);
|
|
3571
|
+
}
|
|
3572
|
+
if (message.capabilities?.length) {
|
|
3573
|
+
obj.capabilities = message.capabilities.map((e) => capabilityFlagToJSON(e));
|
|
3574
|
+
}
|
|
3575
|
+
if (message.expiresAt !== void 0) {
|
|
3576
|
+
obj.expires_at = message.expiresAt.toISOString();
|
|
3577
|
+
}
|
|
3578
|
+
if (message.auditEscrowId !== 0n) {
|
|
3579
|
+
obj.audit_escrow_id = message.auditEscrowId.toString();
|
|
3580
|
+
}
|
|
3581
|
+
return obj;
|
|
3582
|
+
},
|
|
3583
|
+
fromPartial(object) {
|
|
3584
|
+
const message = createBaseEventAttestationSubmitted();
|
|
3585
|
+
message.provider = object.provider ?? "";
|
|
3586
|
+
message.auditor = object.auditor ?? "";
|
|
3587
|
+
message.tier = object.tier ?? 0;
|
|
3588
|
+
message.capabilities = object.capabilities?.map((e) => e) || [];
|
|
3589
|
+
message.expiresAt = object.expiresAt ?? void 0;
|
|
3590
|
+
message.auditEscrowId = object.auditEscrowId !== void 0 && object.auditEscrowId !== null ? BigInt(object.auditEscrowId) : 0n;
|
|
3591
|
+
return message;
|
|
3592
|
+
}
|
|
3593
|
+
};
|
|
3594
|
+
function createBaseEventAttestationExpired() {
|
|
3595
|
+
return { provider: "", auditor: "", tier: 0 };
|
|
3596
|
+
}
|
|
3597
|
+
var EventAttestationExpired = {
|
|
3598
|
+
$type: "akash.verification.v1.EventAttestationExpired",
|
|
3599
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3600
|
+
if (message.provider !== "") {
|
|
3601
|
+
writer.uint32(10).string(message.provider);
|
|
3602
|
+
}
|
|
3603
|
+
if (message.auditor !== "") {
|
|
3604
|
+
writer.uint32(18).string(message.auditor);
|
|
3605
|
+
}
|
|
3606
|
+
if (message.tier !== 0) {
|
|
3607
|
+
writer.uint32(24).int32(message.tier);
|
|
3608
|
+
}
|
|
3609
|
+
return writer;
|
|
3610
|
+
},
|
|
3611
|
+
decode(input, length) {
|
|
3612
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3613
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3614
|
+
const message = createBaseEventAttestationExpired();
|
|
3615
|
+
while (reader.pos < end) {
|
|
3616
|
+
const tag = reader.uint32();
|
|
3617
|
+
switch (tag >>> 3) {
|
|
3618
|
+
case 1: {
|
|
3619
|
+
if (tag !== 10) {
|
|
3620
|
+
break;
|
|
3621
|
+
}
|
|
3622
|
+
message.provider = reader.string();
|
|
3623
|
+
continue;
|
|
3624
|
+
}
|
|
3625
|
+
case 2: {
|
|
3626
|
+
if (tag !== 18) {
|
|
3627
|
+
break;
|
|
3628
|
+
}
|
|
3629
|
+
message.auditor = reader.string();
|
|
3630
|
+
continue;
|
|
3631
|
+
}
|
|
3632
|
+
case 3: {
|
|
3633
|
+
if (tag !== 24) {
|
|
3634
|
+
break;
|
|
3635
|
+
}
|
|
3636
|
+
message.tier = reader.int32();
|
|
3637
|
+
continue;
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3641
|
+
break;
|
|
3642
|
+
}
|
|
3643
|
+
reader.skip(tag & 7);
|
|
3644
|
+
}
|
|
3645
|
+
return message;
|
|
3646
|
+
},
|
|
3647
|
+
fromJSON(object) {
|
|
3648
|
+
return {
|
|
3649
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
3650
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3651
|
+
tier: isSet(object.tier) ? verificationTierFromJSON(object.tier) : 0
|
|
3652
|
+
};
|
|
3653
|
+
},
|
|
3654
|
+
toJSON(message) {
|
|
3655
|
+
const obj = {};
|
|
3656
|
+
if (message.provider !== "") {
|
|
3657
|
+
obj.provider = message.provider;
|
|
3658
|
+
}
|
|
3659
|
+
if (message.auditor !== "") {
|
|
3660
|
+
obj.auditor = message.auditor;
|
|
3661
|
+
}
|
|
3662
|
+
if (message.tier !== 0) {
|
|
3663
|
+
obj.tier = verificationTierToJSON(message.tier);
|
|
3664
|
+
}
|
|
3665
|
+
return obj;
|
|
3666
|
+
},
|
|
3667
|
+
fromPartial(object) {
|
|
3668
|
+
const message = createBaseEventAttestationExpired();
|
|
3669
|
+
message.provider = object.provider ?? "";
|
|
3670
|
+
message.auditor = object.auditor ?? "";
|
|
3671
|
+
message.tier = object.tier ?? 0;
|
|
3672
|
+
return message;
|
|
3673
|
+
}
|
|
3674
|
+
};
|
|
3675
|
+
function createBaseEventAttestationReplaced() {
|
|
3676
|
+
return { provider: "", auditor: "", oldTier: 0, newTier: 0, oldAuditEscrowId: 0n, newAuditEscrowId: 0n };
|
|
3677
|
+
}
|
|
3678
|
+
var EventAttestationReplaced = {
|
|
3679
|
+
$type: "akash.verification.v1.EventAttestationReplaced",
|
|
3680
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3681
|
+
if (message.provider !== "") {
|
|
3682
|
+
writer.uint32(10).string(message.provider);
|
|
3683
|
+
}
|
|
3684
|
+
if (message.auditor !== "") {
|
|
3685
|
+
writer.uint32(18).string(message.auditor);
|
|
3686
|
+
}
|
|
3687
|
+
if (message.oldTier !== 0) {
|
|
3688
|
+
writer.uint32(24).int32(message.oldTier);
|
|
3689
|
+
}
|
|
3690
|
+
if (message.newTier !== 0) {
|
|
3691
|
+
writer.uint32(32).int32(message.newTier);
|
|
3692
|
+
}
|
|
3693
|
+
if (message.oldAuditEscrowId !== 0n) {
|
|
3694
|
+
if (BigInt.asUintN(64, message.oldAuditEscrowId) !== message.oldAuditEscrowId) {
|
|
3695
|
+
throw new globalThis.Error("value provided for field message.oldAuditEscrowId of type uint64 too large");
|
|
3696
|
+
}
|
|
3697
|
+
writer.uint32(40).uint64(message.oldAuditEscrowId);
|
|
3698
|
+
}
|
|
3699
|
+
if (message.newAuditEscrowId !== 0n) {
|
|
3700
|
+
if (BigInt.asUintN(64, message.newAuditEscrowId) !== message.newAuditEscrowId) {
|
|
3701
|
+
throw new globalThis.Error("value provided for field message.newAuditEscrowId of type uint64 too large");
|
|
3702
|
+
}
|
|
3703
|
+
writer.uint32(48).uint64(message.newAuditEscrowId);
|
|
3704
|
+
}
|
|
3705
|
+
return writer;
|
|
3706
|
+
},
|
|
3707
|
+
decode(input, length) {
|
|
3708
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3709
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3710
|
+
const message = createBaseEventAttestationReplaced();
|
|
3711
|
+
while (reader.pos < end) {
|
|
3712
|
+
const tag = reader.uint32();
|
|
3713
|
+
switch (tag >>> 3) {
|
|
3714
|
+
case 1: {
|
|
3715
|
+
if (tag !== 10) {
|
|
3716
|
+
break;
|
|
3717
|
+
}
|
|
3718
|
+
message.provider = reader.string();
|
|
3719
|
+
continue;
|
|
3720
|
+
}
|
|
3721
|
+
case 2: {
|
|
3722
|
+
if (tag !== 18) {
|
|
3723
|
+
break;
|
|
3724
|
+
}
|
|
3725
|
+
message.auditor = reader.string();
|
|
3726
|
+
continue;
|
|
3727
|
+
}
|
|
3728
|
+
case 3: {
|
|
3729
|
+
if (tag !== 24) {
|
|
3730
|
+
break;
|
|
3731
|
+
}
|
|
3732
|
+
message.oldTier = reader.int32();
|
|
3733
|
+
continue;
|
|
3734
|
+
}
|
|
3735
|
+
case 4: {
|
|
3736
|
+
if (tag !== 32) {
|
|
3737
|
+
break;
|
|
3738
|
+
}
|
|
3739
|
+
message.newTier = reader.int32();
|
|
3740
|
+
continue;
|
|
3741
|
+
}
|
|
3742
|
+
case 5: {
|
|
3743
|
+
if (tag !== 40) {
|
|
3744
|
+
break;
|
|
3745
|
+
}
|
|
3746
|
+
message.oldAuditEscrowId = reader.uint64();
|
|
3747
|
+
continue;
|
|
3748
|
+
}
|
|
3749
|
+
case 6: {
|
|
3750
|
+
if (tag !== 48) {
|
|
3751
|
+
break;
|
|
3752
|
+
}
|
|
3753
|
+
message.newAuditEscrowId = reader.uint64();
|
|
3754
|
+
continue;
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3758
|
+
break;
|
|
3759
|
+
}
|
|
3760
|
+
reader.skip(tag & 7);
|
|
3761
|
+
}
|
|
3762
|
+
return message;
|
|
3763
|
+
},
|
|
3764
|
+
fromJSON(object) {
|
|
3765
|
+
return {
|
|
3766
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
3767
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3768
|
+
oldTier: isSet(object.old_tier) ? verificationTierFromJSON(object.old_tier) : 0,
|
|
3769
|
+
newTier: isSet(object.new_tier) ? verificationTierFromJSON(object.new_tier) : 0,
|
|
3770
|
+
oldAuditEscrowId: isSet(object.old_audit_escrow_id) ? BigInt(object.old_audit_escrow_id) : 0n,
|
|
3771
|
+
newAuditEscrowId: isSet(object.new_audit_escrow_id) ? BigInt(object.new_audit_escrow_id) : 0n
|
|
3772
|
+
};
|
|
3773
|
+
},
|
|
3774
|
+
toJSON(message) {
|
|
3775
|
+
const obj = {};
|
|
3776
|
+
if (message.provider !== "") {
|
|
3777
|
+
obj.provider = message.provider;
|
|
3778
|
+
}
|
|
3779
|
+
if (message.auditor !== "") {
|
|
3780
|
+
obj.auditor = message.auditor;
|
|
3781
|
+
}
|
|
3782
|
+
if (message.oldTier !== 0) {
|
|
3783
|
+
obj.old_tier = verificationTierToJSON(message.oldTier);
|
|
3784
|
+
}
|
|
3785
|
+
if (message.newTier !== 0) {
|
|
3786
|
+
obj.new_tier = verificationTierToJSON(message.newTier);
|
|
3787
|
+
}
|
|
3788
|
+
if (message.oldAuditEscrowId !== 0n) {
|
|
3789
|
+
obj.old_audit_escrow_id = message.oldAuditEscrowId.toString();
|
|
3790
|
+
}
|
|
3791
|
+
if (message.newAuditEscrowId !== 0n) {
|
|
3792
|
+
obj.new_audit_escrow_id = message.newAuditEscrowId.toString();
|
|
3793
|
+
}
|
|
3794
|
+
return obj;
|
|
3795
|
+
},
|
|
3796
|
+
fromPartial(object) {
|
|
3797
|
+
const message = createBaseEventAttestationReplaced();
|
|
3798
|
+
message.provider = object.provider ?? "";
|
|
3799
|
+
message.auditor = object.auditor ?? "";
|
|
3800
|
+
message.oldTier = object.oldTier ?? 0;
|
|
3801
|
+
message.newTier = object.newTier ?? 0;
|
|
3802
|
+
message.oldAuditEscrowId = object.oldAuditEscrowId !== void 0 && object.oldAuditEscrowId !== null ? BigInt(object.oldAuditEscrowId) : 0n;
|
|
3803
|
+
message.newAuditEscrowId = object.newAuditEscrowId !== void 0 && object.newAuditEscrowId !== null ? BigInt(object.newAuditEscrowId) : 0n;
|
|
3804
|
+
return message;
|
|
3805
|
+
}
|
|
3806
|
+
};
|
|
3807
|
+
function createBaseEventAttestationRevoked() {
|
|
3808
|
+
return { provider: "", auditor: "", initiator: "", reason: 0 };
|
|
3809
|
+
}
|
|
3810
|
+
var EventAttestationRevoked = {
|
|
3811
|
+
$type: "akash.verification.v1.EventAttestationRevoked",
|
|
3812
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3813
|
+
if (message.provider !== "") {
|
|
3814
|
+
writer.uint32(10).string(message.provider);
|
|
3815
|
+
}
|
|
3816
|
+
if (message.auditor !== "") {
|
|
3817
|
+
writer.uint32(18).string(message.auditor);
|
|
3818
|
+
}
|
|
3819
|
+
if (message.initiator !== "") {
|
|
3820
|
+
writer.uint32(26).string(message.initiator);
|
|
3821
|
+
}
|
|
3822
|
+
if (message.reason !== 0) {
|
|
3823
|
+
writer.uint32(32).int32(message.reason);
|
|
3824
|
+
}
|
|
3825
|
+
return writer;
|
|
3826
|
+
},
|
|
3827
|
+
decode(input, length) {
|
|
3828
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3829
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3830
|
+
const message = createBaseEventAttestationRevoked();
|
|
3831
|
+
while (reader.pos < end) {
|
|
3832
|
+
const tag = reader.uint32();
|
|
3833
|
+
switch (tag >>> 3) {
|
|
3834
|
+
case 1: {
|
|
3835
|
+
if (tag !== 10) {
|
|
3836
|
+
break;
|
|
3837
|
+
}
|
|
3838
|
+
message.provider = reader.string();
|
|
3839
|
+
continue;
|
|
3840
|
+
}
|
|
3841
|
+
case 2: {
|
|
3842
|
+
if (tag !== 18) {
|
|
3843
|
+
break;
|
|
3844
|
+
}
|
|
3845
|
+
message.auditor = reader.string();
|
|
3846
|
+
continue;
|
|
3847
|
+
}
|
|
3848
|
+
case 3: {
|
|
3849
|
+
if (tag !== 26) {
|
|
3850
|
+
break;
|
|
3851
|
+
}
|
|
3852
|
+
message.initiator = reader.string();
|
|
3853
|
+
continue;
|
|
3854
|
+
}
|
|
3855
|
+
case 4: {
|
|
3856
|
+
if (tag !== 32) {
|
|
3857
|
+
break;
|
|
3858
|
+
}
|
|
3859
|
+
message.reason = reader.int32();
|
|
3860
|
+
continue;
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3864
|
+
break;
|
|
3865
|
+
}
|
|
3866
|
+
reader.skip(tag & 7);
|
|
3867
|
+
}
|
|
3868
|
+
return message;
|
|
3869
|
+
},
|
|
3870
|
+
fromJSON(object) {
|
|
3871
|
+
return {
|
|
3872
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
3873
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3874
|
+
initiator: isSet(object.initiator) ? globalThis.String(object.initiator) : "",
|
|
3875
|
+
reason: isSet(object.reason) ? attestationRevocationReasonFromJSON(object.reason) : 0
|
|
3876
|
+
};
|
|
3877
|
+
},
|
|
3878
|
+
toJSON(message) {
|
|
3879
|
+
const obj = {};
|
|
3880
|
+
if (message.provider !== "") {
|
|
3881
|
+
obj.provider = message.provider;
|
|
3882
|
+
}
|
|
3883
|
+
if (message.auditor !== "") {
|
|
3884
|
+
obj.auditor = message.auditor;
|
|
3885
|
+
}
|
|
3886
|
+
if (message.initiator !== "") {
|
|
3887
|
+
obj.initiator = message.initiator;
|
|
3888
|
+
}
|
|
3889
|
+
if (message.reason !== 0) {
|
|
3890
|
+
obj.reason = attestationRevocationReasonToJSON(message.reason);
|
|
3891
|
+
}
|
|
3892
|
+
return obj;
|
|
3893
|
+
},
|
|
3894
|
+
fromPartial(object) {
|
|
3895
|
+
const message = createBaseEventAttestationRevoked();
|
|
3896
|
+
message.provider = object.provider ?? "";
|
|
3897
|
+
message.auditor = object.auditor ?? "";
|
|
3898
|
+
message.initiator = object.initiator ?? "";
|
|
3899
|
+
message.reason = object.reason ?? 0;
|
|
3900
|
+
return message;
|
|
3901
|
+
}
|
|
3902
|
+
};
|
|
3903
|
+
function createBaseEventAttestationVoided() {
|
|
3904
|
+
return { provider: "", auditor: "", reason: 0 };
|
|
3905
|
+
}
|
|
3906
|
+
var EventAttestationVoided = {
|
|
3907
|
+
$type: "akash.verification.v1.EventAttestationVoided",
|
|
3908
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3909
|
+
if (message.provider !== "") {
|
|
3910
|
+
writer.uint32(10).string(message.provider);
|
|
3911
|
+
}
|
|
3912
|
+
if (message.auditor !== "") {
|
|
3913
|
+
writer.uint32(18).string(message.auditor);
|
|
3914
|
+
}
|
|
3915
|
+
if (message.reason !== 0) {
|
|
3916
|
+
writer.uint32(24).int32(message.reason);
|
|
3917
|
+
}
|
|
3918
|
+
return writer;
|
|
3919
|
+
},
|
|
3920
|
+
decode(input, length) {
|
|
3921
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
3922
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3923
|
+
const message = createBaseEventAttestationVoided();
|
|
3924
|
+
while (reader.pos < end) {
|
|
3925
|
+
const tag = reader.uint32();
|
|
3926
|
+
switch (tag >>> 3) {
|
|
3927
|
+
case 1: {
|
|
3928
|
+
if (tag !== 10) {
|
|
3929
|
+
break;
|
|
3930
|
+
}
|
|
3931
|
+
message.provider = reader.string();
|
|
3932
|
+
continue;
|
|
3933
|
+
}
|
|
3934
|
+
case 2: {
|
|
3935
|
+
if (tag !== 18) {
|
|
3936
|
+
break;
|
|
3937
|
+
}
|
|
3938
|
+
message.auditor = reader.string();
|
|
3939
|
+
continue;
|
|
3940
|
+
}
|
|
3941
|
+
case 3: {
|
|
3942
|
+
if (tag !== 24) {
|
|
3943
|
+
break;
|
|
3944
|
+
}
|
|
3945
|
+
message.reason = reader.int32();
|
|
3946
|
+
continue;
|
|
3947
|
+
}
|
|
3948
|
+
}
|
|
3949
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3950
|
+
break;
|
|
3951
|
+
}
|
|
3952
|
+
reader.skip(tag & 7);
|
|
3953
|
+
}
|
|
3954
|
+
return message;
|
|
3955
|
+
},
|
|
3956
|
+
fromJSON(object) {
|
|
3957
|
+
return {
|
|
3958
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
3959
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
3960
|
+
reason: isSet(object.reason) ? voidedReasonFromJSON(object.reason) : 0
|
|
3961
|
+
};
|
|
3962
|
+
},
|
|
3963
|
+
toJSON(message) {
|
|
3964
|
+
const obj = {};
|
|
3965
|
+
if (message.provider !== "") {
|
|
3966
|
+
obj.provider = message.provider;
|
|
3967
|
+
}
|
|
3968
|
+
if (message.auditor !== "") {
|
|
3969
|
+
obj.auditor = message.auditor;
|
|
3970
|
+
}
|
|
3971
|
+
if (message.reason !== 0) {
|
|
3972
|
+
obj.reason = voidedReasonToJSON(message.reason);
|
|
3973
|
+
}
|
|
3974
|
+
return obj;
|
|
3975
|
+
},
|
|
3976
|
+
fromPartial(object) {
|
|
3977
|
+
const message = createBaseEventAttestationVoided();
|
|
3978
|
+
message.provider = object.provider ?? "";
|
|
3979
|
+
message.auditor = object.auditor ?? "";
|
|
3980
|
+
message.reason = object.reason ?? 0;
|
|
3981
|
+
return message;
|
|
3982
|
+
}
|
|
3983
|
+
};
|
|
3984
|
+
function createBaseEventDiscrepancyDetected() {
|
|
3985
|
+
return { discrepancyId: 0n, provider: "", auditorA: "", tierA: 0, auditorB: "", tierB: 0 };
|
|
3986
|
+
}
|
|
3987
|
+
var EventDiscrepancyDetected = {
|
|
3988
|
+
$type: "akash.verification.v1.EventDiscrepancyDetected",
|
|
3989
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
3990
|
+
if (message.discrepancyId !== 0n) {
|
|
3991
|
+
if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {
|
|
3992
|
+
throw new globalThis.Error("value provided for field message.discrepancyId of type uint64 too large");
|
|
3993
|
+
}
|
|
3994
|
+
writer.uint32(8).uint64(message.discrepancyId);
|
|
3995
|
+
}
|
|
3996
|
+
if (message.provider !== "") {
|
|
3997
|
+
writer.uint32(18).string(message.provider);
|
|
3998
|
+
}
|
|
3999
|
+
if (message.auditorA !== "") {
|
|
4000
|
+
writer.uint32(26).string(message.auditorA);
|
|
4001
|
+
}
|
|
4002
|
+
if (message.tierA !== 0) {
|
|
4003
|
+
writer.uint32(32).int32(message.tierA);
|
|
4004
|
+
}
|
|
4005
|
+
if (message.auditorB !== "") {
|
|
4006
|
+
writer.uint32(42).string(message.auditorB);
|
|
4007
|
+
}
|
|
4008
|
+
if (message.tierB !== 0) {
|
|
4009
|
+
writer.uint32(48).int32(message.tierB);
|
|
4010
|
+
}
|
|
4011
|
+
return writer;
|
|
4012
|
+
},
|
|
4013
|
+
decode(input, length) {
|
|
4014
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4015
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4016
|
+
const message = createBaseEventDiscrepancyDetected();
|
|
4017
|
+
while (reader.pos < end) {
|
|
4018
|
+
const tag = reader.uint32();
|
|
4019
|
+
switch (tag >>> 3) {
|
|
4020
|
+
case 1: {
|
|
4021
|
+
if (tag !== 8) {
|
|
4022
|
+
break;
|
|
4023
|
+
}
|
|
4024
|
+
message.discrepancyId = reader.uint64();
|
|
4025
|
+
continue;
|
|
4026
|
+
}
|
|
4027
|
+
case 2: {
|
|
4028
|
+
if (tag !== 18) {
|
|
4029
|
+
break;
|
|
4030
|
+
}
|
|
4031
|
+
message.provider = reader.string();
|
|
4032
|
+
continue;
|
|
4033
|
+
}
|
|
4034
|
+
case 3: {
|
|
4035
|
+
if (tag !== 26) {
|
|
4036
|
+
break;
|
|
4037
|
+
}
|
|
4038
|
+
message.auditorA = reader.string();
|
|
4039
|
+
continue;
|
|
4040
|
+
}
|
|
4041
|
+
case 4: {
|
|
4042
|
+
if (tag !== 32) {
|
|
4043
|
+
break;
|
|
4044
|
+
}
|
|
4045
|
+
message.tierA = reader.int32();
|
|
4046
|
+
continue;
|
|
4047
|
+
}
|
|
4048
|
+
case 5: {
|
|
4049
|
+
if (tag !== 42) {
|
|
4050
|
+
break;
|
|
4051
|
+
}
|
|
4052
|
+
message.auditorB = reader.string();
|
|
4053
|
+
continue;
|
|
4054
|
+
}
|
|
4055
|
+
case 6: {
|
|
4056
|
+
if (tag !== 48) {
|
|
4057
|
+
break;
|
|
4058
|
+
}
|
|
4059
|
+
message.tierB = reader.int32();
|
|
4060
|
+
continue;
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4064
|
+
break;
|
|
4065
|
+
}
|
|
4066
|
+
reader.skip(tag & 7);
|
|
4067
|
+
}
|
|
4068
|
+
return message;
|
|
4069
|
+
},
|
|
4070
|
+
fromJSON(object) {
|
|
4071
|
+
return {
|
|
4072
|
+
discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,
|
|
4073
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4074
|
+
auditorA: isSet(object.auditor_a) ? globalThis.String(object.auditor_a) : "",
|
|
4075
|
+
tierA: isSet(object.tier_a) ? verificationTierFromJSON(object.tier_a) : 0,
|
|
4076
|
+
auditorB: isSet(object.auditor_b) ? globalThis.String(object.auditor_b) : "",
|
|
4077
|
+
tierB: isSet(object.tier_b) ? verificationTierFromJSON(object.tier_b) : 0
|
|
4078
|
+
};
|
|
4079
|
+
},
|
|
4080
|
+
toJSON(message) {
|
|
4081
|
+
const obj = {};
|
|
4082
|
+
if (message.discrepancyId !== 0n) {
|
|
4083
|
+
obj.discrepancy_id = message.discrepancyId.toString();
|
|
4084
|
+
}
|
|
4085
|
+
if (message.provider !== "") {
|
|
4086
|
+
obj.provider = message.provider;
|
|
4087
|
+
}
|
|
4088
|
+
if (message.auditorA !== "") {
|
|
4089
|
+
obj.auditor_a = message.auditorA;
|
|
4090
|
+
}
|
|
4091
|
+
if (message.tierA !== 0) {
|
|
4092
|
+
obj.tier_a = verificationTierToJSON(message.tierA);
|
|
4093
|
+
}
|
|
4094
|
+
if (message.auditorB !== "") {
|
|
4095
|
+
obj.auditor_b = message.auditorB;
|
|
4096
|
+
}
|
|
4097
|
+
if (message.tierB !== 0) {
|
|
4098
|
+
obj.tier_b = verificationTierToJSON(message.tierB);
|
|
4099
|
+
}
|
|
4100
|
+
return obj;
|
|
4101
|
+
},
|
|
4102
|
+
fromPartial(object) {
|
|
4103
|
+
const message = createBaseEventDiscrepancyDetected();
|
|
4104
|
+
message.discrepancyId = object.discrepancyId !== void 0 && object.discrepancyId !== null ? BigInt(object.discrepancyId) : 0n;
|
|
4105
|
+
message.provider = object.provider ?? "";
|
|
4106
|
+
message.auditorA = object.auditorA ?? "";
|
|
4107
|
+
message.tierA = object.tierA ?? 0;
|
|
4108
|
+
message.auditorB = object.auditorB ?? "";
|
|
4109
|
+
message.tierB = object.tierB ?? 0;
|
|
4110
|
+
return message;
|
|
4111
|
+
}
|
|
4112
|
+
};
|
|
4113
|
+
function createBaseEventDiscrepancyResolved() {
|
|
4114
|
+
return { discrepancyId: 0n, vindicatedAuditor: "", reason: 0, faultAttribution: 0 };
|
|
4115
|
+
}
|
|
4116
|
+
var EventDiscrepancyResolved = {
|
|
4117
|
+
$type: "akash.verification.v1.EventDiscrepancyResolved",
|
|
4118
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4119
|
+
if (message.discrepancyId !== 0n) {
|
|
4120
|
+
if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {
|
|
4121
|
+
throw new globalThis.Error("value provided for field message.discrepancyId of type uint64 too large");
|
|
4122
|
+
}
|
|
4123
|
+
writer.uint32(8).uint64(message.discrepancyId);
|
|
4124
|
+
}
|
|
4125
|
+
if (message.vindicatedAuditor !== "") {
|
|
4126
|
+
writer.uint32(18).string(message.vindicatedAuditor);
|
|
4127
|
+
}
|
|
4128
|
+
if (message.reason !== 0) {
|
|
4129
|
+
writer.uint32(24).int32(message.reason);
|
|
4130
|
+
}
|
|
4131
|
+
if (message.faultAttribution !== 0) {
|
|
4132
|
+
writer.uint32(32).int32(message.faultAttribution);
|
|
4133
|
+
}
|
|
4134
|
+
return writer;
|
|
4135
|
+
},
|
|
4136
|
+
decode(input, length) {
|
|
4137
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4138
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4139
|
+
const message = createBaseEventDiscrepancyResolved();
|
|
4140
|
+
while (reader.pos < end) {
|
|
4141
|
+
const tag = reader.uint32();
|
|
4142
|
+
switch (tag >>> 3) {
|
|
4143
|
+
case 1: {
|
|
4144
|
+
if (tag !== 8) {
|
|
4145
|
+
break;
|
|
4146
|
+
}
|
|
4147
|
+
message.discrepancyId = reader.uint64();
|
|
4148
|
+
continue;
|
|
4149
|
+
}
|
|
4150
|
+
case 2: {
|
|
4151
|
+
if (tag !== 18) {
|
|
4152
|
+
break;
|
|
4153
|
+
}
|
|
4154
|
+
message.vindicatedAuditor = reader.string();
|
|
4155
|
+
continue;
|
|
4156
|
+
}
|
|
4157
|
+
case 3: {
|
|
4158
|
+
if (tag !== 24) {
|
|
4159
|
+
break;
|
|
4160
|
+
}
|
|
4161
|
+
message.reason = reader.int32();
|
|
4162
|
+
continue;
|
|
4163
|
+
}
|
|
4164
|
+
case 4: {
|
|
4165
|
+
if (tag !== 32) {
|
|
4166
|
+
break;
|
|
4167
|
+
}
|
|
4168
|
+
message.faultAttribution = reader.int32();
|
|
4169
|
+
continue;
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4173
|
+
break;
|
|
4174
|
+
}
|
|
4175
|
+
reader.skip(tag & 7);
|
|
4176
|
+
}
|
|
4177
|
+
return message;
|
|
4178
|
+
},
|
|
4179
|
+
fromJSON(object) {
|
|
4180
|
+
return {
|
|
4181
|
+
discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,
|
|
4182
|
+
vindicatedAuditor: isSet(object.vindicated_auditor) ? globalThis.String(object.vindicated_auditor) : "",
|
|
4183
|
+
reason: isSet(object.reason) ? discrepancyResolutionReasonFromJSON(object.reason) : 0,
|
|
4184
|
+
faultAttribution: isSet(object.fault_attribution) ? faultAttributionFromJSON(object.fault_attribution) : 0
|
|
4185
|
+
};
|
|
4186
|
+
},
|
|
4187
|
+
toJSON(message) {
|
|
4188
|
+
const obj = {};
|
|
4189
|
+
if (message.discrepancyId !== 0n) {
|
|
4190
|
+
obj.discrepancy_id = message.discrepancyId.toString();
|
|
4191
|
+
}
|
|
4192
|
+
if (message.vindicatedAuditor !== "") {
|
|
4193
|
+
obj.vindicated_auditor = message.vindicatedAuditor;
|
|
4194
|
+
}
|
|
4195
|
+
if (message.reason !== 0) {
|
|
4196
|
+
obj.reason = discrepancyResolutionReasonToJSON(message.reason);
|
|
4197
|
+
}
|
|
4198
|
+
if (message.faultAttribution !== 0) {
|
|
4199
|
+
obj.fault_attribution = faultAttributionToJSON(message.faultAttribution);
|
|
4200
|
+
}
|
|
4201
|
+
return obj;
|
|
4202
|
+
},
|
|
4203
|
+
fromPartial(object) {
|
|
4204
|
+
const message = createBaseEventDiscrepancyResolved();
|
|
4205
|
+
message.discrepancyId = object.discrepancyId !== void 0 && object.discrepancyId !== null ? BigInt(object.discrepancyId) : 0n;
|
|
4206
|
+
message.vindicatedAuditor = object.vindicatedAuditor ?? "";
|
|
4207
|
+
message.reason = object.reason ?? 0;
|
|
4208
|
+
message.faultAttribution = object.faultAttribution ?? 0;
|
|
4209
|
+
return message;
|
|
4210
|
+
}
|
|
4211
|
+
};
|
|
4212
|
+
function createBaseEventDiscrepancyTimedOut() {
|
|
4213
|
+
return { discrepancyId: 0n, auditorA: "", auditorB: "" };
|
|
4214
|
+
}
|
|
4215
|
+
var EventDiscrepancyTimedOut = {
|
|
4216
|
+
$type: "akash.verification.v1.EventDiscrepancyTimedOut",
|
|
4217
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4218
|
+
if (message.discrepancyId !== 0n) {
|
|
4219
|
+
if (BigInt.asUintN(64, message.discrepancyId) !== message.discrepancyId) {
|
|
4220
|
+
throw new globalThis.Error("value provided for field message.discrepancyId of type uint64 too large");
|
|
4221
|
+
}
|
|
4222
|
+
writer.uint32(8).uint64(message.discrepancyId);
|
|
4223
|
+
}
|
|
4224
|
+
if (message.auditorA !== "") {
|
|
4225
|
+
writer.uint32(18).string(message.auditorA);
|
|
4226
|
+
}
|
|
4227
|
+
if (message.auditorB !== "") {
|
|
4228
|
+
writer.uint32(26).string(message.auditorB);
|
|
4229
|
+
}
|
|
4230
|
+
return writer;
|
|
4231
|
+
},
|
|
4232
|
+
decode(input, length) {
|
|
4233
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4234
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4235
|
+
const message = createBaseEventDiscrepancyTimedOut();
|
|
4236
|
+
while (reader.pos < end) {
|
|
4237
|
+
const tag = reader.uint32();
|
|
4238
|
+
switch (tag >>> 3) {
|
|
4239
|
+
case 1: {
|
|
4240
|
+
if (tag !== 8) {
|
|
4241
|
+
break;
|
|
4242
|
+
}
|
|
4243
|
+
message.discrepancyId = reader.uint64();
|
|
4244
|
+
continue;
|
|
4245
|
+
}
|
|
4246
|
+
case 2: {
|
|
4247
|
+
if (tag !== 18) {
|
|
4248
|
+
break;
|
|
4249
|
+
}
|
|
4250
|
+
message.auditorA = reader.string();
|
|
4251
|
+
continue;
|
|
4252
|
+
}
|
|
4253
|
+
case 3: {
|
|
4254
|
+
if (tag !== 26) {
|
|
4255
|
+
break;
|
|
4256
|
+
}
|
|
4257
|
+
message.auditorB = reader.string();
|
|
4258
|
+
continue;
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
4261
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4262
|
+
break;
|
|
4263
|
+
}
|
|
4264
|
+
reader.skip(tag & 7);
|
|
4265
|
+
}
|
|
4266
|
+
return message;
|
|
4267
|
+
},
|
|
4268
|
+
fromJSON(object) {
|
|
4269
|
+
return {
|
|
4270
|
+
discrepancyId: isSet(object.discrepancy_id) ? BigInt(object.discrepancy_id) : 0n,
|
|
4271
|
+
auditorA: isSet(object.auditor_a) ? globalThis.String(object.auditor_a) : "",
|
|
4272
|
+
auditorB: isSet(object.auditor_b) ? globalThis.String(object.auditor_b) : ""
|
|
4273
|
+
};
|
|
4274
|
+
},
|
|
4275
|
+
toJSON(message) {
|
|
4276
|
+
const obj = {};
|
|
4277
|
+
if (message.discrepancyId !== 0n) {
|
|
4278
|
+
obj.discrepancy_id = message.discrepancyId.toString();
|
|
4279
|
+
}
|
|
4280
|
+
if (message.auditorA !== "") {
|
|
4281
|
+
obj.auditor_a = message.auditorA;
|
|
4282
|
+
}
|
|
4283
|
+
if (message.auditorB !== "") {
|
|
4284
|
+
obj.auditor_b = message.auditorB;
|
|
4285
|
+
}
|
|
4286
|
+
return obj;
|
|
4287
|
+
},
|
|
4288
|
+
fromPartial(object) {
|
|
4289
|
+
const message = createBaseEventDiscrepancyTimedOut();
|
|
4290
|
+
message.discrepancyId = object.discrepancyId !== void 0 && object.discrepancyId !== null ? BigInt(object.discrepancyId) : 0n;
|
|
4291
|
+
message.auditorA = object.auditorA ?? "";
|
|
4292
|
+
message.auditorB = object.auditorB ?? "";
|
|
4293
|
+
return message;
|
|
4294
|
+
}
|
|
4295
|
+
};
|
|
4296
|
+
function createBaseEventProviderBondPosted() {
|
|
4297
|
+
return { provider: "", amount: void 0, totalBonded: void 0 };
|
|
4298
|
+
}
|
|
4299
|
+
var EventProviderBondPosted = {
|
|
4300
|
+
$type: "akash.verification.v1.EventProviderBondPosted",
|
|
4301
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4302
|
+
if (message.provider !== "") {
|
|
4303
|
+
writer.uint32(10).string(message.provider);
|
|
4304
|
+
}
|
|
4305
|
+
if (message.amount !== void 0) {
|
|
4306
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
4307
|
+
}
|
|
4308
|
+
if (message.totalBonded !== void 0) {
|
|
4309
|
+
Coin.encode(message.totalBonded, writer.uint32(26).fork()).join();
|
|
4310
|
+
}
|
|
4311
|
+
return writer;
|
|
4312
|
+
},
|
|
4313
|
+
decode(input, length) {
|
|
4314
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4315
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4316
|
+
const message = createBaseEventProviderBondPosted();
|
|
4317
|
+
while (reader.pos < end) {
|
|
4318
|
+
const tag = reader.uint32();
|
|
4319
|
+
switch (tag >>> 3) {
|
|
4320
|
+
case 1: {
|
|
4321
|
+
if (tag !== 10) {
|
|
4322
|
+
break;
|
|
4323
|
+
}
|
|
4324
|
+
message.provider = reader.string();
|
|
4325
|
+
continue;
|
|
4326
|
+
}
|
|
4327
|
+
case 2: {
|
|
4328
|
+
if (tag !== 18) {
|
|
4329
|
+
break;
|
|
4330
|
+
}
|
|
4331
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4332
|
+
continue;
|
|
4333
|
+
}
|
|
4334
|
+
case 3: {
|
|
4335
|
+
if (tag !== 26) {
|
|
4336
|
+
break;
|
|
4337
|
+
}
|
|
4338
|
+
message.totalBonded = Coin.decode(reader, reader.uint32());
|
|
4339
|
+
continue;
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4342
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4343
|
+
break;
|
|
4344
|
+
}
|
|
4345
|
+
reader.skip(tag & 7);
|
|
4346
|
+
}
|
|
4347
|
+
return message;
|
|
4348
|
+
},
|
|
4349
|
+
fromJSON(object) {
|
|
4350
|
+
return {
|
|
4351
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4352
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0,
|
|
4353
|
+
totalBonded: isSet(object.total_bonded) ? Coin.fromJSON(object.total_bonded) : void 0
|
|
4354
|
+
};
|
|
4355
|
+
},
|
|
4356
|
+
toJSON(message) {
|
|
4357
|
+
const obj = {};
|
|
4358
|
+
if (message.provider !== "") {
|
|
4359
|
+
obj.provider = message.provider;
|
|
4360
|
+
}
|
|
4361
|
+
if (message.amount !== void 0) {
|
|
4362
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4363
|
+
}
|
|
4364
|
+
if (message.totalBonded !== void 0) {
|
|
4365
|
+
obj.total_bonded = Coin.toJSON(message.totalBonded);
|
|
4366
|
+
}
|
|
4367
|
+
return obj;
|
|
4368
|
+
},
|
|
4369
|
+
fromPartial(object) {
|
|
4370
|
+
const message = createBaseEventProviderBondPosted();
|
|
4371
|
+
message.provider = object.provider ?? "";
|
|
4372
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4373
|
+
message.totalBonded = object.totalBonded !== void 0 && object.totalBonded !== null ? Coin.fromPartial(object.totalBonded) : void 0;
|
|
4374
|
+
return message;
|
|
4375
|
+
}
|
|
4376
|
+
};
|
|
4377
|
+
function createBaseEventProviderBondSlashed() {
|
|
4378
|
+
return { provider: "", slashedAmount: void 0, reason: 0 };
|
|
4379
|
+
}
|
|
4380
|
+
var EventProviderBondSlashed = {
|
|
4381
|
+
$type: "akash.verification.v1.EventProviderBondSlashed",
|
|
4382
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4383
|
+
if (message.provider !== "") {
|
|
4384
|
+
writer.uint32(10).string(message.provider);
|
|
4385
|
+
}
|
|
4386
|
+
if (message.slashedAmount !== void 0) {
|
|
4387
|
+
Coin.encode(message.slashedAmount, writer.uint32(18).fork()).join();
|
|
4388
|
+
}
|
|
4389
|
+
if (message.reason !== 0) {
|
|
4390
|
+
writer.uint32(24).int32(message.reason);
|
|
4391
|
+
}
|
|
4392
|
+
return writer;
|
|
4393
|
+
},
|
|
4394
|
+
decode(input, length) {
|
|
4395
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4396
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4397
|
+
const message = createBaseEventProviderBondSlashed();
|
|
4398
|
+
while (reader.pos < end) {
|
|
4399
|
+
const tag = reader.uint32();
|
|
4400
|
+
switch (tag >>> 3) {
|
|
4401
|
+
case 1: {
|
|
4402
|
+
if (tag !== 10) {
|
|
4403
|
+
break;
|
|
4404
|
+
}
|
|
4405
|
+
message.provider = reader.string();
|
|
4406
|
+
continue;
|
|
4407
|
+
}
|
|
4408
|
+
case 2: {
|
|
4409
|
+
if (tag !== 18) {
|
|
4410
|
+
break;
|
|
4411
|
+
}
|
|
4412
|
+
message.slashedAmount = Coin.decode(reader, reader.uint32());
|
|
4413
|
+
continue;
|
|
4414
|
+
}
|
|
4415
|
+
case 3: {
|
|
4416
|
+
if (tag !== 24) {
|
|
4417
|
+
break;
|
|
4418
|
+
}
|
|
4419
|
+
message.reason = reader.int32();
|
|
4420
|
+
continue;
|
|
4421
|
+
}
|
|
4422
|
+
}
|
|
4423
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4424
|
+
break;
|
|
4425
|
+
}
|
|
4426
|
+
reader.skip(tag & 7);
|
|
4427
|
+
}
|
|
4428
|
+
return message;
|
|
4429
|
+
},
|
|
4430
|
+
fromJSON(object) {
|
|
4431
|
+
return {
|
|
4432
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4433
|
+
slashedAmount: isSet(object.slashed_amount) ? Coin.fromJSON(object.slashed_amount) : void 0,
|
|
4434
|
+
reason: isSet(object.reason) ? providerBondSlashReasonFromJSON(object.reason) : 0
|
|
4435
|
+
};
|
|
4436
|
+
},
|
|
4437
|
+
toJSON(message) {
|
|
4438
|
+
const obj = {};
|
|
4439
|
+
if (message.provider !== "") {
|
|
4440
|
+
obj.provider = message.provider;
|
|
4441
|
+
}
|
|
4442
|
+
if (message.slashedAmount !== void 0) {
|
|
4443
|
+
obj.slashed_amount = Coin.toJSON(message.slashedAmount);
|
|
4444
|
+
}
|
|
4445
|
+
if (message.reason !== 0) {
|
|
4446
|
+
obj.reason = providerBondSlashReasonToJSON(message.reason);
|
|
4447
|
+
}
|
|
4448
|
+
return obj;
|
|
4449
|
+
},
|
|
4450
|
+
fromPartial(object) {
|
|
4451
|
+
const message = createBaseEventProviderBondSlashed();
|
|
4452
|
+
message.provider = object.provider ?? "";
|
|
4453
|
+
message.slashedAmount = object.slashedAmount !== void 0 && object.slashedAmount !== null ? Coin.fromPartial(object.slashedAmount) : void 0;
|
|
4454
|
+
message.reason = object.reason ?? 0;
|
|
4455
|
+
return message;
|
|
4456
|
+
}
|
|
4457
|
+
};
|
|
4458
|
+
function createBaseEventProviderBondWithdrawalInitiated() {
|
|
4459
|
+
return { provider: "", amount: void 0, completionTime: void 0 };
|
|
4460
|
+
}
|
|
4461
|
+
var EventProviderBondWithdrawalInitiated = {
|
|
4462
|
+
$type: "akash.verification.v1.EventProviderBondWithdrawalInitiated",
|
|
4463
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4464
|
+
if (message.provider !== "") {
|
|
4465
|
+
writer.uint32(10).string(message.provider);
|
|
4466
|
+
}
|
|
4467
|
+
if (message.amount !== void 0) {
|
|
4468
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
4469
|
+
}
|
|
4470
|
+
if (message.completionTime !== void 0) {
|
|
4471
|
+
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(26).fork()).join();
|
|
4472
|
+
}
|
|
4473
|
+
return writer;
|
|
4474
|
+
},
|
|
4475
|
+
decode(input, length) {
|
|
4476
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4477
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4478
|
+
const message = createBaseEventProviderBondWithdrawalInitiated();
|
|
4479
|
+
while (reader.pos < end) {
|
|
4480
|
+
const tag = reader.uint32();
|
|
4481
|
+
switch (tag >>> 3) {
|
|
4482
|
+
case 1: {
|
|
4483
|
+
if (tag !== 10) {
|
|
4484
|
+
break;
|
|
4485
|
+
}
|
|
4486
|
+
message.provider = reader.string();
|
|
4487
|
+
continue;
|
|
4488
|
+
}
|
|
4489
|
+
case 2: {
|
|
4490
|
+
if (tag !== 18) {
|
|
4491
|
+
break;
|
|
4492
|
+
}
|
|
4493
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4494
|
+
continue;
|
|
4495
|
+
}
|
|
4496
|
+
case 3: {
|
|
4497
|
+
if (tag !== 26) {
|
|
4498
|
+
break;
|
|
4499
|
+
}
|
|
4500
|
+
message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
4501
|
+
continue;
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4505
|
+
break;
|
|
4506
|
+
}
|
|
4507
|
+
reader.skip(tag & 7);
|
|
4508
|
+
}
|
|
4509
|
+
return message;
|
|
4510
|
+
},
|
|
4511
|
+
fromJSON(object) {
|
|
4512
|
+
return {
|
|
4513
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4514
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0,
|
|
4515
|
+
completionTime: isSet(object.completion_time) ? fromJsonTimestamp(object.completion_time) : void 0
|
|
4516
|
+
};
|
|
4517
|
+
},
|
|
4518
|
+
toJSON(message) {
|
|
4519
|
+
const obj = {};
|
|
4520
|
+
if (message.provider !== "") {
|
|
4521
|
+
obj.provider = message.provider;
|
|
4522
|
+
}
|
|
4523
|
+
if (message.amount !== void 0) {
|
|
4524
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4525
|
+
}
|
|
4526
|
+
if (message.completionTime !== void 0) {
|
|
4527
|
+
obj.completion_time = message.completionTime.toISOString();
|
|
4528
|
+
}
|
|
4529
|
+
return obj;
|
|
4530
|
+
},
|
|
4531
|
+
fromPartial(object) {
|
|
4532
|
+
const message = createBaseEventProviderBondWithdrawalInitiated();
|
|
4533
|
+
message.provider = object.provider ?? "";
|
|
4534
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4535
|
+
message.completionTime = object.completionTime ?? void 0;
|
|
4536
|
+
return message;
|
|
4537
|
+
}
|
|
4538
|
+
};
|
|
4539
|
+
function createBaseEventProviderBondWithdrawalCompleted() {
|
|
4540
|
+
return { provider: "", amount: void 0 };
|
|
4541
|
+
}
|
|
4542
|
+
var EventProviderBondWithdrawalCompleted = {
|
|
4543
|
+
$type: "akash.verification.v1.EventProviderBondWithdrawalCompleted",
|
|
4544
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4545
|
+
if (message.provider !== "") {
|
|
4546
|
+
writer.uint32(10).string(message.provider);
|
|
4547
|
+
}
|
|
4548
|
+
if (message.amount !== void 0) {
|
|
4549
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
4550
|
+
}
|
|
4551
|
+
return writer;
|
|
4552
|
+
},
|
|
4553
|
+
decode(input, length) {
|
|
4554
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4555
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4556
|
+
const message = createBaseEventProviderBondWithdrawalCompleted();
|
|
4557
|
+
while (reader.pos < end) {
|
|
4558
|
+
const tag = reader.uint32();
|
|
4559
|
+
switch (tag >>> 3) {
|
|
4560
|
+
case 1: {
|
|
4561
|
+
if (tag !== 10) {
|
|
4562
|
+
break;
|
|
4563
|
+
}
|
|
4564
|
+
message.provider = reader.string();
|
|
4565
|
+
continue;
|
|
4566
|
+
}
|
|
4567
|
+
case 2: {
|
|
4568
|
+
if (tag !== 18) {
|
|
4569
|
+
break;
|
|
4570
|
+
}
|
|
4571
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4572
|
+
continue;
|
|
4573
|
+
}
|
|
4574
|
+
}
|
|
4575
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4576
|
+
break;
|
|
4577
|
+
}
|
|
4578
|
+
reader.skip(tag & 7);
|
|
4579
|
+
}
|
|
4580
|
+
return message;
|
|
4581
|
+
},
|
|
4582
|
+
fromJSON(object) {
|
|
4583
|
+
return {
|
|
4584
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4585
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
4586
|
+
};
|
|
4587
|
+
},
|
|
4588
|
+
toJSON(message) {
|
|
4589
|
+
const obj = {};
|
|
4590
|
+
if (message.provider !== "") {
|
|
4591
|
+
obj.provider = message.provider;
|
|
4592
|
+
}
|
|
4593
|
+
if (message.amount !== void 0) {
|
|
4594
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4595
|
+
}
|
|
4596
|
+
return obj;
|
|
4597
|
+
},
|
|
4598
|
+
fromPartial(object) {
|
|
4599
|
+
const message = createBaseEventProviderBondWithdrawalCompleted();
|
|
4600
|
+
message.provider = object.provider ?? "";
|
|
4601
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4602
|
+
return message;
|
|
4603
|
+
}
|
|
4604
|
+
};
|
|
4605
|
+
function createBaseEventSnapshotHashPosted() {
|
|
4606
|
+
return { provider: "", snapshotHash: new Uint8Array(0), complianceDeadline: void 0 };
|
|
4607
|
+
}
|
|
4608
|
+
var EventSnapshotHashPosted = {
|
|
4609
|
+
$type: "akash.verification.v1.EventSnapshotHashPosted",
|
|
4610
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4611
|
+
if (message.provider !== "") {
|
|
4612
|
+
writer.uint32(10).string(message.provider);
|
|
4613
|
+
}
|
|
4614
|
+
if (message.snapshotHash.length !== 0) {
|
|
4615
|
+
writer.uint32(18).bytes(message.snapshotHash);
|
|
4616
|
+
}
|
|
4617
|
+
if (message.complianceDeadline !== void 0) {
|
|
4618
|
+
Timestamp.encode(toTimestamp(message.complianceDeadline), writer.uint32(26).fork()).join();
|
|
4619
|
+
}
|
|
4620
|
+
return writer;
|
|
4621
|
+
},
|
|
4622
|
+
decode(input, length) {
|
|
4623
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4624
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4625
|
+
const message = createBaseEventSnapshotHashPosted();
|
|
4626
|
+
while (reader.pos < end) {
|
|
4627
|
+
const tag = reader.uint32();
|
|
4628
|
+
switch (tag >>> 3) {
|
|
4629
|
+
case 1: {
|
|
4630
|
+
if (tag !== 10) {
|
|
4631
|
+
break;
|
|
4632
|
+
}
|
|
4633
|
+
message.provider = reader.string();
|
|
4634
|
+
continue;
|
|
4635
|
+
}
|
|
4636
|
+
case 2: {
|
|
4637
|
+
if (tag !== 18) {
|
|
4638
|
+
break;
|
|
4639
|
+
}
|
|
4640
|
+
message.snapshotHash = reader.bytes();
|
|
4641
|
+
continue;
|
|
4642
|
+
}
|
|
4643
|
+
case 3: {
|
|
4644
|
+
if (tag !== 26) {
|
|
4645
|
+
break;
|
|
4646
|
+
}
|
|
4647
|
+
message.complianceDeadline = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
4648
|
+
continue;
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4652
|
+
break;
|
|
4653
|
+
}
|
|
4654
|
+
reader.skip(tag & 7);
|
|
4655
|
+
}
|
|
4656
|
+
return message;
|
|
4657
|
+
},
|
|
4658
|
+
fromJSON(object) {
|
|
4659
|
+
return {
|
|
4660
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4661
|
+
snapshotHash: isSet(object.snapshot_hash) ? bytesFromBase64(object.snapshot_hash) : new Uint8Array(0),
|
|
4662
|
+
complianceDeadline: isSet(object.compliance_deadline) ? fromJsonTimestamp(object.compliance_deadline) : void 0
|
|
4663
|
+
};
|
|
4664
|
+
},
|
|
4665
|
+
toJSON(message) {
|
|
4666
|
+
const obj = {};
|
|
4667
|
+
if (message.provider !== "") {
|
|
4668
|
+
obj.provider = message.provider;
|
|
4669
|
+
}
|
|
4670
|
+
if (message.snapshotHash.length !== 0) {
|
|
4671
|
+
obj.snapshot_hash = base64FromBytes(message.snapshotHash);
|
|
4672
|
+
}
|
|
4673
|
+
if (message.complianceDeadline !== void 0) {
|
|
4674
|
+
obj.compliance_deadline = message.complianceDeadline.toISOString();
|
|
4675
|
+
}
|
|
4676
|
+
return obj;
|
|
4677
|
+
},
|
|
4678
|
+
fromPartial(object) {
|
|
4679
|
+
const message = createBaseEventSnapshotHashPosted();
|
|
4680
|
+
message.provider = object.provider ?? "";
|
|
4681
|
+
message.snapshotHash = object.snapshotHash ?? new Uint8Array(0);
|
|
4682
|
+
message.complianceDeadline = object.complianceDeadline ?? void 0;
|
|
4683
|
+
return message;
|
|
4684
|
+
}
|
|
4685
|
+
};
|
|
4686
|
+
function createBaseEventSnapshotSuspended() {
|
|
4687
|
+
return { provider: "" };
|
|
4688
|
+
}
|
|
4689
|
+
var EventSnapshotSuspended = {
|
|
4690
|
+
$type: "akash.verification.v1.EventSnapshotSuspended",
|
|
4691
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4692
|
+
if (message.provider !== "") {
|
|
4693
|
+
writer.uint32(10).string(message.provider);
|
|
4694
|
+
}
|
|
4695
|
+
return writer;
|
|
4696
|
+
},
|
|
4697
|
+
decode(input, length) {
|
|
4698
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4699
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4700
|
+
const message = createBaseEventSnapshotSuspended();
|
|
4701
|
+
while (reader.pos < end) {
|
|
4702
|
+
const tag = reader.uint32();
|
|
4703
|
+
switch (tag >>> 3) {
|
|
4704
|
+
case 1: {
|
|
4705
|
+
if (tag !== 10) {
|
|
4706
|
+
break;
|
|
4707
|
+
}
|
|
4708
|
+
message.provider = reader.string();
|
|
4709
|
+
continue;
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4713
|
+
break;
|
|
4714
|
+
}
|
|
4715
|
+
reader.skip(tag & 7);
|
|
4716
|
+
}
|
|
4717
|
+
return message;
|
|
4718
|
+
},
|
|
4719
|
+
fromJSON(object) {
|
|
4720
|
+
return { provider: isSet(object.provider) ? globalThis.String(object.provider) : "" };
|
|
4721
|
+
},
|
|
4722
|
+
toJSON(message) {
|
|
4723
|
+
const obj = {};
|
|
4724
|
+
if (message.provider !== "") {
|
|
4725
|
+
obj.provider = message.provider;
|
|
4726
|
+
}
|
|
4727
|
+
return obj;
|
|
4728
|
+
},
|
|
4729
|
+
fromPartial(object) {
|
|
4730
|
+
const message = createBaseEventSnapshotSuspended();
|
|
4731
|
+
message.provider = object.provider ?? "";
|
|
4732
|
+
return message;
|
|
4733
|
+
}
|
|
4734
|
+
};
|
|
4735
|
+
function createBaseEventSnapshotResumed() {
|
|
4736
|
+
return { provider: "" };
|
|
4737
|
+
}
|
|
4738
|
+
var EventSnapshotResumed = {
|
|
4739
|
+
$type: "akash.verification.v1.EventSnapshotResumed",
|
|
4740
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4741
|
+
if (message.provider !== "") {
|
|
4742
|
+
writer.uint32(10).string(message.provider);
|
|
4743
|
+
}
|
|
4744
|
+
return writer;
|
|
4745
|
+
},
|
|
4746
|
+
decode(input, length) {
|
|
4747
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4748
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4749
|
+
const message = createBaseEventSnapshotResumed();
|
|
4750
|
+
while (reader.pos < end) {
|
|
4751
|
+
const tag = reader.uint32();
|
|
4752
|
+
switch (tag >>> 3) {
|
|
4753
|
+
case 1: {
|
|
4754
|
+
if (tag !== 10) {
|
|
4755
|
+
break;
|
|
4756
|
+
}
|
|
4757
|
+
message.provider = reader.string();
|
|
4758
|
+
continue;
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4762
|
+
break;
|
|
4763
|
+
}
|
|
4764
|
+
reader.skip(tag & 7);
|
|
4765
|
+
}
|
|
4766
|
+
return message;
|
|
4767
|
+
},
|
|
4768
|
+
fromJSON(object) {
|
|
4769
|
+
return { provider: isSet(object.provider) ? globalThis.String(object.provider) : "" };
|
|
4770
|
+
},
|
|
4771
|
+
toJSON(message) {
|
|
4772
|
+
const obj = {};
|
|
4773
|
+
if (message.provider !== "") {
|
|
4774
|
+
obj.provider = message.provider;
|
|
4775
|
+
}
|
|
4776
|
+
return obj;
|
|
4777
|
+
},
|
|
4778
|
+
fromPartial(object) {
|
|
4779
|
+
const message = createBaseEventSnapshotResumed();
|
|
4780
|
+
message.provider = object.provider ?? "";
|
|
4781
|
+
return message;
|
|
4782
|
+
}
|
|
4783
|
+
};
|
|
4784
|
+
function createBaseEventFeeEscrowed() {
|
|
4785
|
+
return { provider: "", auditor: "", amount: void 0 };
|
|
4786
|
+
}
|
|
4787
|
+
var EventFeeEscrowed = {
|
|
4788
|
+
$type: "akash.verification.v1.EventFeeEscrowed",
|
|
4789
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4790
|
+
if (message.provider !== "") {
|
|
4791
|
+
writer.uint32(10).string(message.provider);
|
|
4792
|
+
}
|
|
4793
|
+
if (message.auditor !== "") {
|
|
4794
|
+
writer.uint32(18).string(message.auditor);
|
|
4795
|
+
}
|
|
4796
|
+
if (message.amount !== void 0) {
|
|
4797
|
+
Coin.encode(message.amount, writer.uint32(26).fork()).join();
|
|
4798
|
+
}
|
|
4799
|
+
return writer;
|
|
4800
|
+
},
|
|
4801
|
+
decode(input, length) {
|
|
4802
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4803
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4804
|
+
const message = createBaseEventFeeEscrowed();
|
|
4805
|
+
while (reader.pos < end) {
|
|
4806
|
+
const tag = reader.uint32();
|
|
4807
|
+
switch (tag >>> 3) {
|
|
4808
|
+
case 1: {
|
|
4809
|
+
if (tag !== 10) {
|
|
4810
|
+
break;
|
|
4811
|
+
}
|
|
4812
|
+
message.provider = reader.string();
|
|
4813
|
+
continue;
|
|
4814
|
+
}
|
|
4815
|
+
case 2: {
|
|
4816
|
+
if (tag !== 18) {
|
|
4817
|
+
break;
|
|
4818
|
+
}
|
|
4819
|
+
message.auditor = reader.string();
|
|
4820
|
+
continue;
|
|
4821
|
+
}
|
|
4822
|
+
case 3: {
|
|
4823
|
+
if (tag !== 26) {
|
|
4824
|
+
break;
|
|
4825
|
+
}
|
|
4826
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4827
|
+
continue;
|
|
4828
|
+
}
|
|
4829
|
+
}
|
|
4830
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4831
|
+
break;
|
|
4832
|
+
}
|
|
4833
|
+
reader.skip(tag & 7);
|
|
4834
|
+
}
|
|
4835
|
+
return message;
|
|
4836
|
+
},
|
|
4837
|
+
fromJSON(object) {
|
|
4838
|
+
return {
|
|
4839
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4840
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
4841
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
4842
|
+
};
|
|
4843
|
+
},
|
|
4844
|
+
toJSON(message) {
|
|
4845
|
+
const obj = {};
|
|
4846
|
+
if (message.provider !== "") {
|
|
4847
|
+
obj.provider = message.provider;
|
|
4848
|
+
}
|
|
4849
|
+
if (message.auditor !== "") {
|
|
4850
|
+
obj.auditor = message.auditor;
|
|
4851
|
+
}
|
|
4852
|
+
if (message.amount !== void 0) {
|
|
4853
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4854
|
+
}
|
|
4855
|
+
return obj;
|
|
4856
|
+
},
|
|
4857
|
+
fromPartial(object) {
|
|
4858
|
+
const message = createBaseEventFeeEscrowed();
|
|
4859
|
+
message.provider = object.provider ?? "";
|
|
4860
|
+
message.auditor = object.auditor ?? "";
|
|
4861
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4862
|
+
return message;
|
|
4863
|
+
}
|
|
4864
|
+
};
|
|
4865
|
+
function createBaseEventFeeReleasedToAuditor() {
|
|
4866
|
+
return { auditor: "", amount: void 0 };
|
|
4867
|
+
}
|
|
4868
|
+
var EventFeeReleasedToAuditor = {
|
|
4869
|
+
$type: "akash.verification.v1.EventFeeReleasedToAuditor",
|
|
4870
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4871
|
+
if (message.auditor !== "") {
|
|
4872
|
+
writer.uint32(10).string(message.auditor);
|
|
4873
|
+
}
|
|
4874
|
+
if (message.amount !== void 0) {
|
|
4875
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
4876
|
+
}
|
|
4877
|
+
return writer;
|
|
4878
|
+
},
|
|
4879
|
+
decode(input, length) {
|
|
4880
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4881
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4882
|
+
const message = createBaseEventFeeReleasedToAuditor();
|
|
4883
|
+
while (reader.pos < end) {
|
|
4884
|
+
const tag = reader.uint32();
|
|
4885
|
+
switch (tag >>> 3) {
|
|
4886
|
+
case 1: {
|
|
4887
|
+
if (tag !== 10) {
|
|
4888
|
+
break;
|
|
4889
|
+
}
|
|
4890
|
+
message.auditor = reader.string();
|
|
4891
|
+
continue;
|
|
4892
|
+
}
|
|
4893
|
+
case 2: {
|
|
4894
|
+
if (tag !== 18) {
|
|
4895
|
+
break;
|
|
4896
|
+
}
|
|
4897
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4898
|
+
continue;
|
|
4899
|
+
}
|
|
4900
|
+
}
|
|
4901
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4902
|
+
break;
|
|
4903
|
+
}
|
|
4904
|
+
reader.skip(tag & 7);
|
|
4905
|
+
}
|
|
4906
|
+
return message;
|
|
4907
|
+
},
|
|
4908
|
+
fromJSON(object) {
|
|
4909
|
+
return {
|
|
4910
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
4911
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
4912
|
+
};
|
|
4913
|
+
},
|
|
4914
|
+
toJSON(message) {
|
|
4915
|
+
const obj = {};
|
|
4916
|
+
if (message.auditor !== "") {
|
|
4917
|
+
obj.auditor = message.auditor;
|
|
4918
|
+
}
|
|
4919
|
+
if (message.amount !== void 0) {
|
|
4920
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4921
|
+
}
|
|
4922
|
+
return obj;
|
|
4923
|
+
},
|
|
4924
|
+
fromPartial(object) {
|
|
4925
|
+
const message = createBaseEventFeeReleasedToAuditor();
|
|
4926
|
+
message.auditor = object.auditor ?? "";
|
|
4927
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4928
|
+
return message;
|
|
4929
|
+
}
|
|
4930
|
+
};
|
|
4931
|
+
function createBaseEventFeeReturnedToProvider() {
|
|
4932
|
+
return { provider: "", amount: void 0 };
|
|
4933
|
+
}
|
|
4934
|
+
var EventFeeReturnedToProvider = {
|
|
4935
|
+
$type: "akash.verification.v1.EventFeeReturnedToProvider",
|
|
4936
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
4937
|
+
if (message.provider !== "") {
|
|
4938
|
+
writer.uint32(10).string(message.provider);
|
|
4939
|
+
}
|
|
4940
|
+
if (message.amount !== void 0) {
|
|
4941
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
4942
|
+
}
|
|
4943
|
+
return writer;
|
|
4944
|
+
},
|
|
4945
|
+
decode(input, length) {
|
|
4946
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
4947
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4948
|
+
const message = createBaseEventFeeReturnedToProvider();
|
|
4949
|
+
while (reader.pos < end) {
|
|
4950
|
+
const tag = reader.uint32();
|
|
4951
|
+
switch (tag >>> 3) {
|
|
4952
|
+
case 1: {
|
|
4953
|
+
if (tag !== 10) {
|
|
4954
|
+
break;
|
|
4955
|
+
}
|
|
4956
|
+
message.provider = reader.string();
|
|
4957
|
+
continue;
|
|
4958
|
+
}
|
|
4959
|
+
case 2: {
|
|
4960
|
+
if (tag !== 18) {
|
|
4961
|
+
break;
|
|
4962
|
+
}
|
|
4963
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
4964
|
+
continue;
|
|
4965
|
+
}
|
|
4966
|
+
}
|
|
4967
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4968
|
+
break;
|
|
4969
|
+
}
|
|
4970
|
+
reader.skip(tag & 7);
|
|
4971
|
+
}
|
|
4972
|
+
return message;
|
|
4973
|
+
},
|
|
4974
|
+
fromJSON(object) {
|
|
4975
|
+
return {
|
|
4976
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
4977
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
4978
|
+
};
|
|
4979
|
+
},
|
|
4980
|
+
toJSON(message) {
|
|
4981
|
+
const obj = {};
|
|
4982
|
+
if (message.provider !== "") {
|
|
4983
|
+
obj.provider = message.provider;
|
|
4984
|
+
}
|
|
4985
|
+
if (message.amount !== void 0) {
|
|
4986
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
4987
|
+
}
|
|
4988
|
+
return obj;
|
|
4989
|
+
},
|
|
4990
|
+
fromPartial(object) {
|
|
4991
|
+
const message = createBaseEventFeeReturnedToProvider();
|
|
4992
|
+
message.provider = object.provider ?? "";
|
|
4993
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
4994
|
+
return message;
|
|
4995
|
+
}
|
|
4996
|
+
};
|
|
4997
|
+
function createBaseEventAuditEscrowOpened() {
|
|
4998
|
+
return { auditEscrowId: 0n, provider: "", fee: void 0, providerDeposit: void 0 };
|
|
4999
|
+
}
|
|
5000
|
+
var EventAuditEscrowOpened = {
|
|
5001
|
+
$type: "akash.verification.v1.EventAuditEscrowOpened",
|
|
5002
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5003
|
+
if (message.auditEscrowId !== 0n) {
|
|
5004
|
+
if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {
|
|
5005
|
+
throw new globalThis.Error("value provided for field message.auditEscrowId of type uint64 too large");
|
|
5006
|
+
}
|
|
5007
|
+
writer.uint32(8).uint64(message.auditEscrowId);
|
|
5008
|
+
}
|
|
5009
|
+
if (message.provider !== "") {
|
|
5010
|
+
writer.uint32(18).string(message.provider);
|
|
5011
|
+
}
|
|
5012
|
+
if (message.fee !== void 0) {
|
|
5013
|
+
Coin.encode(message.fee, writer.uint32(26).fork()).join();
|
|
5014
|
+
}
|
|
5015
|
+
if (message.providerDeposit !== void 0) {
|
|
5016
|
+
Coin.encode(message.providerDeposit, writer.uint32(34).fork()).join();
|
|
5017
|
+
}
|
|
5018
|
+
return writer;
|
|
5019
|
+
},
|
|
5020
|
+
decode(input, length) {
|
|
5021
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5022
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5023
|
+
const message = createBaseEventAuditEscrowOpened();
|
|
5024
|
+
while (reader.pos < end) {
|
|
5025
|
+
const tag = reader.uint32();
|
|
5026
|
+
switch (tag >>> 3) {
|
|
5027
|
+
case 1: {
|
|
5028
|
+
if (tag !== 8) {
|
|
5029
|
+
break;
|
|
5030
|
+
}
|
|
5031
|
+
message.auditEscrowId = reader.uint64();
|
|
5032
|
+
continue;
|
|
5033
|
+
}
|
|
5034
|
+
case 2: {
|
|
5035
|
+
if (tag !== 18) {
|
|
5036
|
+
break;
|
|
5037
|
+
}
|
|
5038
|
+
message.provider = reader.string();
|
|
5039
|
+
continue;
|
|
5040
|
+
}
|
|
5041
|
+
case 3: {
|
|
5042
|
+
if (tag !== 26) {
|
|
5043
|
+
break;
|
|
5044
|
+
}
|
|
5045
|
+
message.fee = Coin.decode(reader, reader.uint32());
|
|
5046
|
+
continue;
|
|
5047
|
+
}
|
|
5048
|
+
case 4: {
|
|
5049
|
+
if (tag !== 34) {
|
|
5050
|
+
break;
|
|
5051
|
+
}
|
|
5052
|
+
message.providerDeposit = Coin.decode(reader, reader.uint32());
|
|
5053
|
+
continue;
|
|
5054
|
+
}
|
|
5055
|
+
}
|
|
5056
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5057
|
+
break;
|
|
5058
|
+
}
|
|
5059
|
+
reader.skip(tag & 7);
|
|
5060
|
+
}
|
|
5061
|
+
return message;
|
|
5062
|
+
},
|
|
5063
|
+
fromJSON(object) {
|
|
5064
|
+
return {
|
|
5065
|
+
auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n,
|
|
5066
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
5067
|
+
fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : void 0,
|
|
5068
|
+
providerDeposit: isSet(object.provider_deposit) ? Coin.fromJSON(object.provider_deposit) : void 0
|
|
5069
|
+
};
|
|
5070
|
+
},
|
|
5071
|
+
toJSON(message) {
|
|
5072
|
+
const obj = {};
|
|
5073
|
+
if (message.auditEscrowId !== 0n) {
|
|
5074
|
+
obj.audit_escrow_id = message.auditEscrowId.toString();
|
|
5075
|
+
}
|
|
5076
|
+
if (message.provider !== "") {
|
|
5077
|
+
obj.provider = message.provider;
|
|
5078
|
+
}
|
|
5079
|
+
if (message.fee !== void 0) {
|
|
5080
|
+
obj.fee = Coin.toJSON(message.fee);
|
|
5081
|
+
}
|
|
5082
|
+
if (message.providerDeposit !== void 0) {
|
|
5083
|
+
obj.provider_deposit = Coin.toJSON(message.providerDeposit);
|
|
5084
|
+
}
|
|
5085
|
+
return obj;
|
|
5086
|
+
},
|
|
5087
|
+
fromPartial(object) {
|
|
5088
|
+
const message = createBaseEventAuditEscrowOpened();
|
|
5089
|
+
message.auditEscrowId = object.auditEscrowId !== void 0 && object.auditEscrowId !== null ? BigInt(object.auditEscrowId) : 0n;
|
|
5090
|
+
message.provider = object.provider ?? "";
|
|
5091
|
+
message.fee = object.fee !== void 0 && object.fee !== null ? Coin.fromPartial(object.fee) : void 0;
|
|
5092
|
+
message.providerDeposit = object.providerDeposit !== void 0 && object.providerDeposit !== null ? Coin.fromPartial(object.providerDeposit) : void 0;
|
|
5093
|
+
return message;
|
|
5094
|
+
}
|
|
5095
|
+
};
|
|
5096
|
+
function createBaseEventAuditEscrowSettled() {
|
|
5097
|
+
return { auditEscrowId: 0n, reason: 0, faultAttribution: 0 };
|
|
5098
|
+
}
|
|
5099
|
+
var EventAuditEscrowSettled = {
|
|
5100
|
+
$type: "akash.verification.v1.EventAuditEscrowSettled",
|
|
5101
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5102
|
+
if (message.auditEscrowId !== 0n) {
|
|
5103
|
+
if (BigInt.asUintN(64, message.auditEscrowId) !== message.auditEscrowId) {
|
|
5104
|
+
throw new globalThis.Error("value provided for field message.auditEscrowId of type uint64 too large");
|
|
5105
|
+
}
|
|
5106
|
+
writer.uint32(8).uint64(message.auditEscrowId);
|
|
5107
|
+
}
|
|
5108
|
+
if (message.reason !== 0) {
|
|
5109
|
+
writer.uint32(16).int32(message.reason);
|
|
5110
|
+
}
|
|
5111
|
+
if (message.faultAttribution !== 0) {
|
|
5112
|
+
writer.uint32(24).int32(message.faultAttribution);
|
|
5113
|
+
}
|
|
5114
|
+
return writer;
|
|
5115
|
+
},
|
|
5116
|
+
decode(input, length) {
|
|
5117
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5118
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5119
|
+
const message = createBaseEventAuditEscrowSettled();
|
|
5120
|
+
while (reader.pos < end) {
|
|
5121
|
+
const tag = reader.uint32();
|
|
5122
|
+
switch (tag >>> 3) {
|
|
5123
|
+
case 1: {
|
|
5124
|
+
if (tag !== 8) {
|
|
5125
|
+
break;
|
|
5126
|
+
}
|
|
5127
|
+
message.auditEscrowId = reader.uint64();
|
|
5128
|
+
continue;
|
|
5129
|
+
}
|
|
5130
|
+
case 2: {
|
|
5131
|
+
if (tag !== 16) {
|
|
5132
|
+
break;
|
|
5133
|
+
}
|
|
5134
|
+
message.reason = reader.int32();
|
|
5135
|
+
continue;
|
|
5136
|
+
}
|
|
5137
|
+
case 3: {
|
|
5138
|
+
if (tag !== 24) {
|
|
5139
|
+
break;
|
|
5140
|
+
}
|
|
5141
|
+
message.faultAttribution = reader.int32();
|
|
5142
|
+
continue;
|
|
5143
|
+
}
|
|
5144
|
+
}
|
|
5145
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5146
|
+
break;
|
|
5147
|
+
}
|
|
5148
|
+
reader.skip(tag & 7);
|
|
5149
|
+
}
|
|
5150
|
+
return message;
|
|
5151
|
+
},
|
|
5152
|
+
fromJSON(object) {
|
|
5153
|
+
return {
|
|
5154
|
+
auditEscrowId: isSet(object.audit_escrow_id) ? BigInt(object.audit_escrow_id) : 0n,
|
|
5155
|
+
reason: isSet(object.reason) ? auditEscrowSettlementReasonFromJSON(object.reason) : 0,
|
|
5156
|
+
faultAttribution: isSet(object.fault_attribution) ? faultAttributionFromJSON(object.fault_attribution) : 0
|
|
5157
|
+
};
|
|
5158
|
+
},
|
|
5159
|
+
toJSON(message) {
|
|
5160
|
+
const obj = {};
|
|
5161
|
+
if (message.auditEscrowId !== 0n) {
|
|
5162
|
+
obj.audit_escrow_id = message.auditEscrowId.toString();
|
|
5163
|
+
}
|
|
5164
|
+
if (message.reason !== 0) {
|
|
5165
|
+
obj.reason = auditEscrowSettlementReasonToJSON(message.reason);
|
|
5166
|
+
}
|
|
5167
|
+
if (message.faultAttribution !== 0) {
|
|
5168
|
+
obj.fault_attribution = faultAttributionToJSON(message.faultAttribution);
|
|
5169
|
+
}
|
|
5170
|
+
return obj;
|
|
5171
|
+
},
|
|
5172
|
+
fromPartial(object) {
|
|
5173
|
+
const message = createBaseEventAuditEscrowSettled();
|
|
5174
|
+
message.auditEscrowId = object.auditEscrowId !== void 0 && object.auditEscrowId !== null ? BigInt(object.auditEscrowId) : 0n;
|
|
5175
|
+
message.reason = object.reason ?? 0;
|
|
5176
|
+
message.faultAttribution = object.faultAttribution ?? 0;
|
|
5177
|
+
return message;
|
|
5178
|
+
}
|
|
5179
|
+
};
|
|
5180
|
+
function createBaseEventDepositReturnedToAuditor() {
|
|
5181
|
+
return { auditor: "", amount: void 0 };
|
|
5182
|
+
}
|
|
5183
|
+
var EventDepositReturnedToAuditor = {
|
|
5184
|
+
$type: "akash.verification.v1.EventDepositReturnedToAuditor",
|
|
5185
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5186
|
+
if (message.auditor !== "") {
|
|
5187
|
+
writer.uint32(10).string(message.auditor);
|
|
5188
|
+
}
|
|
5189
|
+
if (message.amount !== void 0) {
|
|
5190
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
5191
|
+
}
|
|
5192
|
+
return writer;
|
|
5193
|
+
},
|
|
5194
|
+
decode(input, length) {
|
|
5195
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5196
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5197
|
+
const message = createBaseEventDepositReturnedToAuditor();
|
|
5198
|
+
while (reader.pos < end) {
|
|
5199
|
+
const tag = reader.uint32();
|
|
5200
|
+
switch (tag >>> 3) {
|
|
5201
|
+
case 1: {
|
|
5202
|
+
if (tag !== 10) {
|
|
5203
|
+
break;
|
|
5204
|
+
}
|
|
5205
|
+
message.auditor = reader.string();
|
|
5206
|
+
continue;
|
|
5207
|
+
}
|
|
5208
|
+
case 2: {
|
|
5209
|
+
if (tag !== 18) {
|
|
5210
|
+
break;
|
|
5211
|
+
}
|
|
5212
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
5213
|
+
continue;
|
|
5214
|
+
}
|
|
5215
|
+
}
|
|
5216
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5217
|
+
break;
|
|
5218
|
+
}
|
|
5219
|
+
reader.skip(tag & 7);
|
|
5220
|
+
}
|
|
5221
|
+
return message;
|
|
5222
|
+
},
|
|
5223
|
+
fromJSON(object) {
|
|
5224
|
+
return {
|
|
5225
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
5226
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
5227
|
+
};
|
|
5228
|
+
},
|
|
5229
|
+
toJSON(message) {
|
|
5230
|
+
const obj = {};
|
|
5231
|
+
if (message.auditor !== "") {
|
|
5232
|
+
obj.auditor = message.auditor;
|
|
5233
|
+
}
|
|
5234
|
+
if (message.amount !== void 0) {
|
|
5235
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
5236
|
+
}
|
|
5237
|
+
return obj;
|
|
5238
|
+
},
|
|
5239
|
+
fromPartial(object) {
|
|
5240
|
+
const message = createBaseEventDepositReturnedToAuditor();
|
|
5241
|
+
message.auditor = object.auditor ?? "";
|
|
5242
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
5243
|
+
return message;
|
|
5244
|
+
}
|
|
5245
|
+
};
|
|
5246
|
+
function createBaseEventDepositSlashed() {
|
|
5247
|
+
return { auditor: "", amount: void 0 };
|
|
5248
|
+
}
|
|
5249
|
+
var EventDepositSlashed = {
|
|
5250
|
+
$type: "akash.verification.v1.EventDepositSlashed",
|
|
5251
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5252
|
+
if (message.auditor !== "") {
|
|
5253
|
+
writer.uint32(10).string(message.auditor);
|
|
5254
|
+
}
|
|
5255
|
+
if (message.amount !== void 0) {
|
|
5256
|
+
Coin.encode(message.amount, writer.uint32(18).fork()).join();
|
|
5257
|
+
}
|
|
5258
|
+
return writer;
|
|
5259
|
+
},
|
|
5260
|
+
decode(input, length) {
|
|
5261
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5262
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5263
|
+
const message = createBaseEventDepositSlashed();
|
|
5264
|
+
while (reader.pos < end) {
|
|
5265
|
+
const tag = reader.uint32();
|
|
5266
|
+
switch (tag >>> 3) {
|
|
5267
|
+
case 1: {
|
|
5268
|
+
if (tag !== 10) {
|
|
5269
|
+
break;
|
|
5270
|
+
}
|
|
5271
|
+
message.auditor = reader.string();
|
|
5272
|
+
continue;
|
|
5273
|
+
}
|
|
5274
|
+
case 2: {
|
|
5275
|
+
if (tag !== 18) {
|
|
5276
|
+
break;
|
|
5277
|
+
}
|
|
5278
|
+
message.amount = Coin.decode(reader, reader.uint32());
|
|
5279
|
+
continue;
|
|
5280
|
+
}
|
|
5281
|
+
}
|
|
5282
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5283
|
+
break;
|
|
5284
|
+
}
|
|
5285
|
+
reader.skip(tag & 7);
|
|
5286
|
+
}
|
|
5287
|
+
return message;
|
|
5288
|
+
},
|
|
5289
|
+
fromJSON(object) {
|
|
5290
|
+
return {
|
|
5291
|
+
auditor: isSet(object.auditor) ? globalThis.String(object.auditor) : "",
|
|
5292
|
+
amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0
|
|
5293
|
+
};
|
|
5294
|
+
},
|
|
5295
|
+
toJSON(message) {
|
|
5296
|
+
const obj = {};
|
|
5297
|
+
if (message.auditor !== "") {
|
|
5298
|
+
obj.auditor = message.auditor;
|
|
5299
|
+
}
|
|
5300
|
+
if (message.amount !== void 0) {
|
|
5301
|
+
obj.amount = Coin.toJSON(message.amount);
|
|
5302
|
+
}
|
|
5303
|
+
return obj;
|
|
5304
|
+
},
|
|
5305
|
+
fromPartial(object) {
|
|
5306
|
+
const message = createBaseEventDepositSlashed();
|
|
5307
|
+
message.auditor = object.auditor ?? "";
|
|
5308
|
+
message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
|
|
5309
|
+
return message;
|
|
5310
|
+
}
|
|
5311
|
+
};
|
|
5312
|
+
function createBaseEventVerificationGraceStarted() {
|
|
5313
|
+
return { graceRecordId: 0n, provider: "", preservedTier: 0 };
|
|
5314
|
+
}
|
|
5315
|
+
var EventVerificationGraceStarted = {
|
|
5316
|
+
$type: "akash.verification.v1.EventVerificationGraceStarted",
|
|
5317
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5318
|
+
if (message.graceRecordId !== 0n) {
|
|
5319
|
+
if (BigInt.asUintN(64, message.graceRecordId) !== message.graceRecordId) {
|
|
5320
|
+
throw new globalThis.Error("value provided for field message.graceRecordId of type uint64 too large");
|
|
5321
|
+
}
|
|
5322
|
+
writer.uint32(8).uint64(message.graceRecordId);
|
|
5323
|
+
}
|
|
5324
|
+
if (message.provider !== "") {
|
|
5325
|
+
writer.uint32(18).string(message.provider);
|
|
5326
|
+
}
|
|
5327
|
+
if (message.preservedTier !== 0) {
|
|
5328
|
+
writer.uint32(24).int32(message.preservedTier);
|
|
5329
|
+
}
|
|
5330
|
+
return writer;
|
|
5331
|
+
},
|
|
5332
|
+
decode(input, length) {
|
|
5333
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5334
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5335
|
+
const message = createBaseEventVerificationGraceStarted();
|
|
5336
|
+
while (reader.pos < end) {
|
|
5337
|
+
const tag = reader.uint32();
|
|
5338
|
+
switch (tag >>> 3) {
|
|
5339
|
+
case 1: {
|
|
5340
|
+
if (tag !== 8) {
|
|
5341
|
+
break;
|
|
5342
|
+
}
|
|
5343
|
+
message.graceRecordId = reader.uint64();
|
|
5344
|
+
continue;
|
|
5345
|
+
}
|
|
5346
|
+
case 2: {
|
|
5347
|
+
if (tag !== 18) {
|
|
5348
|
+
break;
|
|
5349
|
+
}
|
|
5350
|
+
message.provider = reader.string();
|
|
5351
|
+
continue;
|
|
5352
|
+
}
|
|
5353
|
+
case 3: {
|
|
5354
|
+
if (tag !== 24) {
|
|
5355
|
+
break;
|
|
5356
|
+
}
|
|
5357
|
+
message.preservedTier = reader.int32();
|
|
5358
|
+
continue;
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5361
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5362
|
+
break;
|
|
5363
|
+
}
|
|
5364
|
+
reader.skip(tag & 7);
|
|
5365
|
+
}
|
|
5366
|
+
return message;
|
|
5367
|
+
},
|
|
5368
|
+
fromJSON(object) {
|
|
5369
|
+
return {
|
|
5370
|
+
graceRecordId: isSet(object.grace_record_id) ? BigInt(object.grace_record_id) : 0n,
|
|
5371
|
+
provider: isSet(object.provider) ? globalThis.String(object.provider) : "",
|
|
5372
|
+
preservedTier: isSet(object.preserved_tier) ? verificationTierFromJSON(object.preserved_tier) : 0
|
|
5373
|
+
};
|
|
5374
|
+
},
|
|
5375
|
+
toJSON(message) {
|
|
5376
|
+
const obj = {};
|
|
5377
|
+
if (message.graceRecordId !== 0n) {
|
|
5378
|
+
obj.grace_record_id = message.graceRecordId.toString();
|
|
5379
|
+
}
|
|
5380
|
+
if (message.provider !== "") {
|
|
5381
|
+
obj.provider = message.provider;
|
|
5382
|
+
}
|
|
5383
|
+
if (message.preservedTier !== 0) {
|
|
5384
|
+
obj.preserved_tier = verificationTierToJSON(message.preservedTier);
|
|
5385
|
+
}
|
|
5386
|
+
return obj;
|
|
5387
|
+
},
|
|
5388
|
+
fromPartial(object) {
|
|
5389
|
+
const message = createBaseEventVerificationGraceStarted();
|
|
5390
|
+
message.graceRecordId = object.graceRecordId !== void 0 && object.graceRecordId !== null ? BigInt(object.graceRecordId) : 0n;
|
|
5391
|
+
message.provider = object.provider ?? "";
|
|
5392
|
+
message.preservedTier = object.preservedTier ?? 0;
|
|
5393
|
+
return message;
|
|
5394
|
+
}
|
|
5395
|
+
};
|
|
5396
|
+
function createBaseEventVerificationGraceEnded() {
|
|
5397
|
+
return { graceRecordId: 0n, status: 0 };
|
|
5398
|
+
}
|
|
5399
|
+
var EventVerificationGraceEnded = {
|
|
5400
|
+
$type: "akash.verification.v1.EventVerificationGraceEnded",
|
|
5401
|
+
encode(message, writer = new BinaryWriter14()) {
|
|
5402
|
+
if (message.graceRecordId !== 0n) {
|
|
5403
|
+
if (BigInt.asUintN(64, message.graceRecordId) !== message.graceRecordId) {
|
|
5404
|
+
throw new globalThis.Error("value provided for field message.graceRecordId of type uint64 too large");
|
|
5405
|
+
}
|
|
5406
|
+
writer.uint32(8).uint64(message.graceRecordId);
|
|
5407
|
+
}
|
|
5408
|
+
if (message.status !== 0) {
|
|
5409
|
+
writer.uint32(16).int32(message.status);
|
|
5410
|
+
}
|
|
5411
|
+
return writer;
|
|
5412
|
+
},
|
|
5413
|
+
decode(input, length) {
|
|
5414
|
+
const reader = input instanceof BinaryReader14 ? input : new BinaryReader14(input);
|
|
5415
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5416
|
+
const message = createBaseEventVerificationGraceEnded();
|
|
5417
|
+
while (reader.pos < end) {
|
|
5418
|
+
const tag = reader.uint32();
|
|
5419
|
+
switch (tag >>> 3) {
|
|
5420
|
+
case 1: {
|
|
5421
|
+
if (tag !== 8) {
|
|
5422
|
+
break;
|
|
5423
|
+
}
|
|
5424
|
+
message.graceRecordId = reader.uint64();
|
|
5425
|
+
continue;
|
|
5426
|
+
}
|
|
5427
|
+
case 2: {
|
|
5428
|
+
if (tag !== 16) {
|
|
5429
|
+
break;
|
|
5430
|
+
}
|
|
5431
|
+
message.status = reader.int32();
|
|
5432
|
+
continue;
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5436
|
+
break;
|
|
5437
|
+
}
|
|
5438
|
+
reader.skip(tag & 7);
|
|
5439
|
+
}
|
|
5440
|
+
return message;
|
|
5441
|
+
},
|
|
5442
|
+
fromJSON(object) {
|
|
5443
|
+
return {
|
|
5444
|
+
graceRecordId: isSet(object.grace_record_id) ? BigInt(object.grace_record_id) : 0n,
|
|
5445
|
+
status: isSet(object.status) ? verificationGraceStatusFromJSON(object.status) : 0
|
|
5446
|
+
};
|
|
5447
|
+
},
|
|
5448
|
+
toJSON(message) {
|
|
5449
|
+
const obj = {};
|
|
5450
|
+
if (message.graceRecordId !== 0n) {
|
|
5451
|
+
obj.grace_record_id = message.graceRecordId.toString();
|
|
5452
|
+
}
|
|
5453
|
+
if (message.status !== 0) {
|
|
5454
|
+
obj.status = verificationGraceStatusToJSON(message.status);
|
|
5455
|
+
}
|
|
5456
|
+
return obj;
|
|
5457
|
+
},
|
|
5458
|
+
fromPartial(object) {
|
|
5459
|
+
const message = createBaseEventVerificationGraceEnded();
|
|
5460
|
+
message.graceRecordId = object.graceRecordId !== void 0 && object.graceRecordId !== null ? BigInt(object.graceRecordId) : 0n;
|
|
5461
|
+
message.status = object.status ?? 0;
|
|
5462
|
+
return message;
|
|
5463
|
+
}
|
|
5464
|
+
};
|
|
5465
|
+
|
|
5466
|
+
// src/generated/protos/akash/verification/v1/genesis.ts
|
|
5467
|
+
import { BinaryReader as BinaryReader15, BinaryWriter as BinaryWriter15 } from "@bufbuild/protobuf/wire";
|
|
5468
|
+
function createBaseGenesisState7() {
|
|
5469
|
+
return {
|
|
5470
|
+
params: void 0,
|
|
5471
|
+
auditors: [],
|
|
5472
|
+
attestations: [],
|
|
5473
|
+
discrepancies: [],
|
|
5474
|
+
providerBonds: [],
|
|
5475
|
+
providerSnapshots: [],
|
|
5476
|
+
nextDiscrepancyId: 0n,
|
|
5477
|
+
auditEscrows: [],
|
|
5478
|
+
nextAuditEscrowId: 0n,
|
|
5479
|
+
verificationGraces: [],
|
|
5480
|
+
nextGraceRecordId: 0n
|
|
5481
|
+
};
|
|
5482
|
+
}
|
|
5483
|
+
var GenesisState7 = {
|
|
5484
|
+
$type: "akash.verification.v1.GenesisState",
|
|
5485
|
+
encode(message, writer = new BinaryWriter15()) {
|
|
5486
|
+
if (message.params !== void 0) {
|
|
5487
|
+
Params4.encode(message.params, writer.uint32(10).fork()).join();
|
|
5488
|
+
}
|
|
5489
|
+
for (const v of message.auditors) {
|
|
5490
|
+
AuditorRecord.encode(v, writer.uint32(18).fork()).join();
|
|
5491
|
+
}
|
|
5492
|
+
for (const v of message.attestations) {
|
|
5493
|
+
AttestationRecord.encode(v, writer.uint32(26).fork()).join();
|
|
5494
|
+
}
|
|
5495
|
+
for (const v of message.discrepancies) {
|
|
5496
|
+
DiscrepancyEvent.encode(v, writer.uint32(34).fork()).join();
|
|
5497
|
+
}
|
|
5498
|
+
for (const v of message.providerBonds) {
|
|
5499
|
+
ProviderBondRecord.encode(v, writer.uint32(42).fork()).join();
|
|
5500
|
+
}
|
|
5501
|
+
for (const v of message.providerSnapshots) {
|
|
5502
|
+
ProviderSnapshotRecord.encode(v, writer.uint32(50).fork()).join();
|
|
5503
|
+
}
|
|
5504
|
+
if (message.nextDiscrepancyId !== 0n) {
|
|
5505
|
+
if (BigInt.asUintN(64, message.nextDiscrepancyId) !== message.nextDiscrepancyId) {
|
|
5506
|
+
throw new globalThis.Error("value provided for field message.nextDiscrepancyId of type uint64 too large");
|
|
5507
|
+
}
|
|
5508
|
+
writer.uint32(56).uint64(message.nextDiscrepancyId);
|
|
5509
|
+
}
|
|
5510
|
+
for (const v of message.auditEscrows) {
|
|
5511
|
+
AuditEscrowRecord.encode(v, writer.uint32(66).fork()).join();
|
|
5512
|
+
}
|
|
5513
|
+
if (message.nextAuditEscrowId !== 0n) {
|
|
5514
|
+
if (BigInt.asUintN(64, message.nextAuditEscrowId) !== message.nextAuditEscrowId) {
|
|
5515
|
+
throw new globalThis.Error("value provided for field message.nextAuditEscrowId of type uint64 too large");
|
|
5516
|
+
}
|
|
5517
|
+
writer.uint32(72).uint64(message.nextAuditEscrowId);
|
|
5518
|
+
}
|
|
5519
|
+
for (const v of message.verificationGraces) {
|
|
5520
|
+
ProviderVerificationGraceRecord.encode(v, writer.uint32(82).fork()).join();
|
|
5521
|
+
}
|
|
5522
|
+
if (message.nextGraceRecordId !== 0n) {
|
|
5523
|
+
if (BigInt.asUintN(64, message.nextGraceRecordId) !== message.nextGraceRecordId) {
|
|
5524
|
+
throw new globalThis.Error("value provided for field message.nextGraceRecordId of type uint64 too large");
|
|
5525
|
+
}
|
|
5526
|
+
writer.uint32(88).uint64(message.nextGraceRecordId);
|
|
5527
|
+
}
|
|
5528
|
+
return writer;
|
|
5529
|
+
},
|
|
5530
|
+
decode(input, length) {
|
|
5531
|
+
const reader = input instanceof BinaryReader15 ? input : new BinaryReader15(input);
|
|
5532
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5533
|
+
const message = createBaseGenesisState7();
|
|
5534
|
+
while (reader.pos < end) {
|
|
5535
|
+
const tag = reader.uint32();
|
|
5536
|
+
switch (tag >>> 3) {
|
|
5537
|
+
case 1: {
|
|
5538
|
+
if (tag !== 10) {
|
|
5539
|
+
break;
|
|
5540
|
+
}
|
|
5541
|
+
message.params = Params4.decode(reader, reader.uint32());
|
|
5542
|
+
continue;
|
|
5543
|
+
}
|
|
5544
|
+
case 2: {
|
|
5545
|
+
if (tag !== 18) {
|
|
5546
|
+
break;
|
|
5547
|
+
}
|
|
5548
|
+
message.auditors.push(AuditorRecord.decode(reader, reader.uint32()));
|
|
5549
|
+
continue;
|
|
5550
|
+
}
|
|
5551
|
+
case 3: {
|
|
5552
|
+
if (tag !== 26) {
|
|
5553
|
+
break;
|
|
5554
|
+
}
|
|
5555
|
+
message.attestations.push(AttestationRecord.decode(reader, reader.uint32()));
|
|
5556
|
+
continue;
|
|
5557
|
+
}
|
|
5558
|
+
case 4: {
|
|
5559
|
+
if (tag !== 34) {
|
|
5560
|
+
break;
|
|
5561
|
+
}
|
|
5562
|
+
message.discrepancies.push(DiscrepancyEvent.decode(reader, reader.uint32()));
|
|
5563
|
+
continue;
|
|
5564
|
+
}
|
|
5565
|
+
case 5: {
|
|
5566
|
+
if (tag !== 42) {
|
|
5567
|
+
break;
|
|
5568
|
+
}
|
|
5569
|
+
message.providerBonds.push(ProviderBondRecord.decode(reader, reader.uint32()));
|
|
5570
|
+
continue;
|
|
5571
|
+
}
|
|
5572
|
+
case 6: {
|
|
5573
|
+
if (tag !== 50) {
|
|
5574
|
+
break;
|
|
5575
|
+
}
|
|
5576
|
+
message.providerSnapshots.push(ProviderSnapshotRecord.decode(reader, reader.uint32()));
|
|
5577
|
+
continue;
|
|
5578
|
+
}
|
|
5579
|
+
case 7: {
|
|
5580
|
+
if (tag !== 56) {
|
|
5581
|
+
break;
|
|
5582
|
+
}
|
|
5583
|
+
message.nextDiscrepancyId = reader.uint64();
|
|
5584
|
+
continue;
|
|
5585
|
+
}
|
|
5586
|
+
case 8: {
|
|
5587
|
+
if (tag !== 66) {
|
|
5588
|
+
break;
|
|
5589
|
+
}
|
|
5590
|
+
message.auditEscrows.push(AuditEscrowRecord.decode(reader, reader.uint32()));
|
|
5591
|
+
continue;
|
|
5592
|
+
}
|
|
5593
|
+
case 9: {
|
|
5594
|
+
if (tag !== 72) {
|
|
5595
|
+
break;
|
|
5596
|
+
}
|
|
5597
|
+
message.nextAuditEscrowId = reader.uint64();
|
|
5598
|
+
continue;
|
|
5599
|
+
}
|
|
5600
|
+
case 10: {
|
|
5601
|
+
if (tag !== 82) {
|
|
5602
|
+
break;
|
|
5603
|
+
}
|
|
5604
|
+
message.verificationGraces.push(ProviderVerificationGraceRecord.decode(reader, reader.uint32()));
|
|
5605
|
+
continue;
|
|
5606
|
+
}
|
|
5607
|
+
case 11: {
|
|
5608
|
+
if (tag !== 88) {
|
|
5609
|
+
break;
|
|
5610
|
+
}
|
|
5611
|
+
message.nextGraceRecordId = reader.uint64();
|
|
5612
|
+
continue;
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5616
|
+
break;
|
|
5617
|
+
}
|
|
5618
|
+
reader.skip(tag & 7);
|
|
5619
|
+
}
|
|
5620
|
+
return message;
|
|
5621
|
+
},
|
|
5622
|
+
fromJSON(object) {
|
|
5623
|
+
return {
|
|
5624
|
+
params: isSet(object.params) ? Params4.fromJSON(object.params) : void 0,
|
|
5625
|
+
auditors: globalThis.Array.isArray(object?.auditors) ? object.auditors.map((e) => AuditorRecord.fromJSON(e)) : [],
|
|
5626
|
+
attestations: globalThis.Array.isArray(object?.attestations) ? object.attestations.map((e) => AttestationRecord.fromJSON(e)) : [],
|
|
5627
|
+
discrepancies: globalThis.Array.isArray(object?.discrepancies) ? object.discrepancies.map((e) => DiscrepancyEvent.fromJSON(e)) : [],
|
|
5628
|
+
providerBonds: globalThis.Array.isArray(object?.provider_bonds) ? object.provider_bonds.map((e) => ProviderBondRecord.fromJSON(e)) : [],
|
|
5629
|
+
providerSnapshots: globalThis.Array.isArray(object?.provider_snapshots) ? object.provider_snapshots.map((e) => ProviderSnapshotRecord.fromJSON(e)) : [],
|
|
5630
|
+
nextDiscrepancyId: isSet(object.next_discrepancy_id) ? BigInt(object.next_discrepancy_id) : 0n,
|
|
5631
|
+
auditEscrows: globalThis.Array.isArray(object?.audit_escrows) ? object.audit_escrows.map((e) => AuditEscrowRecord.fromJSON(e)) : [],
|
|
5632
|
+
nextAuditEscrowId: isSet(object.next_audit_escrow_id) ? BigInt(object.next_audit_escrow_id) : 0n,
|
|
5633
|
+
verificationGraces: globalThis.Array.isArray(object?.verification_graces) ? object.verification_graces.map((e) => ProviderVerificationGraceRecord.fromJSON(e)) : [],
|
|
5634
|
+
nextGraceRecordId: isSet(object.next_grace_record_id) ? BigInt(object.next_grace_record_id) : 0n
|
|
5635
|
+
};
|
|
5636
|
+
},
|
|
5637
|
+
toJSON(message) {
|
|
5638
|
+
const obj = {};
|
|
5639
|
+
if (message.params !== void 0) {
|
|
5640
|
+
obj.params = Params4.toJSON(message.params);
|
|
5641
|
+
}
|
|
5642
|
+
if (message.auditors?.length) {
|
|
5643
|
+
obj.auditors = message.auditors.map((e) => AuditorRecord.toJSON(e));
|
|
5644
|
+
}
|
|
5645
|
+
if (message.attestations?.length) {
|
|
5646
|
+
obj.attestations = message.attestations.map((e) => AttestationRecord.toJSON(e));
|
|
5647
|
+
}
|
|
5648
|
+
if (message.discrepancies?.length) {
|
|
5649
|
+
obj.discrepancies = message.discrepancies.map((e) => DiscrepancyEvent.toJSON(e));
|
|
5650
|
+
}
|
|
5651
|
+
if (message.providerBonds?.length) {
|
|
5652
|
+
obj.provider_bonds = message.providerBonds.map((e) => ProviderBondRecord.toJSON(e));
|
|
5653
|
+
}
|
|
5654
|
+
if (message.providerSnapshots?.length) {
|
|
5655
|
+
obj.provider_snapshots = message.providerSnapshots.map((e) => ProviderSnapshotRecord.toJSON(e));
|
|
5656
|
+
}
|
|
5657
|
+
if (message.nextDiscrepancyId !== 0n) {
|
|
5658
|
+
obj.next_discrepancy_id = message.nextDiscrepancyId.toString();
|
|
5659
|
+
}
|
|
5660
|
+
if (message.auditEscrows?.length) {
|
|
5661
|
+
obj.audit_escrows = message.auditEscrows.map((e) => AuditEscrowRecord.toJSON(e));
|
|
5662
|
+
}
|
|
5663
|
+
if (message.nextAuditEscrowId !== 0n) {
|
|
5664
|
+
obj.next_audit_escrow_id = message.nextAuditEscrowId.toString();
|
|
5665
|
+
}
|
|
5666
|
+
if (message.verificationGraces?.length) {
|
|
5667
|
+
obj.verification_graces = message.verificationGraces.map((e) => ProviderVerificationGraceRecord.toJSON(e));
|
|
5668
|
+
}
|
|
5669
|
+
if (message.nextGraceRecordId !== 0n) {
|
|
5670
|
+
obj.next_grace_record_id = message.nextGraceRecordId.toString();
|
|
5671
|
+
}
|
|
5672
|
+
return obj;
|
|
5673
|
+
},
|
|
5674
|
+
fromPartial(object) {
|
|
5675
|
+
const message = createBaseGenesisState7();
|
|
5676
|
+
message.params = object.params !== void 0 && object.params !== null ? Params4.fromPartial(object.params) : void 0;
|
|
5677
|
+
message.auditors = object.auditors?.map((e) => AuditorRecord.fromPartial(e)) || [];
|
|
5678
|
+
message.attestations = object.attestations?.map((e) => AttestationRecord.fromPartial(e)) || [];
|
|
5679
|
+
message.discrepancies = object.discrepancies?.map((e) => DiscrepancyEvent.fromPartial(e)) || [];
|
|
5680
|
+
message.providerBonds = object.providerBonds?.map((e) => ProviderBondRecord.fromPartial(e)) || [];
|
|
5681
|
+
message.providerSnapshots = object.providerSnapshots?.map((e) => ProviderSnapshotRecord.fromPartial(e)) || [];
|
|
5682
|
+
message.nextDiscrepancyId = object.nextDiscrepancyId !== void 0 && object.nextDiscrepancyId !== null ? BigInt(object.nextDiscrepancyId) : 0n;
|
|
5683
|
+
message.auditEscrows = object.auditEscrows?.map((e) => AuditEscrowRecord.fromPartial(e)) || [];
|
|
5684
|
+
message.nextAuditEscrowId = object.nextAuditEscrowId !== void 0 && object.nextAuditEscrowId !== null ? BigInt(object.nextAuditEscrowId) : 0n;
|
|
5685
|
+
message.verificationGraces = object.verificationGraces?.map((e) => ProviderVerificationGraceRecord.fromPartial(e)) || [];
|
|
5686
|
+
message.nextGraceRecordId = object.nextGraceRecordId !== void 0 && object.nextGraceRecordId !== null ? BigInt(object.nextGraceRecordId) : 0n;
|
|
5687
|
+
return message;
|
|
5688
|
+
}
|
|
5689
|
+
};
|
|
5690
|
+
|
|
5691
|
+
// src/generated/protos/akash/wasm/v1/event.ts
|
|
5692
|
+
import { BinaryReader as BinaryReader16, BinaryWriter as BinaryWriter16 } from "@bufbuild/protobuf/wire";
|
|
5693
|
+
function createBaseEventMsgBlocked() {
|
|
5694
|
+
return { contractAddress: "", msgType: "", reason: "" };
|
|
5695
|
+
}
|
|
5696
|
+
var EventMsgBlocked = {
|
|
5697
|
+
$type: "akash.wasm.v1.EventMsgBlocked",
|
|
5698
|
+
encode(message, writer = new BinaryWriter16()) {
|
|
5699
|
+
if (message.contractAddress !== "") {
|
|
5700
|
+
writer.uint32(10).string(message.contractAddress);
|
|
5701
|
+
}
|
|
5702
|
+
if (message.msgType !== "") {
|
|
5703
|
+
writer.uint32(18).string(message.msgType);
|
|
5704
|
+
}
|
|
5705
|
+
if (message.reason !== "") {
|
|
5706
|
+
writer.uint32(26).string(message.reason);
|
|
5707
|
+
}
|
|
5708
|
+
return writer;
|
|
5709
|
+
},
|
|
5710
|
+
decode(input, length) {
|
|
5711
|
+
const reader = input instanceof BinaryReader16 ? input : new BinaryReader16(input);
|
|
5712
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5713
|
+
const message = createBaseEventMsgBlocked();
|
|
5714
|
+
while (reader.pos < end) {
|
|
5715
|
+
const tag = reader.uint32();
|
|
5716
|
+
switch (tag >>> 3) {
|
|
5717
|
+
case 1: {
|
|
5718
|
+
if (tag !== 10) {
|
|
5719
|
+
break;
|
|
5720
|
+
}
|
|
5721
|
+
message.contractAddress = reader.string();
|
|
5722
|
+
continue;
|
|
5723
|
+
}
|
|
5724
|
+
case 2: {
|
|
5725
|
+
if (tag !== 18) {
|
|
5726
|
+
break;
|
|
5727
|
+
}
|
|
5728
|
+
message.msgType = reader.string();
|
|
5729
|
+
continue;
|
|
5730
|
+
}
|
|
5731
|
+
case 3: {
|
|
5732
|
+
if (tag !== 26) {
|
|
5733
|
+
break;
|
|
5734
|
+
}
|
|
5735
|
+
message.reason = reader.string();
|
|
5736
|
+
continue;
|
|
5737
|
+
}
|
|
5738
|
+
}
|
|
5739
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5740
|
+
break;
|
|
5741
|
+
}
|
|
5742
|
+
reader.skip(tag & 7);
|
|
5743
|
+
}
|
|
5744
|
+
return message;
|
|
5745
|
+
},
|
|
5746
|
+
fromJSON(object) {
|
|
5747
|
+
return {
|
|
5748
|
+
contractAddress: isSet(object.contract_address) ? globalThis.String(object.contract_address) : "",
|
|
5749
|
+
msgType: isSet(object.msg_type) ? globalThis.String(object.msg_type) : "",
|
|
5750
|
+
reason: isSet(object.reason) ? globalThis.String(object.reason) : ""
|
|
5751
|
+
};
|
|
5752
|
+
},
|
|
5753
|
+
toJSON(message) {
|
|
5754
|
+
const obj = {};
|
|
5755
|
+
if (message.contractAddress !== "") {
|
|
5756
|
+
obj.contract_address = message.contractAddress;
|
|
5757
|
+
}
|
|
5758
|
+
if (message.msgType !== "") {
|
|
5759
|
+
obj.msg_type = message.msgType;
|
|
5760
|
+
}
|
|
5761
|
+
if (message.reason !== "") {
|
|
5762
|
+
obj.reason = message.reason;
|
|
5763
|
+
}
|
|
5764
|
+
return obj;
|
|
5765
|
+
},
|
|
5766
|
+
fromPartial(object) {
|
|
5767
|
+
const message = createBaseEventMsgBlocked();
|
|
5768
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
5769
|
+
message.msgType = object.msgType ?? "";
|
|
5770
|
+
message.reason = object.reason ?? "";
|
|
5771
|
+
return message;
|
|
5772
|
+
}
|
|
5773
|
+
};
|
|
5774
|
+
|
|
5775
|
+
// src/generated/protos/akash/wasm/v1/genesis.ts
|
|
5776
|
+
import { BinaryReader as BinaryReader17, BinaryWriter as BinaryWriter17 } from "@bufbuild/protobuf/wire";
|
|
5777
|
+
function createBaseGenesisState8() {
|
|
5778
|
+
return { params: void 0 };
|
|
5779
|
+
}
|
|
5780
|
+
var GenesisState8 = {
|
|
5781
|
+
$type: "akash.wasm.v1.GenesisState",
|
|
5782
|
+
encode(message, writer = new BinaryWriter17()) {
|
|
5783
|
+
if (message.params !== void 0) {
|
|
5784
|
+
Params5.encode(message.params, writer.uint32(10).fork()).join();
|
|
5785
|
+
}
|
|
5786
|
+
return writer;
|
|
5787
|
+
},
|
|
5788
|
+
decode(input, length) {
|
|
5789
|
+
const reader = input instanceof BinaryReader17 ? input : new BinaryReader17(input);
|
|
5790
|
+
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
5791
|
+
const message = createBaseGenesisState8();
|
|
5792
|
+
while (reader.pos < end) {
|
|
5793
|
+
const tag = reader.uint32();
|
|
5794
|
+
switch (tag >>> 3) {
|
|
5795
|
+
case 1: {
|
|
5796
|
+
if (tag !== 10) {
|
|
5797
|
+
break;
|
|
5798
|
+
}
|
|
5799
|
+
message.params = Params5.decode(reader, reader.uint32());
|
|
5800
|
+
continue;
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
5804
|
+
break;
|
|
5805
|
+
}
|
|
5806
|
+
reader.skip(tag & 7);
|
|
5807
|
+
}
|
|
5808
|
+
return message;
|
|
5809
|
+
},
|
|
5810
|
+
fromJSON(object) {
|
|
5811
|
+
return { params: isSet(object.params) ? Params5.fromJSON(object.params) : void 0 };
|
|
5812
|
+
},
|
|
5813
|
+
toJSON(message) {
|
|
5814
|
+
const obj = {};
|
|
5815
|
+
if (message.params !== void 0) {
|
|
5816
|
+
obj.params = Params5.toJSON(message.params);
|
|
5817
|
+
}
|
|
5818
|
+
return obj;
|
|
5819
|
+
},
|
|
5820
|
+
fromPartial(object) {
|
|
5821
|
+
const message = createBaseGenesisState8();
|
|
5822
|
+
message.params = object.params !== void 0 && object.params !== null ? Params5.fromPartial(object.params) : void 0;
|
|
3044
5823
|
return message;
|
|
3045
5824
|
}
|
|
3046
5825
|
};
|
|
@@ -3049,14 +5828,25 @@ export {
|
|
|
3049
5828
|
AccountState,
|
|
3050
5829
|
AggregatedPrice,
|
|
3051
5830
|
Akash,
|
|
5831
|
+
AttestationRecord,
|
|
5832
|
+
AttestationRevocationReason,
|
|
5833
|
+
AttestationStatus,
|
|
3052
5834
|
Attribute,
|
|
3053
5835
|
AttributesFilters,
|
|
5836
|
+
AuditEscrowRecord,
|
|
5837
|
+
AuditEscrowSettlementReason,
|
|
5838
|
+
AuditEscrowStatus,
|
|
3054
5839
|
AuditedAttributesStore,
|
|
3055
5840
|
AuditedProvider,
|
|
5841
|
+
AuditorRecord,
|
|
5842
|
+
AuditorSelectionMode,
|
|
5843
|
+
AuditorStatus,
|
|
3056
5844
|
Balance,
|
|
3057
5845
|
BidID,
|
|
3058
5846
|
GenesisState2 as Bme_GenesisState,
|
|
5847
|
+
BondStatus,
|
|
3059
5848
|
BurnMintPair,
|
|
5849
|
+
CapabilityFlag,
|
|
3060
5850
|
GenesisState3 as Cert_GenesisState,
|
|
3061
5851
|
State3 as Cert_State,
|
|
3062
5852
|
Certificate,
|
|
@@ -3074,14 +5864,40 @@ export {
|
|
|
3074
5864
|
Deposit,
|
|
3075
5865
|
DepositAuthorization,
|
|
3076
5866
|
DepositAuthorization_Scope,
|
|
5867
|
+
DepositStatus,
|
|
3077
5868
|
Depositor,
|
|
5869
|
+
DiscrepancyEvent,
|
|
5870
|
+
DiscrepancyResolutionReason,
|
|
5871
|
+
DiscrepancyStatus,
|
|
3078
5872
|
GenesisState4 as Escrow_GenesisState,
|
|
3079
5873
|
EventAggregatedPrice,
|
|
5874
|
+
EventAttestationExpired,
|
|
5875
|
+
EventAttestationReplaced,
|
|
5876
|
+
EventAttestationRevoked,
|
|
5877
|
+
EventAttestationSubmitted,
|
|
5878
|
+
EventAttestationVoided,
|
|
5879
|
+
EventAuditEscrowOpened,
|
|
5880
|
+
EventAuditEscrowSettled,
|
|
5881
|
+
EventAuditorBondPosted,
|
|
5882
|
+
EventAuditorFrozen,
|
|
5883
|
+
EventAuditorLapsed,
|
|
5884
|
+
EventAuditorRegistered,
|
|
5885
|
+
EventAuditorRemoved,
|
|
5886
|
+
EventAuditorRenewed,
|
|
5887
|
+
EventAuditorResigned,
|
|
3080
5888
|
EventBidClosed,
|
|
3081
5889
|
EventBidCreated,
|
|
3082
5890
|
EventDeploymentClosed,
|
|
3083
5891
|
EventDeploymentCreated,
|
|
3084
5892
|
EventDeploymentUpdated,
|
|
5893
|
+
EventDepositReturnedToAuditor,
|
|
5894
|
+
EventDepositSlashed,
|
|
5895
|
+
EventDiscrepancyDetected,
|
|
5896
|
+
EventDiscrepancyResolved,
|
|
5897
|
+
EventDiscrepancyTimedOut,
|
|
5898
|
+
EventFeeEscrowed,
|
|
5899
|
+
EventFeeReleasedToAuditor,
|
|
5900
|
+
EventFeeReturnedToProvider,
|
|
3085
5901
|
EventGroupClosed,
|
|
3086
5902
|
EventGroupPaused,
|
|
3087
5903
|
EventGroupStarted,
|
|
@@ -3098,9 +5914,20 @@ export {
|
|
|
3098
5914
|
EventPriceRecovered,
|
|
3099
5915
|
EventPriceStaleWarning,
|
|
3100
5916
|
EventPriceStaled,
|
|
5917
|
+
EventProviderBondPosted,
|
|
5918
|
+
EventProviderBondSlashed,
|
|
5919
|
+
EventProviderBondWithdrawalCompleted,
|
|
5920
|
+
EventProviderBondWithdrawalInitiated,
|
|
5921
|
+
EventSnapshotHashPosted,
|
|
5922
|
+
EventSnapshotResumed,
|
|
5923
|
+
EventSnapshotSuspended,
|
|
3101
5924
|
EventTrustedAuditorCreated,
|
|
3102
5925
|
EventTrustedAuditorDeleted,
|
|
3103
5926
|
EventVaultFunded,
|
|
5927
|
+
EventVerificationGraceEnded,
|
|
5928
|
+
EventVerificationGraceStarted,
|
|
5929
|
+
FaultAttribution,
|
|
5930
|
+
FeeStatus,
|
|
3104
5931
|
GenesisCertificate,
|
|
3105
5932
|
GenesisLedgerPendingRecord,
|
|
3106
5933
|
GenesisLedgerRecord,
|
|
@@ -3109,6 +5936,7 @@ export {
|
|
|
3109
5936
|
GenesisVaultState,
|
|
3110
5937
|
GetInfoRequest,
|
|
3111
5938
|
GetInfoResponse,
|
|
5939
|
+
GovernanceAttestationReason,
|
|
3112
5940
|
GroupID,
|
|
3113
5941
|
ID,
|
|
3114
5942
|
Lease,
|
|
@@ -3134,6 +5962,8 @@ export {
|
|
|
3134
5962
|
MsgBurnACTResponse,
|
|
3135
5963
|
MsgBurnMint,
|
|
3136
5964
|
MsgBurnMintResponse,
|
|
5965
|
+
MsgCancelAuditEscrow,
|
|
5966
|
+
MsgCancelAuditEscrowResponse,
|
|
3137
5967
|
MsgCreateCertificate,
|
|
3138
5968
|
MsgCreateCertificateResponse,
|
|
3139
5969
|
MsgDeleteProviderAttributes,
|
|
@@ -3142,13 +5972,49 @@ export {
|
|
|
3142
5972
|
MsgFundVaultResponse,
|
|
3143
5973
|
MsgMintACT,
|
|
3144
5974
|
MsgMintACTResponse,
|
|
5975
|
+
MsgOpenAuditEscrow,
|
|
5976
|
+
MsgOpenAuditEscrowResponse,
|
|
5977
|
+
MsgPostAuditorBond,
|
|
5978
|
+
MsgPostAuditorBondResponse,
|
|
5979
|
+
MsgPostProviderBond,
|
|
5980
|
+
MsgPostProviderBondResponse,
|
|
5981
|
+
MsgPostSnapshotHash,
|
|
5982
|
+
MsgPostSnapshotHashResponse,
|
|
5983
|
+
MsgRegisterAuditor,
|
|
5984
|
+
MsgRegisterAuditorResponse,
|
|
5985
|
+
MsgRemoveAttestation,
|
|
5986
|
+
MsgRemoveAttestationResponse,
|
|
5987
|
+
MsgRemoveAuditor,
|
|
5988
|
+
MsgRemoveAuditorResponse,
|
|
5989
|
+
MsgRenewAuditor,
|
|
5990
|
+
MsgRenewAuditorResponse,
|
|
5991
|
+
MsgResignAuditor,
|
|
5992
|
+
MsgResignAuditorResponse,
|
|
5993
|
+
MsgResolveDiscrepancy,
|
|
5994
|
+
MsgResolveDiscrepancyResponse,
|
|
5995
|
+
MsgRevokeAllProviderAttestations,
|
|
5996
|
+
MsgRevokeAllProviderAttestationsResponse,
|
|
5997
|
+
MsgRevokeAttestation,
|
|
5998
|
+
MsgRevokeAttestationResponse,
|
|
5999
|
+
MsgRevokeAuditorAttestations,
|
|
6000
|
+
MsgRevokeAuditorAttestationsResponse,
|
|
3145
6001
|
MsgRevokeCertificate,
|
|
3146
6002
|
MsgRevokeCertificateResponse,
|
|
6003
|
+
MsgRevokeProviderAttestation,
|
|
6004
|
+
MsgRevokeProviderAttestationResponse,
|
|
6005
|
+
MsgSettleAuditEscrow,
|
|
6006
|
+
MsgSettleAuditEscrowResponse,
|
|
3147
6007
|
MsgSignData,
|
|
3148
6008
|
MsgSignProviderAttributes,
|
|
3149
6009
|
MsgSignProviderAttributesResponse,
|
|
6010
|
+
MsgSlashProviderBond,
|
|
6011
|
+
MsgSlashProviderBondResponse,
|
|
6012
|
+
MsgSubmitAttestation,
|
|
6013
|
+
MsgSubmitAttestationResponse,
|
|
3150
6014
|
MsgUpdateParams,
|
|
3151
6015
|
MsgUpdateParamsResponse,
|
|
6016
|
+
MsgWithdrawProviderBond,
|
|
6017
|
+
MsgWithdrawProviderBondResponse,
|
|
3152
6018
|
GenesisState5 as Oracle_GenesisState,
|
|
3153
6019
|
MsgUpdateParams2 as Oracle_MsgUpdateParams,
|
|
3154
6020
|
MsgUpdateParamsResponse2 as Oracle_MsgUpdateParamsResponse,
|
|
@@ -3166,14 +6032,35 @@ export {
|
|
|
3166
6032
|
PriceDataState,
|
|
3167
6033
|
PriceHealth,
|
|
3168
6034
|
PricesFilter,
|
|
6035
|
+
ProviderBondRecord,
|
|
6036
|
+
ProviderBondSlashReason,
|
|
6037
|
+
ProviderDepositStatus,
|
|
6038
|
+
ProviderLeaseStats,
|
|
6039
|
+
ProviderLeaseStatsByReason,
|
|
6040
|
+
ProviderSnapshotRecord,
|
|
6041
|
+
ProviderVerificationGraceRecord,
|
|
3169
6042
|
QueryAccountsRequest,
|
|
3170
6043
|
QueryAccountsResponse,
|
|
3171
6044
|
QueryAggregatedPriceRequest,
|
|
3172
6045
|
QueryAggregatedPriceResponse,
|
|
3173
6046
|
QueryAllProvidersAttributesRequest,
|
|
6047
|
+
QueryAttestationRequest,
|
|
6048
|
+
QueryAttestationResponse,
|
|
6049
|
+
QueryAuditEscrowRequest,
|
|
6050
|
+
QueryAuditEscrowResponse,
|
|
6051
|
+
QueryAuditorAttestationsRequest,
|
|
6052
|
+
QueryAuditorAttestationsResponse,
|
|
3174
6053
|
QueryAuditorAttributesRequest,
|
|
6054
|
+
QueryAuditorRequest,
|
|
6055
|
+
QueryAuditorResponse,
|
|
6056
|
+
QueryAuditorsRequest,
|
|
6057
|
+
QueryAuditorsResponse,
|
|
3175
6058
|
QueryCertificatesRequest,
|
|
3176
6059
|
QueryCertificatesResponse,
|
|
6060
|
+
QueryDiscrepanciesRequest,
|
|
6061
|
+
QueryDiscrepanciesResponse,
|
|
6062
|
+
QueryDiscrepancyRequest,
|
|
6063
|
+
QueryDiscrepancyResponse,
|
|
3177
6064
|
QueryLedgerRecordEntry,
|
|
3178
6065
|
QueryLedgerRecordsRequest,
|
|
3179
6066
|
QueryLedgerRecordsResponse,
|
|
@@ -3183,17 +6070,29 @@ export {
|
|
|
3183
6070
|
QueryPaymentsResponse,
|
|
3184
6071
|
QueryPricesRequest,
|
|
3185
6072
|
QueryPricesResponse,
|
|
6073
|
+
QueryProviderAttestationsRequest,
|
|
6074
|
+
QueryProviderAttestationsResponse,
|
|
3186
6075
|
QueryProviderAttributesRequest,
|
|
6076
|
+
QueryProviderAuditEscrowsRequest,
|
|
6077
|
+
QueryProviderAuditEscrowsResponse,
|
|
3187
6078
|
QueryProviderAuditorRequest,
|
|
6079
|
+
QueryProviderBondRequest,
|
|
6080
|
+
QueryProviderBondResponse,
|
|
3188
6081
|
QueryProviderRequest,
|
|
6082
|
+
QueryProviderSnapshotRequest,
|
|
6083
|
+
QueryProviderSnapshotResponse,
|
|
6084
|
+
QueryProviderVerificationGraceRequest,
|
|
6085
|
+
QueryProviderVerificationGraceResponse,
|
|
3189
6086
|
QueryProvidersResponse,
|
|
3190
6087
|
QueryStatusRequest,
|
|
3191
6088
|
QueryStatusResponse,
|
|
3192
6089
|
QueryVaultStateRequest,
|
|
3193
6090
|
QueryVaultStateResponse,
|
|
3194
6091
|
Reclamation,
|
|
6092
|
+
ResourceSummary,
|
|
3195
6093
|
Scope,
|
|
3196
6094
|
SignedBy,
|
|
6095
|
+
SoftwareIdentity,
|
|
3197
6096
|
Source,
|
|
3198
6097
|
State2 as State,
|
|
3199
6098
|
Status,
|
|
@@ -3206,12 +6105,24 @@ export {
|
|
|
3206
6105
|
Account2 as Types_Account,
|
|
3207
6106
|
Payment2 as Types_Payment,
|
|
3208
6107
|
State as Types_State,
|
|
6108
|
+
UnbondingEntry,
|
|
6109
|
+
VerificationGraceStatus,
|
|
6110
|
+
VerificationRequirement,
|
|
6111
|
+
VerificationStoreRecord,
|
|
6112
|
+
VerificationTier,
|
|
6113
|
+
GenesisState7 as Verification_GenesisState,
|
|
6114
|
+
MsgUpdateParams4 as Verification_MsgUpdateParams,
|
|
6115
|
+
MsgUpdateParamsResponse4 as Verification_MsgUpdateParamsResponse,
|
|
6116
|
+
Params4 as Verification_Params,
|
|
6117
|
+
QueryParamsRequest4 as Verification_QueryParamsRequest,
|
|
6118
|
+
QueryParamsResponse4 as Verification_QueryParamsResponse,
|
|
3209
6119
|
VersionInfo,
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
6120
|
+
VoidedReason,
|
|
6121
|
+
GenesisState8 as Wasm_GenesisState,
|
|
6122
|
+
MsgUpdateParams5 as Wasm_MsgUpdateParams,
|
|
6123
|
+
MsgUpdateParamsResponse5 as Wasm_MsgUpdateParamsResponse,
|
|
6124
|
+
Params5 as Wasm_Params,
|
|
6125
|
+
QueryParamsRequest5 as Wasm_QueryParamsRequest,
|
|
6126
|
+
QueryParamsResponse5 as Wasm_QueryParamsResponse
|
|
3216
6127
|
};
|
|
3217
6128
|
//# sourceMappingURL=index.akash.v1.js.map
|