@sparkdreamnft/sparkdreamjs 0.0.28 → 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/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 +17390 -17390
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/client.d.ts +2 -2
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* Attribute represents an arbitrary attribute key-value pair.
|
|
5
|
+
* @name Attribute
|
|
6
|
+
* @package akash.base.attributes.v1
|
|
7
|
+
* @see proto type: akash.base.attributes.v1.Attribute
|
|
8
|
+
*/
|
|
9
|
+
export interface Attribute {
|
|
10
|
+
/**
|
|
11
|
+
* Key of the attribute (e.g., "region", "cpu_architecture", etc.).
|
|
12
|
+
*/
|
|
13
|
+
key: string;
|
|
14
|
+
/**
|
|
15
|
+
* Value of the attribute (e.g., "us-west", "x86_64", etc.).
|
|
16
|
+
*/
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AttributeProtoMsg {
|
|
20
|
+
typeUrl: "/akash.base.attributes.v1.Attribute";
|
|
21
|
+
value: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Attribute represents an arbitrary attribute key-value pair.
|
|
25
|
+
* @name AttributeAmino
|
|
26
|
+
* @package akash.base.attributes.v1
|
|
27
|
+
* @see proto type: akash.base.attributes.v1.Attribute
|
|
28
|
+
*/
|
|
29
|
+
export interface AttributeAmino {
|
|
30
|
+
/**
|
|
31
|
+
* Key of the attribute (e.g., "region", "cpu_architecture", etc.).
|
|
32
|
+
*/
|
|
33
|
+
key?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Value of the attribute (e.g., "us-west", "x86_64", etc.).
|
|
36
|
+
*/
|
|
37
|
+
value?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface AttributeAminoMsg {
|
|
40
|
+
type: "/akash.base.attributes.v1.Attribute";
|
|
41
|
+
value: AttributeAmino;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* SignedBy represents validation accounts that tenant expects signatures for provider attributes.
|
|
45
|
+
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
|
|
46
|
+
* entries there.
|
|
47
|
+
* @name SignedBy
|
|
48
|
+
* @package akash.base.attributes.v1
|
|
49
|
+
* @see proto type: akash.base.attributes.v1.SignedBy
|
|
50
|
+
*/
|
|
51
|
+
export interface SignedBy {
|
|
52
|
+
/**
|
|
53
|
+
* AllOf indicates all keys in this list must have signed attributes.
|
|
54
|
+
*/
|
|
55
|
+
allOf: string[];
|
|
56
|
+
/**
|
|
57
|
+
* AnyOf means that at least of of the keys from the list must have signed attributes.
|
|
58
|
+
*/
|
|
59
|
+
anyOf: string[];
|
|
60
|
+
}
|
|
61
|
+
export interface SignedByProtoMsg {
|
|
62
|
+
typeUrl: "/akash.base.attributes.v1.SignedBy";
|
|
63
|
+
value: Uint8Array;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* SignedBy represents validation accounts that tenant expects signatures for provider attributes.
|
|
67
|
+
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
|
|
68
|
+
* entries there.
|
|
69
|
+
* @name SignedByAmino
|
|
70
|
+
* @package akash.base.attributes.v1
|
|
71
|
+
* @see proto type: akash.base.attributes.v1.SignedBy
|
|
72
|
+
*/
|
|
73
|
+
export interface SignedByAmino {
|
|
74
|
+
/**
|
|
75
|
+
* AllOf indicates all keys in this list must have signed attributes.
|
|
76
|
+
*/
|
|
77
|
+
all_of: string[];
|
|
78
|
+
/**
|
|
79
|
+
* AnyOf means that at least of of the keys from the list must have signed attributes.
|
|
80
|
+
*/
|
|
81
|
+
any_of: string[];
|
|
82
|
+
}
|
|
83
|
+
export interface SignedByAminoMsg {
|
|
84
|
+
type: "/akash.base.attributes.v1.SignedBy";
|
|
85
|
+
value: SignedByAmino;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* PlacementRequirements represents the requirements for a provider placement on the network.
|
|
89
|
+
* It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.
|
|
90
|
+
* @name PlacementRequirements
|
|
91
|
+
* @package akash.base.attributes.v1
|
|
92
|
+
* @see proto type: akash.base.attributes.v1.PlacementRequirements
|
|
93
|
+
*/
|
|
94
|
+
export interface PlacementRequirements {
|
|
95
|
+
/**
|
|
96
|
+
* SignedBy holds the list of keys that tenants expect to have signatures from.
|
|
97
|
+
*/
|
|
98
|
+
signedBy: SignedBy;
|
|
99
|
+
/**
|
|
100
|
+
* Attribute holds the list of attributes tenant expects from the provider.
|
|
101
|
+
*/
|
|
102
|
+
attributes: Attribute[];
|
|
103
|
+
}
|
|
104
|
+
export interface PlacementRequirementsProtoMsg {
|
|
105
|
+
typeUrl: "/akash.base.attributes.v1.PlacementRequirements";
|
|
106
|
+
value: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* PlacementRequirements represents the requirements for a provider placement on the network.
|
|
110
|
+
* It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.
|
|
111
|
+
* @name PlacementRequirementsAmino
|
|
112
|
+
* @package akash.base.attributes.v1
|
|
113
|
+
* @see proto type: akash.base.attributes.v1.PlacementRequirements
|
|
114
|
+
*/
|
|
115
|
+
export interface PlacementRequirementsAmino {
|
|
116
|
+
/**
|
|
117
|
+
* SignedBy holds the list of keys that tenants expect to have signatures from.
|
|
118
|
+
*/
|
|
119
|
+
signed_by: SignedByAmino;
|
|
120
|
+
/**
|
|
121
|
+
* Attribute holds the list of attributes tenant expects from the provider.
|
|
122
|
+
*/
|
|
123
|
+
attributes: AttributeAmino[];
|
|
124
|
+
}
|
|
125
|
+
export interface PlacementRequirementsAminoMsg {
|
|
126
|
+
type: "/akash.base.attributes.v1.PlacementRequirements";
|
|
127
|
+
value: PlacementRequirementsAmino;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Attribute represents an arbitrary attribute key-value pair.
|
|
131
|
+
* @name Attribute
|
|
132
|
+
* @package akash.base.attributes.v1
|
|
133
|
+
* @see proto type: akash.base.attributes.v1.Attribute
|
|
134
|
+
*/
|
|
135
|
+
export declare const Attribute: {
|
|
136
|
+
typeUrl: string;
|
|
137
|
+
encode(message: Attribute, writer?: BinaryWriter): BinaryWriter;
|
|
138
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Attribute;
|
|
139
|
+
fromPartial(object: DeepPartial<Attribute>): Attribute;
|
|
140
|
+
fromAmino(object: AttributeAmino): Attribute;
|
|
141
|
+
toAmino(message: Attribute): AttributeAmino;
|
|
142
|
+
fromAminoMsg(object: AttributeAminoMsg): Attribute;
|
|
143
|
+
fromProtoMsg(message: AttributeProtoMsg): Attribute;
|
|
144
|
+
toProto(message: Attribute): Uint8Array;
|
|
145
|
+
toProtoMsg(message: Attribute): AttributeProtoMsg;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* SignedBy represents validation accounts that tenant expects signatures for provider attributes.
|
|
149
|
+
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
|
|
150
|
+
* entries there.
|
|
151
|
+
* @name SignedBy
|
|
152
|
+
* @package akash.base.attributes.v1
|
|
153
|
+
* @see proto type: akash.base.attributes.v1.SignedBy
|
|
154
|
+
*/
|
|
155
|
+
export declare const SignedBy: {
|
|
156
|
+
typeUrl: string;
|
|
157
|
+
encode(message: SignedBy, writer?: BinaryWriter): BinaryWriter;
|
|
158
|
+
decode(input: BinaryReader | Uint8Array, length?: number): SignedBy;
|
|
159
|
+
fromPartial(object: DeepPartial<SignedBy>): SignedBy;
|
|
160
|
+
fromAmino(object: SignedByAmino): SignedBy;
|
|
161
|
+
toAmino(message: SignedBy): SignedByAmino;
|
|
162
|
+
fromAminoMsg(object: SignedByAminoMsg): SignedBy;
|
|
163
|
+
fromProtoMsg(message: SignedByProtoMsg): SignedBy;
|
|
164
|
+
toProto(message: SignedBy): Uint8Array;
|
|
165
|
+
toProtoMsg(message: SignedBy): SignedByProtoMsg;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* PlacementRequirements represents the requirements for a provider placement on the network.
|
|
169
|
+
* It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.
|
|
170
|
+
* @name PlacementRequirements
|
|
171
|
+
* @package akash.base.attributes.v1
|
|
172
|
+
* @see proto type: akash.base.attributes.v1.PlacementRequirements
|
|
173
|
+
*/
|
|
174
|
+
export declare const PlacementRequirements: {
|
|
175
|
+
typeUrl: string;
|
|
176
|
+
encode(message: PlacementRequirements, writer?: BinaryWriter): BinaryWriter;
|
|
177
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PlacementRequirements;
|
|
178
|
+
fromPartial(object: DeepPartial<PlacementRequirements>): PlacementRequirements;
|
|
179
|
+
fromAmino(object: PlacementRequirementsAmino): PlacementRequirements;
|
|
180
|
+
toAmino(message: PlacementRequirements): PlacementRequirementsAmino;
|
|
181
|
+
fromAminoMsg(object: PlacementRequirementsAminoMsg): PlacementRequirements;
|
|
182
|
+
fromProtoMsg(message: PlacementRequirementsProtoMsg): PlacementRequirements;
|
|
183
|
+
toProto(message: PlacementRequirements): Uint8Array;
|
|
184
|
+
toProtoMsg(message: PlacementRequirements): PlacementRequirementsProtoMsg;
|
|
185
|
+
};
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlacementRequirements = exports.SignedBy = exports.Attribute = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../../binary");
|
|
6
|
+
function createBaseAttribute() {
|
|
7
|
+
return {
|
|
8
|
+
key: "",
|
|
9
|
+
value: ""
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Attribute represents an arbitrary attribute key-value pair.
|
|
14
|
+
* @name Attribute
|
|
15
|
+
* @package akash.base.attributes.v1
|
|
16
|
+
* @see proto type: akash.base.attributes.v1.Attribute
|
|
17
|
+
*/
|
|
18
|
+
exports.Attribute = {
|
|
19
|
+
typeUrl: "/akash.base.attributes.v1.Attribute",
|
|
20
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
21
|
+
if (message.key !== "") {
|
|
22
|
+
writer.uint32(10).string(message.key);
|
|
23
|
+
}
|
|
24
|
+
if (message.value !== "") {
|
|
25
|
+
writer.uint32(18).string(message.value);
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
31
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBaseAttribute();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
message.key = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
case 2:
|
|
40
|
+
message.value = reader.string();
|
|
41
|
+
break;
|
|
42
|
+
default:
|
|
43
|
+
reader.skipType(tag & 7);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return message;
|
|
48
|
+
},
|
|
49
|
+
fromPartial(object) {
|
|
50
|
+
const message = createBaseAttribute();
|
|
51
|
+
message.key = object.key ?? "";
|
|
52
|
+
message.value = object.value ?? "";
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromAmino(object) {
|
|
56
|
+
const message = createBaseAttribute();
|
|
57
|
+
if (object.key !== undefined && object.key !== null) {
|
|
58
|
+
message.key = object.key;
|
|
59
|
+
}
|
|
60
|
+
if (object.value !== undefined && object.value !== null) {
|
|
61
|
+
message.value = object.value;
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
toAmino(message) {
|
|
66
|
+
const obj = {};
|
|
67
|
+
obj.key = message.key === "" ? undefined : message.key;
|
|
68
|
+
obj.value = message.value === "" ? undefined : message.value;
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
fromAminoMsg(object) {
|
|
72
|
+
return exports.Attribute.fromAmino(object.value);
|
|
73
|
+
},
|
|
74
|
+
fromProtoMsg(message) {
|
|
75
|
+
return exports.Attribute.decode(message.value);
|
|
76
|
+
},
|
|
77
|
+
toProto(message) {
|
|
78
|
+
return exports.Attribute.encode(message).finish();
|
|
79
|
+
},
|
|
80
|
+
toProtoMsg(message) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/akash.base.attributes.v1.Attribute",
|
|
83
|
+
value: exports.Attribute.encode(message).finish()
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
function createBaseSignedBy() {
|
|
88
|
+
return {
|
|
89
|
+
allOf: [],
|
|
90
|
+
anyOf: []
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* SignedBy represents validation accounts that tenant expects signatures for provider attributes.
|
|
95
|
+
* AllOf has precedence i.e. if there is at least one entry AnyOf is ignored regardless to how many
|
|
96
|
+
* entries there.
|
|
97
|
+
* @name SignedBy
|
|
98
|
+
* @package akash.base.attributes.v1
|
|
99
|
+
* @see proto type: akash.base.attributes.v1.SignedBy
|
|
100
|
+
*/
|
|
101
|
+
exports.SignedBy = {
|
|
102
|
+
typeUrl: "/akash.base.attributes.v1.SignedBy",
|
|
103
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
104
|
+
for (const v of message.allOf) {
|
|
105
|
+
writer.uint32(10).string(v);
|
|
106
|
+
}
|
|
107
|
+
for (const v of message.anyOf) {
|
|
108
|
+
writer.uint32(18).string(v);
|
|
109
|
+
}
|
|
110
|
+
return writer;
|
|
111
|
+
},
|
|
112
|
+
decode(input, length) {
|
|
113
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
114
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
115
|
+
const message = createBaseSignedBy();
|
|
116
|
+
while (reader.pos < end) {
|
|
117
|
+
const tag = reader.uint32();
|
|
118
|
+
switch (tag >>> 3) {
|
|
119
|
+
case 1:
|
|
120
|
+
message.allOf.push(reader.string());
|
|
121
|
+
break;
|
|
122
|
+
case 2:
|
|
123
|
+
message.anyOf.push(reader.string());
|
|
124
|
+
break;
|
|
125
|
+
default:
|
|
126
|
+
reader.skipType(tag & 7);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return message;
|
|
131
|
+
},
|
|
132
|
+
fromPartial(object) {
|
|
133
|
+
const message = createBaseSignedBy();
|
|
134
|
+
message.allOf = object.allOf?.map(e => e) || [];
|
|
135
|
+
message.anyOf = object.anyOf?.map(e => e) || [];
|
|
136
|
+
return message;
|
|
137
|
+
},
|
|
138
|
+
fromAmino(object) {
|
|
139
|
+
const message = createBaseSignedBy();
|
|
140
|
+
message.allOf = object.all_of?.map(e => e) || [];
|
|
141
|
+
message.anyOf = object.any_of?.map(e => e) || [];
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
toAmino(message) {
|
|
145
|
+
const obj = {};
|
|
146
|
+
if (message.allOf) {
|
|
147
|
+
obj.all_of = message.allOf.map(e => e);
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
obj.all_of = message.allOf;
|
|
151
|
+
}
|
|
152
|
+
if (message.anyOf) {
|
|
153
|
+
obj.any_of = message.anyOf.map(e => e);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
obj.any_of = message.anyOf;
|
|
157
|
+
}
|
|
158
|
+
return obj;
|
|
159
|
+
},
|
|
160
|
+
fromAminoMsg(object) {
|
|
161
|
+
return exports.SignedBy.fromAmino(object.value);
|
|
162
|
+
},
|
|
163
|
+
fromProtoMsg(message) {
|
|
164
|
+
return exports.SignedBy.decode(message.value);
|
|
165
|
+
},
|
|
166
|
+
toProto(message) {
|
|
167
|
+
return exports.SignedBy.encode(message).finish();
|
|
168
|
+
},
|
|
169
|
+
toProtoMsg(message) {
|
|
170
|
+
return {
|
|
171
|
+
typeUrl: "/akash.base.attributes.v1.SignedBy",
|
|
172
|
+
value: exports.SignedBy.encode(message).finish()
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
function createBasePlacementRequirements() {
|
|
177
|
+
return {
|
|
178
|
+
signedBy: exports.SignedBy.fromPartial({}),
|
|
179
|
+
attributes: []
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* PlacementRequirements represents the requirements for a provider placement on the network.
|
|
184
|
+
* It is used to specify the characteristics and constraints of a provider that can be used to satisfy a deployment request.
|
|
185
|
+
* @name PlacementRequirements
|
|
186
|
+
* @package akash.base.attributes.v1
|
|
187
|
+
* @see proto type: akash.base.attributes.v1.PlacementRequirements
|
|
188
|
+
*/
|
|
189
|
+
exports.PlacementRequirements = {
|
|
190
|
+
typeUrl: "/akash.base.attributes.v1.PlacementRequirements",
|
|
191
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
192
|
+
if (message.signedBy !== undefined) {
|
|
193
|
+
exports.SignedBy.encode(message.signedBy, writer.uint32(10).fork()).ldelim();
|
|
194
|
+
}
|
|
195
|
+
for (const v of message.attributes) {
|
|
196
|
+
exports.Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
197
|
+
}
|
|
198
|
+
return writer;
|
|
199
|
+
},
|
|
200
|
+
decode(input, length) {
|
|
201
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
202
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBasePlacementRequirements();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1:
|
|
208
|
+
message.signedBy = exports.SignedBy.decode(reader, reader.uint32());
|
|
209
|
+
break;
|
|
210
|
+
case 2:
|
|
211
|
+
message.attributes.push(exports.Attribute.decode(reader, reader.uint32()));
|
|
212
|
+
break;
|
|
213
|
+
default:
|
|
214
|
+
reader.skipType(tag & 7);
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return message;
|
|
219
|
+
},
|
|
220
|
+
fromPartial(object) {
|
|
221
|
+
const message = createBasePlacementRequirements();
|
|
222
|
+
message.signedBy = object.signedBy !== undefined && object.signedBy !== null ? exports.SignedBy.fromPartial(object.signedBy) : undefined;
|
|
223
|
+
message.attributes = object.attributes?.map(e => exports.Attribute.fromPartial(e)) || [];
|
|
224
|
+
return message;
|
|
225
|
+
},
|
|
226
|
+
fromAmino(object) {
|
|
227
|
+
const message = createBasePlacementRequirements();
|
|
228
|
+
if (object.signed_by !== undefined && object.signed_by !== null) {
|
|
229
|
+
message.signedBy = exports.SignedBy.fromAmino(object.signed_by);
|
|
230
|
+
}
|
|
231
|
+
message.attributes = object.attributes?.map(e => exports.Attribute.fromAmino(e)) || [];
|
|
232
|
+
return message;
|
|
233
|
+
},
|
|
234
|
+
toAmino(message) {
|
|
235
|
+
const obj = {};
|
|
236
|
+
obj.signed_by = message.signedBy ? exports.SignedBy.toAmino(message.signedBy) : exports.SignedBy.toAmino(exports.SignedBy.fromPartial({}));
|
|
237
|
+
if (message.attributes) {
|
|
238
|
+
obj.attributes = message.attributes.map(e => e ? exports.Attribute.toAmino(e) : undefined);
|
|
239
|
+
}
|
|
240
|
+
else {
|
|
241
|
+
obj.attributes = message.attributes;
|
|
242
|
+
}
|
|
243
|
+
return obj;
|
|
244
|
+
},
|
|
245
|
+
fromAminoMsg(object) {
|
|
246
|
+
return exports.PlacementRequirements.fromAmino(object.value);
|
|
247
|
+
},
|
|
248
|
+
fromProtoMsg(message) {
|
|
249
|
+
return exports.PlacementRequirements.decode(message.value);
|
|
250
|
+
},
|
|
251
|
+
toProto(message) {
|
|
252
|
+
return exports.PlacementRequirements.encode(message).finish();
|
|
253
|
+
},
|
|
254
|
+
toProtoMsg(message) {
|
|
255
|
+
return {
|
|
256
|
+
typeUrl: "/akash.base.attributes.v1.PlacementRequirements",
|
|
257
|
+
value: exports.PlacementRequirements.encode(message).finish()
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ResourceValue, ResourceValueAmino } from "./resourcevalue";
|
|
2
|
+
import { Attribute, AttributeAmino } from "../../attributes/v1/attribute";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* CPU stores resource units and cpu config attributes.
|
|
7
|
+
* @name CPU
|
|
8
|
+
* @package akash.base.resources.v1beta4
|
|
9
|
+
* @see proto type: akash.base.resources.v1beta4.CPU
|
|
10
|
+
*/
|
|
11
|
+
export interface CPU {
|
|
12
|
+
/**
|
|
13
|
+
* Units of the CPU, which represents the number of CPUs available.
|
|
14
|
+
* This field is required and must be a non-negative integer.
|
|
15
|
+
*/
|
|
16
|
+
units: ResourceValue;
|
|
17
|
+
/**
|
|
18
|
+
* Attributes holds a list of key-value attributes that describe the GPU, such as its model, memory and interface.
|
|
19
|
+
* This field is required and must be a list of `Attribute` messages.
|
|
20
|
+
*/
|
|
21
|
+
attributes: Attribute[];
|
|
22
|
+
}
|
|
23
|
+
export interface CPUProtoMsg {
|
|
24
|
+
typeUrl: "/akash.base.resources.v1beta4.CPU";
|
|
25
|
+
value: Uint8Array;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* CPU stores resource units and cpu config attributes.
|
|
29
|
+
* @name CPUAmino
|
|
30
|
+
* @package akash.base.resources.v1beta4
|
|
31
|
+
* @see proto type: akash.base.resources.v1beta4.CPU
|
|
32
|
+
*/
|
|
33
|
+
export interface CPUAmino {
|
|
34
|
+
/**
|
|
35
|
+
* Units of the CPU, which represents the number of CPUs available.
|
|
36
|
+
* This field is required and must be a non-negative integer.
|
|
37
|
+
*/
|
|
38
|
+
units?: ResourceValueAmino;
|
|
39
|
+
/**
|
|
40
|
+
* Attributes holds a list of key-value attributes that describe the GPU, such as its model, memory and interface.
|
|
41
|
+
* This field is required and must be a list of `Attribute` messages.
|
|
42
|
+
*/
|
|
43
|
+
attributes?: AttributeAmino[];
|
|
44
|
+
}
|
|
45
|
+
export interface CPUAminoMsg {
|
|
46
|
+
type: "/akash.base.resources.v1beta4.CPU";
|
|
47
|
+
value: CPUAmino;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* CPU stores resource units and cpu config attributes.
|
|
51
|
+
* @name CPU
|
|
52
|
+
* @package akash.base.resources.v1beta4
|
|
53
|
+
* @see proto type: akash.base.resources.v1beta4.CPU
|
|
54
|
+
*/
|
|
55
|
+
export declare const CPU: {
|
|
56
|
+
typeUrl: string;
|
|
57
|
+
encode(message: CPU, writer?: BinaryWriter): BinaryWriter;
|
|
58
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CPU;
|
|
59
|
+
fromPartial(object: DeepPartial<CPU>): CPU;
|
|
60
|
+
fromAmino(object: CPUAmino): CPU;
|
|
61
|
+
toAmino(message: CPU): CPUAmino;
|
|
62
|
+
fromAminoMsg(object: CPUAminoMsg): CPU;
|
|
63
|
+
fromProtoMsg(message: CPUProtoMsg): CPU;
|
|
64
|
+
toProto(message: CPU): Uint8Array;
|
|
65
|
+
toProtoMsg(message: CPU): CPUProtoMsg;
|
|
66
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CPU = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const resourcevalue_1 = require("./resourcevalue");
|
|
6
|
+
const attribute_1 = require("../../attributes/v1/attribute");
|
|
7
|
+
const binary_1 = require("../../../../binary");
|
|
8
|
+
function createBaseCPU() {
|
|
9
|
+
return {
|
|
10
|
+
units: resourcevalue_1.ResourceValue.fromPartial({}),
|
|
11
|
+
attributes: []
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* CPU stores resource units and cpu config attributes.
|
|
16
|
+
* @name CPU
|
|
17
|
+
* @package akash.base.resources.v1beta4
|
|
18
|
+
* @see proto type: akash.base.resources.v1beta4.CPU
|
|
19
|
+
*/
|
|
20
|
+
exports.CPU = {
|
|
21
|
+
typeUrl: "/akash.base.resources.v1beta4.CPU",
|
|
22
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
|
+
if (message.units !== undefined) {
|
|
24
|
+
resourcevalue_1.ResourceValue.encode(message.units, writer.uint32(10).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
for (const v of message.attributes) {
|
|
27
|
+
attribute_1.Attribute.encode(v, writer.uint32(18).fork()).ldelim();
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseCPU();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
message.units = resourcevalue_1.ResourceValue.decode(reader, reader.uint32());
|
|
40
|
+
break;
|
|
41
|
+
case 2:
|
|
42
|
+
message.attributes.push(attribute_1.Attribute.decode(reader, reader.uint32()));
|
|
43
|
+
break;
|
|
44
|
+
default:
|
|
45
|
+
reader.skipType(tag & 7);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
fromPartial(object) {
|
|
52
|
+
const message = createBaseCPU();
|
|
53
|
+
message.units = object.units !== undefined && object.units !== null ? resourcevalue_1.ResourceValue.fromPartial(object.units) : undefined;
|
|
54
|
+
message.attributes = object.attributes?.map(e => attribute_1.Attribute.fromPartial(e)) || [];
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromAmino(object) {
|
|
58
|
+
const message = createBaseCPU();
|
|
59
|
+
if (object.units !== undefined && object.units !== null) {
|
|
60
|
+
message.units = resourcevalue_1.ResourceValue.fromAmino(object.units);
|
|
61
|
+
}
|
|
62
|
+
message.attributes = object.attributes?.map(e => attribute_1.Attribute.fromAmino(e)) || [];
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
toAmino(message) {
|
|
66
|
+
const obj = {};
|
|
67
|
+
obj.units = message.units ? resourcevalue_1.ResourceValue.toAmino(message.units) : undefined;
|
|
68
|
+
if (message.attributes) {
|
|
69
|
+
obj.attributes = message.attributes.map(e => e ? attribute_1.Attribute.toAmino(e) : undefined);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
obj.attributes = message.attributes;
|
|
73
|
+
}
|
|
74
|
+
return obj;
|
|
75
|
+
},
|
|
76
|
+
fromAminoMsg(object) {
|
|
77
|
+
return exports.CPU.fromAmino(object.value);
|
|
78
|
+
},
|
|
79
|
+
fromProtoMsg(message) {
|
|
80
|
+
return exports.CPU.decode(message.value);
|
|
81
|
+
},
|
|
82
|
+
toProto(message) {
|
|
83
|
+
return exports.CPU.encode(message).finish();
|
|
84
|
+
},
|
|
85
|
+
toProtoMsg(message) {
|
|
86
|
+
return {
|
|
87
|
+
typeUrl: "/akash.base.resources.v1beta4.CPU",
|
|
88
|
+
value: exports.CPU.encode(message).finish()
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
/** Kind describes how the endpoint is implemented when the lease is deployed. */
|
|
4
|
+
export declare enum Endpoint_Kind {
|
|
5
|
+
/** SHARED_HTTP - Describes an endpoint that becomes a Kubernetes Ingress. */
|
|
6
|
+
SHARED_HTTP = 0,
|
|
7
|
+
/** RANDOM_PORT - Describes an endpoint that becomes a Kubernetes NodePort. */
|
|
8
|
+
RANDOM_PORT = 1,
|
|
9
|
+
/** LEASED_IP - Describes an endpoint that becomes a leased IP. */
|
|
10
|
+
LEASED_IP = 2,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const Endpoint_KindAmino: typeof Endpoint_Kind;
|
|
14
|
+
export declare function endpoint_KindFromJSON(object: any): Endpoint_Kind;
|
|
15
|
+
export declare function endpoint_KindToJSON(object: Endpoint_Kind): string;
|
|
16
|
+
/**
|
|
17
|
+
* Endpoint describes a publicly accessible IP service.
|
|
18
|
+
* @name Endpoint
|
|
19
|
+
* @package akash.base.resources.v1beta4
|
|
20
|
+
* @see proto type: akash.base.resources.v1beta4.Endpoint
|
|
21
|
+
*/
|
|
22
|
+
export interface Endpoint {
|
|
23
|
+
/**
|
|
24
|
+
* Kind describes how the endpoint is implemented when the lease is deployed.
|
|
25
|
+
*/
|
|
26
|
+
kind: Endpoint_Kind;
|
|
27
|
+
/**
|
|
28
|
+
* SequenceNumber represents a sequence number for the Endpoint.
|
|
29
|
+
*/
|
|
30
|
+
sequenceNumber: number;
|
|
31
|
+
}
|
|
32
|
+
export interface EndpointProtoMsg {
|
|
33
|
+
typeUrl: "/akash.base.resources.v1beta4.Endpoint";
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Endpoint describes a publicly accessible IP service.
|
|
38
|
+
* @name EndpointAmino
|
|
39
|
+
* @package akash.base.resources.v1beta4
|
|
40
|
+
* @see proto type: akash.base.resources.v1beta4.Endpoint
|
|
41
|
+
*/
|
|
42
|
+
export interface EndpointAmino {
|
|
43
|
+
/**
|
|
44
|
+
* Kind describes how the endpoint is implemented when the lease is deployed.
|
|
45
|
+
*/
|
|
46
|
+
kind?: Endpoint_Kind;
|
|
47
|
+
/**
|
|
48
|
+
* SequenceNumber represents a sequence number for the Endpoint.
|
|
49
|
+
*/
|
|
50
|
+
sequence_number: number;
|
|
51
|
+
}
|
|
52
|
+
export interface EndpointAminoMsg {
|
|
53
|
+
type: "/akash.base.resources.v1beta4.Endpoint";
|
|
54
|
+
value: EndpointAmino;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Endpoint describes a publicly accessible IP service.
|
|
58
|
+
* @name Endpoint
|
|
59
|
+
* @package akash.base.resources.v1beta4
|
|
60
|
+
* @see proto type: akash.base.resources.v1beta4.Endpoint
|
|
61
|
+
*/
|
|
62
|
+
export declare const Endpoint: {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
encode(message: Endpoint, writer?: BinaryWriter): BinaryWriter;
|
|
65
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Endpoint;
|
|
66
|
+
fromPartial(object: DeepPartial<Endpoint>): Endpoint;
|
|
67
|
+
fromAmino(object: EndpointAmino): Endpoint;
|
|
68
|
+
toAmino(message: Endpoint): EndpointAmino;
|
|
69
|
+
fromAminoMsg(object: EndpointAminoMsg): Endpoint;
|
|
70
|
+
fromProtoMsg(message: EndpointProtoMsg): Endpoint;
|
|
71
|
+
toProto(message: Endpoint): Uint8Array;
|
|
72
|
+
toProtoMsg(message: Endpoint): EndpointProtoMsg;
|
|
73
|
+
};
|