@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,88 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { setPaginationParams } from "../../../helpers";
|
|
3
|
+
export class LCDQueryClient {
|
|
4
|
+
req;
|
|
5
|
+
constructor({ requestClient }) {
|
|
6
|
+
this.req = requestClient;
|
|
7
|
+
}
|
|
8
|
+
/* Orders queries orders with filters. */
|
|
9
|
+
orders = async (params) => {
|
|
10
|
+
const options = {
|
|
11
|
+
params: {}
|
|
12
|
+
};
|
|
13
|
+
if (typeof params?.filters !== "undefined") {
|
|
14
|
+
options.params.filters = params.filters;
|
|
15
|
+
}
|
|
16
|
+
if (typeof params?.pagination !== "undefined") {
|
|
17
|
+
setPaginationParams(options, params.pagination);
|
|
18
|
+
}
|
|
19
|
+
const endpoint = `akash/market/v1beta5/orders/list`;
|
|
20
|
+
return await this.req.get(endpoint, options);
|
|
21
|
+
};
|
|
22
|
+
/* Order queries order details. */
|
|
23
|
+
order = async (params) => {
|
|
24
|
+
const options = {
|
|
25
|
+
params: {}
|
|
26
|
+
};
|
|
27
|
+
if (typeof params?.id !== "undefined") {
|
|
28
|
+
options.params.id = params.id;
|
|
29
|
+
}
|
|
30
|
+
const endpoint = `akash/market/v1beta5/orders/info`;
|
|
31
|
+
return await this.req.get(endpoint, options);
|
|
32
|
+
};
|
|
33
|
+
/* Bids queries bids with filters. */
|
|
34
|
+
bids = async (params) => {
|
|
35
|
+
const options = {
|
|
36
|
+
params: {}
|
|
37
|
+
};
|
|
38
|
+
if (typeof params?.filters !== "undefined") {
|
|
39
|
+
options.params.filters = params.filters;
|
|
40
|
+
}
|
|
41
|
+
if (typeof params?.pagination !== "undefined") {
|
|
42
|
+
setPaginationParams(options, params.pagination);
|
|
43
|
+
}
|
|
44
|
+
const endpoint = `akash/market/v1beta5/bids/list`;
|
|
45
|
+
return await this.req.get(endpoint, options);
|
|
46
|
+
};
|
|
47
|
+
/* Bid queries bid details. */
|
|
48
|
+
bid = async (params) => {
|
|
49
|
+
const options = {
|
|
50
|
+
params: {}
|
|
51
|
+
};
|
|
52
|
+
if (typeof params?.id !== "undefined") {
|
|
53
|
+
options.params.id = params.id;
|
|
54
|
+
}
|
|
55
|
+
const endpoint = `akash/market/v1beta5/bids/info`;
|
|
56
|
+
return await this.req.get(endpoint, options);
|
|
57
|
+
};
|
|
58
|
+
/* Leases queries leases with filters. */
|
|
59
|
+
leases = async (params) => {
|
|
60
|
+
const options = {
|
|
61
|
+
params: {}
|
|
62
|
+
};
|
|
63
|
+
if (typeof params?.filters !== "undefined") {
|
|
64
|
+
options.params.filters = params.filters;
|
|
65
|
+
}
|
|
66
|
+
if (typeof params?.pagination !== "undefined") {
|
|
67
|
+
setPaginationParams(options, params.pagination);
|
|
68
|
+
}
|
|
69
|
+
const endpoint = `akash/market/v1beta5/leases/list`;
|
|
70
|
+
return await this.req.get(endpoint, options);
|
|
71
|
+
};
|
|
72
|
+
/* Lease queries lease details. */
|
|
73
|
+
lease = async (params) => {
|
|
74
|
+
const options = {
|
|
75
|
+
params: {}
|
|
76
|
+
};
|
|
77
|
+
if (typeof params?.id !== "undefined") {
|
|
78
|
+
options.params.id = params.id;
|
|
79
|
+
}
|
|
80
|
+
const endpoint = `akash/market/v1beta5/leases/info`;
|
|
81
|
+
return await this.req.get(endpoint, options);
|
|
82
|
+
};
|
|
83
|
+
/* Params returns the total set of minting parameters. */
|
|
84
|
+
params = async (_params = {}) => {
|
|
85
|
+
const endpoint = `akash/market/v1beta5/params`;
|
|
86
|
+
return await this.req.get(endpoint);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
}
|
|
9
|
+
/* Orders queries orders with filters. */
|
|
10
|
+
orders = async (request) => {
|
|
11
|
+
const data = QueryOrdersRequest.encode(request).finish();
|
|
12
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Orders", data);
|
|
13
|
+
return promise.then(data => QueryOrdersResponse.decode(new BinaryReader(data)));
|
|
14
|
+
};
|
|
15
|
+
/* Order queries order details. */
|
|
16
|
+
order = async (request) => {
|
|
17
|
+
const data = QueryOrderRequest.encode(request).finish();
|
|
18
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Order", data);
|
|
19
|
+
return promise.then(data => QueryOrderResponse.decode(new BinaryReader(data)));
|
|
20
|
+
};
|
|
21
|
+
/* Bids queries bids with filters. */
|
|
22
|
+
bids = async (request) => {
|
|
23
|
+
const data = QueryBidsRequest.encode(request).finish();
|
|
24
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Bids", data);
|
|
25
|
+
return promise.then(data => QueryBidsResponse.decode(new BinaryReader(data)));
|
|
26
|
+
};
|
|
27
|
+
/* Bid queries bid details. */
|
|
28
|
+
bid = async (request) => {
|
|
29
|
+
const data = QueryBidRequest.encode(request).finish();
|
|
30
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Bid", data);
|
|
31
|
+
return promise.then(data => QueryBidResponse.decode(new BinaryReader(data)));
|
|
32
|
+
};
|
|
33
|
+
/* Leases queries leases with filters. */
|
|
34
|
+
leases = async (request) => {
|
|
35
|
+
const data = QueryLeasesRequest.encode(request).finish();
|
|
36
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Leases", data);
|
|
37
|
+
return promise.then(data => QueryLeasesResponse.decode(new BinaryReader(data)));
|
|
38
|
+
};
|
|
39
|
+
/* Lease queries lease details. */
|
|
40
|
+
lease = async (request) => {
|
|
41
|
+
const data = QueryLeaseRequest.encode(request).finish();
|
|
42
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Lease", data);
|
|
43
|
+
return promise.then(data => QueryLeaseResponse.decode(new BinaryReader(data)));
|
|
44
|
+
};
|
|
45
|
+
/* Params returns the total set of minting parameters. */
|
|
46
|
+
params = async (request = {}) => {
|
|
47
|
+
const data = QueryParamsRequest.encode(request).finish();
|
|
48
|
+
const promise = this.rpc.request("akash.market.v1beta5.Query", "Params", data);
|
|
49
|
+
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export const createRpcQueryExtension = (base) => {
|
|
53
|
+
const rpc = createProtobufRpcClient(base);
|
|
54
|
+
const queryService = new QueryClientImpl(rpc);
|
|
55
|
+
return {
|
|
56
|
+
orders(request) {
|
|
57
|
+
return queryService.orders(request);
|
|
58
|
+
},
|
|
59
|
+
order(request) {
|
|
60
|
+
return queryService.order(request);
|
|
61
|
+
},
|
|
62
|
+
bids(request) {
|
|
63
|
+
return queryService.bids(request);
|
|
64
|
+
},
|
|
65
|
+
bid(request) {
|
|
66
|
+
return queryService.bid(request);
|
|
67
|
+
},
|
|
68
|
+
leases(request) {
|
|
69
|
+
return queryService.leases(request);
|
|
70
|
+
},
|
|
71
|
+
lease(request) {
|
|
72
|
+
return queryService.lease(request);
|
|
73
|
+
},
|
|
74
|
+
params(request) {
|
|
75
|
+
return queryService.params(request);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Resources } from "../../base/resources/v1beta4/resources";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseResourceOffer() {
|
|
5
|
+
return {
|
|
6
|
+
resources: Resources.fromPartial({}),
|
|
7
|
+
count: 0
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* ResourceOffer describes resources that provider is offering
|
|
12
|
+
* for deployment.
|
|
13
|
+
* @name ResourceOffer
|
|
14
|
+
* @package akash.market.v1beta5
|
|
15
|
+
* @see proto type: akash.market.v1beta5.ResourceOffer
|
|
16
|
+
*/
|
|
17
|
+
export const ResourceOffer = {
|
|
18
|
+
typeUrl: "/akash.market.v1beta5.ResourceOffer",
|
|
19
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
20
|
+
if (message.resources !== undefined) {
|
|
21
|
+
Resources.encode(message.resources, writer.uint32(10).fork()).ldelim();
|
|
22
|
+
}
|
|
23
|
+
if (message.count !== 0) {
|
|
24
|
+
writer.uint32(16).uint32(message.count);
|
|
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 = createBaseResourceOffer();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
message.resources = Resources.decode(reader, reader.uint32());
|
|
37
|
+
break;
|
|
38
|
+
case 2:
|
|
39
|
+
message.count = 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 = createBaseResourceOffer();
|
|
50
|
+
message.resources = object.resources !== undefined && object.resources !== null ? Resources.fromPartial(object.resources) : undefined;
|
|
51
|
+
message.count = object.count ?? 0;
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromAmino(object) {
|
|
55
|
+
const message = createBaseResourceOffer();
|
|
56
|
+
if (object.resources !== undefined && object.resources !== null) {
|
|
57
|
+
message.resources = Resources.fromAmino(object.resources);
|
|
58
|
+
}
|
|
59
|
+
if (object.count !== undefined && object.count !== null) {
|
|
60
|
+
message.count = object.count;
|
|
61
|
+
}
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
toAmino(message) {
|
|
65
|
+
const obj = {};
|
|
66
|
+
obj.resources = message.resources ? Resources.toAmino(message.resources) : Resources.toAmino(Resources.fromPartial({}));
|
|
67
|
+
obj.count = message.count ?? 0;
|
|
68
|
+
return obj;
|
|
69
|
+
},
|
|
70
|
+
fromAminoMsg(object) {
|
|
71
|
+
return ResourceOffer.fromAmino(object.value);
|
|
72
|
+
},
|
|
73
|
+
fromProtoMsg(message) {
|
|
74
|
+
return ResourceOffer.decode(message.value);
|
|
75
|
+
},
|
|
76
|
+
toProto(message) {
|
|
77
|
+
return ResourceOffer.encode(message).finish();
|
|
78
|
+
},
|
|
79
|
+
toProtoMsg(message) {
|
|
80
|
+
return {
|
|
81
|
+
typeUrl: "/akash.market.v1beta5.ResourceOffer",
|
|
82
|
+
value: ResourceOffer.encode(message).finish()
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
3
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
4
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
5
|
+
export const AminoConverter = {
|
|
6
|
+
"/akash.market.v1beta5.MsgCreateBid": {
|
|
7
|
+
aminoType: "/akash.market.v1beta5.MsgCreateBid",
|
|
8
|
+
toAmino: MsgCreateBid.toAmino,
|
|
9
|
+
fromAmino: MsgCreateBid.fromAmino
|
|
10
|
+
},
|
|
11
|
+
"/akash.market.v1beta5.MsgCloseBid": {
|
|
12
|
+
aminoType: "/akash.market.v1beta5.MsgCloseBid",
|
|
13
|
+
toAmino: MsgCloseBid.toAmino,
|
|
14
|
+
fromAmino: MsgCloseBid.fromAmino
|
|
15
|
+
},
|
|
16
|
+
"/akash.market.v1beta5.MsgWithdrawLease": {
|
|
17
|
+
aminoType: "/akash.market.v1beta5.MsgWithdrawLease",
|
|
18
|
+
toAmino: MsgWithdrawLease.toAmino,
|
|
19
|
+
fromAmino: MsgWithdrawLease.fromAmino
|
|
20
|
+
},
|
|
21
|
+
"/akash.market.v1beta5.MsgCreateLease": {
|
|
22
|
+
aminoType: "/akash.market.v1beta5.MsgCreateLease",
|
|
23
|
+
toAmino: MsgCreateLease.toAmino,
|
|
24
|
+
fromAmino: MsgCreateLease.fromAmino
|
|
25
|
+
},
|
|
26
|
+
"/akash.market.v1beta5.MsgCloseLease": {
|
|
27
|
+
aminoType: "/akash.market.v1beta5.MsgCloseLease",
|
|
28
|
+
toAmino: MsgCloseLease.toAmino,
|
|
29
|
+
fromAmino: MsgCloseLease.fromAmino
|
|
30
|
+
},
|
|
31
|
+
"/akash.market.v1beta5.MsgUpdateParams": {
|
|
32
|
+
aminoType: "/akash.market.v1beta5.MsgUpdateParams",
|
|
33
|
+
toAmino: MsgUpdateParams.toAmino,
|
|
34
|
+
fromAmino: MsgUpdateParams.fromAmino
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
2
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
3
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
4
|
+
export const registry = [["/akash.market.v1beta5.MsgCreateBid", MsgCreateBid], ["/akash.market.v1beta5.MsgCloseBid", MsgCloseBid], ["/akash.market.v1beta5.MsgWithdrawLease", MsgWithdrawLease], ["/akash.market.v1beta5.MsgCreateLease", MsgCreateLease], ["/akash.market.v1beta5.MsgCloseLease", MsgCloseLease], ["/akash.market.v1beta5.MsgUpdateParams", MsgUpdateParams]];
|
|
5
|
+
export const load = (protoRegistry) => {
|
|
6
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
7
|
+
protoRegistry.register(typeUrl, mod);
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
export const MessageComposer = {
|
|
11
|
+
encoded: {
|
|
12
|
+
createBid(value) {
|
|
13
|
+
return {
|
|
14
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateBid",
|
|
15
|
+
value: MsgCreateBid.encode(value).finish()
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
closeBid(value) {
|
|
19
|
+
return {
|
|
20
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseBid",
|
|
21
|
+
value: MsgCloseBid.encode(value).finish()
|
|
22
|
+
};
|
|
23
|
+
},
|
|
24
|
+
withdrawLease(value) {
|
|
25
|
+
return {
|
|
26
|
+
typeUrl: "/akash.market.v1beta5.MsgWithdrawLease",
|
|
27
|
+
value: MsgWithdrawLease.encode(value).finish()
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
createLease(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateLease",
|
|
33
|
+
value: MsgCreateLease.encode(value).finish()
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
closeLease(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseLease",
|
|
39
|
+
value: MsgCloseLease.encode(value).finish()
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
updateParams(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
45
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
withTypeUrl: {
|
|
50
|
+
createBid(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateBid",
|
|
53
|
+
value
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
closeBid(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseBid",
|
|
59
|
+
value
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
withdrawLease(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/akash.market.v1beta5.MsgWithdrawLease",
|
|
65
|
+
value
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
createLease(value) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateLease",
|
|
71
|
+
value
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
closeLease(value) {
|
|
75
|
+
return {
|
|
76
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseLease",
|
|
77
|
+
value
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
updateParams(value) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
83
|
+
value
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
fromPartial: {
|
|
88
|
+
createBid(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateBid",
|
|
91
|
+
value: MsgCreateBid.fromPartial(value)
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
closeBid(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseBid",
|
|
97
|
+
value: MsgCloseBid.fromPartial(value)
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
withdrawLease(value) {
|
|
101
|
+
return {
|
|
102
|
+
typeUrl: "/akash.market.v1beta5.MsgWithdrawLease",
|
|
103
|
+
value: MsgWithdrawLease.fromPartial(value)
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
createLease(value) {
|
|
107
|
+
return {
|
|
108
|
+
typeUrl: "/akash.market.v1beta5.MsgCreateLease",
|
|
109
|
+
value: MsgCreateLease.fromPartial(value)
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
closeLease(value) {
|
|
113
|
+
return {
|
|
114
|
+
typeUrl: "/akash.market.v1beta5.MsgCloseLease",
|
|
115
|
+
value: MsgCloseLease.fromPartial(value)
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
updateParams(value) {
|
|
119
|
+
return {
|
|
120
|
+
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
121
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { MsgCreateBid, MsgCreateBidResponse, MsgCloseBid, MsgCloseBidResponse } from "./bidmsg";
|
|
3
|
+
import { MsgWithdrawLease, MsgWithdrawLeaseResponse, MsgCreateLease, MsgCreateLeaseResponse, MsgCloseLease, MsgCloseLeaseResponse } from "./leasemsg";
|
|
4
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
5
|
+
export class MsgClientImpl {
|
|
6
|
+
rpc;
|
|
7
|
+
constructor(rpc) {
|
|
8
|
+
this.rpc = rpc;
|
|
9
|
+
}
|
|
10
|
+
/* CreateBid defines a method to create a bid given proper inputs. */
|
|
11
|
+
createBid = async (request) => {
|
|
12
|
+
const data = MsgCreateBid.encode(request).finish();
|
|
13
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "CreateBid", data);
|
|
14
|
+
return promise.then(data => MsgCreateBidResponse.decode(new BinaryReader(data)));
|
|
15
|
+
};
|
|
16
|
+
/* CloseBid defines a method to close a bid given proper inputs. */
|
|
17
|
+
closeBid = async (request) => {
|
|
18
|
+
const data = MsgCloseBid.encode(request).finish();
|
|
19
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "CloseBid", data);
|
|
20
|
+
return promise.then(data => MsgCloseBidResponse.decode(new BinaryReader(data)));
|
|
21
|
+
};
|
|
22
|
+
/* WithdrawLease withdraws accrued funds from the lease payment */
|
|
23
|
+
withdrawLease = async (request) => {
|
|
24
|
+
const data = MsgWithdrawLease.encode(request).finish();
|
|
25
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "WithdrawLease", data);
|
|
26
|
+
return promise.then(data => MsgWithdrawLeaseResponse.decode(new BinaryReader(data)));
|
|
27
|
+
};
|
|
28
|
+
/* CreateLease creates a new lease */
|
|
29
|
+
createLease = async (request) => {
|
|
30
|
+
const data = MsgCreateLease.encode(request).finish();
|
|
31
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "CreateLease", data);
|
|
32
|
+
return promise.then(data => MsgCreateLeaseResponse.decode(new BinaryReader(data)));
|
|
33
|
+
};
|
|
34
|
+
/* CloseLease defines a method to close an order given proper inputs. */
|
|
35
|
+
closeLease = async (request) => {
|
|
36
|
+
const data = MsgCloseLease.encode(request).finish();
|
|
37
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "CloseLease", data);
|
|
38
|
+
return promise.then(data => MsgCloseLeaseResponse.decode(new BinaryReader(data)));
|
|
39
|
+
};
|
|
40
|
+
/* UpdateParams defines a governance operation for updating the x/market module
|
|
41
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
42
|
+
|
|
43
|
+
Since: akash v1.0.0 */
|
|
44
|
+
updateParams = async (request) => {
|
|
45
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
46
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "UpdateParams", data);
|
|
47
|
+
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export const createClientImpl = (rpc) => {
|
|
51
|
+
return new MsgClientImpl(rpc);
|
|
52
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Provider } from "./provider";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseGenesisState() {
|
|
5
|
+
return {
|
|
6
|
+
providers: []
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* GenesisState defines the basic genesis state used by provider module
|
|
11
|
+
* @name GenesisState
|
|
12
|
+
* @package akash.provider.v1beta3
|
|
13
|
+
* @see proto type: akash.provider.v1beta3.GenesisState
|
|
14
|
+
*/
|
|
15
|
+
export const GenesisState = {
|
|
16
|
+
typeUrl: "/akash.provider.v1beta3.GenesisState",
|
|
17
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
18
|
+
for (const v of message.providers) {
|
|
19
|
+
Provider.encode(v, writer.uint32(10).fork()).ldelim();
|
|
20
|
+
}
|
|
21
|
+
return writer;
|
|
22
|
+
},
|
|
23
|
+
decode(input, length) {
|
|
24
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
25
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
+
const message = createBaseGenesisState();
|
|
27
|
+
while (reader.pos < end) {
|
|
28
|
+
const tag = reader.uint32();
|
|
29
|
+
switch (tag >>> 3) {
|
|
30
|
+
case 1:
|
|
31
|
+
message.providers.push(Provider.decode(reader, reader.uint32()));
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
reader.skipType(tag & 7);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return message;
|
|
39
|
+
},
|
|
40
|
+
fromPartial(object) {
|
|
41
|
+
const message = createBaseGenesisState();
|
|
42
|
+
message.providers = object.providers?.map(e => Provider.fromPartial(e)) || [];
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromAmino(object) {
|
|
46
|
+
const message = createBaseGenesisState();
|
|
47
|
+
message.providers = object.providers?.map(e => Provider.fromAmino(e)) || [];
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
toAmino(message) {
|
|
51
|
+
const obj = {};
|
|
52
|
+
if (message.providers) {
|
|
53
|
+
obj.providers = message.providers.map(e => e ? Provider.toAmino(e) : undefined);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
obj.providers = message.providers;
|
|
57
|
+
}
|
|
58
|
+
return obj;
|
|
59
|
+
},
|
|
60
|
+
fromAminoMsg(object) {
|
|
61
|
+
return GenesisState.fromAmino(object.value);
|
|
62
|
+
},
|
|
63
|
+
fromProtoMsg(message) {
|
|
64
|
+
return GenesisState.decode(message.value);
|
|
65
|
+
},
|
|
66
|
+
toProto(message) {
|
|
67
|
+
return GenesisState.encode(message).finish();
|
|
68
|
+
},
|
|
69
|
+
toProtoMsg(message) {
|
|
70
|
+
return {
|
|
71
|
+
typeUrl: "/akash.provider.v1beta3.GenesisState",
|
|
72
|
+
value: GenesisState.encode(message).finish()
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./provider";
|
|
3
|
+
export const AminoConverter = {
|
|
4
|
+
"/akash.provider.v1beta3.MsgCreateProvider": {
|
|
5
|
+
aminoType: "/akash.provider.v1beta3.MsgCreateProvider",
|
|
6
|
+
toAmino: MsgCreateProvider.toAmino,
|
|
7
|
+
fromAmino: MsgCreateProvider.fromAmino
|
|
8
|
+
},
|
|
9
|
+
"/akash.provider.v1beta3.MsgUpdateProvider": {
|
|
10
|
+
aminoType: "/akash.provider.v1beta3.MsgUpdateProvider",
|
|
11
|
+
toAmino: MsgUpdateProvider.toAmino,
|
|
12
|
+
fromAmino: MsgUpdateProvider.fromAmino
|
|
13
|
+
},
|
|
14
|
+
"/akash.provider.v1beta3.MsgDeleteProvider": {
|
|
15
|
+
aminoType: "/akash.provider.v1beta3.MsgDeleteProvider",
|
|
16
|
+
toAmino: MsgDeleteProvider.toAmino,
|
|
17
|
+
fromAmino: MsgDeleteProvider.fromAmino
|
|
18
|
+
}
|
|
19
|
+
};
|