@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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/generated/patches/nodeCustomTypePatches.ts"],
|
|
4
|
-
"sourcesContent": ["import { Int, bigIntFromJSON, bigIntFromPartial } from \"../../encoding/customTypes/Int.ts\";\nimport { encodeBinary, decodeBinary } from \"../../encoding/binaryEncoding.ts\";\nimport type * as _protos_akash_base_resources_v1beta4_resourcevalue from \"../protos/akash/base/resources/v1beta4/resourcevalue.ts\";\nimport { LegacyDec } from \"../../encoding/customTypes/LegacyDec.ts\";\nimport type * as _protos_akash_bme_v1_types from \"../protos/akash/bme/v1/types.ts\";\nimport type * as _protos_akash_bme_v1_events from \"../protos/akash/bme/v1/events.ts\";\nimport type * as _protos_akash_bme_v1_query from \"../protos/akash/bme/v1/query.ts\";\nimport type * as _protos_cosmos_base_v1beta1_coin from \"../protos/cosmos/base/v1beta1/coin.ts\";\nimport type * as _protos_akash_escrow_types_v1_balance from \"../protos/akash/escrow/types/v1/balance.ts\";\nimport type * as _protos_akash_oracle_v1_prices from \"../protos/akash/oracle/v1/prices.ts\";\nimport type * as _protos_akash_oracle_v2_prices from \"../protos/akash/oracle/v2/prices.ts\";\nimport type * as _protos_akash_oracle_v2_events from \"../protos/akash/oracle/v2/events.ts\";\nimport type * as _protos_akash_oracle_v2_msgs from \"../protos/akash/oracle/v2/msgs.ts\";\n\nconst p = {\n \"akash.base.resources.v1beta4.ResourceValue\": Object.assign(function(value: any, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.val != null) newValue.val = transformType === 'encode' ? encodeBinary(Int.encode(value.val)) : Int.decode(decodeBinary(value.val));\n return newValue;\n }, {\n fromJSON(object: any) {\n const newValue: any = {};\n newValue.val = bigIntFromJSON(object.val);\n return newValue;\n },\n toJSON(value: any) {\n const newValue: any = {};\n if (value.val != null) newValue.val = value.val.toString();\n return newValue;\n },\n fromPartial(newValue: any) {\n if (newValue.val != null) newValue.val = bigIntFromPartial(newValue.val);\n return newValue;\n },\n }),\n \"akash.bme.v1.CollateralRatio\"(value: _protos_akash_bme_v1_types.CollateralRatio | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.ratio != null) newValue.ratio = LegacyDec[transformType](value.ratio);\n if (value.referencePrice != null) newValue.referencePrice = LegacyDec[transformType](value.referencePrice);\n return newValue;\n },\n \"akash.bme.v1.CoinPrice\"(value: _protos_akash_bme_v1_types.CoinPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.bme.v1.EventMintStatusChange\"(value: _protos_akash_bme_v1_events.EventMintStatusChange | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.collateralRatio != null) newValue.collateralRatio = LegacyDec[transformType](value.collateralRatio);\n return newValue;\n },\n \"akash.bme.v1.QueryStatusResponse\"(value: _protos_akash_bme_v1_query.QueryStatusResponse | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.collateralRatio != null) newValue.collateralRatio = LegacyDec[transformType](value.collateralRatio);\n if (value.warnThreshold != null) newValue.warnThreshold = LegacyDec[transformType](value.warnThreshold);\n if (value.haltThreshold != null) newValue.haltThreshold = LegacyDec[transformType](value.haltThreshold);\n return newValue;\n },\n \"cosmos.base.v1beta1.DecCoin\"(value: _protos_cosmos_base_v1beta1_coin.DecCoin | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.amount != null) newValue.amount = LegacyDec[transformType](value.amount);\n return newValue;\n },\n \"akash.escrow.types.v1.Balance\"(value: _protos_akash_escrow_types_v1_balance.Balance | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.amount != null) newValue.amount = LegacyDec[transformType](value.amount);\n return newValue;\n },\n \"akash.oracle.v1.PriceDataState\"(value: _protos_akash_oracle_v1_prices.PriceDataState | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v1.AggregatedPrice\"(value: _protos_akash_oracle_v1_prices.AggregatedPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.twap != null) newValue.twap = LegacyDec[transformType](value.twap);\n if (value.medianPrice != null) newValue.medianPrice = LegacyDec[transformType](value.medianPrice);\n if (value.minPrice != null) newValue.minPrice = LegacyDec[transformType](value.minPrice);\n if (value.maxPrice != null) newValue.maxPrice = LegacyDec[transformType](value.maxPrice);\n return newValue;\n },\n \"akash.oracle.v2.PriceDataState\"(value: _protos_akash_oracle_v2_prices.PriceDataState | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v2.AggregatedPrice\"(value: _protos_akash_oracle_v2_prices.AggregatedPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.twap != null) newValue.twap = LegacyDec[transformType](value.twap);\n if (value.medianPrice != null) newValue.medianPrice = LegacyDec[transformType](value.medianPrice);\n if (value.minPrice != null) newValue.minPrice = LegacyDec[transformType](value.minPrice);\n if (value.maxPrice != null) newValue.maxPrice = LegacyDec[transformType](value.maxPrice);\n return newValue;\n },\n \"akash.oracle.v2.EventPriceData\"(value: _protos_akash_oracle_v2_events.EventPriceData | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v2.MsgAddPriceEntry\"(value: _protos_akash_oracle_v2_msgs.MsgAddPriceEntry | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n }\n};\n\nexport const patches = p;\n\nexport const typeOverrides = {\n \"akash.base.resources.v1beta4.ResourceValue\": {\n \"val\": \"bigint\"\n }\n} as const;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAuD;AACvD,4BAA2C;AAE3C,uBAA0B;
|
|
4
|
+
"sourcesContent": ["import { Int, bigIntFromJSON, bigIntFromPartial } from \"../../encoding/customTypes/Int.ts\";\nimport { encodeBinary, decodeBinary } from \"../../encoding/binaryEncoding.ts\";\nimport type * as _protos_akash_base_resources_v1beta4_resourcevalue from \"../protos/akash/base/resources/v1beta4/resourcevalue.ts\";\nimport { LegacyDec } from \"../../encoding/customTypes/LegacyDec.ts\";\nimport type * as _protos_akash_bme_v1_types from \"../protos/akash/bme/v1/types.ts\";\nimport type * as _protos_akash_bme_v1_events from \"../protos/akash/bme/v1/events.ts\";\nimport type * as _protos_akash_bme_v1_query from \"../protos/akash/bme/v1/query.ts\";\nimport type * as _protos_cosmos_base_v1beta1_coin from \"../protos/cosmos/base/v1beta1/coin.ts\";\nimport type * as _protos_akash_escrow_types_v1_balance from \"../protos/akash/escrow/types/v1/balance.ts\";\nimport type * as _protos_akash_oracle_v1_prices from \"../protos/akash/oracle/v1/prices.ts\";\nimport type * as _protos_akash_oracle_v2_prices from \"../protos/akash/oracle/v2/prices.ts\";\nimport type * as _protos_akash_oracle_v2_events from \"../protos/akash/oracle/v2/events.ts\";\nimport type * as _protos_akash_oracle_v2_msgs from \"../protos/akash/oracle/v2/msgs.ts\";\nimport type * as _protos_akash_verification_v1_msg from \"../protos/akash/verification/v1/msg.ts\";\n\nconst p = {\n \"akash.base.resources.v1beta4.ResourceValue\": Object.assign(function(value: any, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.val != null) newValue.val = transformType === 'encode' ? encodeBinary(Int.encode(value.val)) : Int.decode(decodeBinary(value.val));\n return newValue;\n }, {\n fromJSON(object: any) {\n const newValue: any = {};\n newValue.val = bigIntFromJSON(object.val);\n return newValue;\n },\n toJSON(value: any) {\n const newValue: any = {};\n if (value.val != null) newValue.val = value.val.toString();\n return newValue;\n },\n fromPartial(newValue: any) {\n if (newValue.val != null) newValue.val = bigIntFromPartial(newValue.val);\n return newValue;\n },\n }),\n \"akash.bme.v1.CollateralRatio\"(value: _protos_akash_bme_v1_types.CollateralRatio | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.ratio != null) newValue.ratio = LegacyDec[transformType](value.ratio);\n if (value.referencePrice != null) newValue.referencePrice = LegacyDec[transformType](value.referencePrice);\n return newValue;\n },\n \"akash.bme.v1.CoinPrice\"(value: _protos_akash_bme_v1_types.CoinPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.bme.v1.EventMintStatusChange\"(value: _protos_akash_bme_v1_events.EventMintStatusChange | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.collateralRatio != null) newValue.collateralRatio = LegacyDec[transformType](value.collateralRatio);\n return newValue;\n },\n \"akash.bme.v1.QueryStatusResponse\"(value: _protos_akash_bme_v1_query.QueryStatusResponse | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.collateralRatio != null) newValue.collateralRatio = LegacyDec[transformType](value.collateralRatio);\n if (value.warnThreshold != null) newValue.warnThreshold = LegacyDec[transformType](value.warnThreshold);\n if (value.haltThreshold != null) newValue.haltThreshold = LegacyDec[transformType](value.haltThreshold);\n return newValue;\n },\n \"cosmos.base.v1beta1.DecCoin\"(value: _protos_cosmos_base_v1beta1_coin.DecCoin | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.amount != null) newValue.amount = LegacyDec[transformType](value.amount);\n return newValue;\n },\n \"akash.escrow.types.v1.Balance\"(value: _protos_akash_escrow_types_v1_balance.Balance | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.amount != null) newValue.amount = LegacyDec[transformType](value.amount);\n return newValue;\n },\n \"akash.oracle.v1.PriceDataState\"(value: _protos_akash_oracle_v1_prices.PriceDataState | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v1.AggregatedPrice\"(value: _protos_akash_oracle_v1_prices.AggregatedPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.twap != null) newValue.twap = LegacyDec[transformType](value.twap);\n if (value.medianPrice != null) newValue.medianPrice = LegacyDec[transformType](value.medianPrice);\n if (value.minPrice != null) newValue.minPrice = LegacyDec[transformType](value.minPrice);\n if (value.maxPrice != null) newValue.maxPrice = LegacyDec[transformType](value.maxPrice);\n return newValue;\n },\n \"akash.oracle.v2.PriceDataState\"(value: _protos_akash_oracle_v2_prices.PriceDataState | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v2.AggregatedPrice\"(value: _protos_akash_oracle_v2_prices.AggregatedPrice | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.twap != null) newValue.twap = LegacyDec[transformType](value.twap);\n if (value.medianPrice != null) newValue.medianPrice = LegacyDec[transformType](value.medianPrice);\n if (value.minPrice != null) newValue.minPrice = LegacyDec[transformType](value.minPrice);\n if (value.maxPrice != null) newValue.maxPrice = LegacyDec[transformType](value.maxPrice);\n return newValue;\n },\n \"akash.oracle.v2.EventPriceData\"(value: _protos_akash_oracle_v2_events.EventPriceData | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.oracle.v2.MsgAddPriceEntry\"(value: _protos_akash_oracle_v2_msgs.MsgAddPriceEntry | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.price != null) newValue.price = LegacyDec[transformType](value.price);\n return newValue;\n },\n \"akash.verification.v1.MsgSlashProviderBond\"(value: _protos_akash_verification_v1_msg.MsgSlashProviderBond | undefined | null, transformType: 'encode' | 'decode') {\n if (value == null) return;\n const newValue = { ...value };\n if (value.slashFraction != null) newValue.slashFraction = LegacyDec[transformType](value.slashFraction);\n return newValue;\n }\n};\n\nexport const patches = p;\n\nexport const typeOverrides = {\n \"akash.base.resources.v1beta4.ResourceValue\": {\n \"val\": \"bigint\"\n }\n} as const;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAuD;AACvD,4BAA2C;AAE3C,uBAA0B;AAY1B,MAAM,IAAI;AAAA,EACR,8CAA8C,OAAO,OAAO,SAAS,OAAY,eAAoC;AACnH,QAAI,SAAS,KAAM;AACnB,UAAM,WAAW,EAAE,GAAG,MAAM;AAC5B,QAAI,MAAM,OAAO,KAAM,UAAS,MAAM,kBAAkB,eAAW,oCAAa,eAAI,OAAO,MAAM,GAAG,CAAC,IAAI,eAAI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3B,8CAA8C;AAAA,IAC5C,OAAO;AAAA,EACT;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -25,6 +25,7 @@ __export(attribute_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(attribute_exports);
|
|
26
26
|
var import_typeEncodingHelpers = require("../../../../../../encoding/typeEncodingHelpers.cjs");
|
|
27
27
|
var import_wire = require("@bufbuild/protobuf/wire");
|
|
28
|
+
var import_verificationrequirement = require("../../../verification/v1/verificationrequirement.cjs");
|
|
28
29
|
function createBaseAttribute() {
|
|
29
30
|
return { key: "", value: "" };
|
|
30
31
|
}
|
|
@@ -158,7 +159,7 @@ const SignedBy = {
|
|
|
158
159
|
}
|
|
159
160
|
};
|
|
160
161
|
function createBasePlacementRequirements() {
|
|
161
|
-
return { signedBy: void 0, attributes: [] };
|
|
162
|
+
return { signedBy: void 0, attributes: [], verification: void 0 };
|
|
162
163
|
}
|
|
163
164
|
const PlacementRequirements = {
|
|
164
165
|
$type: "akash.base.attributes.v1.PlacementRequirements",
|
|
@@ -169,6 +170,9 @@ const PlacementRequirements = {
|
|
|
169
170
|
for (const v of message.attributes) {
|
|
170
171
|
Attribute.encode(v, writer.uint32(18).fork()).join();
|
|
171
172
|
}
|
|
173
|
+
if (message.verification !== void 0) {
|
|
174
|
+
import_verificationrequirement.VerificationRequirement.encode(message.verification, writer.uint32(26).fork()).join();
|
|
175
|
+
}
|
|
172
176
|
return writer;
|
|
173
177
|
},
|
|
174
178
|
decode(input, length) {
|
|
@@ -192,6 +196,13 @@ const PlacementRequirements = {
|
|
|
192
196
|
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
193
197
|
continue;
|
|
194
198
|
}
|
|
199
|
+
case 3: {
|
|
200
|
+
if (tag !== 26) {
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
message.verification = import_verificationrequirement.VerificationRequirement.decode(reader, reader.uint32());
|
|
204
|
+
continue;
|
|
205
|
+
}
|
|
195
206
|
}
|
|
196
207
|
if ((tag & 7) === 4 || tag === 0) {
|
|
197
208
|
break;
|
|
@@ -203,7 +214,8 @@ const PlacementRequirements = {
|
|
|
203
214
|
fromJSON(object) {
|
|
204
215
|
return {
|
|
205
216
|
signedBy: (0, import_typeEncodingHelpers.isSet)(object.signed_by) ? SignedBy.fromJSON(object.signed_by) : void 0,
|
|
206
|
-
attributes: globalThis.Array.isArray(object?.attributes) ? object.attributes.map((e) => Attribute.fromJSON(e)) : []
|
|
217
|
+
attributes: globalThis.Array.isArray(object?.attributes) ? object.attributes.map((e) => Attribute.fromJSON(e)) : [],
|
|
218
|
+
verification: (0, import_typeEncodingHelpers.isSet)(object.verification) ? import_verificationrequirement.VerificationRequirement.fromJSON(object.verification) : void 0
|
|
207
219
|
};
|
|
208
220
|
},
|
|
209
221
|
toJSON(message) {
|
|
@@ -214,12 +226,16 @@ const PlacementRequirements = {
|
|
|
214
226
|
if (message.attributes?.length) {
|
|
215
227
|
obj.attributes = message.attributes.map((e) => Attribute.toJSON(e));
|
|
216
228
|
}
|
|
229
|
+
if (message.verification !== void 0) {
|
|
230
|
+
obj.verification = import_verificationrequirement.VerificationRequirement.toJSON(message.verification);
|
|
231
|
+
}
|
|
217
232
|
return obj;
|
|
218
233
|
},
|
|
219
234
|
fromPartial(object) {
|
|
220
235
|
const message = createBasePlacementRequirements();
|
|
221
236
|
message.signedBy = object.signedBy !== void 0 && object.signedBy !== null ? SignedBy.fromPartial(object.signedBy) : void 0;
|
|
222
237
|
message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];
|
|
238
|
+
message.verification = object.verification !== void 0 && object.verification !== null ? import_verificationrequirement.VerificationRequirement.fromPartial(object.verification) : void 0;
|
|
223
239
|
return message;
|
|
224
240
|
}
|
|
225
241
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../../src/generated/protos/akash/base/attributes/v1/attribute.ts"],
|
|
4
|
-
"sourcesContent": ["import { isSet } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/base/attributes/v1/attribute.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\n\n/** Attribute represents an arbitrary attribute key-value pair. */\nexport interface Attribute {\n /** Key of the attribute (e.g., \"region\", \"cpu_architecture\", etc.). */\n key: string;\n /** Value of the attribute (e.g., \"us-west\", \"x86_64\", etc.). */\n value: string;\n}\n\n/**\n * SignedBy represents validation accounts that tenant expects signatures for provider attributes.\n * AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many\n * entries there.\n */\nexport interface SignedBy {\n /** AllOf indicates all keys in this list must have signed attributes. */\n allOf: string[];\n /** AnyOf means that at least one of the keys from the list must have signed attributes. */\n anyOf: string[];\n}\n\n/**\n * PlacementRequirements represents the requirements for a provider placement on the network.\n * It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.\n */\nexport interface PlacementRequirements {\n /** SignedBy holds the list of keys that tenants expect to have signatures from. */\n signedBy:\n | SignedBy\n | undefined;\n /** Attribute holds the list of attributes tenant expects from the provider. */\n attributes: Attribute[];\n}\n\nfunction createBaseAttribute(): Attribute {\n return { key: \"\", value: \"\" };\n}\n\nexport const Attribute: MessageFns<Attribute, \"akash.base.attributes.v1.Attribute\"> = {\n $type: \"akash.base.attributes.v1.Attribute\" as const,\n\n encode(message: Attribute, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Attribute {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttribute();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.key = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Attribute {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n\n toJSON(message: Attribute): unknown {\n const obj: any = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<Attribute>): Attribute {\n const message = createBaseAttribute();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\n\nfunction createBaseSignedBy(): SignedBy {\n return { allOf: [], anyOf: [] };\n}\n\nexport const SignedBy: MessageFns<SignedBy, \"akash.base.attributes.v1.SignedBy\"> = {\n $type: \"akash.base.attributes.v1.SignedBy\" as const,\n\n encode(message: SignedBy, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.allOf) {\n writer.uint32(10).string(v!);\n }\n for (const v of message.anyOf) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SignedBy {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSignedBy();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.allOf.push(reader.string());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.anyOf.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SignedBy {\n return {\n allOf: globalThis.Array.isArray(object?.all_of) ? object.all_of.map((e: any) => globalThis.String(e)) : [],\n anyOf: globalThis.Array.isArray(object?.any_of) ? object.any_of.map((e: any) => globalThis.String(e)) : [],\n };\n },\n\n toJSON(message: SignedBy): unknown {\n const obj: any = {};\n if (message.allOf?.length) {\n obj.all_of = message.allOf;\n }\n if (message.anyOf?.length) {\n obj.any_of = message.anyOf;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SignedBy>): SignedBy {\n const message = createBaseSignedBy();\n message.allOf = object.allOf?.map((e) => e) || [];\n message.anyOf = object.anyOf?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBasePlacementRequirements(): PlacementRequirements {\n return { signedBy: undefined, attributes: [] };\n}\n\nexport const PlacementRequirements: MessageFns<\n PlacementRequirements,\n \"akash.base.attributes.v1.PlacementRequirements\"\n> = {\n $type: \"akash.base.attributes.v1.PlacementRequirements\" as const,\n\n encode(message: PlacementRequirements, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.signedBy !== undefined) {\n SignedBy.encode(message.signedBy, writer.uint32(10).fork()).join();\n }\n for (const v of message.attributes) {\n Attribute.encode(v!, writer.uint32(18).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): PlacementRequirements {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlacementRequirements();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.signedBy = SignedBy.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.attributes.push(Attribute.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): PlacementRequirements {\n return {\n signedBy: isSet(object.signed_by) ? SignedBy.fromJSON(object.signed_by) : undefined,\n attributes: globalThis.Array.isArray(object?.attributes)\n ? object.attributes.map((e: any) => Attribute.fromJSON(e))\n : [],\n };\n },\n\n toJSON(message: PlacementRequirements): unknown {\n const obj: any = {};\n if (message.signedBy !== undefined) {\n obj.signed_by = SignedBy.toJSON(message.signedBy);\n }\n if (message.attributes?.length) {\n obj.attributes = message.attributes.map((e) => Attribute.toJSON(e));\n }\n return obj;\n },\n fromPartial(object: DeepPartial<PlacementRequirements>): PlacementRequirements {\n const message = createBasePlacementRequirements();\n message.signedBy = (object.signedBy !== undefined && object.signedBy !== null)\n ? SignedBy.fromPartial(object.signedBy)\n : undefined;\n message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAsB;AAStB,kBAA2C;
|
|
4
|
+
"sourcesContent": ["import { isSet } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\nimport type { DeepPartial, MessageFns } from \"../../../../../../encoding/typeEncodingHelpers.ts\"\n// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.12.0\n// protoc unknown\n// source: akash/base/attributes/v1/attribute.proto\n\n/* eslint-disable */\nimport { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { VerificationRequirement } from \"../../../verification/v1/verificationrequirement.ts\";\n\n/** Attribute represents an arbitrary attribute key-value pair. */\nexport interface Attribute {\n /** Key of the attribute (e.g., \"region\", \"cpu_architecture\", etc.). */\n key: string;\n /** Value of the attribute (e.g., \"us-west\", \"x86_64\", etc.). */\n value: string;\n}\n\n/**\n * SignedBy represents validation accounts that tenant expects signatures for provider attributes.\n * AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many\n * entries there.\n */\nexport interface SignedBy {\n /** AllOf indicates all keys in this list must have signed attributes. */\n allOf: string[];\n /** AnyOf means that at least one of the keys from the list must have signed attributes. */\n anyOf: string[];\n}\n\n/**\n * PlacementRequirements represents the requirements for a provider placement on the network.\n * It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.\n */\nexport interface PlacementRequirements {\n /** SignedBy holds the list of keys that tenants expect to have signatures from. */\n signedBy:\n | SignedBy\n | undefined;\n /** Attribute holds the list of attributes tenant expects from the provider. */\n attributes: Attribute[];\n /** Verification holds the verification requirements for this placement. */\n verification: VerificationRequirement | undefined;\n}\n\nfunction createBaseAttribute(): Attribute {\n return { key: \"\", value: \"\" };\n}\n\nexport const Attribute: MessageFns<Attribute, \"akash.base.attributes.v1.Attribute\"> = {\n $type: \"akash.base.attributes.v1.Attribute\" as const,\n\n encode(message: Attribute, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.key !== \"\") {\n writer.uint32(10).string(message.key);\n }\n if (message.value !== \"\") {\n writer.uint32(18).string(message.value);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): Attribute {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAttribute();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.key = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.value = reader.string();\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): Attribute {\n return {\n key: isSet(object.key) ? globalThis.String(object.key) : \"\",\n value: isSet(object.value) ? globalThis.String(object.value) : \"\",\n };\n },\n\n toJSON(message: Attribute): unknown {\n const obj: any = {};\n if (message.key !== \"\") {\n obj.key = message.key;\n }\n if (message.value !== \"\") {\n obj.value = message.value;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<Attribute>): Attribute {\n const message = createBaseAttribute();\n message.key = object.key ?? \"\";\n message.value = object.value ?? \"\";\n return message;\n },\n};\n\nfunction createBaseSignedBy(): SignedBy {\n return { allOf: [], anyOf: [] };\n}\n\nexport const SignedBy: MessageFns<SignedBy, \"akash.base.attributes.v1.SignedBy\"> = {\n $type: \"akash.base.attributes.v1.SignedBy\" as const,\n\n encode(message: SignedBy, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.allOf) {\n writer.uint32(10).string(v!);\n }\n for (const v of message.anyOf) {\n writer.uint32(18).string(v!);\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): SignedBy {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseSignedBy();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.allOf.push(reader.string());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.anyOf.push(reader.string());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): SignedBy {\n return {\n allOf: globalThis.Array.isArray(object?.all_of) ? object.all_of.map((e: any) => globalThis.String(e)) : [],\n anyOf: globalThis.Array.isArray(object?.any_of) ? object.any_of.map((e: any) => globalThis.String(e)) : [],\n };\n },\n\n toJSON(message: SignedBy): unknown {\n const obj: any = {};\n if (message.allOf?.length) {\n obj.all_of = message.allOf;\n }\n if (message.anyOf?.length) {\n obj.any_of = message.anyOf;\n }\n return obj;\n },\n fromPartial(object: DeepPartial<SignedBy>): SignedBy {\n const message = createBaseSignedBy();\n message.allOf = object.allOf?.map((e) => e) || [];\n message.anyOf = object.anyOf?.map((e) => e) || [];\n return message;\n },\n};\n\nfunction createBasePlacementRequirements(): PlacementRequirements {\n return { signedBy: undefined, attributes: [], verification: undefined };\n}\n\nexport const PlacementRequirements: MessageFns<\n PlacementRequirements,\n \"akash.base.attributes.v1.PlacementRequirements\"\n> = {\n $type: \"akash.base.attributes.v1.PlacementRequirements\" as const,\n\n encode(message: PlacementRequirements, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.signedBy !== undefined) {\n SignedBy.encode(message.signedBy, writer.uint32(10).fork()).join();\n }\n for (const v of message.attributes) {\n Attribute.encode(v!, writer.uint32(18).fork()).join();\n }\n if (message.verification !== undefined) {\n VerificationRequirement.encode(message.verification, writer.uint32(26).fork()).join();\n }\n return writer;\n },\n\n decode(input: BinaryReader | Uint8Array, length?: number): PlacementRequirements {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n const end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePlacementRequirements();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n\n message.signedBy = SignedBy.decode(reader, reader.uint32());\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n\n message.attributes.push(Attribute.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n\n message.verification = VerificationRequirement.decode(reader, reader.uint32());\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n\n fromJSON(object: any): PlacementRequirements {\n return {\n signedBy: isSet(object.signed_by) ? SignedBy.fromJSON(object.signed_by) : undefined,\n attributes: globalThis.Array.isArray(object?.attributes)\n ? object.attributes.map((e: any) => Attribute.fromJSON(e))\n : [],\n verification: isSet(object.verification) ? VerificationRequirement.fromJSON(object.verification) : undefined,\n };\n },\n\n toJSON(message: PlacementRequirements): unknown {\n const obj: any = {};\n if (message.signedBy !== undefined) {\n obj.signed_by = SignedBy.toJSON(message.signedBy);\n }\n if (message.attributes?.length) {\n obj.attributes = message.attributes.map((e) => Attribute.toJSON(e));\n }\n if (message.verification !== undefined) {\n obj.verification = VerificationRequirement.toJSON(message.verification);\n }\n return obj;\n },\n fromPartial(object: DeepPartial<PlacementRequirements>): PlacementRequirements {\n const message = createBasePlacementRequirements();\n message.signedBy = (object.signedBy !== undefined && object.signedBy !== null)\n ? SignedBy.fromPartial(object.signedBy)\n : undefined;\n message.attributes = object.attributes?.map((e) => Attribute.fromPartial(e)) || [];\n message.verification = (object.verification !== undefined && object.verification !== null)\n ? VerificationRequirement.fromPartial(object.verification)\n : undefined;\n return message;\n },\n};\n\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;\n\ntype _unused_DeepPartial<T> = T extends bigint ? string | number | bigint\n : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>>\n : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>\n : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }\n : Partial<T>;\n\nfunction _unused_isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n\ninterface _unused_MessageFns<T, V extends string> {\n readonly $type: V;\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n fromJSON(object: any): T;\n toJSON(message: T): unknown;\n create(base?: DeepPartial<T>): T;\n fromPartial(object: DeepPartial<T>): T;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAsB;AAStB,kBAA2C;AAC3C,qCAAwC;AAqCxC,SAAS,sBAAiC;AACxC,SAAO,EAAE,KAAK,IAAI,OAAO,GAAG;AAC9B;AAEO,MAAM,YAAyE;AAAA,EACpF,OAAO;AAAA,EAEP,OAAO,SAAoB,SAAuB,IAAI,yBAAa,GAAiB;AAClF,QAAI,QAAQ,QAAQ,IAAI;AACtB,aAAO,OAAO,EAAE,EAAE,OAAO,QAAQ,GAAG;AAAA,IACtC;AACA,QAAI,QAAQ,UAAU,IAAI;AACxB,aAAO,OAAO,EAAE,EAAE,OAAO,QAAQ,KAAK;AAAA,IACxC;AACA,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,OAAkC,QAA4B;AACnE,UAAM,SAAS,iBAAiB,2BAAe,QAAQ,IAAI,yBAAa,KAAK;AAC7E,UAAM,MAAM,WAAW,SAAY,OAAO,MAAM,OAAO,MAAM;AAC7D,UAAM,UAAU,oBAAoB;AACpC,WAAO,OAAO,MAAM,KAAK;AACvB,YAAM,MAAM,OAAO,OAAO;AAC1B,cAAQ,QAAQ,GAAG;AAAA,QACjB,KAAK,GAAG;AACN,cAAI,QAAQ,IAAI;AACd;AAAA,UACF;AAEA,kBAAQ,MAAM,OAAO,OAAO;AAC5B;AAAA,QACF;AAAA,QACA,KAAK,GAAG;AACN,cAAI,QAAQ,IAAI;AACd;AAAA,UACF;AAEA,kBAAQ,QAAQ,OAAO,OAAO;AAC9B;AAAA,QACF;AAAA,MACF;AACA,WAAK,MAAM,OAAO,KAAK,QAAQ,GAAG;AAChC;AAAA,MACF;AACA,aAAO,KAAK,MAAM,CAAC;AAAA,IACrB;AACA,WAAO;AAAA,EACT;AAAA,E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