@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,791 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BidID } from "./bid";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
/** State is an enum which refers to state of lease */
|
|
6
|
+
export var Lease_State;
|
|
7
|
+
(function (Lease_State) {
|
|
8
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state */
|
|
9
|
+
Lease_State[Lease_State["invalid"] = 0] = "invalid";
|
|
10
|
+
/** active - LeaseActive denotes state for lease active */
|
|
11
|
+
Lease_State[Lease_State["active"] = 1] = "active";
|
|
12
|
+
/** insufficient_funds - LeaseInsufficientFunds denotes state for lease insufficient_funds */
|
|
13
|
+
Lease_State[Lease_State["insufficient_funds"] = 2] = "insufficient_funds";
|
|
14
|
+
/** closed - LeaseClosed denotes state for lease closed */
|
|
15
|
+
Lease_State[Lease_State["closed"] = 3] = "closed";
|
|
16
|
+
Lease_State[Lease_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
17
|
+
})(Lease_State || (Lease_State = {}));
|
|
18
|
+
export const Lease_StateAmino = Lease_State;
|
|
19
|
+
export function lease_StateFromJSON(object) {
|
|
20
|
+
switch (object) {
|
|
21
|
+
case 0:
|
|
22
|
+
case "invalid":
|
|
23
|
+
return Lease_State.invalid;
|
|
24
|
+
case 1:
|
|
25
|
+
case "active":
|
|
26
|
+
return Lease_State.active;
|
|
27
|
+
case 2:
|
|
28
|
+
case "insufficient_funds":
|
|
29
|
+
return Lease_State.insufficient_funds;
|
|
30
|
+
case 3:
|
|
31
|
+
case "closed":
|
|
32
|
+
return Lease_State.closed;
|
|
33
|
+
case -1:
|
|
34
|
+
case "UNRECOGNIZED":
|
|
35
|
+
default:
|
|
36
|
+
return Lease_State.UNRECOGNIZED;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export function lease_StateToJSON(object) {
|
|
40
|
+
switch (object) {
|
|
41
|
+
case Lease_State.invalid:
|
|
42
|
+
return "invalid";
|
|
43
|
+
case Lease_State.active:
|
|
44
|
+
return "active";
|
|
45
|
+
case Lease_State.insufficient_funds:
|
|
46
|
+
return "insufficient_funds";
|
|
47
|
+
case Lease_State.closed:
|
|
48
|
+
return "closed";
|
|
49
|
+
case Lease_State.UNRECOGNIZED:
|
|
50
|
+
default:
|
|
51
|
+
return "UNRECOGNIZED";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function createBaseLeaseID() {
|
|
55
|
+
return {
|
|
56
|
+
owner: "",
|
|
57
|
+
dseq: BigInt(0),
|
|
58
|
+
gseq: 0,
|
|
59
|
+
oseq: 0,
|
|
60
|
+
provider: ""
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* LeaseID stores bid details of lease
|
|
65
|
+
* @name LeaseID
|
|
66
|
+
* @package akash.market.v1beta4
|
|
67
|
+
* @see proto type: akash.market.v1beta4.LeaseID
|
|
68
|
+
*/
|
|
69
|
+
export const LeaseID = {
|
|
70
|
+
typeUrl: "/akash.market.v1beta4.LeaseID",
|
|
71
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
72
|
+
if (message.owner !== "") {
|
|
73
|
+
writer.uint32(10).string(message.owner);
|
|
74
|
+
}
|
|
75
|
+
if (message.dseq !== BigInt(0)) {
|
|
76
|
+
writer.uint32(16).uint64(message.dseq);
|
|
77
|
+
}
|
|
78
|
+
if (message.gseq !== 0) {
|
|
79
|
+
writer.uint32(24).uint32(message.gseq);
|
|
80
|
+
}
|
|
81
|
+
if (message.oseq !== 0) {
|
|
82
|
+
writer.uint32(32).uint32(message.oseq);
|
|
83
|
+
}
|
|
84
|
+
if (message.provider !== "") {
|
|
85
|
+
writer.uint32(42).string(message.provider);
|
|
86
|
+
}
|
|
87
|
+
return writer;
|
|
88
|
+
},
|
|
89
|
+
decode(input, length) {
|
|
90
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
91
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
92
|
+
const message = createBaseLeaseID();
|
|
93
|
+
while (reader.pos < end) {
|
|
94
|
+
const tag = reader.uint32();
|
|
95
|
+
switch (tag >>> 3) {
|
|
96
|
+
case 1:
|
|
97
|
+
message.owner = reader.string();
|
|
98
|
+
break;
|
|
99
|
+
case 2:
|
|
100
|
+
message.dseq = reader.uint64();
|
|
101
|
+
break;
|
|
102
|
+
case 3:
|
|
103
|
+
message.gseq = reader.uint32();
|
|
104
|
+
break;
|
|
105
|
+
case 4:
|
|
106
|
+
message.oseq = reader.uint32();
|
|
107
|
+
break;
|
|
108
|
+
case 5:
|
|
109
|
+
message.provider = reader.string();
|
|
110
|
+
break;
|
|
111
|
+
default:
|
|
112
|
+
reader.skipType(tag & 7);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromPartial(object) {
|
|
119
|
+
const message = createBaseLeaseID();
|
|
120
|
+
message.owner = object.owner ?? "";
|
|
121
|
+
message.dseq = object.dseq !== undefined && object.dseq !== null ? BigInt(object.dseq.toString()) : BigInt(0);
|
|
122
|
+
message.gseq = object.gseq ?? 0;
|
|
123
|
+
message.oseq = object.oseq ?? 0;
|
|
124
|
+
message.provider = object.provider ?? "";
|
|
125
|
+
return message;
|
|
126
|
+
},
|
|
127
|
+
fromAmino(object) {
|
|
128
|
+
const message = createBaseLeaseID();
|
|
129
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
130
|
+
message.owner = object.owner;
|
|
131
|
+
}
|
|
132
|
+
if (object.dseq !== undefined && object.dseq !== null) {
|
|
133
|
+
message.dseq = BigInt(object.dseq);
|
|
134
|
+
}
|
|
135
|
+
if (object.gseq !== undefined && object.gseq !== null) {
|
|
136
|
+
message.gseq = object.gseq;
|
|
137
|
+
}
|
|
138
|
+
if (object.oseq !== undefined && object.oseq !== null) {
|
|
139
|
+
message.oseq = object.oseq;
|
|
140
|
+
}
|
|
141
|
+
if (object.provider !== undefined && object.provider !== null) {
|
|
142
|
+
message.provider = object.provider;
|
|
143
|
+
}
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
toAmino(message) {
|
|
147
|
+
const obj = {};
|
|
148
|
+
obj.owner = message.owner ?? "";
|
|
149
|
+
obj.dseq = message.dseq ? message.dseq?.toString() : "0";
|
|
150
|
+
obj.gseq = message.gseq ?? 0;
|
|
151
|
+
obj.oseq = message.oseq ?? 0;
|
|
152
|
+
obj.provider = message.provider ?? "";
|
|
153
|
+
return obj;
|
|
154
|
+
},
|
|
155
|
+
fromAminoMsg(object) {
|
|
156
|
+
return LeaseID.fromAmino(object.value);
|
|
157
|
+
},
|
|
158
|
+
fromProtoMsg(message) {
|
|
159
|
+
return LeaseID.decode(message.value);
|
|
160
|
+
},
|
|
161
|
+
toProto(message) {
|
|
162
|
+
return LeaseID.encode(message).finish();
|
|
163
|
+
},
|
|
164
|
+
toProtoMsg(message) {
|
|
165
|
+
return {
|
|
166
|
+
typeUrl: "/akash.market.v1beta4.LeaseID",
|
|
167
|
+
value: LeaseID.encode(message).finish()
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
function createBaseLease() {
|
|
172
|
+
return {
|
|
173
|
+
leaseId: LeaseID.fromPartial({}),
|
|
174
|
+
state: 0,
|
|
175
|
+
price: DecCoin.fromPartial({}),
|
|
176
|
+
createdAt: BigInt(0),
|
|
177
|
+
closedOn: BigInt(0)
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Lease stores LeaseID, state of lease and price
|
|
182
|
+
* @name Lease
|
|
183
|
+
* @package akash.market.v1beta4
|
|
184
|
+
* @see proto type: akash.market.v1beta4.Lease
|
|
185
|
+
*/
|
|
186
|
+
export const Lease = {
|
|
187
|
+
typeUrl: "/akash.market.v1beta4.Lease",
|
|
188
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
189
|
+
if (message.leaseId !== undefined) {
|
|
190
|
+
LeaseID.encode(message.leaseId, writer.uint32(10).fork()).ldelim();
|
|
191
|
+
}
|
|
192
|
+
if (message.state !== 0) {
|
|
193
|
+
writer.uint32(16).int32(message.state);
|
|
194
|
+
}
|
|
195
|
+
if (message.price !== undefined) {
|
|
196
|
+
DecCoin.encode(message.price, writer.uint32(26).fork()).ldelim();
|
|
197
|
+
}
|
|
198
|
+
if (message.createdAt !== BigInt(0)) {
|
|
199
|
+
writer.uint32(32).int64(message.createdAt);
|
|
200
|
+
}
|
|
201
|
+
if (message.closedOn !== BigInt(0)) {
|
|
202
|
+
writer.uint32(40).int64(message.closedOn);
|
|
203
|
+
}
|
|
204
|
+
return writer;
|
|
205
|
+
},
|
|
206
|
+
decode(input, length) {
|
|
207
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
208
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
209
|
+
const message = createBaseLease();
|
|
210
|
+
while (reader.pos < end) {
|
|
211
|
+
const tag = reader.uint32();
|
|
212
|
+
switch (tag >>> 3) {
|
|
213
|
+
case 1:
|
|
214
|
+
message.leaseId = LeaseID.decode(reader, reader.uint32());
|
|
215
|
+
break;
|
|
216
|
+
case 2:
|
|
217
|
+
message.state = reader.int32();
|
|
218
|
+
break;
|
|
219
|
+
case 3:
|
|
220
|
+
message.price = DecCoin.decode(reader, reader.uint32());
|
|
221
|
+
break;
|
|
222
|
+
case 4:
|
|
223
|
+
message.createdAt = reader.int64();
|
|
224
|
+
break;
|
|
225
|
+
case 5:
|
|
226
|
+
message.closedOn = reader.int64();
|
|
227
|
+
break;
|
|
228
|
+
default:
|
|
229
|
+
reader.skipType(tag & 7);
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return message;
|
|
234
|
+
},
|
|
235
|
+
fromPartial(object) {
|
|
236
|
+
const message = createBaseLease();
|
|
237
|
+
message.leaseId = object.leaseId !== undefined && object.leaseId !== null ? LeaseID.fromPartial(object.leaseId) : undefined;
|
|
238
|
+
message.state = object.state ?? 0;
|
|
239
|
+
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
240
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
241
|
+
message.closedOn = object.closedOn !== undefined && object.closedOn !== null ? BigInt(object.closedOn.toString()) : BigInt(0);
|
|
242
|
+
return message;
|
|
243
|
+
},
|
|
244
|
+
fromAmino(object) {
|
|
245
|
+
const message = createBaseLease();
|
|
246
|
+
if (object.lease_id !== undefined && object.lease_id !== null) {
|
|
247
|
+
message.leaseId = LeaseID.fromAmino(object.lease_id);
|
|
248
|
+
}
|
|
249
|
+
if (object.state !== undefined && object.state !== null) {
|
|
250
|
+
message.state = object.state;
|
|
251
|
+
}
|
|
252
|
+
if (object.price !== undefined && object.price !== null) {
|
|
253
|
+
message.price = DecCoin.fromAmino(object.price);
|
|
254
|
+
}
|
|
255
|
+
if (object.created_at !== undefined && object.created_at !== null) {
|
|
256
|
+
message.createdAt = BigInt(object.created_at);
|
|
257
|
+
}
|
|
258
|
+
if (object.closed_on !== undefined && object.closed_on !== null) {
|
|
259
|
+
message.closedOn = BigInt(object.closed_on);
|
|
260
|
+
}
|
|
261
|
+
return message;
|
|
262
|
+
},
|
|
263
|
+
toAmino(message) {
|
|
264
|
+
const obj = {};
|
|
265
|
+
obj.lease_id = message.leaseId ? LeaseID.toAmino(message.leaseId) : LeaseID.toAmino(LeaseID.fromPartial({}));
|
|
266
|
+
obj.state = message.state ?? 0;
|
|
267
|
+
obj.price = message.price ? DecCoin.toAmino(message.price) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
268
|
+
obj.created_at = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
269
|
+
obj.closed_on = message.closedOn !== BigInt(0) ? message.closedOn?.toString() : undefined;
|
|
270
|
+
return obj;
|
|
271
|
+
},
|
|
272
|
+
fromAminoMsg(object) {
|
|
273
|
+
return Lease.fromAmino(object.value);
|
|
274
|
+
},
|
|
275
|
+
fromProtoMsg(message) {
|
|
276
|
+
return Lease.decode(message.value);
|
|
277
|
+
},
|
|
278
|
+
toProto(message) {
|
|
279
|
+
return Lease.encode(message).finish();
|
|
280
|
+
},
|
|
281
|
+
toProtoMsg(message) {
|
|
282
|
+
return {
|
|
283
|
+
typeUrl: "/akash.market.v1beta4.Lease",
|
|
284
|
+
value: Lease.encode(message).finish()
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
function createBaseLeaseFilters() {
|
|
289
|
+
return {
|
|
290
|
+
owner: "",
|
|
291
|
+
dseq: BigInt(0),
|
|
292
|
+
gseq: 0,
|
|
293
|
+
oseq: 0,
|
|
294
|
+
provider: "",
|
|
295
|
+
state: ""
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* LeaseFilters defines flags for lease list filter
|
|
300
|
+
* @name LeaseFilters
|
|
301
|
+
* @package akash.market.v1beta4
|
|
302
|
+
* @see proto type: akash.market.v1beta4.LeaseFilters
|
|
303
|
+
*/
|
|
304
|
+
export const LeaseFilters = {
|
|
305
|
+
typeUrl: "/akash.market.v1beta4.LeaseFilters",
|
|
306
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
307
|
+
if (message.owner !== "") {
|
|
308
|
+
writer.uint32(10).string(message.owner);
|
|
309
|
+
}
|
|
310
|
+
if (message.dseq !== BigInt(0)) {
|
|
311
|
+
writer.uint32(16).uint64(message.dseq);
|
|
312
|
+
}
|
|
313
|
+
if (message.gseq !== 0) {
|
|
314
|
+
writer.uint32(24).uint32(message.gseq);
|
|
315
|
+
}
|
|
316
|
+
if (message.oseq !== 0) {
|
|
317
|
+
writer.uint32(32).uint32(message.oseq);
|
|
318
|
+
}
|
|
319
|
+
if (message.provider !== "") {
|
|
320
|
+
writer.uint32(42).string(message.provider);
|
|
321
|
+
}
|
|
322
|
+
if (message.state !== "") {
|
|
323
|
+
writer.uint32(50).string(message.state);
|
|
324
|
+
}
|
|
325
|
+
return writer;
|
|
326
|
+
},
|
|
327
|
+
decode(input, length) {
|
|
328
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
329
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
330
|
+
const message = createBaseLeaseFilters();
|
|
331
|
+
while (reader.pos < end) {
|
|
332
|
+
const tag = reader.uint32();
|
|
333
|
+
switch (tag >>> 3) {
|
|
334
|
+
case 1:
|
|
335
|
+
message.owner = reader.string();
|
|
336
|
+
break;
|
|
337
|
+
case 2:
|
|
338
|
+
message.dseq = reader.uint64();
|
|
339
|
+
break;
|
|
340
|
+
case 3:
|
|
341
|
+
message.gseq = reader.uint32();
|
|
342
|
+
break;
|
|
343
|
+
case 4:
|
|
344
|
+
message.oseq = reader.uint32();
|
|
345
|
+
break;
|
|
346
|
+
case 5:
|
|
347
|
+
message.provider = reader.string();
|
|
348
|
+
break;
|
|
349
|
+
case 6:
|
|
350
|
+
message.state = reader.string();
|
|
351
|
+
break;
|
|
352
|
+
default:
|
|
353
|
+
reader.skipType(tag & 7);
|
|
354
|
+
break;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
return message;
|
|
358
|
+
},
|
|
359
|
+
fromPartial(object) {
|
|
360
|
+
const message = createBaseLeaseFilters();
|
|
361
|
+
message.owner = object.owner ?? "";
|
|
362
|
+
message.dseq = object.dseq !== undefined && object.dseq !== null ? BigInt(object.dseq.toString()) : BigInt(0);
|
|
363
|
+
message.gseq = object.gseq ?? 0;
|
|
364
|
+
message.oseq = object.oseq ?? 0;
|
|
365
|
+
message.provider = object.provider ?? "";
|
|
366
|
+
message.state = object.state ?? "";
|
|
367
|
+
return message;
|
|
368
|
+
},
|
|
369
|
+
fromAmino(object) {
|
|
370
|
+
const message = createBaseLeaseFilters();
|
|
371
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
372
|
+
message.owner = object.owner;
|
|
373
|
+
}
|
|
374
|
+
if (object.dseq !== undefined && object.dseq !== null) {
|
|
375
|
+
message.dseq = BigInt(object.dseq);
|
|
376
|
+
}
|
|
377
|
+
if (object.gseq !== undefined && object.gseq !== null) {
|
|
378
|
+
message.gseq = object.gseq;
|
|
379
|
+
}
|
|
380
|
+
if (object.oseq !== undefined && object.oseq !== null) {
|
|
381
|
+
message.oseq = object.oseq;
|
|
382
|
+
}
|
|
383
|
+
if (object.provider !== undefined && object.provider !== null) {
|
|
384
|
+
message.provider = object.provider;
|
|
385
|
+
}
|
|
386
|
+
if (object.state !== undefined && object.state !== null) {
|
|
387
|
+
message.state = object.state;
|
|
388
|
+
}
|
|
389
|
+
return message;
|
|
390
|
+
},
|
|
391
|
+
toAmino(message) {
|
|
392
|
+
const obj = {};
|
|
393
|
+
obj.owner = message.owner ?? "";
|
|
394
|
+
obj.dseq = message.dseq ? message.dseq?.toString() : "0";
|
|
395
|
+
obj.gseq = message.gseq ?? 0;
|
|
396
|
+
obj.oseq = message.oseq ?? 0;
|
|
397
|
+
obj.provider = message.provider ?? "";
|
|
398
|
+
obj.state = message.state ?? "";
|
|
399
|
+
return obj;
|
|
400
|
+
},
|
|
401
|
+
fromAminoMsg(object) {
|
|
402
|
+
return LeaseFilters.fromAmino(object.value);
|
|
403
|
+
},
|
|
404
|
+
fromProtoMsg(message) {
|
|
405
|
+
return LeaseFilters.decode(message.value);
|
|
406
|
+
},
|
|
407
|
+
toProto(message) {
|
|
408
|
+
return LeaseFilters.encode(message).finish();
|
|
409
|
+
},
|
|
410
|
+
toProtoMsg(message) {
|
|
411
|
+
return {
|
|
412
|
+
typeUrl: "/akash.market.v1beta4.LeaseFilters",
|
|
413
|
+
value: LeaseFilters.encode(message).finish()
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
function createBaseMsgCreateLease() {
|
|
418
|
+
return {
|
|
419
|
+
bidId: BidID.fromPartial({})
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* MsgCreateLease is sent to create a lease
|
|
424
|
+
* @name MsgCreateLease
|
|
425
|
+
* @package akash.market.v1beta4
|
|
426
|
+
* @see proto type: akash.market.v1beta4.MsgCreateLease
|
|
427
|
+
*/
|
|
428
|
+
export const MsgCreateLease = {
|
|
429
|
+
typeUrl: "/akash.market.v1beta4.MsgCreateLease",
|
|
430
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
431
|
+
if (message.bidId !== undefined) {
|
|
432
|
+
BidID.encode(message.bidId, writer.uint32(10).fork()).ldelim();
|
|
433
|
+
}
|
|
434
|
+
return writer;
|
|
435
|
+
},
|
|
436
|
+
decode(input, length) {
|
|
437
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
438
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
439
|
+
const message = createBaseMsgCreateLease();
|
|
440
|
+
while (reader.pos < end) {
|
|
441
|
+
const tag = reader.uint32();
|
|
442
|
+
switch (tag >>> 3) {
|
|
443
|
+
case 1:
|
|
444
|
+
message.bidId = BidID.decode(reader, reader.uint32());
|
|
445
|
+
break;
|
|
446
|
+
default:
|
|
447
|
+
reader.skipType(tag & 7);
|
|
448
|
+
break;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
return message;
|
|
452
|
+
},
|
|
453
|
+
fromPartial(object) {
|
|
454
|
+
const message = createBaseMsgCreateLease();
|
|
455
|
+
message.bidId = object.bidId !== undefined && object.bidId !== null ? BidID.fromPartial(object.bidId) : undefined;
|
|
456
|
+
return message;
|
|
457
|
+
},
|
|
458
|
+
fromAmino(object) {
|
|
459
|
+
const message = createBaseMsgCreateLease();
|
|
460
|
+
if (object.bid_id !== undefined && object.bid_id !== null) {
|
|
461
|
+
message.bidId = BidID.fromAmino(object.bid_id);
|
|
462
|
+
}
|
|
463
|
+
return message;
|
|
464
|
+
},
|
|
465
|
+
toAmino(message) {
|
|
466
|
+
const obj = {};
|
|
467
|
+
obj.bid_id = message.bidId ? BidID.toAmino(message.bidId) : BidID.toAmino(BidID.fromPartial({}));
|
|
468
|
+
return obj;
|
|
469
|
+
},
|
|
470
|
+
fromAminoMsg(object) {
|
|
471
|
+
return MsgCreateLease.fromAmino(object.value);
|
|
472
|
+
},
|
|
473
|
+
fromProtoMsg(message) {
|
|
474
|
+
return MsgCreateLease.decode(message.value);
|
|
475
|
+
},
|
|
476
|
+
toProto(message) {
|
|
477
|
+
return MsgCreateLease.encode(message).finish();
|
|
478
|
+
},
|
|
479
|
+
toProtoMsg(message) {
|
|
480
|
+
return {
|
|
481
|
+
typeUrl: "/akash.market.v1beta4.MsgCreateLease",
|
|
482
|
+
value: MsgCreateLease.encode(message).finish()
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
function createBaseMsgCreateLeaseResponse() {
|
|
487
|
+
return {};
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* MsgCreateLeaseResponse is the response from creating a lease
|
|
491
|
+
* @name MsgCreateLeaseResponse
|
|
492
|
+
* @package akash.market.v1beta4
|
|
493
|
+
* @see proto type: akash.market.v1beta4.MsgCreateLeaseResponse
|
|
494
|
+
*/
|
|
495
|
+
export const MsgCreateLeaseResponse = {
|
|
496
|
+
typeUrl: "/akash.market.v1beta4.MsgCreateLeaseResponse",
|
|
497
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
498
|
+
return writer;
|
|
499
|
+
},
|
|
500
|
+
decode(input, length) {
|
|
501
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
502
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
503
|
+
const message = createBaseMsgCreateLeaseResponse();
|
|
504
|
+
while (reader.pos < end) {
|
|
505
|
+
const tag = reader.uint32();
|
|
506
|
+
switch (tag >>> 3) {
|
|
507
|
+
default:
|
|
508
|
+
reader.skipType(tag & 7);
|
|
509
|
+
break;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
return message;
|
|
513
|
+
},
|
|
514
|
+
fromPartial(_) {
|
|
515
|
+
const message = createBaseMsgCreateLeaseResponse();
|
|
516
|
+
return message;
|
|
517
|
+
},
|
|
518
|
+
fromAmino(_) {
|
|
519
|
+
const message = createBaseMsgCreateLeaseResponse();
|
|
520
|
+
return message;
|
|
521
|
+
},
|
|
522
|
+
toAmino(_) {
|
|
523
|
+
const obj = {};
|
|
524
|
+
return obj;
|
|
525
|
+
},
|
|
526
|
+
fromAminoMsg(object) {
|
|
527
|
+
return MsgCreateLeaseResponse.fromAmino(object.value);
|
|
528
|
+
},
|
|
529
|
+
fromProtoMsg(message) {
|
|
530
|
+
return MsgCreateLeaseResponse.decode(message.value);
|
|
531
|
+
},
|
|
532
|
+
toProto(message) {
|
|
533
|
+
return MsgCreateLeaseResponse.encode(message).finish();
|
|
534
|
+
},
|
|
535
|
+
toProtoMsg(message) {
|
|
536
|
+
return {
|
|
537
|
+
typeUrl: "/akash.market.v1beta4.MsgCreateLeaseResponse",
|
|
538
|
+
value: MsgCreateLeaseResponse.encode(message).finish()
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
function createBaseMsgWithdrawLease() {
|
|
543
|
+
return {
|
|
544
|
+
bidId: LeaseID.fromPartial({})
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* MsgWithdrawLease defines an SDK message for closing bid
|
|
549
|
+
* @name MsgWithdrawLease
|
|
550
|
+
* @package akash.market.v1beta4
|
|
551
|
+
* @see proto type: akash.market.v1beta4.MsgWithdrawLease
|
|
552
|
+
*/
|
|
553
|
+
export const MsgWithdrawLease = {
|
|
554
|
+
typeUrl: "/akash.market.v1beta4.MsgWithdrawLease",
|
|
555
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
556
|
+
if (message.bidId !== undefined) {
|
|
557
|
+
LeaseID.encode(message.bidId, writer.uint32(10).fork()).ldelim();
|
|
558
|
+
}
|
|
559
|
+
return writer;
|
|
560
|
+
},
|
|
561
|
+
decode(input, length) {
|
|
562
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
563
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
564
|
+
const message = createBaseMsgWithdrawLease();
|
|
565
|
+
while (reader.pos < end) {
|
|
566
|
+
const tag = reader.uint32();
|
|
567
|
+
switch (tag >>> 3) {
|
|
568
|
+
case 1:
|
|
569
|
+
message.bidId = LeaseID.decode(reader, reader.uint32());
|
|
570
|
+
break;
|
|
571
|
+
default:
|
|
572
|
+
reader.skipType(tag & 7);
|
|
573
|
+
break;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
return message;
|
|
577
|
+
},
|
|
578
|
+
fromPartial(object) {
|
|
579
|
+
const message = createBaseMsgWithdrawLease();
|
|
580
|
+
message.bidId = object.bidId !== undefined && object.bidId !== null ? LeaseID.fromPartial(object.bidId) : undefined;
|
|
581
|
+
return message;
|
|
582
|
+
},
|
|
583
|
+
fromAmino(object) {
|
|
584
|
+
const message = createBaseMsgWithdrawLease();
|
|
585
|
+
if (object.bid_id !== undefined && object.bid_id !== null) {
|
|
586
|
+
message.bidId = LeaseID.fromAmino(object.bid_id);
|
|
587
|
+
}
|
|
588
|
+
return message;
|
|
589
|
+
},
|
|
590
|
+
toAmino(message) {
|
|
591
|
+
const obj = {};
|
|
592
|
+
obj.bid_id = message.bidId ? LeaseID.toAmino(message.bidId) : LeaseID.toAmino(LeaseID.fromPartial({}));
|
|
593
|
+
return obj;
|
|
594
|
+
},
|
|
595
|
+
fromAminoMsg(object) {
|
|
596
|
+
return MsgWithdrawLease.fromAmino(object.value);
|
|
597
|
+
},
|
|
598
|
+
fromProtoMsg(message) {
|
|
599
|
+
return MsgWithdrawLease.decode(message.value);
|
|
600
|
+
},
|
|
601
|
+
toProto(message) {
|
|
602
|
+
return MsgWithdrawLease.encode(message).finish();
|
|
603
|
+
},
|
|
604
|
+
toProtoMsg(message) {
|
|
605
|
+
return {
|
|
606
|
+
typeUrl: "/akash.market.v1beta4.MsgWithdrawLease",
|
|
607
|
+
value: MsgWithdrawLease.encode(message).finish()
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
};
|
|
611
|
+
function createBaseMsgWithdrawLeaseResponse() {
|
|
612
|
+
return {};
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
|
|
616
|
+
* @name MsgWithdrawLeaseResponse
|
|
617
|
+
* @package akash.market.v1beta4
|
|
618
|
+
* @see proto type: akash.market.v1beta4.MsgWithdrawLeaseResponse
|
|
619
|
+
*/
|
|
620
|
+
export const MsgWithdrawLeaseResponse = {
|
|
621
|
+
typeUrl: "/akash.market.v1beta4.MsgWithdrawLeaseResponse",
|
|
622
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
623
|
+
return writer;
|
|
624
|
+
},
|
|
625
|
+
decode(input, length) {
|
|
626
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
627
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
628
|
+
const message = createBaseMsgWithdrawLeaseResponse();
|
|
629
|
+
while (reader.pos < end) {
|
|
630
|
+
const tag = reader.uint32();
|
|
631
|
+
switch (tag >>> 3) {
|
|
632
|
+
default:
|
|
633
|
+
reader.skipType(tag & 7);
|
|
634
|
+
break;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
return message;
|
|
638
|
+
},
|
|
639
|
+
fromPartial(_) {
|
|
640
|
+
const message = createBaseMsgWithdrawLeaseResponse();
|
|
641
|
+
return message;
|
|
642
|
+
},
|
|
643
|
+
fromAmino(_) {
|
|
644
|
+
const message = createBaseMsgWithdrawLeaseResponse();
|
|
645
|
+
return message;
|
|
646
|
+
},
|
|
647
|
+
toAmino(_) {
|
|
648
|
+
const obj = {};
|
|
649
|
+
return obj;
|
|
650
|
+
},
|
|
651
|
+
fromAminoMsg(object) {
|
|
652
|
+
return MsgWithdrawLeaseResponse.fromAmino(object.value);
|
|
653
|
+
},
|
|
654
|
+
fromProtoMsg(message) {
|
|
655
|
+
return MsgWithdrawLeaseResponse.decode(message.value);
|
|
656
|
+
},
|
|
657
|
+
toProto(message) {
|
|
658
|
+
return MsgWithdrawLeaseResponse.encode(message).finish();
|
|
659
|
+
},
|
|
660
|
+
toProtoMsg(message) {
|
|
661
|
+
return {
|
|
662
|
+
typeUrl: "/akash.market.v1beta4.MsgWithdrawLeaseResponse",
|
|
663
|
+
value: MsgWithdrawLeaseResponse.encode(message).finish()
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
function createBaseMsgCloseLease() {
|
|
668
|
+
return {
|
|
669
|
+
leaseId: LeaseID.fromPartial({})
|
|
670
|
+
};
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* MsgCloseLease defines an SDK message for closing order
|
|
674
|
+
* @name MsgCloseLease
|
|
675
|
+
* @package akash.market.v1beta4
|
|
676
|
+
* @see proto type: akash.market.v1beta4.MsgCloseLease
|
|
677
|
+
*/
|
|
678
|
+
export const MsgCloseLease = {
|
|
679
|
+
typeUrl: "/akash.market.v1beta4.MsgCloseLease",
|
|
680
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
681
|
+
if (message.leaseId !== undefined) {
|
|
682
|
+
LeaseID.encode(message.leaseId, writer.uint32(10).fork()).ldelim();
|
|
683
|
+
}
|
|
684
|
+
return writer;
|
|
685
|
+
},
|
|
686
|
+
decode(input, length) {
|
|
687
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
688
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
689
|
+
const message = createBaseMsgCloseLease();
|
|
690
|
+
while (reader.pos < end) {
|
|
691
|
+
const tag = reader.uint32();
|
|
692
|
+
switch (tag >>> 3) {
|
|
693
|
+
case 1:
|
|
694
|
+
message.leaseId = LeaseID.decode(reader, reader.uint32());
|
|
695
|
+
break;
|
|
696
|
+
default:
|
|
697
|
+
reader.skipType(tag & 7);
|
|
698
|
+
break;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
return message;
|
|
702
|
+
},
|
|
703
|
+
fromPartial(object) {
|
|
704
|
+
const message = createBaseMsgCloseLease();
|
|
705
|
+
message.leaseId = object.leaseId !== undefined && object.leaseId !== null ? LeaseID.fromPartial(object.leaseId) : undefined;
|
|
706
|
+
return message;
|
|
707
|
+
},
|
|
708
|
+
fromAmino(object) {
|
|
709
|
+
const message = createBaseMsgCloseLease();
|
|
710
|
+
if (object.lease_id !== undefined && object.lease_id !== null) {
|
|
711
|
+
message.leaseId = LeaseID.fromAmino(object.lease_id);
|
|
712
|
+
}
|
|
713
|
+
return message;
|
|
714
|
+
},
|
|
715
|
+
toAmino(message) {
|
|
716
|
+
const obj = {};
|
|
717
|
+
obj.lease_id = message.leaseId ? LeaseID.toAmino(message.leaseId) : LeaseID.toAmino(LeaseID.fromPartial({}));
|
|
718
|
+
return obj;
|
|
719
|
+
},
|
|
720
|
+
fromAminoMsg(object) {
|
|
721
|
+
return MsgCloseLease.fromAmino(object.value);
|
|
722
|
+
},
|
|
723
|
+
fromProtoMsg(message) {
|
|
724
|
+
return MsgCloseLease.decode(message.value);
|
|
725
|
+
},
|
|
726
|
+
toProto(message) {
|
|
727
|
+
return MsgCloseLease.encode(message).finish();
|
|
728
|
+
},
|
|
729
|
+
toProtoMsg(message) {
|
|
730
|
+
return {
|
|
731
|
+
typeUrl: "/akash.market.v1beta4.MsgCloseLease",
|
|
732
|
+
value: MsgCloseLease.encode(message).finish()
|
|
733
|
+
};
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
function createBaseMsgCloseLeaseResponse() {
|
|
737
|
+
return {};
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* MsgCloseLeaseResponse defines the Msg/CloseLease response type.
|
|
741
|
+
* @name MsgCloseLeaseResponse
|
|
742
|
+
* @package akash.market.v1beta4
|
|
743
|
+
* @see proto type: akash.market.v1beta4.MsgCloseLeaseResponse
|
|
744
|
+
*/
|
|
745
|
+
export const MsgCloseLeaseResponse = {
|
|
746
|
+
typeUrl: "/akash.market.v1beta4.MsgCloseLeaseResponse",
|
|
747
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
748
|
+
return writer;
|
|
749
|
+
},
|
|
750
|
+
decode(input, length) {
|
|
751
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
752
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
753
|
+
const message = createBaseMsgCloseLeaseResponse();
|
|
754
|
+
while (reader.pos < end) {
|
|
755
|
+
const tag = reader.uint32();
|
|
756
|
+
switch (tag >>> 3) {
|
|
757
|
+
default:
|
|
758
|
+
reader.skipType(tag & 7);
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
return message;
|
|
763
|
+
},
|
|
764
|
+
fromPartial(_) {
|
|
765
|
+
const message = createBaseMsgCloseLeaseResponse();
|
|
766
|
+
return message;
|
|
767
|
+
},
|
|
768
|
+
fromAmino(_) {
|
|
769
|
+
const message = createBaseMsgCloseLeaseResponse();
|
|
770
|
+
return message;
|
|
771
|
+
},
|
|
772
|
+
toAmino(_) {
|
|
773
|
+
const obj = {};
|
|
774
|
+
return obj;
|
|
775
|
+
},
|
|
776
|
+
fromAminoMsg(object) {
|
|
777
|
+
return MsgCloseLeaseResponse.fromAmino(object.value);
|
|
778
|
+
},
|
|
779
|
+
fromProtoMsg(message) {
|
|
780
|
+
return MsgCloseLeaseResponse.decode(message.value);
|
|
781
|
+
},
|
|
782
|
+
toProto(message) {
|
|
783
|
+
return MsgCloseLeaseResponse.encode(message).finish();
|
|
784
|
+
},
|
|
785
|
+
toProtoMsg(message) {
|
|
786
|
+
return {
|
|
787
|
+
typeUrl: "/akash.market.v1beta4.MsgCloseLeaseResponse",
|
|
788
|
+
value: MsgCloseLeaseResponse.encode(message).finish()
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
};
|