@sparkdreamnft/sparkdreamjs 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/audit.d.ts +209 -0
- package/akash/audit/v1/audit.js +265 -0
- package/akash/audit/v1/event.d.ts +150 -0
- package/akash/audit/v1/event.js +167 -0
- package/akash/audit/v1/genesis.d.ts +53 -0
- package/akash/audit/v1/genesis.js +78 -0
- package/akash/audit/v1/msg.d.ts +253 -0
- package/akash/audit/v1/msg.js +310 -0
- package/akash/audit/v1/query.d.ts +392 -0
- package/akash/audit/v1/query.js +484 -0
- package/akash/audit/v1/query.lcd.d.ts +12 -0
- package/akash/audit/v1/query.lcd.js +60 -0
- package/akash/audit/v1/query.rpc.Query.d.ts +44 -0
- package/akash/audit/v1/query.rpc.Query.js +66 -0
- package/akash/audit/v1/service.amino.d.ts +13 -0
- package/akash/audit/v1/service.amino.js +17 -0
- package/akash/audit/v1/service.d.ts +1 -0
- package/akash/audit/v1/service.js +2 -0
- package/akash/audit/v1/service.registry.d.ts +37 -0
- package/akash/audit/v1/service.registry.js +55 -0
- package/akash/audit/v1/service.rpc.msg.d.ts +16 -0
- package/akash/audit/v1/service.rpc.msg.js +28 -0
- package/akash/audit/v1beta3/audit.amino.d.ts +13 -0
- package/akash/audit/v1beta3/audit.amino.js +17 -0
- package/akash/audit/v1beta3/audit.d.ts +369 -0
- package/akash/audit/v1beta3/audit.js +661 -0
- package/akash/audit/v1beta3/audit.registry.d.ts +37 -0
- package/akash/audit/v1beta3/audit.registry.js +55 -0
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +16 -0
- package/akash/audit/v1beta3/audit.rpc.msg.js +28 -0
- package/akash/audit/v1beta3/genesis.d.ts +47 -0
- package/akash/audit/v1beta3/genesis.js +78 -0
- package/akash/audit/v1beta3/query.d.ts +278 -0
- package/akash/audit/v1beta3/query.js +484 -0
- package/akash/audit/v1beta3/query.lcd.d.ts +12 -0
- package/akash/audit/v1beta3/query.lcd.js +60 -0
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +44 -0
- package/akash/audit/v1beta3/query.rpc.Query.js +66 -0
- package/akash/base/attributes/v1/attribute.d.ts +185 -0
- package/akash/base/attributes/v1/attribute.js +260 -0
- package/akash/base/resources/v1beta4/cpu.d.ts +66 -0
- package/akash/base/resources/v1beta4/cpu.js +91 -0
- package/akash/base/resources/v1beta4/endpoint.d.ts +73 -0
- package/akash/base/resources/v1beta4/endpoint.js +130 -0
- package/akash/base/resources/v1beta4/gpu.d.ts +58 -0
- package/akash/base/resources/v1beta4/gpu.js +91 -0
- package/akash/base/resources/v1beta4/memory.d.ts +66 -0
- package/akash/base/resources/v1beta4/memory.js +91 -0
- package/akash/base/resources/v1beta4/resources.d.ts +108 -0
- package/akash/base/resources/v1beta4/resources.js +146 -0
- package/akash/base/resources/v1beta4/resourcevalue.d.ts +46 -0
- package/akash/base/resources/v1beta4/resourcevalue.js +75 -0
- package/akash/base/resources/v1beta4/storage.d.ts +74 -0
- package/akash/base/resources/v1beta4/storage.js +103 -0
- package/akash/base/v1beta3/attribute.d.ts +173 -0
- package/akash/base/v1beta3/attribute.js +260 -0
- package/akash/base/v1beta3/cpu.d.ts +50 -0
- package/akash/base/v1beta3/cpu.js +91 -0
- package/akash/base/v1beta3/endpoint.d.ts +61 -0
- package/akash/base/v1beta3/endpoint.js +130 -0
- package/akash/base/v1beta3/gpu.d.ts +50 -0
- package/akash/base/v1beta3/gpu.js +91 -0
- package/akash/base/v1beta3/memory.d.ts +50 -0
- package/akash/base/v1beta3/memory.js +91 -0
- package/akash/base/v1beta3/resources.d.ts +64 -0
- package/akash/base/v1beta3/resources.js +146 -0
- package/akash/base/v1beta3/resourcevalue.d.ts +46 -0
- package/akash/base/v1beta3/resourcevalue.js +75 -0
- package/akash/base/v1beta3/storage.d.ts +52 -0
- package/akash/base/v1beta3/storage.js +103 -0
- package/akash/bundle.d.ts +5068 -0
- package/akash/bundle.js +465 -0
- package/akash/cert/v1/cert.d.ts +154 -0
- package/akash/cert/v1/cert.js +225 -0
- package/akash/cert/v1/filters.d.ts +80 -0
- package/akash/cert/v1/filters.js +98 -0
- package/akash/cert/v1/genesis.d.ts +119 -0
- package/akash/cert/v1/genesis.js +159 -0
- package/akash/cert/v1/msg.d.ts +211 -0
- package/akash/cert/v1/msg.js +281 -0
- package/akash/cert/v1/query.d.ts +179 -0
- package/akash/cert/v1/query.js +254 -0
- package/akash/cert/v1/query.lcd.d.ts +9 -0
- package/akash/cert/v1/query.lcd.js +26 -0
- package/akash/cert/v1/query.rpc.Query.d.ts +16 -0
- package/akash/cert/v1/query.rpc.Query.js +29 -0
- package/akash/cert/v1/service.amino.d.ts +13 -0
- package/akash/cert/v1/service.amino.js +17 -0
- package/akash/cert/v1/service.d.ts +1 -0
- package/akash/cert/v1/service.js +2 -0
- package/akash/cert/v1/service.registry.d.ts +37 -0
- package/akash/cert/v1/service.registry.js +55 -0
- package/akash/cert/v1/service.rpc.msg.d.ts +16 -0
- package/akash/cert/v1/service.rpc.msg.js +28 -0
- package/akash/cert/v1beta3/cert.amino.d.ts +13 -0
- package/akash/cert/v1beta3/cert.amino.js +17 -0
- package/akash/cert/v1beta3/cert.d.ts +333 -0
- package/akash/cert/v1beta3/cert.js +591 -0
- package/akash/cert/v1beta3/cert.registry.d.ts +37 -0
- package/akash/cert/v1beta3/cert.registry.js +55 -0
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +16 -0
- package/akash/cert/v1beta3/cert.rpc.msg.js +28 -0
- package/akash/cert/v1beta3/genesis.d.ts +93 -0
- package/akash/cert/v1beta3/genesis.js +159 -0
- package/akash/cert/v1beta3/query.d.ts +142 -0
- package/akash/cert/v1beta3/query.js +253 -0
- package/akash/cert/v1beta3/query.lcd.d.ts +9 -0
- package/akash/cert/v1beta3/query.lcd.js +26 -0
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +16 -0
- package/akash/cert/v1beta3/query.rpc.Query.js +29 -0
- package/akash/client.d.ts +222 -0
- package/akash/client.js +97 -0
- package/akash/deployment/v1/authz.d.ts +58 -0
- package/akash/deployment/v1/authz.js +76 -0
- package/akash/deployment/v1/deployment.d.ts +162 -0
- package/akash/deployment/v1/deployment.js +237 -0
- package/akash/deployment/v1/event.d.ts +338 -0
- package/akash/deployment/v1/event.js +452 -0
- package/akash/deployment/v1/group.d.ts +89 -0
- package/akash/deployment/v1/group.js +101 -0
- package/akash/deployment/v1/msg.d.ts +122 -0
- package/akash/deployment/v1/msg.js +158 -0
- package/akash/deployment/v1beta3/authz.d.ts +58 -0
- package/akash/deployment/v1beta3/authz.js +76 -0
- package/akash/deployment/v1beta3/deployment.d.ts +159 -0
- package/akash/deployment/v1beta3/deployment.js +329 -0
- package/akash/deployment/v1beta3/deploymentmsg.d.ts +375 -0
- package/akash/deployment/v1beta3/deploymentmsg.js +596 -0
- package/akash/deployment/v1beta3/genesis.d.ts +97 -0
- package/akash/deployment/v1beta3/genesis.js +176 -0
- package/akash/deployment/v1beta3/group.d.ts +71 -0
- package/akash/deployment/v1beta3/group.js +170 -0
- package/akash/deployment/v1beta3/groupid.d.ts +50 -0
- package/akash/deployment/v1beta3/groupid.js +98 -0
- package/akash/deployment/v1beta3/groupmsg.d.ts +261 -0
- package/akash/deployment/v1beta3/groupmsg.js +381 -0
- package/akash/deployment/v1beta3/groupspec.d.ts +52 -0
- package/akash/deployment/v1beta3/groupspec.js +103 -0
- package/akash/deployment/v1beta3/params.d.ts +47 -0
- package/akash/deployment/v1beta3/params.js +78 -0
- package/akash/deployment/v1beta3/query.d.ts +279 -0
- package/akash/deployment/v1beta3/query.js +478 -0
- package/akash/deployment/v1beta3/query.lcd.d.ts +11 -0
- package/akash/deployment/v1beta3/query.lcd.js +48 -0
- package/akash/deployment/v1beta3/query.rpc.Query.d.ts +24 -0
- package/akash/deployment/v1beta3/query.rpc.Query.js +47 -0
- package/akash/deployment/v1beta3/resourceunit.d.ts +52 -0
- package/akash/deployment/v1beta3/resourceunit.js +100 -0
- package/akash/deployment/v1beta3/service.amino.d.ts +39 -0
- package/akash/deployment/v1beta3/service.amino.js +43 -0
- package/akash/deployment/v1beta3/service.d.ts +1 -0
- package/akash/deployment/v1beta3/service.js +2 -0
- package/akash/deployment/v1beta3/service.registry.d.ts +98 -0
- package/akash/deployment/v1beta3/service.registry.js +146 -0
- package/akash/deployment/v1beta3/service.rpc.msg.d.ts +32 -0
- package/akash/deployment/v1beta3/service.rpc.msg.js +59 -0
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +333 -0
- package/akash/deployment/v1beta4/deploymentmsg.js +447 -0
- package/akash/deployment/v1beta4/filters.d.ts +164 -0
- package/akash/deployment/v1beta4/filters.js +203 -0
- package/akash/deployment/v1beta4/genesis.d.ts +121 -0
- package/akash/deployment/v1beta4/genesis.js +176 -0
- package/akash/deployment/v1beta4/group.d.ts +95 -0
- package/akash/deployment/v1beta4/group.js +170 -0
- package/akash/deployment/v1beta4/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta4/groupmsg.js +381 -0
- package/akash/deployment/v1beta4/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta4/groupspec.js +104 -0
- package/akash/deployment/v1beta4/params.d.ts +53 -0
- package/akash/deployment/v1beta4/params.js +78 -0
- package/akash/deployment/v1beta4/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta4/paramsmsg.js +148 -0
- package/akash/deployment/v1beta4/query.d.ts +437 -0
- package/akash/deployment/v1beta4/query.js +605 -0
- package/akash/deployment/v1beta4/query.lcd.d.ts +12 -0
- package/akash/deployment/v1beta4/query.lcd.js +53 -0
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +28 -0
- package/akash/deployment/v1beta4/query.rpc.Query.js +56 -0
- package/akash/deployment/v1beta4/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta4/resourceunit.js +100 -0
- package/akash/deployment/v1beta4/service.amino.d.ts +46 -0
- package/akash/deployment/v1beta4/service.amino.js +50 -0
- package/akash/deployment/v1beta4/service.d.ts +1 -0
- package/akash/deployment/v1beta4/service.js +2 -0
- package/akash/deployment/v1beta4/service.registry.d.ts +112 -0
- package/akash/deployment/v1beta4/service.registry.js +166 -0
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +42 -0
- package/akash/deployment/v1beta4/service.rpc.msg.js +70 -0
- package/akash/discovery/v1/akash.d.ts +53 -0
- package/akash/discovery/v1/akash.js +75 -0
- package/akash/discovery/v1/client_info.d.ts +52 -0
- package/akash/discovery/v1/client_info.js +74 -0
- package/akash/escrow/v1/account.d.ts +147 -0
- package/akash/escrow/v1/account.js +211 -0
- package/akash/escrow/v1/accountid.d.ts +60 -0
- package/akash/escrow/v1/accountid.js +86 -0
- package/akash/escrow/v1/fractional_payment.d.ts +125 -0
- package/akash/escrow/v1/fractional_payment.js +199 -0
- package/akash/escrow/v1/genesis.d.ts +62 -0
- package/akash/escrow/v1/genesis.js +94 -0
- package/akash/escrow/v1/query.d.ts +309 -0
- package/akash/escrow/v1/query.js +422 -0
- package/akash/escrow/v1/query.lcd.d.ts +10 -0
- package/akash/escrow/v1/query.lcd.js +65 -0
- package/akash/escrow/v1/query.rpc.Query.d.ts +28 -0
- package/akash/escrow/v1/query.rpc.Query.js +42 -0
- package/akash/escrow/v1beta3/genesis.d.ts +49 -0
- package/akash/escrow/v1beta3/genesis.js +93 -0
- package/akash/escrow/v1beta3/query.d.ts +202 -0
- package/akash/escrow/v1beta3/query.js +421 -0
- package/akash/escrow/v1beta3/query.lcd.d.ts +10 -0
- package/akash/escrow/v1beta3/query.lcd.js +65 -0
- package/akash/escrow/v1beta3/query.rpc.Query.d.ts +28 -0
- package/akash/escrow/v1beta3/query.rpc.Query.js +42 -0
- package/akash/escrow/v1beta3/types.d.ts +247 -0
- package/akash/escrow/v1beta3/types.js +483 -0
- package/akash/lcd.d.ts +89 -0
- package/akash/lcd.js +193 -0
- package/akash/market/v1/bid.d.ts +109 -0
- package/akash/market/v1/bid.js +123 -0
- package/akash/market/v1/event.d.ts +340 -0
- package/akash/market/v1/event.js +453 -0
- package/akash/market/v1/filters.d.ts +114 -0
- package/akash/market/v1/filters.js +134 -0
- package/akash/market/v1/lease.d.ts +213 -0
- package/akash/market/v1/lease.js +294 -0
- package/akash/market/v1/order.d.ts +90 -0
- package/akash/market/v1/order.js +110 -0
- package/akash/market/v1beta4/bid.d.ts +412 -0
- package/akash/market/v1beta4/bid.js +816 -0
- package/akash/market/v1beta4/genesis.d.ts +56 -0
- package/akash/market/v1beta4/genesis.js +123 -0
- package/akash/market/v1beta4/lease.d.ts +435 -0
- package/akash/market/v1beta4/lease.js +796 -0
- package/akash/market/v1beta4/order.d.ts +170 -0
- package/akash/market/v1beta4/order.js +384 -0
- package/akash/market/v1beta4/params.d.ts +49 -0
- package/akash/market/v1beta4/params.js +87 -0
- package/akash/market/v1beta4/query.d.ts +551 -0
- package/akash/market/v1beta4/query.js +943 -0
- package/akash/market/v1beta4/query.lcd.d.ts +14 -0
- package/akash/market/v1beta4/query.lcd.js +87 -0
- package/akash/market/v1beta4/query.rpc.Query.d.ts +36 -0
- package/akash/market/v1beta4/query.rpc.Query.js +74 -0
- package/akash/market/v1beta4/service.amino.d.ts +29 -0
- package/akash/market/v1beta4/service.amino.js +33 -0
- package/akash/market/v1beta4/service.d.ts +1 -0
- package/akash/market/v1beta4/service.js +2 -0
- package/akash/market/v1beta4/service.registry.d.ts +74 -0
- package/akash/market/v1beta4/service.registry.js +111 -0
- package/akash/market/v1beta4/service.rpc.msg.d.ts +26 -0
- package/akash/market/v1beta4/service.rpc.msg.js +48 -0
- package/akash/market/v1beta5/bid.d.ts +106 -0
- package/akash/market/v1beta5/bid.js +186 -0
- package/akash/market/v1beta5/bidmsg.d.ts +230 -0
- package/akash/market/v1beta5/bidmsg.js +310 -0
- package/akash/market/v1beta5/filters.d.ts +210 -0
- package/akash/market/v1beta5/filters.js +251 -0
- package/akash/market/v1beta5/genesis.d.ts +80 -0
- package/akash/market/v1beta5/genesis.js +123 -0
- package/akash/market/v1beta5/leasemsg.d.ts +280 -0
- package/akash/market/v1beta5/leasemsg.js +382 -0
- package/akash/market/v1beta5/order.d.ts +75 -0
- package/akash/market/v1beta5/order.js +163 -0
- package/akash/market/v1beta5/params.d.ts +61 -0
- package/akash/market/v1beta5/params.js +87 -0
- package/akash/market/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/market/v1beta5/paramsmsg.js +148 -0
- package/akash/market/v1beta5/query.d.ts +769 -0
- package/akash/market/v1beta5/query.js +1074 -0
- package/akash/market/v1beta5/query.lcd.d.ts +15 -0
- package/akash/market/v1beta5/query.lcd.js +92 -0
- package/akash/market/v1beta5/query.rpc.Query.d.ts +40 -0
- package/akash/market/v1beta5/query.rpc.Query.js +83 -0
- package/akash/market/v1beta5/resourcesoffer.d.ts +64 -0
- package/akash/market/v1beta5/resourcesoffer.js +88 -0
- package/akash/market/v1beta5/service.amino.d.ts +35 -0
- package/akash/market/v1beta5/service.amino.js +39 -0
- package/akash/market/v1beta5/service.d.ts +1 -0
- package/akash/market/v1beta5/service.js +2 -0
- package/akash/market/v1beta5/service.registry.d.ts +87 -0
- package/akash/market/v1beta5/service.registry.js +129 -0
- package/akash/market/v1beta5/service.rpc.msg.d.ts +35 -0
- package/akash/market/v1beta5/service.rpc.msg.js +57 -0
- package/akash/provider/v1beta3/genesis.d.ts +47 -0
- package/akash/provider/v1beta3/genesis.js +78 -0
- package/akash/provider/v1beta3/provider.amino.d.ts +18 -0
- package/akash/provider/v1beta3/provider.amino.js +22 -0
- package/akash/provider/v1beta3/provider.d.ts +369 -0
- package/akash/provider/v1beta3/provider.js +648 -0
- package/akash/provider/v1beta3/provider.registry.d.ts +49 -0
- package/akash/provider/v1beta3/provider.registry.js +73 -0
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +19 -0
- package/akash/provider/v1beta3/provider.rpc.msg.js +34 -0
- package/akash/provider/v1beta3/query.d.ts +182 -0
- package/akash/provider/v1beta3/query.js +298 -0
- package/akash/provider/v1beta3/query.lcd.d.ts +10 -0
- package/akash/provider/v1beta3/query.lcd.js +30 -0
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +20 -0
- package/akash/provider/v1beta3/query.rpc.Query.js +40 -0
- package/akash/provider/v1beta4/event.d.ts +182 -0
- package/akash/provider/v1beta4/event.js +214 -0
- package/akash/provider/v1beta4/genesis.d.ts +53 -0
- package/akash/provider/v1beta4/genesis.js +78 -0
- package/akash/provider/v1beta4/msg.d.ts +308 -0
- package/akash/provider/v1beta4/msg.js +460 -0
- package/akash/provider/v1beta4/provider.d.ts +157 -0
- package/akash/provider/v1beta4/provider.js +199 -0
- package/akash/provider/v1beta4/query.d.ts +220 -0
- package/akash/provider/v1beta4/query.js +298 -0
- package/akash/provider/v1beta4/query.lcd.d.ts +10 -0
- package/akash/provider/v1beta4/query.lcd.js +30 -0
- package/akash/provider/v1beta4/query.rpc.Query.d.ts +20 -0
- package/akash/provider/v1beta4/query.rpc.Query.js +40 -0
- package/akash/provider/v1beta4/service.amino.d.ts +18 -0
- package/akash/provider/v1beta4/service.amino.js +22 -0
- package/akash/provider/v1beta4/service.d.ts +1 -0
- package/akash/provider/v1beta4/service.js +2 -0
- package/akash/provider/v1beta4/service.registry.d.ts +49 -0
- package/akash/provider/v1beta4/service.registry.js +73 -0
- package/akash/provider/v1beta4/service.rpc.msg.d.ts +19 -0
- package/akash/provider/v1beta4/service.rpc.msg.js +34 -0
- package/akash/rpc.query.d.ts +281 -0
- package/akash/rpc.query.js +135 -0
- package/akash/rpc.tx.d.ts +81 -0
- package/akash/rpc.tx.js +115 -0
- package/akash/take/v1/genesis.d.ts +53 -0
- package/akash/take/v1/genesis.js +75 -0
- package/akash/take/v1/params.d.ts +118 -0
- package/akash/take/v1/params.js +170 -0
- package/akash/take/v1/paramsmsg.d.ts +122 -0
- package/akash/take/v1/paramsmsg.js +148 -0
- package/akash/take/v1/query.d.ts +95 -0
- package/akash/take/v1/query.js +131 -0
- package/akash/take/v1/query.lcd.d.ts +9 -0
- package/akash/take/v1/query.lcd.js +15 -0
- package/akash/take/v1/query.rpc.Query.d.ts +16 -0
- package/akash/take/v1/query.rpc.Query.js +29 -0
- package/akash/take/v1/service.amino.d.ts +8 -0
- package/akash/take/v1/service.amino.js +12 -0
- package/akash/take/v1/service.d.ts +1 -0
- package/akash/take/v1/service.js +2 -0
- package/akash/take/v1/service.registry.d.ts +25 -0
- package/akash/take/v1/service.registry.js +37 -0
- package/akash/take/v1/service.rpc.msg.d.ts +18 -0
- package/akash/take/v1/service.rpc.msg.js +25 -0
- package/akash/take/v1beta3/genesis.d.ts +47 -0
- package/akash/take/v1beta3/genesis.js +75 -0
- package/akash/take/v1beta3/params.d.ts +100 -0
- package/akash/take/v1beta3/params.js +170 -0
- package/akash/take/v1beta3/query.d.ts +1 -0
- package/akash/take/v1beta3/query.js +2 -0
- package/akash/take/v1beta3/query.rpc.Query.d.ts +10 -0
- package/akash/take/v1beta3/query.rpc.Query.js +17 -0
- package/amino/bundle.js +2 -2
- package/cosmos/bundle.d.ts +7609 -7547
- package/cosmos/bundle.js +420 -412
- package/cosmos/client.d.ts +2 -2
- package/cosmos/crypto/bls12_381/keys.d.ts +106 -0
- package/cosmos/crypto/bls12_381/keys.js +162 -0
- package/cosmos/crypto/mldsa65/keys.d.ts +106 -0
- package/cosmos/crypto/mldsa65/keys.js +162 -0
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/audit/v1/audit.js +262 -0
- package/esm/akash/audit/v1/event.js +164 -0
- package/esm/akash/audit/v1/genesis.js +75 -0
- package/esm/akash/audit/v1/msg.js +307 -0
- package/esm/akash/audit/v1/query.js +481 -0
- package/esm/akash/audit/v1/query.lcd.js +56 -0
- package/esm/akash/audit/v1/query.rpc.Query.js +61 -0
- package/esm/akash/audit/v1/service.amino.js +14 -0
- package/esm/akash/audit/v1/service.js +1 -0
- package/esm/akash/audit/v1/service.registry.js +51 -0
- package/esm/akash/audit/v1/service.rpc.msg.js +23 -0
- package/esm/akash/audit/v1beta3/audit.amino.js +14 -0
- package/esm/akash/audit/v1beta3/audit.js +658 -0
- package/esm/akash/audit/v1beta3/audit.registry.js +51 -0
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +23 -0
- package/esm/akash/audit/v1beta3/genesis.js +75 -0
- package/esm/akash/audit/v1beta3/query.js +481 -0
- package/esm/akash/audit/v1beta3/query.lcd.js +56 -0
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +61 -0
- package/esm/akash/base/attributes/v1/attribute.js +257 -0
- package/esm/akash/base/resources/v1beta4/cpu.js +88 -0
- package/esm/akash/base/resources/v1beta4/endpoint.js +125 -0
- package/esm/akash/base/resources/v1beta4/gpu.js +88 -0
- package/esm/akash/base/resources/v1beta4/memory.js +88 -0
- package/esm/akash/base/resources/v1beta4/resources.js +143 -0
- package/esm/akash/base/resources/v1beta4/resourcevalue.js +72 -0
- package/esm/akash/base/resources/v1beta4/storage.js +100 -0
- package/esm/akash/base/v1beta3/attribute.js +257 -0
- package/esm/akash/base/v1beta3/cpu.js +88 -0
- package/esm/akash/base/v1beta3/endpoint.js +125 -0
- package/esm/akash/base/v1beta3/gpu.js +88 -0
- package/esm/akash/base/v1beta3/memory.js +88 -0
- package/esm/akash/base/v1beta3/resources.js +143 -0
- package/esm/akash/base/v1beta3/resourcevalue.js +72 -0
- package/esm/akash/base/v1beta3/storage.js +100 -0
- package/esm/akash/bundle.js +429 -0
- package/esm/akash/cert/v1/cert.js +220 -0
- package/esm/akash/cert/v1/filters.js +95 -0
- package/esm/akash/cert/v1/genesis.js +156 -0
- package/esm/akash/cert/v1/msg.js +278 -0
- package/esm/akash/cert/v1/query.js +251 -0
- package/esm/akash/cert/v1/query.lcd.js +22 -0
- package/esm/akash/cert/v1/query.rpc.Query.js +24 -0
- package/esm/akash/cert/v1/service.amino.js +14 -0
- package/esm/akash/cert/v1/service.js +1 -0
- package/esm/akash/cert/v1/service.registry.js +51 -0
- package/esm/akash/cert/v1/service.rpc.msg.js +23 -0
- package/esm/akash/cert/v1beta3/cert.amino.js +14 -0
- package/esm/akash/cert/v1beta3/cert.js +586 -0
- package/esm/akash/cert/v1beta3/cert.registry.js +51 -0
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +23 -0
- package/esm/akash/cert/v1beta3/genesis.js +156 -0
- package/esm/akash/cert/v1beta3/query.js +250 -0
- package/esm/akash/cert/v1beta3/query.lcd.js +22 -0
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +24 -0
- package/esm/akash/client.js +59 -0
- package/esm/akash/deployment/v1/authz.js +73 -0
- package/esm/akash/deployment/v1/deployment.js +232 -0
- package/esm/akash/deployment/v1/event.js +449 -0
- package/esm/akash/deployment/v1/group.js +98 -0
- package/esm/akash/deployment/v1/msg.js +155 -0
- package/esm/akash/deployment/v1beta3/authz.js +73 -0
- package/esm/akash/deployment/v1beta3/deployment.js +324 -0
- package/esm/akash/deployment/v1beta3/deploymentmsg.js +593 -0
- package/esm/akash/deployment/v1beta3/genesis.js +173 -0
- package/esm/akash/deployment/v1beta3/group.js +165 -0
- package/esm/akash/deployment/v1beta3/groupid.js +95 -0
- package/esm/akash/deployment/v1beta3/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta3/groupspec.js +100 -0
- package/esm/akash/deployment/v1beta3/params.js +75 -0
- package/esm/akash/deployment/v1beta3/query.js +475 -0
- package/esm/akash/deployment/v1beta3/query.lcd.js +44 -0
- package/esm/akash/deployment/v1beta3/query.rpc.Query.js +42 -0
- package/esm/akash/deployment/v1beta3/resourceunit.js +97 -0
- package/esm/akash/deployment/v1beta3/service.amino.js +40 -0
- package/esm/akash/deployment/v1beta3/service.js +1 -0
- package/esm/akash/deployment/v1beta3/service.registry.js +142 -0
- package/esm/akash/deployment/v1beta3/service.rpc.msg.js +54 -0
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +444 -0
- package/esm/akash/deployment/v1beta4/filters.js +200 -0
- package/esm/akash/deployment/v1beta4/genesis.js +173 -0
- package/esm/akash/deployment/v1beta4/group.js +165 -0
- package/esm/akash/deployment/v1beta4/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta4/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta4/params.js +75 -0
- package/esm/akash/deployment/v1beta4/paramsmsg.js +145 -0
- package/esm/akash/deployment/v1beta4/query.js +602 -0
- package/esm/akash/deployment/v1beta4/query.lcd.js +49 -0
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +51 -0
- package/esm/akash/deployment/v1beta4/resourceunit.js +97 -0
- package/esm/akash/deployment/v1beta4/service.amino.js +47 -0
- package/esm/akash/deployment/v1beta4/service.js +1 -0
- package/esm/akash/deployment/v1beta4/service.registry.js +162 -0
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +65 -0
- package/esm/akash/discovery/v1/akash.js +72 -0
- package/esm/akash/discovery/v1/client_info.js +71 -0
- package/esm/akash/escrow/v1/account.js +206 -0
- package/esm/akash/escrow/v1/accountid.js +83 -0
- package/esm/akash/escrow/v1/fractional_payment.js +194 -0
- package/esm/akash/escrow/v1/genesis.js +91 -0
- package/esm/akash/escrow/v1/query.js +419 -0
- package/esm/akash/escrow/v1/query.lcd.js +61 -0
- package/esm/akash/escrow/v1/query.rpc.Query.js +37 -0
- package/esm/akash/escrow/v1beta3/genesis.js +90 -0
- package/esm/akash/escrow/v1beta3/query.js +418 -0
- package/esm/akash/escrow/v1beta3/query.lcd.js +61 -0
- package/esm/akash/escrow/v1beta3/query.rpc.Query.js +37 -0
- package/esm/akash/escrow/v1beta3/types.js +476 -0
- package/esm/akash/lcd.js +156 -0
- package/esm/akash/market/v1/bid.js +120 -0
- package/esm/akash/market/v1/event.js +450 -0
- package/esm/akash/market/v1/filters.js +131 -0
- package/esm/akash/market/v1/lease.js +289 -0
- package/esm/akash/market/v1/order.js +107 -0
- package/esm/akash/market/v1beta4/bid.js +811 -0
- package/esm/akash/market/v1beta4/genesis.js +120 -0
- package/esm/akash/market/v1beta4/lease.js +791 -0
- package/esm/akash/market/v1beta4/order.js +379 -0
- package/esm/akash/market/v1beta4/params.js +84 -0
- package/esm/akash/market/v1beta4/query.js +940 -0
- package/esm/akash/market/v1beta4/query.lcd.js +83 -0
- package/esm/akash/market/v1beta4/query.rpc.Query.js +69 -0
- package/esm/akash/market/v1beta4/service.amino.js +30 -0
- package/esm/akash/market/v1beta4/service.js +1 -0
- package/esm/akash/market/v1beta4/service.registry.js +107 -0
- package/esm/akash/market/v1beta4/service.rpc.msg.js +43 -0
- package/esm/akash/market/v1beta5/bid.js +181 -0
- package/esm/akash/market/v1beta5/bidmsg.js +307 -0
- package/esm/akash/market/v1beta5/filters.js +248 -0
- package/esm/akash/market/v1beta5/genesis.js +120 -0
- package/esm/akash/market/v1beta5/leasemsg.js +379 -0
- package/esm/akash/market/v1beta5/order.js +158 -0
- package/esm/akash/market/v1beta5/params.js +84 -0
- package/esm/akash/market/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/market/v1beta5/query.js +1071 -0
- package/esm/akash/market/v1beta5/query.lcd.js +88 -0
- package/esm/akash/market/v1beta5/query.rpc.Query.js +78 -0
- package/esm/akash/market/v1beta5/resourcesoffer.js +85 -0
- package/esm/akash/market/v1beta5/service.amino.js +36 -0
- package/esm/akash/market/v1beta5/service.js +1 -0
- package/esm/akash/market/v1beta5/service.registry.js +125 -0
- package/esm/akash/market/v1beta5/service.rpc.msg.js +52 -0
- package/esm/akash/provider/v1beta3/genesis.js +75 -0
- package/esm/akash/provider/v1beta3/provider.amino.js +19 -0
- package/esm/akash/provider/v1beta3/provider.js +645 -0
- package/esm/akash/provider/v1beta3/provider.registry.js +69 -0
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +29 -0
- package/esm/akash/provider/v1beta3/query.js +295 -0
- package/esm/akash/provider/v1beta3/query.lcd.js +26 -0
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +35 -0
- package/esm/akash/provider/v1beta4/event.js +211 -0
- package/esm/akash/provider/v1beta4/genesis.js +75 -0
- package/esm/akash/provider/v1beta4/msg.js +457 -0
- package/esm/akash/provider/v1beta4/provider.js +196 -0
- package/esm/akash/provider/v1beta4/query.js +295 -0
- package/esm/akash/provider/v1beta4/query.lcd.js +26 -0
- package/esm/akash/provider/v1beta4/query.rpc.Query.js +35 -0
- package/esm/akash/provider/v1beta4/service.amino.js +19 -0
- package/esm/akash/provider/v1beta4/service.js +1 -0
- package/esm/akash/provider/v1beta4/service.registry.js +69 -0
- package/esm/akash/provider/v1beta4/service.rpc.msg.js +29 -0
- package/esm/akash/rpc.query.js +98 -0
- package/esm/akash/rpc.tx.js +78 -0
- package/esm/akash/take/v1/genesis.js +72 -0
- package/esm/akash/take/v1/params.js +167 -0
- package/esm/akash/take/v1/paramsmsg.js +145 -0
- package/esm/akash/take/v1/query.js +128 -0
- package/esm/akash/take/v1/query.lcd.js +11 -0
- package/esm/akash/take/v1/query.rpc.Query.js +24 -0
- package/esm/akash/take/v1/service.amino.js +9 -0
- package/esm/akash/take/v1/service.js +1 -0
- package/esm/akash/take/v1/service.registry.js +33 -0
- package/esm/akash/take/v1/service.rpc.msg.js +20 -0
- package/esm/akash/take/v1beta3/genesis.js +72 -0
- package/esm/akash/take/v1beta3/params.js +167 -0
- package/esm/akash/take/v1beta3/query.js +1 -0
- package/esm/akash/take/v1beta3/query.rpc.Query.js +12 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/bundle.js +420 -412
- package/esm/cosmos/crypto/bls12_381/keys.js +159 -0
- package/esm/cosmos/crypto/mldsa65/keys.js +159 -0
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/google/protobuf/any.js +22 -77
- package/esm/google/protobuf/descriptor.js +135 -1
- package/esm/google/protobuf/timestamp.js +2 -2
- package/esm/ibc/applications/gmp/v1/account.js +271 -0
- package/esm/ibc/applications/gmp/v1/genesis.js +170 -0
- package/esm/ibc/applications/gmp/v1/packet.js +203 -0
- package/esm/ibc/applications/gmp/v1/query.js +331 -0
- package/esm/ibc/applications/gmp/v1/query.lcd.js +23 -0
- package/esm/ibc/applications/gmp/v1/query.rpc.Query.js +34 -0
- package/esm/ibc/applications/gmp/v1/tx.amino.js +9 -0
- package/esm/ibc/applications/gmp/v1/tx.js +239 -0
- package/esm/ibc/applications/gmp/v1/tx.registry.js +33 -0
- package/esm/ibc/applications/gmp/v1/tx.rpc.msg.js +17 -0
- package/esm/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
- package/esm/ibc/applications/rate_limiting/v1/genesis.js +16 -1
- package/esm/ibc/bundle.js +244 -212
- package/esm/ibc/client.js +4 -1
- package/esm/ibc/lcd.js +5 -0
- package/esm/ibc/lightclients/attestations/v1/attestations.js +288 -0
- package/esm/ibc/rpc.query.js +3 -0
- package/esm/ibc/rpc.tx.js +3 -0
- package/esm/index.js +2 -0
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/sparkdream/collect/v1/query.js +165 -0
- package/esm/sparkdream/collect/v1/query.lcd.js +11 -0
- package/esm/sparkdream/collect/v1/query.rpc.Query.js +10 -1
- package/esm/sparkdream/rep/v1/query.js +13 -34
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +434 -418
- package/google/bundle.js +8 -8
- package/google/protobuf/any.d.ts +133 -296
- package/google/protobuf/any.js +22 -77
- package/google/protobuf/descriptor.d.ts +106 -0
- package/google/protobuf/descriptor.js +139 -3
- package/google/protobuf/timestamp.d.ts +13 -12
- package/google/protobuf/timestamp.js +2 -2
- package/ibc/applications/gmp/v1/account.d.ts +165 -0
- package/ibc/applications/gmp/v1/account.js +274 -0
- package/ibc/applications/gmp/v1/genesis.d.ts +115 -0
- package/ibc/applications/gmp/v1/genesis.js +173 -0
- package/ibc/applications/gmp/v1/packet.d.ts +138 -0
- package/ibc/applications/gmp/v1/packet.js +206 -0
- package/ibc/applications/gmp/v1/query.d.ts +215 -0
- package/ibc/applications/gmp/v1/query.js +334 -0
- package/ibc/applications/gmp/v1/query.lcd.d.ts +10 -0
- package/ibc/applications/gmp/v1/query.lcd.js +27 -0
- package/ibc/applications/gmp/v1/query.rpc.Query.d.ts +23 -0
- package/ibc/applications/gmp/v1/query.rpc.Query.js +39 -0
- package/ibc/applications/gmp/v1/tx.amino.d.ts +8 -0
- package/ibc/applications/gmp/v1/tx.amino.js +12 -0
- package/ibc/applications/gmp/v1/tx.d.ts +162 -0
- package/ibc/applications/gmp/v1/tx.js +242 -0
- package/ibc/applications/gmp/v1/tx.registry.d.ts +25 -0
- package/ibc/applications/gmp/v1/tx.registry.js +37 -0
- package/ibc/applications/gmp/v1/tx.rpc.msg.d.ts +13 -0
- package/ibc/applications/gmp/v1/tx.rpc.msg.js +22 -0
- package/ibc/applications/packet_forward_middleware/v1/genesis.d.ts +0 -2
- package/ibc/applications/packet_forward_middleware/v1/genesis.js +1 -13
- package/ibc/applications/rate_limiting/v1/genesis.d.ts +2 -0
- package/ibc/applications/rate_limiting/v1/genesis.js +16 -1
- package/ibc/bundle.d.ts +3971 -3681
- package/ibc/bundle.js +244 -212
- package/ibc/client.d.ts +7 -2
- package/ibc/client.js +4 -1
- package/ibc/lcd.d.ts +3 -0
- package/ibc/lcd.js +5 -0
- package/ibc/lightclients/attestations/v1/attestations.d.ts +199 -0
- package/ibc/lightclients/attestations/v1/attestations.js +291 -0
- package/ibc/rpc.query.d.ts +6 -0
- package/ibc/rpc.query.js +3 -0
- package/ibc/rpc.tx.d.ts +3 -0
- package/ibc/rpc.tx.js +3 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +8 -5
- package/sparkdream/bundle.d.ts +17396 -17370
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/client.d.ts +2 -2
- package/sparkdream/collect/v1/query.d.ts +92 -0
- package/sparkdream/collect/v1/query.js +167 -1
- package/sparkdream/collect/v1/query.lcd.d.ts +2 -1
- package/sparkdream/collect/v1/query.lcd.js +11 -0
- package/sparkdream/collect/v1/query.rpc.Query.d.ts +5 -1
- package/sparkdream/collect/v1/query.rpc.Query.js +9 -0
- package/sparkdream/rep/v1/query.d.ts +2 -6
- package/sparkdream/rep/v1/query.js +13 -34
- package/sparkdream/rpc.query.d.ts +1 -0
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/** State is an enum which refers to state of lease. */
|
|
5
|
+
export declare enum Lease_State {
|
|
6
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
7
|
+
invalid = 0,
|
|
8
|
+
/** active - LeaseActive denotes state for lease active. */
|
|
9
|
+
active = 1,
|
|
10
|
+
/** insufficient_funds - LeaseInsufficientFunds denotes state for lease insufficient_funds. */
|
|
11
|
+
insufficient_funds = 2,
|
|
12
|
+
/** closed - LeaseClosed denotes state for lease closed. */
|
|
13
|
+
closed = 3,
|
|
14
|
+
UNRECOGNIZED = -1
|
|
15
|
+
}
|
|
16
|
+
export declare const Lease_StateAmino: typeof Lease_State;
|
|
17
|
+
export declare function lease_StateFromJSON(object: any): Lease_State;
|
|
18
|
+
export declare function lease_StateToJSON(object: Lease_State): string;
|
|
19
|
+
/**
|
|
20
|
+
* LeaseID stores bid details of lease.
|
|
21
|
+
* @name LeaseID
|
|
22
|
+
* @package akash.market.v1
|
|
23
|
+
* @see proto type: akash.market.v1.LeaseID
|
|
24
|
+
*/
|
|
25
|
+
export interface LeaseID {
|
|
26
|
+
/**
|
|
27
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
28
|
+
* It is a string representing a valid bech32 account address.
|
|
29
|
+
*
|
|
30
|
+
* Example:
|
|
31
|
+
* "akash1..."
|
|
32
|
+
*/
|
|
33
|
+
owner: string;
|
|
34
|
+
/**
|
|
35
|
+
* Dseq (deployment sequence number) is a unique numeric identifier for the deployment.
|
|
36
|
+
* It is used to differentiate deployments created by the same owner.
|
|
37
|
+
*/
|
|
38
|
+
dseq: bigint;
|
|
39
|
+
/**
|
|
40
|
+
* Gseq (group sequence number) is a unique numeric identifier for the group.
|
|
41
|
+
* It is used to differentiate groups created by the same owner in a deployment.
|
|
42
|
+
*/
|
|
43
|
+
gseq: number;
|
|
44
|
+
/**
|
|
45
|
+
* Oseq (order sequence) distinguishes multiple orders associated with a single deployment.
|
|
46
|
+
* Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.
|
|
47
|
+
*/
|
|
48
|
+
oseq: number;
|
|
49
|
+
/**
|
|
50
|
+
* Provider is the account bech32 address of the provider making the bid.
|
|
51
|
+
* It is a string representing a valid account bech32 address.
|
|
52
|
+
*
|
|
53
|
+
* Example:
|
|
54
|
+
* "akash1..."
|
|
55
|
+
*/
|
|
56
|
+
provider: string;
|
|
57
|
+
}
|
|
58
|
+
export interface LeaseIDProtoMsg {
|
|
59
|
+
typeUrl: "/akash.market.v1.LeaseID";
|
|
60
|
+
value: Uint8Array;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* LeaseID stores bid details of lease.
|
|
64
|
+
* @name LeaseIDAmino
|
|
65
|
+
* @package akash.market.v1
|
|
66
|
+
* @see proto type: akash.market.v1.LeaseID
|
|
67
|
+
*/
|
|
68
|
+
export interface LeaseIDAmino {
|
|
69
|
+
/**
|
|
70
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
71
|
+
* It is a string representing a valid bech32 account address.
|
|
72
|
+
*
|
|
73
|
+
* Example:
|
|
74
|
+
* "akash1..."
|
|
75
|
+
*/
|
|
76
|
+
owner: string;
|
|
77
|
+
/**
|
|
78
|
+
* Dseq (deployment sequence number) is a unique numeric identifier for the deployment.
|
|
79
|
+
* It is used to differentiate deployments created by the same owner.
|
|
80
|
+
*/
|
|
81
|
+
dseq: string;
|
|
82
|
+
/**
|
|
83
|
+
* Gseq (group sequence number) is a unique numeric identifier for the group.
|
|
84
|
+
* It is used to differentiate groups created by the same owner in a deployment.
|
|
85
|
+
*/
|
|
86
|
+
gseq: number;
|
|
87
|
+
/**
|
|
88
|
+
* Oseq (order sequence) distinguishes multiple orders associated with a single deployment.
|
|
89
|
+
* Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.
|
|
90
|
+
*/
|
|
91
|
+
oseq: number;
|
|
92
|
+
/**
|
|
93
|
+
* Provider is the account bech32 address of the provider making the bid.
|
|
94
|
+
* It is a string representing a valid account bech32 address.
|
|
95
|
+
*
|
|
96
|
+
* Example:
|
|
97
|
+
* "akash1..."
|
|
98
|
+
*/
|
|
99
|
+
provider: string;
|
|
100
|
+
}
|
|
101
|
+
export interface LeaseIDAminoMsg {
|
|
102
|
+
type: "/akash.market.v1.LeaseID";
|
|
103
|
+
value: LeaseIDAmino;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Lease stores LeaseID, state of lease and price.
|
|
107
|
+
* The Lease defines the terms under which the provider allocates resources to fulfill
|
|
108
|
+
* the tenant's deployment requirements.
|
|
109
|
+
* Leases are paid from the tenant to the provider through a deposit and withdraw mechanism and are priced in blocks.
|
|
110
|
+
* @name Lease
|
|
111
|
+
* @package akash.market.v1
|
|
112
|
+
* @see proto type: akash.market.v1.Lease
|
|
113
|
+
*/
|
|
114
|
+
export interface Lease {
|
|
115
|
+
/**
|
|
116
|
+
* Id is the unique identifier of the Lease.
|
|
117
|
+
*/
|
|
118
|
+
id: LeaseID;
|
|
119
|
+
/**
|
|
120
|
+
* State represents the state of the Lease.
|
|
121
|
+
*/
|
|
122
|
+
state: Lease_State;
|
|
123
|
+
/**
|
|
124
|
+
* Price holds the settled price for the Lease.
|
|
125
|
+
*/
|
|
126
|
+
price: DecCoin;
|
|
127
|
+
/**
|
|
128
|
+
* CreatedAt is the block height at which the Lease was created.
|
|
129
|
+
*/
|
|
130
|
+
createdAt: bigint;
|
|
131
|
+
/**
|
|
132
|
+
* ClosedOn is the block height at which the Lease was closed.
|
|
133
|
+
*/
|
|
134
|
+
closedOn: bigint;
|
|
135
|
+
}
|
|
136
|
+
export interface LeaseProtoMsg {
|
|
137
|
+
typeUrl: "/akash.market.v1.Lease";
|
|
138
|
+
value: Uint8Array;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Lease stores LeaseID, state of lease and price.
|
|
142
|
+
* The Lease defines the terms under which the provider allocates resources to fulfill
|
|
143
|
+
* the tenant's deployment requirements.
|
|
144
|
+
* Leases are paid from the tenant to the provider through a deposit and withdraw mechanism and are priced in blocks.
|
|
145
|
+
* @name LeaseAmino
|
|
146
|
+
* @package akash.market.v1
|
|
147
|
+
* @see proto type: akash.market.v1.Lease
|
|
148
|
+
*/
|
|
149
|
+
export interface LeaseAmino {
|
|
150
|
+
/**
|
|
151
|
+
* Id is the unique identifier of the Lease.
|
|
152
|
+
*/
|
|
153
|
+
id: LeaseIDAmino;
|
|
154
|
+
/**
|
|
155
|
+
* State represents the state of the Lease.
|
|
156
|
+
*/
|
|
157
|
+
state: Lease_State;
|
|
158
|
+
/**
|
|
159
|
+
* Price holds the settled price for the Lease.
|
|
160
|
+
*/
|
|
161
|
+
price: DecCoinAmino;
|
|
162
|
+
/**
|
|
163
|
+
* CreatedAt is the block height at which the Lease was created.
|
|
164
|
+
*/
|
|
165
|
+
created_at: string;
|
|
166
|
+
/**
|
|
167
|
+
* ClosedOn is the block height at which the Lease was closed.
|
|
168
|
+
*/
|
|
169
|
+
closed_on: string;
|
|
170
|
+
}
|
|
171
|
+
export interface LeaseAminoMsg {
|
|
172
|
+
type: "/akash.market.v1.Lease";
|
|
173
|
+
value: LeaseAmino;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* LeaseID stores bid details of lease.
|
|
177
|
+
* @name LeaseID
|
|
178
|
+
* @package akash.market.v1
|
|
179
|
+
* @see proto type: akash.market.v1.LeaseID
|
|
180
|
+
*/
|
|
181
|
+
export declare const LeaseID: {
|
|
182
|
+
typeUrl: string;
|
|
183
|
+
encode(message: LeaseID, writer?: BinaryWriter): BinaryWriter;
|
|
184
|
+
decode(input: BinaryReader | Uint8Array, length?: number): LeaseID;
|
|
185
|
+
fromPartial(object: DeepPartial<LeaseID>): LeaseID;
|
|
186
|
+
fromAmino(object: LeaseIDAmino): LeaseID;
|
|
187
|
+
toAmino(message: LeaseID): LeaseIDAmino;
|
|
188
|
+
fromAminoMsg(object: LeaseIDAminoMsg): LeaseID;
|
|
189
|
+
fromProtoMsg(message: LeaseIDProtoMsg): LeaseID;
|
|
190
|
+
toProto(message: LeaseID): Uint8Array;
|
|
191
|
+
toProtoMsg(message: LeaseID): LeaseIDProtoMsg;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Lease stores LeaseID, state of lease and price.
|
|
195
|
+
* The Lease defines the terms under which the provider allocates resources to fulfill
|
|
196
|
+
* the tenant's deployment requirements.
|
|
197
|
+
* Leases are paid from the tenant to the provider through a deposit and withdraw mechanism and are priced in blocks.
|
|
198
|
+
* @name Lease
|
|
199
|
+
* @package akash.market.v1
|
|
200
|
+
* @see proto type: akash.market.v1.Lease
|
|
201
|
+
*/
|
|
202
|
+
export declare const Lease: {
|
|
203
|
+
typeUrl: string;
|
|
204
|
+
encode(message: Lease, writer?: BinaryWriter): BinaryWriter;
|
|
205
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Lease;
|
|
206
|
+
fromPartial(object: DeepPartial<Lease>): Lease;
|
|
207
|
+
fromAmino(object: LeaseAmino): Lease;
|
|
208
|
+
toAmino(message: Lease): LeaseAmino;
|
|
209
|
+
fromAminoMsg(object: LeaseAminoMsg): Lease;
|
|
210
|
+
fromProtoMsg(message: LeaseProtoMsg): Lease;
|
|
211
|
+
toProto(message: Lease): Uint8Array;
|
|
212
|
+
toProtoMsg(message: Lease): LeaseProtoMsg;
|
|
213
|
+
};
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Lease = exports.LeaseID = exports.Lease_StateAmino = exports.Lease_State = void 0;
|
|
4
|
+
exports.lease_StateFromJSON = lease_StateFromJSON;
|
|
5
|
+
exports.lease_StateToJSON = lease_StateToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
8
|
+
const binary_1 = require("../../../binary");
|
|
9
|
+
/** State is an enum which refers to state of lease. */
|
|
10
|
+
var Lease_State;
|
|
11
|
+
(function (Lease_State) {
|
|
12
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
13
|
+
Lease_State[Lease_State["invalid"] = 0] = "invalid";
|
|
14
|
+
/** active - LeaseActive denotes state for lease active. */
|
|
15
|
+
Lease_State[Lease_State["active"] = 1] = "active";
|
|
16
|
+
/** insufficient_funds - LeaseInsufficientFunds denotes state for lease insufficient_funds. */
|
|
17
|
+
Lease_State[Lease_State["insufficient_funds"] = 2] = "insufficient_funds";
|
|
18
|
+
/** closed - LeaseClosed denotes state for lease closed. */
|
|
19
|
+
Lease_State[Lease_State["closed"] = 3] = "closed";
|
|
20
|
+
Lease_State[Lease_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
|
+
})(Lease_State || (exports.Lease_State = Lease_State = {}));
|
|
22
|
+
exports.Lease_StateAmino = Lease_State;
|
|
23
|
+
function lease_StateFromJSON(object) {
|
|
24
|
+
switch (object) {
|
|
25
|
+
case 0:
|
|
26
|
+
case "invalid":
|
|
27
|
+
return Lease_State.invalid;
|
|
28
|
+
case 1:
|
|
29
|
+
case "active":
|
|
30
|
+
return Lease_State.active;
|
|
31
|
+
case 2:
|
|
32
|
+
case "insufficient_funds":
|
|
33
|
+
return Lease_State.insufficient_funds;
|
|
34
|
+
case 3:
|
|
35
|
+
case "closed":
|
|
36
|
+
return Lease_State.closed;
|
|
37
|
+
case -1:
|
|
38
|
+
case "UNRECOGNIZED":
|
|
39
|
+
default:
|
|
40
|
+
return Lease_State.UNRECOGNIZED;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function lease_StateToJSON(object) {
|
|
44
|
+
switch (object) {
|
|
45
|
+
case Lease_State.invalid:
|
|
46
|
+
return "invalid";
|
|
47
|
+
case Lease_State.active:
|
|
48
|
+
return "active";
|
|
49
|
+
case Lease_State.insufficient_funds:
|
|
50
|
+
return "insufficient_funds";
|
|
51
|
+
case Lease_State.closed:
|
|
52
|
+
return "closed";
|
|
53
|
+
case Lease_State.UNRECOGNIZED:
|
|
54
|
+
default:
|
|
55
|
+
return "UNRECOGNIZED";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function createBaseLeaseID() {
|
|
59
|
+
return {
|
|
60
|
+
owner: "",
|
|
61
|
+
dseq: BigInt(0),
|
|
62
|
+
gseq: 0,
|
|
63
|
+
oseq: 0,
|
|
64
|
+
provider: ""
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* LeaseID stores bid details of lease.
|
|
69
|
+
* @name LeaseID
|
|
70
|
+
* @package akash.market.v1
|
|
71
|
+
* @see proto type: akash.market.v1.LeaseID
|
|
72
|
+
*/
|
|
73
|
+
exports.LeaseID = {
|
|
74
|
+
typeUrl: "/akash.market.v1.LeaseID",
|
|
75
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
76
|
+
if (message.owner !== "") {
|
|
77
|
+
writer.uint32(10).string(message.owner);
|
|
78
|
+
}
|
|
79
|
+
if (message.dseq !== BigInt(0)) {
|
|
80
|
+
writer.uint32(16).uint64(message.dseq);
|
|
81
|
+
}
|
|
82
|
+
if (message.gseq !== 0) {
|
|
83
|
+
writer.uint32(24).uint32(message.gseq);
|
|
84
|
+
}
|
|
85
|
+
if (message.oseq !== 0) {
|
|
86
|
+
writer.uint32(32).uint32(message.oseq);
|
|
87
|
+
}
|
|
88
|
+
if (message.provider !== "") {
|
|
89
|
+
writer.uint32(42).string(message.provider);
|
|
90
|
+
}
|
|
91
|
+
return writer;
|
|
92
|
+
},
|
|
93
|
+
decode(input, length) {
|
|
94
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
95
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
96
|
+
const message = createBaseLeaseID();
|
|
97
|
+
while (reader.pos < end) {
|
|
98
|
+
const tag = reader.uint32();
|
|
99
|
+
switch (tag >>> 3) {
|
|
100
|
+
case 1:
|
|
101
|
+
message.owner = reader.string();
|
|
102
|
+
break;
|
|
103
|
+
case 2:
|
|
104
|
+
message.dseq = reader.uint64();
|
|
105
|
+
break;
|
|
106
|
+
case 3:
|
|
107
|
+
message.gseq = reader.uint32();
|
|
108
|
+
break;
|
|
109
|
+
case 4:
|
|
110
|
+
message.oseq = reader.uint32();
|
|
111
|
+
break;
|
|
112
|
+
case 5:
|
|
113
|
+
message.provider = reader.string();
|
|
114
|
+
break;
|
|
115
|
+
default:
|
|
116
|
+
reader.skipType(tag & 7);
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
fromPartial(object) {
|
|
123
|
+
const message = createBaseLeaseID();
|
|
124
|
+
message.owner = object.owner ?? "";
|
|
125
|
+
message.dseq = object.dseq !== undefined && object.dseq !== null ? BigInt(object.dseq.toString()) : BigInt(0);
|
|
126
|
+
message.gseq = object.gseq ?? 0;
|
|
127
|
+
message.oseq = object.oseq ?? 0;
|
|
128
|
+
message.provider = object.provider ?? "";
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
fromAmino(object) {
|
|
132
|
+
const message = createBaseLeaseID();
|
|
133
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
134
|
+
message.owner = object.owner;
|
|
135
|
+
}
|
|
136
|
+
if (object.dseq !== undefined && object.dseq !== null) {
|
|
137
|
+
message.dseq = BigInt(object.dseq);
|
|
138
|
+
}
|
|
139
|
+
if (object.gseq !== undefined && object.gseq !== null) {
|
|
140
|
+
message.gseq = object.gseq;
|
|
141
|
+
}
|
|
142
|
+
if (object.oseq !== undefined && object.oseq !== null) {
|
|
143
|
+
message.oseq = object.oseq;
|
|
144
|
+
}
|
|
145
|
+
if (object.provider !== undefined && object.provider !== null) {
|
|
146
|
+
message.provider = object.provider;
|
|
147
|
+
}
|
|
148
|
+
return message;
|
|
149
|
+
},
|
|
150
|
+
toAmino(message) {
|
|
151
|
+
const obj = {};
|
|
152
|
+
obj.owner = message.owner ?? "";
|
|
153
|
+
obj.dseq = message.dseq ? message.dseq?.toString() : "0";
|
|
154
|
+
obj.gseq = message.gseq ?? 0;
|
|
155
|
+
obj.oseq = message.oseq ?? 0;
|
|
156
|
+
obj.provider = message.provider ?? "";
|
|
157
|
+
return obj;
|
|
158
|
+
},
|
|
159
|
+
fromAminoMsg(object) {
|
|
160
|
+
return exports.LeaseID.fromAmino(object.value);
|
|
161
|
+
},
|
|
162
|
+
fromProtoMsg(message) {
|
|
163
|
+
return exports.LeaseID.decode(message.value);
|
|
164
|
+
},
|
|
165
|
+
toProto(message) {
|
|
166
|
+
return exports.LeaseID.encode(message).finish();
|
|
167
|
+
},
|
|
168
|
+
toProtoMsg(message) {
|
|
169
|
+
return {
|
|
170
|
+
typeUrl: "/akash.market.v1.LeaseID",
|
|
171
|
+
value: exports.LeaseID.encode(message).finish()
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
function createBaseLease() {
|
|
176
|
+
return {
|
|
177
|
+
id: exports.LeaseID.fromPartial({}),
|
|
178
|
+
state: 0,
|
|
179
|
+
price: coin_1.DecCoin.fromPartial({}),
|
|
180
|
+
createdAt: BigInt(0),
|
|
181
|
+
closedOn: BigInt(0)
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Lease stores LeaseID, state of lease and price.
|
|
186
|
+
* The Lease defines the terms under which the provider allocates resources to fulfill
|
|
187
|
+
* the tenant's deployment requirements.
|
|
188
|
+
* Leases are paid from the tenant to the provider through a deposit and withdraw mechanism and are priced in blocks.
|
|
189
|
+
* @name Lease
|
|
190
|
+
* @package akash.market.v1
|
|
191
|
+
* @see proto type: akash.market.v1.Lease
|
|
192
|
+
*/
|
|
193
|
+
exports.Lease = {
|
|
194
|
+
typeUrl: "/akash.market.v1.Lease",
|
|
195
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
196
|
+
if (message.id !== undefined) {
|
|
197
|
+
exports.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
198
|
+
}
|
|
199
|
+
if (message.state !== 0) {
|
|
200
|
+
writer.uint32(16).int32(message.state);
|
|
201
|
+
}
|
|
202
|
+
if (message.price !== undefined) {
|
|
203
|
+
coin_1.DecCoin.encode(message.price, writer.uint32(26).fork()).ldelim();
|
|
204
|
+
}
|
|
205
|
+
if (message.createdAt !== BigInt(0)) {
|
|
206
|
+
writer.uint32(32).int64(message.createdAt);
|
|
207
|
+
}
|
|
208
|
+
if (message.closedOn !== BigInt(0)) {
|
|
209
|
+
writer.uint32(40).int64(message.closedOn);
|
|
210
|
+
}
|
|
211
|
+
return writer;
|
|
212
|
+
},
|
|
213
|
+
decode(input, length) {
|
|
214
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
215
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
216
|
+
const message = createBaseLease();
|
|
217
|
+
while (reader.pos < end) {
|
|
218
|
+
const tag = reader.uint32();
|
|
219
|
+
switch (tag >>> 3) {
|
|
220
|
+
case 1:
|
|
221
|
+
message.id = exports.LeaseID.decode(reader, reader.uint32());
|
|
222
|
+
break;
|
|
223
|
+
case 2:
|
|
224
|
+
message.state = reader.int32();
|
|
225
|
+
break;
|
|
226
|
+
case 3:
|
|
227
|
+
message.price = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
228
|
+
break;
|
|
229
|
+
case 4:
|
|
230
|
+
message.createdAt = reader.int64();
|
|
231
|
+
break;
|
|
232
|
+
case 5:
|
|
233
|
+
message.closedOn = reader.int64();
|
|
234
|
+
break;
|
|
235
|
+
default:
|
|
236
|
+
reader.skipType(tag & 7);
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return message;
|
|
241
|
+
},
|
|
242
|
+
fromPartial(object) {
|
|
243
|
+
const message = createBaseLease();
|
|
244
|
+
message.id = object.id !== undefined && object.id !== null ? exports.LeaseID.fromPartial(object.id) : undefined;
|
|
245
|
+
message.state = object.state ?? 0;
|
|
246
|
+
message.price = object.price !== undefined && object.price !== null ? coin_1.DecCoin.fromPartial(object.price) : undefined;
|
|
247
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
248
|
+
message.closedOn = object.closedOn !== undefined && object.closedOn !== null ? BigInt(object.closedOn.toString()) : BigInt(0);
|
|
249
|
+
return message;
|
|
250
|
+
},
|
|
251
|
+
fromAmino(object) {
|
|
252
|
+
const message = createBaseLease();
|
|
253
|
+
if (object.id !== undefined && object.id !== null) {
|
|
254
|
+
message.id = exports.LeaseID.fromAmino(object.id);
|
|
255
|
+
}
|
|
256
|
+
if (object.state !== undefined && object.state !== null) {
|
|
257
|
+
message.state = object.state;
|
|
258
|
+
}
|
|
259
|
+
if (object.price !== undefined && object.price !== null) {
|
|
260
|
+
message.price = coin_1.DecCoin.fromAmino(object.price);
|
|
261
|
+
}
|
|
262
|
+
if (object.created_at !== undefined && object.created_at !== null) {
|
|
263
|
+
message.createdAt = BigInt(object.created_at);
|
|
264
|
+
}
|
|
265
|
+
if (object.closed_on !== undefined && object.closed_on !== null) {
|
|
266
|
+
message.closedOn = BigInt(object.closed_on);
|
|
267
|
+
}
|
|
268
|
+
return message;
|
|
269
|
+
},
|
|
270
|
+
toAmino(message) {
|
|
271
|
+
const obj = {};
|
|
272
|
+
obj.id = message.id ? exports.LeaseID.toAmino(message.id) : exports.LeaseID.toAmino(exports.LeaseID.fromPartial({}));
|
|
273
|
+
obj.state = message.state ?? 0;
|
|
274
|
+
obj.price = message.price ? coin_1.DecCoin.toAmino(message.price) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
275
|
+
obj.created_at = message.createdAt ? message.createdAt?.toString() : "0";
|
|
276
|
+
obj.closed_on = message.closedOn ? message.closedOn?.toString() : "0";
|
|
277
|
+
return obj;
|
|
278
|
+
},
|
|
279
|
+
fromAminoMsg(object) {
|
|
280
|
+
return exports.Lease.fromAmino(object.value);
|
|
281
|
+
},
|
|
282
|
+
fromProtoMsg(message) {
|
|
283
|
+
return exports.Lease.decode(message.value);
|
|
284
|
+
},
|
|
285
|
+
toProto(message) {
|
|
286
|
+
return exports.Lease.encode(message).finish();
|
|
287
|
+
},
|
|
288
|
+
toProtoMsg(message) {
|
|
289
|
+
return {
|
|
290
|
+
typeUrl: "/akash.market.v1.Lease",
|
|
291
|
+
value: exports.Lease.encode(message).finish()
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* OrderId stores owner and all other seq numbers.
|
|
5
|
+
* @name OrderID
|
|
6
|
+
* @package akash.market.v1
|
|
7
|
+
* @see proto type: akash.market.v1.OrderID
|
|
8
|
+
*/
|
|
9
|
+
export interface OrderID {
|
|
10
|
+
/**
|
|
11
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
12
|
+
* It is a string representing a valid bech32 account address.
|
|
13
|
+
*
|
|
14
|
+
* Example:
|
|
15
|
+
* "akash1..."
|
|
16
|
+
*/
|
|
17
|
+
owner: string;
|
|
18
|
+
/**
|
|
19
|
+
* Dseq (deployment sequence number) is a unique numeric identifier for the deployment.
|
|
20
|
+
* It is used to differentiate deployments created by the same owner.
|
|
21
|
+
*/
|
|
22
|
+
dseq: bigint;
|
|
23
|
+
/**
|
|
24
|
+
* Gseq (group sequence number) is a unique numeric identifier for the group.
|
|
25
|
+
* It is used to differentiate groups created by the same owner in a deployment.
|
|
26
|
+
*/
|
|
27
|
+
gseq: number;
|
|
28
|
+
/**
|
|
29
|
+
* Oseq (order sequence) distinguishes multiple orders associated with a single deployment.
|
|
30
|
+
* Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.
|
|
31
|
+
*/
|
|
32
|
+
oseq: number;
|
|
33
|
+
}
|
|
34
|
+
export interface OrderIDProtoMsg {
|
|
35
|
+
typeUrl: "/akash.market.v1.OrderID";
|
|
36
|
+
value: Uint8Array;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* OrderId stores owner and all other seq numbers.
|
|
40
|
+
* @name OrderIDAmino
|
|
41
|
+
* @package akash.market.v1
|
|
42
|
+
* @see proto type: akash.market.v1.OrderID
|
|
43
|
+
*/
|
|
44
|
+
export interface OrderIDAmino {
|
|
45
|
+
/**
|
|
46
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
47
|
+
* It is a string representing a valid bech32 account address.
|
|
48
|
+
*
|
|
49
|
+
* Example:
|
|
50
|
+
* "akash1..."
|
|
51
|
+
*/
|
|
52
|
+
owner: string;
|
|
53
|
+
/**
|
|
54
|
+
* Dseq (deployment sequence number) is a unique numeric identifier for the deployment.
|
|
55
|
+
* It is used to differentiate deployments created by the same owner.
|
|
56
|
+
*/
|
|
57
|
+
dseq: string;
|
|
58
|
+
/**
|
|
59
|
+
* Gseq (group sequence number) is a unique numeric identifier for the group.
|
|
60
|
+
* It is used to differentiate groups created by the same owner in a deployment.
|
|
61
|
+
*/
|
|
62
|
+
gseq: number;
|
|
63
|
+
/**
|
|
64
|
+
* Oseq (order sequence) distinguishes multiple orders associated with a single deployment.
|
|
65
|
+
* Oseq is incremented when a lease associated with an existing deployment is closed, and a new order is generated.
|
|
66
|
+
*/
|
|
67
|
+
oseq: number;
|
|
68
|
+
}
|
|
69
|
+
export interface OrderIDAminoMsg {
|
|
70
|
+
type: "/akash.market.v1.OrderID";
|
|
71
|
+
value: OrderIDAmino;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* OrderId stores owner and all other seq numbers.
|
|
75
|
+
* @name OrderID
|
|
76
|
+
* @package akash.market.v1
|
|
77
|
+
* @see proto type: akash.market.v1.OrderID
|
|
78
|
+
*/
|
|
79
|
+
export declare const OrderID: {
|
|
80
|
+
typeUrl: string;
|
|
81
|
+
encode(message: OrderID, writer?: BinaryWriter): BinaryWriter;
|
|
82
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OrderID;
|
|
83
|
+
fromPartial(object: DeepPartial<OrderID>): OrderID;
|
|
84
|
+
fromAmino(object: OrderIDAmino): OrderID;
|
|
85
|
+
toAmino(message: OrderID): OrderIDAmino;
|
|
86
|
+
fromAminoMsg(object: OrderIDAminoMsg): OrderID;
|
|
87
|
+
fromProtoMsg(message: OrderIDProtoMsg): OrderID;
|
|
88
|
+
toProto(message: OrderID): Uint8Array;
|
|
89
|
+
toProtoMsg(message: OrderID): OrderIDProtoMsg;
|
|
90
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderID = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseOrderID() {
|
|
7
|
+
return {
|
|
8
|
+
owner: "",
|
|
9
|
+
dseq: BigInt(0),
|
|
10
|
+
gseq: 0,
|
|
11
|
+
oseq: 0
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* OrderId stores owner and all other seq numbers.
|
|
16
|
+
* @name OrderID
|
|
17
|
+
* @package akash.market.v1
|
|
18
|
+
* @see proto type: akash.market.v1.OrderID
|
|
19
|
+
*/
|
|
20
|
+
exports.OrderID = {
|
|
21
|
+
typeUrl: "/akash.market.v1.OrderID",
|
|
22
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
|
+
if (message.owner !== "") {
|
|
24
|
+
writer.uint32(10).string(message.owner);
|
|
25
|
+
}
|
|
26
|
+
if (message.dseq !== BigInt(0)) {
|
|
27
|
+
writer.uint32(16).uint64(message.dseq);
|
|
28
|
+
}
|
|
29
|
+
if (message.gseq !== 0) {
|
|
30
|
+
writer.uint32(24).uint32(message.gseq);
|
|
31
|
+
}
|
|
32
|
+
if (message.oseq !== 0) {
|
|
33
|
+
writer.uint32(32).uint32(message.oseq);
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
decode(input, length) {
|
|
38
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
39
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
+
const message = createBaseOrderID();
|
|
41
|
+
while (reader.pos < end) {
|
|
42
|
+
const tag = reader.uint32();
|
|
43
|
+
switch (tag >>> 3) {
|
|
44
|
+
case 1:
|
|
45
|
+
message.owner = reader.string();
|
|
46
|
+
break;
|
|
47
|
+
case 2:
|
|
48
|
+
message.dseq = reader.uint64();
|
|
49
|
+
break;
|
|
50
|
+
case 3:
|
|
51
|
+
message.gseq = reader.uint32();
|
|
52
|
+
break;
|
|
53
|
+
case 4:
|
|
54
|
+
message.oseq = reader.uint32();
|
|
55
|
+
break;
|
|
56
|
+
default:
|
|
57
|
+
reader.skipType(tag & 7);
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return message;
|
|
62
|
+
},
|
|
63
|
+
fromPartial(object) {
|
|
64
|
+
const message = createBaseOrderID();
|
|
65
|
+
message.owner = object.owner ?? "";
|
|
66
|
+
message.dseq = object.dseq !== undefined && object.dseq !== null ? BigInt(object.dseq.toString()) : BigInt(0);
|
|
67
|
+
message.gseq = object.gseq ?? 0;
|
|
68
|
+
message.oseq = object.oseq ?? 0;
|
|
69
|
+
return message;
|
|
70
|
+
},
|
|
71
|
+
fromAmino(object) {
|
|
72
|
+
const message = createBaseOrderID();
|
|
73
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
74
|
+
message.owner = object.owner;
|
|
75
|
+
}
|
|
76
|
+
if (object.dseq !== undefined && object.dseq !== null) {
|
|
77
|
+
message.dseq = BigInt(object.dseq);
|
|
78
|
+
}
|
|
79
|
+
if (object.gseq !== undefined && object.gseq !== null) {
|
|
80
|
+
message.gseq = object.gseq;
|
|
81
|
+
}
|
|
82
|
+
if (object.oseq !== undefined && object.oseq !== null) {
|
|
83
|
+
message.oseq = object.oseq;
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
toAmino(message) {
|
|
88
|
+
const obj = {};
|
|
89
|
+
obj.owner = message.owner ?? "";
|
|
90
|
+
obj.dseq = message.dseq ? message.dseq?.toString() : "0";
|
|
91
|
+
obj.gseq = message.gseq ?? 0;
|
|
92
|
+
obj.oseq = message.oseq ?? 0;
|
|
93
|
+
return obj;
|
|
94
|
+
},
|
|
95
|
+
fromAminoMsg(object) {
|
|
96
|
+
return exports.OrderID.fromAmino(object.value);
|
|
97
|
+
},
|
|
98
|
+
fromProtoMsg(message) {
|
|
99
|
+
return exports.OrderID.decode(message.value);
|
|
100
|
+
},
|
|
101
|
+
toProto(message) {
|
|
102
|
+
return exports.OrderID.encode(message).finish();
|
|
103
|
+
},
|
|
104
|
+
toProtoMsg(message) {
|
|
105
|
+
return {
|
|
106
|
+
typeUrl: "/akash.market.v1.OrderID",
|
|
107
|
+
value: exports.OrderID.encode(message).finish()
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
};
|