@sparkdreamnft/sparkdreamjs 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/audit.d.ts +209 -0
- package/akash/audit/v1/audit.js +265 -0
- package/akash/audit/v1/event.d.ts +150 -0
- package/akash/audit/v1/event.js +167 -0
- package/akash/audit/v1/genesis.d.ts +53 -0
- package/akash/audit/v1/genesis.js +78 -0
- package/akash/audit/v1/msg.d.ts +253 -0
- package/akash/audit/v1/msg.js +310 -0
- package/akash/audit/v1/query.d.ts +392 -0
- package/akash/audit/v1/query.js +484 -0
- package/akash/audit/v1/query.lcd.d.ts +12 -0
- package/akash/audit/v1/query.lcd.js +60 -0
- package/akash/audit/v1/query.rpc.Query.d.ts +44 -0
- package/akash/audit/v1/query.rpc.Query.js +66 -0
- package/akash/audit/v1/service.amino.d.ts +13 -0
- package/akash/audit/v1/service.amino.js +17 -0
- package/akash/audit/v1/service.d.ts +1 -0
- package/akash/audit/v1/service.js +2 -0
- package/akash/audit/v1/service.registry.d.ts +37 -0
- package/akash/audit/v1/service.registry.js +55 -0
- package/akash/audit/v1/service.rpc.msg.d.ts +16 -0
- package/akash/audit/v1/service.rpc.msg.js +28 -0
- package/akash/audit/v1beta3/audit.amino.d.ts +13 -0
- package/akash/audit/v1beta3/audit.amino.js +17 -0
- package/akash/audit/v1beta3/audit.d.ts +369 -0
- package/akash/audit/v1beta3/audit.js +661 -0
- package/akash/audit/v1beta3/audit.registry.d.ts +37 -0
- package/akash/audit/v1beta3/audit.registry.js +55 -0
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +16 -0
- package/akash/audit/v1beta3/audit.rpc.msg.js +28 -0
- package/akash/audit/v1beta3/genesis.d.ts +47 -0
- package/akash/audit/v1beta3/genesis.js +78 -0
- package/akash/audit/v1beta3/query.d.ts +278 -0
- package/akash/audit/v1beta3/query.js +484 -0
- package/akash/audit/v1beta3/query.lcd.d.ts +12 -0
- package/akash/audit/v1beta3/query.lcd.js +60 -0
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +44 -0
- package/akash/audit/v1beta3/query.rpc.Query.js +66 -0
- package/akash/base/attributes/v1/attribute.d.ts +185 -0
- package/akash/base/attributes/v1/attribute.js +260 -0
- package/akash/base/resources/v1beta4/cpu.d.ts +66 -0
- package/akash/base/resources/v1beta4/cpu.js +91 -0
- package/akash/base/resources/v1beta4/endpoint.d.ts +73 -0
- package/akash/base/resources/v1beta4/endpoint.js +130 -0
- package/akash/base/resources/v1beta4/gpu.d.ts +58 -0
- package/akash/base/resources/v1beta4/gpu.js +91 -0
- package/akash/base/resources/v1beta4/memory.d.ts +66 -0
- package/akash/base/resources/v1beta4/memory.js +91 -0
- package/akash/base/resources/v1beta4/resources.d.ts +108 -0
- package/akash/base/resources/v1beta4/resources.js +146 -0
- package/akash/base/resources/v1beta4/resourcevalue.d.ts +46 -0
- package/akash/base/resources/v1beta4/resourcevalue.js +75 -0
- package/akash/base/resources/v1beta4/storage.d.ts +74 -0
- package/akash/base/resources/v1beta4/storage.js +103 -0
- package/akash/base/v1beta3/attribute.d.ts +173 -0
- package/akash/base/v1beta3/attribute.js +260 -0
- package/akash/base/v1beta3/cpu.d.ts +50 -0
- package/akash/base/v1beta3/cpu.js +91 -0
- package/akash/base/v1beta3/endpoint.d.ts +61 -0
- package/akash/base/v1beta3/endpoint.js +130 -0
- package/akash/base/v1beta3/gpu.d.ts +50 -0
- package/akash/base/v1beta3/gpu.js +91 -0
- package/akash/base/v1beta3/memory.d.ts +50 -0
- package/akash/base/v1beta3/memory.js +91 -0
- package/akash/base/v1beta3/resources.d.ts +64 -0
- package/akash/base/v1beta3/resources.js +146 -0
- package/akash/base/v1beta3/resourcevalue.d.ts +46 -0
- package/akash/base/v1beta3/resourcevalue.js +75 -0
- package/akash/base/v1beta3/storage.d.ts +52 -0
- package/akash/base/v1beta3/storage.js +103 -0
- package/akash/bundle.d.ts +5068 -0
- package/akash/bundle.js +465 -0
- package/akash/cert/v1/cert.d.ts +154 -0
- package/akash/cert/v1/cert.js +225 -0
- package/akash/cert/v1/filters.d.ts +80 -0
- package/akash/cert/v1/filters.js +98 -0
- package/akash/cert/v1/genesis.d.ts +119 -0
- package/akash/cert/v1/genesis.js +159 -0
- package/akash/cert/v1/msg.d.ts +211 -0
- package/akash/cert/v1/msg.js +281 -0
- package/akash/cert/v1/query.d.ts +179 -0
- package/akash/cert/v1/query.js +254 -0
- package/akash/cert/v1/query.lcd.d.ts +9 -0
- package/akash/cert/v1/query.lcd.js +26 -0
- package/akash/cert/v1/query.rpc.Query.d.ts +16 -0
- package/akash/cert/v1/query.rpc.Query.js +29 -0
- package/akash/cert/v1/service.amino.d.ts +13 -0
- package/akash/cert/v1/service.amino.js +17 -0
- package/akash/cert/v1/service.d.ts +1 -0
- package/akash/cert/v1/service.js +2 -0
- package/akash/cert/v1/service.registry.d.ts +37 -0
- package/akash/cert/v1/service.registry.js +55 -0
- package/akash/cert/v1/service.rpc.msg.d.ts +16 -0
- package/akash/cert/v1/service.rpc.msg.js +28 -0
- package/akash/cert/v1beta3/cert.amino.d.ts +13 -0
- package/akash/cert/v1beta3/cert.amino.js +17 -0
- package/akash/cert/v1beta3/cert.d.ts +333 -0
- package/akash/cert/v1beta3/cert.js +591 -0
- package/akash/cert/v1beta3/cert.registry.d.ts +37 -0
- package/akash/cert/v1beta3/cert.registry.js +55 -0
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +16 -0
- package/akash/cert/v1beta3/cert.rpc.msg.js +28 -0
- package/akash/cert/v1beta3/genesis.d.ts +93 -0
- package/akash/cert/v1beta3/genesis.js +159 -0
- package/akash/cert/v1beta3/query.d.ts +142 -0
- package/akash/cert/v1beta3/query.js +253 -0
- package/akash/cert/v1beta3/query.lcd.d.ts +9 -0
- package/akash/cert/v1beta3/query.lcd.js +26 -0
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +16 -0
- package/akash/cert/v1beta3/query.rpc.Query.js +29 -0
- package/akash/client.d.ts +222 -0
- package/akash/client.js +97 -0
- package/akash/deployment/v1/authz.d.ts +58 -0
- package/akash/deployment/v1/authz.js +76 -0
- package/akash/deployment/v1/deployment.d.ts +162 -0
- package/akash/deployment/v1/deployment.js +237 -0
- package/akash/deployment/v1/event.d.ts +338 -0
- package/akash/deployment/v1/event.js +452 -0
- package/akash/deployment/v1/group.d.ts +89 -0
- package/akash/deployment/v1/group.js +101 -0
- package/akash/deployment/v1/msg.d.ts +122 -0
- package/akash/deployment/v1/msg.js +158 -0
- package/akash/deployment/v1beta3/authz.d.ts +58 -0
- package/akash/deployment/v1beta3/authz.js +76 -0
- package/akash/deployment/v1beta3/deployment.d.ts +159 -0
- package/akash/deployment/v1beta3/deployment.js +329 -0
- package/akash/deployment/v1beta3/deploymentmsg.d.ts +375 -0
- package/akash/deployment/v1beta3/deploymentmsg.js +596 -0
- package/akash/deployment/v1beta3/genesis.d.ts +97 -0
- package/akash/deployment/v1beta3/genesis.js +176 -0
- package/akash/deployment/v1beta3/group.d.ts +71 -0
- package/akash/deployment/v1beta3/group.js +170 -0
- package/akash/deployment/v1beta3/groupid.d.ts +50 -0
- package/akash/deployment/v1beta3/groupid.js +98 -0
- package/akash/deployment/v1beta3/groupmsg.d.ts +261 -0
- package/akash/deployment/v1beta3/groupmsg.js +381 -0
- package/akash/deployment/v1beta3/groupspec.d.ts +52 -0
- package/akash/deployment/v1beta3/groupspec.js +103 -0
- package/akash/deployment/v1beta3/params.d.ts +47 -0
- package/akash/deployment/v1beta3/params.js +78 -0
- package/akash/deployment/v1beta3/query.d.ts +279 -0
- package/akash/deployment/v1beta3/query.js +478 -0
- package/akash/deployment/v1beta3/query.lcd.d.ts +11 -0
- package/akash/deployment/v1beta3/query.lcd.js +48 -0
- package/akash/deployment/v1beta3/query.rpc.Query.d.ts +24 -0
- package/akash/deployment/v1beta3/query.rpc.Query.js +47 -0
- package/akash/deployment/v1beta3/resourceunit.d.ts +52 -0
- package/akash/deployment/v1beta3/resourceunit.js +100 -0
- package/akash/deployment/v1beta3/service.amino.d.ts +39 -0
- package/akash/deployment/v1beta3/service.amino.js +43 -0
- package/akash/deployment/v1beta3/service.d.ts +1 -0
- package/akash/deployment/v1beta3/service.js +2 -0
- package/akash/deployment/v1beta3/service.registry.d.ts +98 -0
- package/akash/deployment/v1beta3/service.registry.js +146 -0
- package/akash/deployment/v1beta3/service.rpc.msg.d.ts +32 -0
- package/akash/deployment/v1beta3/service.rpc.msg.js +59 -0
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +333 -0
- package/akash/deployment/v1beta4/deploymentmsg.js +447 -0
- package/akash/deployment/v1beta4/filters.d.ts +164 -0
- package/akash/deployment/v1beta4/filters.js +203 -0
- package/akash/deployment/v1beta4/genesis.d.ts +121 -0
- package/akash/deployment/v1beta4/genesis.js +176 -0
- package/akash/deployment/v1beta4/group.d.ts +95 -0
- package/akash/deployment/v1beta4/group.js +170 -0
- package/akash/deployment/v1beta4/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta4/groupmsg.js +381 -0
- package/akash/deployment/v1beta4/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta4/groupspec.js +104 -0
- package/akash/deployment/v1beta4/params.d.ts +53 -0
- package/akash/deployment/v1beta4/params.js +78 -0
- package/akash/deployment/v1beta4/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta4/paramsmsg.js +148 -0
- package/akash/deployment/v1beta4/query.d.ts +437 -0
- package/akash/deployment/v1beta4/query.js +605 -0
- package/akash/deployment/v1beta4/query.lcd.d.ts +12 -0
- package/akash/deployment/v1beta4/query.lcd.js +53 -0
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +28 -0
- package/akash/deployment/v1beta4/query.rpc.Query.js +56 -0
- package/akash/deployment/v1beta4/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta4/resourceunit.js +100 -0
- package/akash/deployment/v1beta4/service.amino.d.ts +46 -0
- package/akash/deployment/v1beta4/service.amino.js +50 -0
- package/akash/deployment/v1beta4/service.d.ts +1 -0
- package/akash/deployment/v1beta4/service.js +2 -0
- package/akash/deployment/v1beta4/service.registry.d.ts +112 -0
- package/akash/deployment/v1beta4/service.registry.js +166 -0
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +42 -0
- package/akash/deployment/v1beta4/service.rpc.msg.js +70 -0
- package/akash/discovery/v1/akash.d.ts +53 -0
- package/akash/discovery/v1/akash.js +75 -0
- package/akash/discovery/v1/client_info.d.ts +52 -0
- package/akash/discovery/v1/client_info.js +74 -0
- package/akash/escrow/v1/account.d.ts +147 -0
- package/akash/escrow/v1/account.js +211 -0
- package/akash/escrow/v1/accountid.d.ts +60 -0
- package/akash/escrow/v1/accountid.js +86 -0
- package/akash/escrow/v1/fractional_payment.d.ts +125 -0
- package/akash/escrow/v1/fractional_payment.js +199 -0
- package/akash/escrow/v1/genesis.d.ts +62 -0
- package/akash/escrow/v1/genesis.js +94 -0
- package/akash/escrow/v1/query.d.ts +309 -0
- package/akash/escrow/v1/query.js +422 -0
- package/akash/escrow/v1/query.lcd.d.ts +10 -0
- package/akash/escrow/v1/query.lcd.js +65 -0
- package/akash/escrow/v1/query.rpc.Query.d.ts +28 -0
- package/akash/escrow/v1/query.rpc.Query.js +42 -0
- package/akash/escrow/v1beta3/genesis.d.ts +49 -0
- package/akash/escrow/v1beta3/genesis.js +93 -0
- package/akash/escrow/v1beta3/query.d.ts +202 -0
- package/akash/escrow/v1beta3/query.js +421 -0
- package/akash/escrow/v1beta3/query.lcd.d.ts +10 -0
- package/akash/escrow/v1beta3/query.lcd.js +65 -0
- package/akash/escrow/v1beta3/query.rpc.Query.d.ts +28 -0
- package/akash/escrow/v1beta3/query.rpc.Query.js +42 -0
- package/akash/escrow/v1beta3/types.d.ts +247 -0
- package/akash/escrow/v1beta3/types.js +483 -0
- package/akash/lcd.d.ts +89 -0
- package/akash/lcd.js +193 -0
- package/akash/market/v1/bid.d.ts +109 -0
- package/akash/market/v1/bid.js +123 -0
- package/akash/market/v1/event.d.ts +340 -0
- package/akash/market/v1/event.js +453 -0
- package/akash/market/v1/filters.d.ts +114 -0
- package/akash/market/v1/filters.js +134 -0
- package/akash/market/v1/lease.d.ts +213 -0
- package/akash/market/v1/lease.js +294 -0
- package/akash/market/v1/order.d.ts +90 -0
- package/akash/market/v1/order.js +110 -0
- package/akash/market/v1beta4/bid.d.ts +412 -0
- package/akash/market/v1beta4/bid.js +816 -0
- package/akash/market/v1beta4/genesis.d.ts +56 -0
- package/akash/market/v1beta4/genesis.js +123 -0
- package/akash/market/v1beta4/lease.d.ts +435 -0
- package/akash/market/v1beta4/lease.js +796 -0
- package/akash/market/v1beta4/order.d.ts +170 -0
- package/akash/market/v1beta4/order.js +384 -0
- package/akash/market/v1beta4/params.d.ts +49 -0
- package/akash/market/v1beta4/params.js +87 -0
- package/akash/market/v1beta4/query.d.ts +551 -0
- package/akash/market/v1beta4/query.js +943 -0
- package/akash/market/v1beta4/query.lcd.d.ts +14 -0
- package/akash/market/v1beta4/query.lcd.js +87 -0
- package/akash/market/v1beta4/query.rpc.Query.d.ts +36 -0
- package/akash/market/v1beta4/query.rpc.Query.js +74 -0
- package/akash/market/v1beta4/service.amino.d.ts +29 -0
- package/akash/market/v1beta4/service.amino.js +33 -0
- package/akash/market/v1beta4/service.d.ts +1 -0
- package/akash/market/v1beta4/service.js +2 -0
- package/akash/market/v1beta4/service.registry.d.ts +74 -0
- package/akash/market/v1beta4/service.registry.js +111 -0
- package/akash/market/v1beta4/service.rpc.msg.d.ts +26 -0
- package/akash/market/v1beta4/service.rpc.msg.js +48 -0
- package/akash/market/v1beta5/bid.d.ts +106 -0
- package/akash/market/v1beta5/bid.js +186 -0
- package/akash/market/v1beta5/bidmsg.d.ts +230 -0
- package/akash/market/v1beta5/bidmsg.js +310 -0
- package/akash/market/v1beta5/filters.d.ts +210 -0
- package/akash/market/v1beta5/filters.js +251 -0
- package/akash/market/v1beta5/genesis.d.ts +80 -0
- package/akash/market/v1beta5/genesis.js +123 -0
- package/akash/market/v1beta5/leasemsg.d.ts +280 -0
- package/akash/market/v1beta5/leasemsg.js +382 -0
- package/akash/market/v1beta5/order.d.ts +75 -0
- package/akash/market/v1beta5/order.js +163 -0
- package/akash/market/v1beta5/params.d.ts +61 -0
- package/akash/market/v1beta5/params.js +87 -0
- package/akash/market/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/market/v1beta5/paramsmsg.js +148 -0
- package/akash/market/v1beta5/query.d.ts +769 -0
- package/akash/market/v1beta5/query.js +1074 -0
- package/akash/market/v1beta5/query.lcd.d.ts +15 -0
- package/akash/market/v1beta5/query.lcd.js +92 -0
- package/akash/market/v1beta5/query.rpc.Query.d.ts +40 -0
- package/akash/market/v1beta5/query.rpc.Query.js +83 -0
- package/akash/market/v1beta5/resourcesoffer.d.ts +64 -0
- package/akash/market/v1beta5/resourcesoffer.js +88 -0
- package/akash/market/v1beta5/service.amino.d.ts +35 -0
- package/akash/market/v1beta5/service.amino.js +39 -0
- package/akash/market/v1beta5/service.d.ts +1 -0
- package/akash/market/v1beta5/service.js +2 -0
- package/akash/market/v1beta5/service.registry.d.ts +87 -0
- package/akash/market/v1beta5/service.registry.js +129 -0
- package/akash/market/v1beta5/service.rpc.msg.d.ts +35 -0
- package/akash/market/v1beta5/service.rpc.msg.js +57 -0
- package/akash/provider/v1beta3/genesis.d.ts +47 -0
- package/akash/provider/v1beta3/genesis.js +78 -0
- package/akash/provider/v1beta3/provider.amino.d.ts +18 -0
- package/akash/provider/v1beta3/provider.amino.js +22 -0
- package/akash/provider/v1beta3/provider.d.ts +369 -0
- package/akash/provider/v1beta3/provider.js +648 -0
- package/akash/provider/v1beta3/provider.registry.d.ts +49 -0
- package/akash/provider/v1beta3/provider.registry.js +73 -0
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +19 -0
- package/akash/provider/v1beta3/provider.rpc.msg.js +34 -0
- package/akash/provider/v1beta3/query.d.ts +182 -0
- package/akash/provider/v1beta3/query.js +298 -0
- package/akash/provider/v1beta3/query.lcd.d.ts +10 -0
- package/akash/provider/v1beta3/query.lcd.js +30 -0
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +20 -0
- package/akash/provider/v1beta3/query.rpc.Query.js +40 -0
- package/akash/provider/v1beta4/event.d.ts +182 -0
- package/akash/provider/v1beta4/event.js +214 -0
- package/akash/provider/v1beta4/genesis.d.ts +53 -0
- package/akash/provider/v1beta4/genesis.js +78 -0
- package/akash/provider/v1beta4/msg.d.ts +308 -0
- package/akash/provider/v1beta4/msg.js +460 -0
- package/akash/provider/v1beta4/provider.d.ts +157 -0
- package/akash/provider/v1beta4/provider.js +199 -0
- package/akash/provider/v1beta4/query.d.ts +220 -0
- package/akash/provider/v1beta4/query.js +298 -0
- package/akash/provider/v1beta4/query.lcd.d.ts +10 -0
- package/akash/provider/v1beta4/query.lcd.js +30 -0
- package/akash/provider/v1beta4/query.rpc.Query.d.ts +20 -0
- package/akash/provider/v1beta4/query.rpc.Query.js +40 -0
- package/akash/provider/v1beta4/service.amino.d.ts +18 -0
- package/akash/provider/v1beta4/service.amino.js +22 -0
- package/akash/provider/v1beta4/service.d.ts +1 -0
- package/akash/provider/v1beta4/service.js +2 -0
- package/akash/provider/v1beta4/service.registry.d.ts +49 -0
- package/akash/provider/v1beta4/service.registry.js +73 -0
- package/akash/provider/v1beta4/service.rpc.msg.d.ts +19 -0
- package/akash/provider/v1beta4/service.rpc.msg.js +34 -0
- package/akash/rpc.query.d.ts +281 -0
- package/akash/rpc.query.js +135 -0
- package/akash/rpc.tx.d.ts +81 -0
- package/akash/rpc.tx.js +115 -0
- package/akash/take/v1/genesis.d.ts +53 -0
- package/akash/take/v1/genesis.js +75 -0
- package/akash/take/v1/params.d.ts +118 -0
- package/akash/take/v1/params.js +170 -0
- package/akash/take/v1/paramsmsg.d.ts +122 -0
- package/akash/take/v1/paramsmsg.js +148 -0
- package/akash/take/v1/query.d.ts +95 -0
- package/akash/take/v1/query.js +131 -0
- package/akash/take/v1/query.lcd.d.ts +9 -0
- package/akash/take/v1/query.lcd.js +15 -0
- package/akash/take/v1/query.rpc.Query.d.ts +16 -0
- package/akash/take/v1/query.rpc.Query.js +29 -0
- package/akash/take/v1/service.amino.d.ts +8 -0
- package/akash/take/v1/service.amino.js +12 -0
- package/akash/take/v1/service.d.ts +1 -0
- package/akash/take/v1/service.js +2 -0
- package/akash/take/v1/service.registry.d.ts +25 -0
- package/akash/take/v1/service.registry.js +37 -0
- package/akash/take/v1/service.rpc.msg.d.ts +18 -0
- package/akash/take/v1/service.rpc.msg.js +25 -0
- package/akash/take/v1beta3/genesis.d.ts +47 -0
- package/akash/take/v1beta3/genesis.js +75 -0
- package/akash/take/v1beta3/params.d.ts +100 -0
- package/akash/take/v1beta3/params.js +170 -0
- package/akash/take/v1beta3/query.d.ts +1 -0
- package/akash/take/v1beta3/query.js +2 -0
- package/akash/take/v1beta3/query.rpc.Query.d.ts +10 -0
- package/akash/take/v1beta3/query.rpc.Query.js +17 -0
- package/amino/bundle.js +2 -2
- package/cosmos/bundle.d.ts +7609 -7547
- package/cosmos/bundle.js +420 -412
- package/cosmos/client.d.ts +2 -2
- package/cosmos/crypto/bls12_381/keys.d.ts +106 -0
- package/cosmos/crypto/bls12_381/keys.js +162 -0
- package/cosmos/crypto/mldsa65/keys.d.ts +106 -0
- package/cosmos/crypto/mldsa65/keys.js +162 -0
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/audit/v1/audit.js +262 -0
- package/esm/akash/audit/v1/event.js +164 -0
- package/esm/akash/audit/v1/genesis.js +75 -0
- package/esm/akash/audit/v1/msg.js +307 -0
- package/esm/akash/audit/v1/query.js +481 -0
- package/esm/akash/audit/v1/query.lcd.js +56 -0
- package/esm/akash/audit/v1/query.rpc.Query.js +61 -0
- package/esm/akash/audit/v1/service.amino.js +14 -0
- package/esm/akash/audit/v1/service.js +1 -0
- package/esm/akash/audit/v1/service.registry.js +51 -0
- package/esm/akash/audit/v1/service.rpc.msg.js +23 -0
- package/esm/akash/audit/v1beta3/audit.amino.js +14 -0
- package/esm/akash/audit/v1beta3/audit.js +658 -0
- package/esm/akash/audit/v1beta3/audit.registry.js +51 -0
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +23 -0
- package/esm/akash/audit/v1beta3/genesis.js +75 -0
- package/esm/akash/audit/v1beta3/query.js +481 -0
- package/esm/akash/audit/v1beta3/query.lcd.js +56 -0
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +61 -0
- package/esm/akash/base/attributes/v1/attribute.js +257 -0
- package/esm/akash/base/resources/v1beta4/cpu.js +88 -0
- package/esm/akash/base/resources/v1beta4/endpoint.js +125 -0
- package/esm/akash/base/resources/v1beta4/gpu.js +88 -0
- package/esm/akash/base/resources/v1beta4/memory.js +88 -0
- package/esm/akash/base/resources/v1beta4/resources.js +143 -0
- package/esm/akash/base/resources/v1beta4/resourcevalue.js +72 -0
- package/esm/akash/base/resources/v1beta4/storage.js +100 -0
- package/esm/akash/base/v1beta3/attribute.js +257 -0
- package/esm/akash/base/v1beta3/cpu.js +88 -0
- package/esm/akash/base/v1beta3/endpoint.js +125 -0
- package/esm/akash/base/v1beta3/gpu.js +88 -0
- package/esm/akash/base/v1beta3/memory.js +88 -0
- package/esm/akash/base/v1beta3/resources.js +143 -0
- package/esm/akash/base/v1beta3/resourcevalue.js +72 -0
- package/esm/akash/base/v1beta3/storage.js +100 -0
- package/esm/akash/bundle.js +429 -0
- package/esm/akash/cert/v1/cert.js +220 -0
- package/esm/akash/cert/v1/filters.js +95 -0
- package/esm/akash/cert/v1/genesis.js +156 -0
- package/esm/akash/cert/v1/msg.js +278 -0
- package/esm/akash/cert/v1/query.js +251 -0
- package/esm/akash/cert/v1/query.lcd.js +22 -0
- package/esm/akash/cert/v1/query.rpc.Query.js +24 -0
- package/esm/akash/cert/v1/service.amino.js +14 -0
- package/esm/akash/cert/v1/service.js +1 -0
- package/esm/akash/cert/v1/service.registry.js +51 -0
- package/esm/akash/cert/v1/service.rpc.msg.js +23 -0
- package/esm/akash/cert/v1beta3/cert.amino.js +14 -0
- package/esm/akash/cert/v1beta3/cert.js +586 -0
- package/esm/akash/cert/v1beta3/cert.registry.js +51 -0
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +23 -0
- package/esm/akash/cert/v1beta3/genesis.js +156 -0
- package/esm/akash/cert/v1beta3/query.js +250 -0
- package/esm/akash/cert/v1beta3/query.lcd.js +22 -0
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +24 -0
- package/esm/akash/client.js +59 -0
- package/esm/akash/deployment/v1/authz.js +73 -0
- package/esm/akash/deployment/v1/deployment.js +232 -0
- package/esm/akash/deployment/v1/event.js +449 -0
- package/esm/akash/deployment/v1/group.js +98 -0
- package/esm/akash/deployment/v1/msg.js +155 -0
- package/esm/akash/deployment/v1beta3/authz.js +73 -0
- package/esm/akash/deployment/v1beta3/deployment.js +324 -0
- package/esm/akash/deployment/v1beta3/deploymentmsg.js +593 -0
- package/esm/akash/deployment/v1beta3/genesis.js +173 -0
- package/esm/akash/deployment/v1beta3/group.js +165 -0
- package/esm/akash/deployment/v1beta3/groupid.js +95 -0
- package/esm/akash/deployment/v1beta3/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta3/groupspec.js +100 -0
- package/esm/akash/deployment/v1beta3/params.js +75 -0
- package/esm/akash/deployment/v1beta3/query.js +475 -0
- package/esm/akash/deployment/v1beta3/query.lcd.js +44 -0
- package/esm/akash/deployment/v1beta3/query.rpc.Query.js +42 -0
- package/esm/akash/deployment/v1beta3/resourceunit.js +97 -0
- package/esm/akash/deployment/v1beta3/service.amino.js +40 -0
- package/esm/akash/deployment/v1beta3/service.js +1 -0
- package/esm/akash/deployment/v1beta3/service.registry.js +142 -0
- package/esm/akash/deployment/v1beta3/service.rpc.msg.js +54 -0
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +444 -0
- package/esm/akash/deployment/v1beta4/filters.js +200 -0
- package/esm/akash/deployment/v1beta4/genesis.js +173 -0
- package/esm/akash/deployment/v1beta4/group.js +165 -0
- package/esm/akash/deployment/v1beta4/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta4/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta4/params.js +75 -0
- package/esm/akash/deployment/v1beta4/paramsmsg.js +145 -0
- package/esm/akash/deployment/v1beta4/query.js +602 -0
- package/esm/akash/deployment/v1beta4/query.lcd.js +49 -0
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +51 -0
- package/esm/akash/deployment/v1beta4/resourceunit.js +97 -0
- package/esm/akash/deployment/v1beta4/service.amino.js +47 -0
- package/esm/akash/deployment/v1beta4/service.js +1 -0
- package/esm/akash/deployment/v1beta4/service.registry.js +162 -0
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +65 -0
- package/esm/akash/discovery/v1/akash.js +72 -0
- package/esm/akash/discovery/v1/client_info.js +71 -0
- package/esm/akash/escrow/v1/account.js +206 -0
- package/esm/akash/escrow/v1/accountid.js +83 -0
- package/esm/akash/escrow/v1/fractional_payment.js +194 -0
- package/esm/akash/escrow/v1/genesis.js +91 -0
- package/esm/akash/escrow/v1/query.js +419 -0
- package/esm/akash/escrow/v1/query.lcd.js +61 -0
- package/esm/akash/escrow/v1/query.rpc.Query.js +37 -0
- package/esm/akash/escrow/v1beta3/genesis.js +90 -0
- package/esm/akash/escrow/v1beta3/query.js +418 -0
- package/esm/akash/escrow/v1beta3/query.lcd.js +61 -0
- package/esm/akash/escrow/v1beta3/query.rpc.Query.js +37 -0
- package/esm/akash/escrow/v1beta3/types.js +476 -0
- package/esm/akash/lcd.js +156 -0
- package/esm/akash/market/v1/bid.js +120 -0
- package/esm/akash/market/v1/event.js +450 -0
- package/esm/akash/market/v1/filters.js +131 -0
- package/esm/akash/market/v1/lease.js +289 -0
- package/esm/akash/market/v1/order.js +107 -0
- package/esm/akash/market/v1beta4/bid.js +811 -0
- package/esm/akash/market/v1beta4/genesis.js +120 -0
- package/esm/akash/market/v1beta4/lease.js +791 -0
- package/esm/akash/market/v1beta4/order.js +379 -0
- package/esm/akash/market/v1beta4/params.js +84 -0
- package/esm/akash/market/v1beta4/query.js +940 -0
- package/esm/akash/market/v1beta4/query.lcd.js +83 -0
- package/esm/akash/market/v1beta4/query.rpc.Query.js +69 -0
- package/esm/akash/market/v1beta4/service.amino.js +30 -0
- package/esm/akash/market/v1beta4/service.js +1 -0
- package/esm/akash/market/v1beta4/service.registry.js +107 -0
- package/esm/akash/market/v1beta4/service.rpc.msg.js +43 -0
- package/esm/akash/market/v1beta5/bid.js +181 -0
- package/esm/akash/market/v1beta5/bidmsg.js +307 -0
- package/esm/akash/market/v1beta5/filters.js +248 -0
- package/esm/akash/market/v1beta5/genesis.js +120 -0
- package/esm/akash/market/v1beta5/leasemsg.js +379 -0
- package/esm/akash/market/v1beta5/order.js +158 -0
- package/esm/akash/market/v1beta5/params.js +84 -0
- package/esm/akash/market/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/market/v1beta5/query.js +1071 -0
- package/esm/akash/market/v1beta5/query.lcd.js +88 -0
- package/esm/akash/market/v1beta5/query.rpc.Query.js +78 -0
- package/esm/akash/market/v1beta5/resourcesoffer.js +85 -0
- package/esm/akash/market/v1beta5/service.amino.js +36 -0
- package/esm/akash/market/v1beta5/service.js +1 -0
- package/esm/akash/market/v1beta5/service.registry.js +125 -0
- package/esm/akash/market/v1beta5/service.rpc.msg.js +52 -0
- package/esm/akash/provider/v1beta3/genesis.js +75 -0
- package/esm/akash/provider/v1beta3/provider.amino.js +19 -0
- package/esm/akash/provider/v1beta3/provider.js +645 -0
- package/esm/akash/provider/v1beta3/provider.registry.js +69 -0
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +29 -0
- package/esm/akash/provider/v1beta3/query.js +295 -0
- package/esm/akash/provider/v1beta3/query.lcd.js +26 -0
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +35 -0
- package/esm/akash/provider/v1beta4/event.js +211 -0
- package/esm/akash/provider/v1beta4/genesis.js +75 -0
- package/esm/akash/provider/v1beta4/msg.js +457 -0
- package/esm/akash/provider/v1beta4/provider.js +196 -0
- package/esm/akash/provider/v1beta4/query.js +295 -0
- package/esm/akash/provider/v1beta4/query.lcd.js +26 -0
- package/esm/akash/provider/v1beta4/query.rpc.Query.js +35 -0
- package/esm/akash/provider/v1beta4/service.amino.js +19 -0
- package/esm/akash/provider/v1beta4/service.js +1 -0
- package/esm/akash/provider/v1beta4/service.registry.js +69 -0
- package/esm/akash/provider/v1beta4/service.rpc.msg.js +29 -0
- package/esm/akash/rpc.query.js +98 -0
- package/esm/akash/rpc.tx.js +78 -0
- package/esm/akash/take/v1/genesis.js +72 -0
- package/esm/akash/take/v1/params.js +167 -0
- package/esm/akash/take/v1/paramsmsg.js +145 -0
- package/esm/akash/take/v1/query.js +128 -0
- package/esm/akash/take/v1/query.lcd.js +11 -0
- package/esm/akash/take/v1/query.rpc.Query.js +24 -0
- package/esm/akash/take/v1/service.amino.js +9 -0
- package/esm/akash/take/v1/service.js +1 -0
- package/esm/akash/take/v1/service.registry.js +33 -0
- package/esm/akash/take/v1/service.rpc.msg.js +20 -0
- package/esm/akash/take/v1beta3/genesis.js +72 -0
- package/esm/akash/take/v1beta3/params.js +167 -0
- package/esm/akash/take/v1beta3/query.js +1 -0
- package/esm/akash/take/v1beta3/query.rpc.Query.js +12 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/bundle.js +420 -412
- package/esm/cosmos/crypto/bls12_381/keys.js +159 -0
- package/esm/cosmos/crypto/mldsa65/keys.js +159 -0
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/google/protobuf/any.js +22 -77
- package/esm/google/protobuf/descriptor.js +135 -1
- package/esm/google/protobuf/timestamp.js +2 -2
- package/esm/ibc/applications/gmp/v1/account.js +271 -0
- package/esm/ibc/applications/gmp/v1/genesis.js +170 -0
- package/esm/ibc/applications/gmp/v1/packet.js +203 -0
- package/esm/ibc/applications/gmp/v1/query.js +331 -0
- package/esm/ibc/applications/gmp/v1/query.lcd.js +23 -0
- package/esm/ibc/applications/gmp/v1/query.rpc.Query.js +34 -0
- package/esm/ibc/applications/gmp/v1/tx.amino.js +9 -0
- package/esm/ibc/applications/gmp/v1/tx.js +239 -0
- package/esm/ibc/applications/gmp/v1/tx.registry.js +33 -0
- package/esm/ibc/applications/gmp/v1/tx.rpc.msg.js +17 -0
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
- package/esm/ibc/applications/rate_limiting/v1/genesis.js +16 -1
- package/esm/ibc/bundle.js +244 -212
- package/esm/ibc/client.js +4 -1
- package/esm/ibc/lcd.js +5 -0
- package/esm/ibc/lightclients/attestations/v1/attestations.js +288 -0
- package/esm/ibc/rpc.query.js +3 -0
- package/esm/ibc/rpc.tx.js +3 -0
- package/esm/index.js +2 -0
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/sparkdream/collect/v1/query.js +165 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +11 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/rep/v1/query.js +13 -34
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +434 -418
- package/google/bundle.js +8 -8
- package/google/protobuf/any.d.ts +133 -296
- package/google/protobuf/any.js +22 -77
- package/google/protobuf/descriptor.d.ts +106 -0
- package/google/protobuf/descriptor.js +139 -3
- package/google/protobuf/timestamp.d.ts +13 -12
- package/google/protobuf/timestamp.js +2 -2
- package/ibc/applications/gmp/v1/account.d.ts +165 -0
- package/ibc/applications/gmp/v1/account.js +274 -0
- package/ibc/applications/gmp/v1/genesis.d.ts +115 -0
- package/ibc/applications/gmp/v1/genesis.js +173 -0
- package/ibc/applications/gmp/v1/packet.d.ts +138 -0
- package/ibc/applications/gmp/v1/packet.js +206 -0
- package/ibc/applications/gmp/v1/query.d.ts +215 -0
- package/ibc/applications/gmp/v1/query.js +334 -0
- package/ibc/applications/gmp/v1/query.lcd.d.ts +10 -0
- package/ibc/applications/gmp/v1/query.lcd.js +27 -0
- package/ibc/applications/gmp/v1/query.rpc.Query.d.ts +23 -0
- package/ibc/applications/gmp/v1/query.rpc.Query.js +39 -0
- package/ibc/applications/gmp/v1/tx.amino.d.ts +8 -0
- package/ibc/applications/gmp/v1/tx.amino.js +12 -0
- package/ibc/applications/gmp/v1/tx.d.ts +162 -0
- package/ibc/applications/gmp/v1/tx.js +242 -0
- package/ibc/applications/gmp/v1/tx.registry.d.ts +25 -0
- package/ibc/applications/gmp/v1/tx.registry.js +37 -0
- package/ibc/applications/gmp/v1/tx.rpc.msg.d.ts +13 -0
- package/ibc/applications/gmp/v1/tx.rpc.msg.js +22 -0
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
- package/ibc/applications/rate_limiting/v1/genesis.d.ts +2 -0
- package/ibc/applications/rate_limiting/v1/genesis.js +16 -1
- package/ibc/bundle.d.ts +3971 -3681
- package/ibc/bundle.js +244 -212
- package/ibc/client.d.ts +7 -2
- package/ibc/client.js +4 -1
- package/ibc/lcd.d.ts +3 -0
- package/ibc/lcd.js +5 -0
- package/ibc/lightclients/attestations/v1/attestations.d.ts +199 -0
- package/ibc/lightclients/attestations/v1/attestations.js +291 -0
- package/ibc/rpc.query.d.ts +6 -0
- package/ibc/rpc.query.js +3 -0
- package/ibc/rpc.tx.d.ts +3 -0
- package/ibc/rpc.tx.js +3 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +8 -5
- package/sparkdream/bundle.d.ts +17396 -17370
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/client.d.ts +2 -2
- package/sparkdream/collect/v1/query.d.ts +92 -0
- package/sparkdream/collect/v1/query.js +167 -1
- package/sparkdream/collect/v1/query.lcd.d.ts +2 -1
- package/sparkdream/collect/v1/query.lcd.js +11 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/collect/v1/query.rpc.Query.js +9 -0
- package/sparkdream/rep/v1/query.d.ts +2 -6
- package/sparkdream/rep/v1/query.js +13 -34
- package/sparkdream/rpc.query.d.ts +1 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryAllProvidersAttributesRequest, QueryProvidersResponse, QueryProviderAttributesRequest, QueryProviderAuditorRequest, QueryAuditorAttributesRequest } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
}
|
|
9
|
+
/* AllProvidersAttributes queries all providers
|
|
10
|
+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
11
|
+
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
12
|
+
allProvidersAttributes = async (request = {
|
|
13
|
+
pagination: undefined
|
|
14
|
+
}) => {
|
|
15
|
+
const data = QueryAllProvidersAttributesRequest.encode(request).finish();
|
|
16
|
+
const promise = this.rpc.request("akash.audit.v1beta3.Query", "AllProvidersAttributes", data);
|
|
17
|
+
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
18
|
+
};
|
|
19
|
+
/* ProviderAttributes queries all provider signed attributes
|
|
20
|
+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
21
|
+
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
22
|
+
providerAttributes = async (request) => {
|
|
23
|
+
const data = QueryProviderAttributesRequest.encode(request).finish();
|
|
24
|
+
const promise = this.rpc.request("akash.audit.v1beta3.Query", "ProviderAttributes", data);
|
|
25
|
+
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
26
|
+
};
|
|
27
|
+
/* ProviderAuditorAttributes queries provider signed attributes by specific auditor
|
|
28
|
+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
29
|
+
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
30
|
+
providerAuditorAttributes = async (request) => {
|
|
31
|
+
const data = QueryProviderAuditorRequest.encode(request).finish();
|
|
32
|
+
const promise = this.rpc.request("akash.audit.v1beta3.Query", "ProviderAuditorAttributes", data);
|
|
33
|
+
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
34
|
+
};
|
|
35
|
+
/* AuditorAttributes queries all providers signed by this auditor
|
|
36
|
+
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
37
|
+
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
38
|
+
auditorAttributes = async (request) => {
|
|
39
|
+
const data = QueryAuditorAttributesRequest.encode(request).finish();
|
|
40
|
+
const promise = this.rpc.request("akash.audit.v1beta3.Query", "AuditorAttributes", data);
|
|
41
|
+
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export const createRpcQueryExtension = (base) => {
|
|
45
|
+
const rpc = createProtobufRpcClient(base);
|
|
46
|
+
const queryService = new QueryClientImpl(rpc);
|
|
47
|
+
return {
|
|
48
|
+
allProvidersAttributes(request) {
|
|
49
|
+
return queryService.allProvidersAttributes(request);
|
|
50
|
+
},
|
|
51
|
+
providerAttributes(request) {
|
|
52
|
+
return queryService.providerAttributes(request);
|
|
53
|
+
},
|
|
54
|
+
providerAuditorAttributes(request) {
|
|
55
|
+
return queryService.providerAuditorAttributes(request);
|
|
56
|
+
},
|
|
57
|
+
auditorAttributes(request) {
|
|
58
|
+
return queryService.auditorAttributes(request);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
|
+
function createBaseAttribute() {
|
|
4
|
+
return {
|
|
5
|
+
key: "",
|
|
6
|
+
value: ""
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Attribute represents an arbitrary attribute key-value pair.
|
|
11
|
+
* @name Attribute
|
|
12
|
+
* @package akash.base.attributes.v1
|
|
13
|
+
* @see proto type: akash.base.attributes.v1.Attribute
|
|
14
|
+
*/
|
|
15
|
+
export const Attribute = {
|
|
16
|
+
typeUrl: "/akash.base.attributes.v1.Attribute",
|
|
17
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
18
|
+
if (message.key !== "") {
|
|
19
|
+
writer.uint32(10).string(message.key);
|
|
20
|
+
}
|
|
21
|
+
if (message.value !== "") {
|
|
22
|
+
writer.uint32(18).string(message.value);
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
},
|
|
26
|
+
decode(input, length) {
|
|
27
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
28
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
+
const message = createBaseAttribute();
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
message.key = reader.string();
|
|
35
|
+
break;
|
|
36
|
+
case 2:
|
|
37
|
+
message.value = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
reader.skipType(tag & 7);
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromPartial(object) {
|
|
47
|
+
const message = createBaseAttribute();
|
|
48
|
+
message.key = object.key ?? "";
|
|
49
|
+
message.value = object.value ?? "";
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
fromAmino(object) {
|
|
53
|
+
const message = createBaseAttribute();
|
|
54
|
+
if (object.key !== undefined && object.key !== null) {
|
|
55
|
+
message.key = object.key;
|
|
56
|
+
}
|
|
57
|
+
if (object.value !== undefined && object.value !== null) {
|
|
58
|
+
message.value = object.value;
|
|
59
|
+
}
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
toAmino(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
obj.key = message.key === "" ? undefined : message.key;
|
|
65
|
+
obj.value = message.value === "" ? undefined : message.value;
|
|
66
|
+
return obj;
|
|
67
|
+
},
|
|
68
|
+
fromAminoMsg(object) {
|
|
69
|
+
return Attribute.fromAmino(object.value);
|
|
70
|
+
},
|
|
71
|
+
fromProtoMsg(message) {
|
|
72
|
+
return Attribute.decode(message.value);
|
|
73
|
+
},
|
|
74
|
+
toProto(message) {
|
|
75
|
+
return Attribute.encode(message).finish();
|
|
76
|
+
},
|
|
77
|
+
toProtoMsg(message) {
|
|
78
|
+
return {
|
|
79
|
+
typeUrl: "/akash.base.attributes.v1.Attribute",
|
|
80
|
+
value: Attribute.encode(message).finish()
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function createBaseSignedBy() {
|
|
85
|
+
return {
|
|
86
|
+
allOf: [],
|
|
87
|
+
anyOf: []
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* SignedBy represents validation accounts that tenant expects signatures for provider attributes.
|
|
92
|
+
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
|
|
93
|
+
* entries there.
|
|
94
|
+
* @name SignedBy
|
|
95
|
+
* @package akash.base.attributes.v1
|
|
96
|
+
* @see proto type: akash.base.attributes.v1.SignedBy
|
|
97
|
+
*/
|
|
98
|
+
export const SignedBy = {
|
|
99
|
+
typeUrl: "/akash.base.attributes.v1.SignedBy",
|
|
100
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
101
|
+
for (const v of message.allOf) {
|
|
102
|
+
writer.uint32(10).string(v);
|
|
103
|
+
}
|
|
104
|
+
for (const v of message.anyOf) {
|
|
105
|
+
writer.uint32(18).string(v);
|
|
106
|
+
}
|
|
107
|
+
return writer;
|
|
108
|
+
},
|
|
109
|
+
decode(input, length) {
|
|
110
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
111
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
112
|
+
const message = createBaseSignedBy();
|
|
113
|
+
while (reader.pos < end) {
|
|
114
|
+
const tag = reader.uint32();
|
|
115
|
+
switch (tag >>> 3) {
|
|
116
|
+
case 1:
|
|
117
|
+
message.allOf.push(reader.string());
|
|
118
|
+
break;
|
|
119
|
+
case 2:
|
|
120
|
+
message.anyOf.push(reader.string());
|
|
121
|
+
break;
|
|
122
|
+
default:
|
|
123
|
+
reader.skipType(tag & 7);
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return message;
|
|
128
|
+
},
|
|
129
|
+
fromPartial(object) {
|
|
130
|
+
const message = createBaseSignedBy();
|
|
131
|
+
message.allOf = object.allOf?.map(e => e) || [];
|
|
132
|
+
message.anyOf = object.anyOf?.map(e => e) || [];
|
|
133
|
+
return message;
|
|
134
|
+
},
|
|
135
|
+
fromAmino(object) {
|
|
136
|
+
const message = createBaseSignedBy();
|
|
137
|
+
message.allOf = object.all_of?.map(e => e) || [];
|
|
138
|
+
message.anyOf = object.any_of?.map(e => e) || [];
|
|
139
|
+
return message;
|
|
140
|
+
},
|
|
141
|
+
toAmino(message) {
|
|
142
|
+
const obj = {};
|
|
143
|
+
if (message.allOf) {
|
|
144
|
+
obj.all_of = message.allOf.map(e => e);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
obj.all_of = message.allOf;
|
|
148
|
+
}
|
|
149
|
+
if (message.anyOf) {
|
|
150
|
+
obj.any_of = message.anyOf.map(e => e);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
obj.any_of = message.anyOf;
|
|
154
|
+
}
|
|
155
|
+
return obj;
|
|
156
|
+
},
|
|
157
|
+
fromAminoMsg(object) {
|
|
158
|
+
return SignedBy.fromAmino(object.value);
|
|
159
|
+
},
|
|
160
|
+
fromProtoMsg(message) {
|
|
161
|
+
return SignedBy.decode(message.value);
|
|
162
|
+
},
|
|
163
|
+
toProto(message) {
|
|
164
|
+
return SignedBy.encode(message).finish();
|
|
165
|
+
},
|
|
166
|
+
toProtoMsg(message) {
|
|
167
|
+
return {
|
|
168
|
+
typeUrl: "/akash.base.attributes.v1.SignedBy",
|
|
169
|
+
value: SignedBy.encode(message).finish()
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
function createBasePlacementRequirements() {
|
|
174
|
+
return {
|
|
175
|
+
signedBy: SignedBy.fromPartial({}),
|
|
176
|
+
attributes: []
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* PlacementRequirements represents the requirements for a provider placement on the network.
|
|
181
|
+
* It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.
|
|
182
|
+
* @name PlacementRequirements
|
|
183
|
+
* @package akash.base.attributes.v1
|
|
184
|
+
* @see proto type: akash.base.attributes.v1.PlacementRequirements
|
|
185
|
+
*/
|
|
186
|
+
export const PlacementRequirements = {
|
|
187
|
+
typeUrl: "/akash.base.attributes.v1.PlacementRequirements",
|
|
188
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
189
|
+
if (message.signedBy !== undefined) {
|
|
190
|
+
SignedBy.encode(message.signedBy, writer.uint32(10).fork()).ldelim();
|
|
191
|
+
}
|
|
192
|
+
for (const v of message.attributes) {
|
|
193
|
+
Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
194
|
+
}
|
|
195
|
+
return writer;
|
|
196
|
+
},
|
|
197
|
+
decode(input, length) {
|
|
198
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
199
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
200
|
+
const message = createBasePlacementRequirements();
|
|
201
|
+
while (reader.pos < end) {
|
|
202
|
+
const tag = reader.uint32();
|
|
203
|
+
switch (tag >>> 3) {
|
|
204
|
+
case 1:
|
|
205
|
+
message.signedBy = SignedBy.decode(reader, reader.uint32());
|
|
206
|
+
break;
|
|
207
|
+
case 2:
|
|
208
|
+
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
209
|
+
break;
|
|
210
|
+
default:
|
|
211
|
+
reader.skipType(tag & 7);
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return message;
|
|
216
|
+
},
|
|
217
|
+
fromPartial(object) {
|
|
218
|
+
const message = createBasePlacementRequirements();
|
|
219
|
+
message.signedBy = object.signedBy !== undefined && object.signedBy !== null ? SignedBy.fromPartial(object.signedBy) : undefined;
|
|
220
|
+
message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || [];
|
|
221
|
+
return message;
|
|
222
|
+
},
|
|
223
|
+
fromAmino(object) {
|
|
224
|
+
const message = createBasePlacementRequirements();
|
|
225
|
+
if (object.signed_by !== undefined && object.signed_by !== null) {
|
|
226
|
+
message.signedBy = SignedBy.fromAmino(object.signed_by);
|
|
227
|
+
}
|
|
228
|
+
message.attributes = object.attributes?.map(e => Attribute.fromAmino(e)) || [];
|
|
229
|
+
return message;
|
|
230
|
+
},
|
|
231
|
+
toAmino(message) {
|
|
232
|
+
const obj = {};
|
|
233
|
+
obj.signed_by = message.signedBy ? SignedBy.toAmino(message.signedBy) : SignedBy.toAmino(SignedBy.fromPartial({}));
|
|
234
|
+
if (message.attributes) {
|
|
235
|
+
obj.attributes = message.attributes.map(e => e ? Attribute.toAmino(e) : undefined);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
obj.attributes = message.attributes;
|
|
239
|
+
}
|
|
240
|
+
return obj;
|
|
241
|
+
},
|
|
242
|
+
fromAminoMsg(object) {
|
|
243
|
+
return PlacementRequirements.fromAmino(object.value);
|
|
244
|
+
},
|
|
245
|
+
fromProtoMsg(message) {
|
|
246
|
+
return PlacementRequirements.decode(message.value);
|
|
247
|
+
},
|
|
248
|
+
toProto(message) {
|
|
249
|
+
return PlacementRequirements.encode(message).finish();
|
|
250
|
+
},
|
|
251
|
+
toProtoMsg(message) {
|
|
252
|
+
return {
|
|
253
|
+
typeUrl: "/akash.base.attributes.v1.PlacementRequirements",
|
|
254
|
+
value: PlacementRequirements.encode(message).finish()
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { ResourceValue } from "./resourcevalue";
|
|
3
|
+
import { Attribute } from "../../attributes/v1/attribute";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
+
function createBaseCPU() {
|
|
6
|
+
return {
|
|
7
|
+
units: ResourceValue.fromPartial({}),
|
|
8
|
+
attributes: []
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* CPU stores resource units and cpu config attributes.
|
|
13
|
+
* @name CPU
|
|
14
|
+
* @package akash.base.resources.v1beta4
|
|
15
|
+
* @see proto type: akash.base.resources.v1beta4.CPU
|
|
16
|
+
*/
|
|
17
|
+
export const CPU = {
|
|
18
|
+
typeUrl: "/akash.base.resources.v1beta4.CPU",
|
|
19
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
20
|
+
if (message.units !== undefined) {
|
|
21
|
+
ResourceValue.encode(message.units, writer.uint32(10).fork()).ldelim();
|
|
22
|
+
}
|
|
23
|
+
for (const v of message.attributes) {
|
|
24
|
+
Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseCPU();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
message.units = ResourceValue.decode(reader, reader.uint32());
|
|
37
|
+
break;
|
|
38
|
+
case 2:
|
|
39
|
+
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return message;
|
|
47
|
+
},
|
|
48
|
+
fromPartial(object) {
|
|
49
|
+
const message = createBaseCPU();
|
|
50
|
+
message.units = object.units !== undefined && object.units !== null ? ResourceValue.fromPartial(object.units) : undefined;
|
|
51
|
+
message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || [];
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromAmino(object) {
|
|
55
|
+
const message = createBaseCPU();
|
|
56
|
+
if (object.units !== undefined && object.units !== null) {
|
|
57
|
+
message.units = ResourceValue.fromAmino(object.units);
|
|
58
|
+
}
|
|
59
|
+
message.attributes = object.attributes?.map(e => Attribute.fromAmino(e)) || [];
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
toAmino(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
obj.units = message.units ? ResourceValue.toAmino(message.units) : undefined;
|
|
65
|
+
if (message.attributes) {
|
|
66
|
+
obj.attributes = message.attributes.map(e => e ? Attribute.toAmino(e) : undefined);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
obj.attributes = message.attributes;
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
fromAminoMsg(object) {
|
|
74
|
+
return CPU.fromAmino(object.value);
|
|
75
|
+
},
|
|
76
|
+
fromProtoMsg(message) {
|
|
77
|
+
return CPU.decode(message.value);
|
|
78
|
+
},
|
|
79
|
+
toProto(message) {
|
|
80
|
+
return CPU.encode(message).finish();
|
|
81
|
+
},
|
|
82
|
+
toProtoMsg(message) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/akash.base.resources.v1beta4.CPU",
|
|
85
|
+
value: CPU.encode(message).finish()
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
|
+
/** Kind describes how the endpoint is implemented when the lease is deployed. */
|
|
4
|
+
export var Endpoint_Kind;
|
|
5
|
+
(function (Endpoint_Kind) {
|
|
6
|
+
/** SHARED_HTTP - Describes an endpoint that becomes a Kubernetes Ingress. */
|
|
7
|
+
Endpoint_Kind[Endpoint_Kind["SHARED_HTTP"] = 0] = "SHARED_HTTP";
|
|
8
|
+
/** RANDOM_PORT - Describes an endpoint that becomes a Kubernetes NodePort. */
|
|
9
|
+
Endpoint_Kind[Endpoint_Kind["RANDOM_PORT"] = 1] = "RANDOM_PORT";
|
|
10
|
+
/** LEASED_IP - Describes an endpoint that becomes a leased IP. */
|
|
11
|
+
Endpoint_Kind[Endpoint_Kind["LEASED_IP"] = 2] = "LEASED_IP";
|
|
12
|
+
Endpoint_Kind[Endpoint_Kind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
13
|
+
})(Endpoint_Kind || (Endpoint_Kind = {}));
|
|
14
|
+
export const Endpoint_KindAmino = Endpoint_Kind;
|
|
15
|
+
export function endpoint_KindFromJSON(object) {
|
|
16
|
+
switch (object) {
|
|
17
|
+
case 0:
|
|
18
|
+
case "SHARED_HTTP":
|
|
19
|
+
return Endpoint_Kind.SHARED_HTTP;
|
|
20
|
+
case 1:
|
|
21
|
+
case "RANDOM_PORT":
|
|
22
|
+
return Endpoint_Kind.RANDOM_PORT;
|
|
23
|
+
case 2:
|
|
24
|
+
case "LEASED_IP":
|
|
25
|
+
return Endpoint_Kind.LEASED_IP;
|
|
26
|
+
case -1:
|
|
27
|
+
case "UNRECOGNIZED":
|
|
28
|
+
default:
|
|
29
|
+
return Endpoint_Kind.UNRECOGNIZED;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export function endpoint_KindToJSON(object) {
|
|
33
|
+
switch (object) {
|
|
34
|
+
case Endpoint_Kind.SHARED_HTTP:
|
|
35
|
+
return "SHARED_HTTP";
|
|
36
|
+
case Endpoint_Kind.RANDOM_PORT:
|
|
37
|
+
return "RANDOM_PORT";
|
|
38
|
+
case Endpoint_Kind.LEASED_IP:
|
|
39
|
+
return "LEASED_IP";
|
|
40
|
+
case Endpoint_Kind.UNRECOGNIZED:
|
|
41
|
+
default:
|
|
42
|
+
return "UNRECOGNIZED";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function createBaseEndpoint() {
|
|
46
|
+
return {
|
|
47
|
+
kind: 0,
|
|
48
|
+
sequenceNumber: 0
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Endpoint describes a publicly accessible IP service.
|
|
53
|
+
* @name Endpoint
|
|
54
|
+
* @package akash.base.resources.v1beta4
|
|
55
|
+
* @see proto type: akash.base.resources.v1beta4.Endpoint
|
|
56
|
+
*/
|
|
57
|
+
export const Endpoint = {
|
|
58
|
+
typeUrl: "/akash.base.resources.v1beta4.Endpoint",
|
|
59
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
60
|
+
if (message.kind !== 0) {
|
|
61
|
+
writer.uint32(8).int32(message.kind);
|
|
62
|
+
}
|
|
63
|
+
if (message.sequenceNumber !== 0) {
|
|
64
|
+
writer.uint32(16).uint32(message.sequenceNumber);
|
|
65
|
+
}
|
|
66
|
+
return writer;
|
|
67
|
+
},
|
|
68
|
+
decode(input, length) {
|
|
69
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
70
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
71
|
+
const message = createBaseEndpoint();
|
|
72
|
+
while (reader.pos < end) {
|
|
73
|
+
const tag = reader.uint32();
|
|
74
|
+
switch (tag >>> 3) {
|
|
75
|
+
case 1:
|
|
76
|
+
message.kind = reader.int32();
|
|
77
|
+
break;
|
|
78
|
+
case 2:
|
|
79
|
+
message.sequenceNumber = reader.uint32();
|
|
80
|
+
break;
|
|
81
|
+
default:
|
|
82
|
+
reader.skipType(tag & 7);
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return message;
|
|
87
|
+
},
|
|
88
|
+
fromPartial(object) {
|
|
89
|
+
const message = createBaseEndpoint();
|
|
90
|
+
message.kind = object.kind ?? 0;
|
|
91
|
+
message.sequenceNumber = object.sequenceNumber ?? 0;
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
fromAmino(object) {
|
|
95
|
+
const message = createBaseEndpoint();
|
|
96
|
+
if (object.kind !== undefined && object.kind !== null) {
|
|
97
|
+
message.kind = object.kind;
|
|
98
|
+
}
|
|
99
|
+
if (object.sequence_number !== undefined && object.sequence_number !== null) {
|
|
100
|
+
message.sequenceNumber = object.sequence_number;
|
|
101
|
+
}
|
|
102
|
+
return message;
|
|
103
|
+
},
|
|
104
|
+
toAmino(message) {
|
|
105
|
+
const obj = {};
|
|
106
|
+
obj.kind = message.kind === 0 ? undefined : message.kind;
|
|
107
|
+
obj.sequence_number = message.sequenceNumber ?? 0;
|
|
108
|
+
return obj;
|
|
109
|
+
},
|
|
110
|
+
fromAminoMsg(object) {
|
|
111
|
+
return Endpoint.fromAmino(object.value);
|
|
112
|
+
},
|
|
113
|
+
fromProtoMsg(message) {
|
|
114
|
+
return Endpoint.decode(message.value);
|
|
115
|
+
},
|
|
116
|
+
toProto(message) {
|
|
117
|
+
return Endpoint.encode(message).finish();
|
|
118
|
+
},
|
|
119
|
+
toProtoMsg(message) {
|
|
120
|
+
return {
|
|
121
|
+
typeUrl: "/akash.base.resources.v1beta4.Endpoint",
|
|
122
|
+
value: Endpoint.encode(message).finish()
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { ResourceValue } from "./resourcevalue";
|
|
3
|
+
import { Attribute } from "../../attributes/v1/attribute";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
+
function createBaseGPU() {
|
|
6
|
+
return {
|
|
7
|
+
units: ResourceValue.fromPartial({}),
|
|
8
|
+
attributes: []
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* GPU stores resource units and gpu configuration attributes.
|
|
13
|
+
* @name GPU
|
|
14
|
+
* @package akash.base.resources.v1beta4
|
|
15
|
+
* @see proto type: akash.base.resources.v1beta4.GPU
|
|
16
|
+
*/
|
|
17
|
+
export const GPU = {
|
|
18
|
+
typeUrl: "/akash.base.resources.v1beta4.GPU",
|
|
19
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
20
|
+
if (message.units !== undefined) {
|
|
21
|
+
ResourceValue.encode(message.units, writer.uint32(10).fork()).ldelim();
|
|
22
|
+
}
|
|
23
|
+
for (const v of message.attributes) {
|
|
24
|
+
Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseGPU();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
message.units = ResourceValue.decode(reader, reader.uint32());
|
|
37
|
+
break;
|
|
38
|
+
case 2:
|
|
39
|
+
message.attributes.push(Attribute.decode(reader, reader.uint32()));
|
|
40
|
+
break;
|
|
41
|
+
default:
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return message;
|
|
47
|
+
},
|
|
48
|
+
fromPartial(object) {
|
|
49
|
+
const message = createBaseGPU();
|
|
50
|
+
message.units = object.units !== undefined && object.units !== null ? ResourceValue.fromPartial(object.units) : undefined;
|
|
51
|
+
message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || [];
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromAmino(object) {
|
|
55
|
+
const message = createBaseGPU();
|
|
56
|
+
if (object.units !== undefined && object.units !== null) {
|
|
57
|
+
message.units = ResourceValue.fromAmino(object.units);
|
|
58
|
+
}
|
|
59
|
+
message.attributes = object.attributes?.map(e => Attribute.fromAmino(e)) || [];
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
toAmino(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
obj.units = message.units ? ResourceValue.toAmino(message.units) : undefined;
|
|
65
|
+
if (message.attributes) {
|
|
66
|
+
obj.attributes = message.attributes.map(e => e ? Attribute.toAmino(e) : undefined);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
obj.attributes = message.attributes;
|
|
70
|
+
}
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
fromAminoMsg(object) {
|
|
74
|
+
return GPU.fromAmino(object.value);
|
|
75
|
+
},
|
|
76
|
+
fromProtoMsg(message) {
|
|
77
|
+
return GPU.decode(message.value);
|
|
78
|
+
},
|
|
79
|
+
toProto(message) {
|
|
80
|
+
return GPU.encode(message).finish();
|
|
81
|
+
},
|
|
82
|
+
toProtoMsg(message) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/akash.base.resources.v1beta4.GPU",
|
|
85
|
+
value: GPU.encode(message).finish()
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
};
|