@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,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createClientImpl = exports.MsgClientImpl = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const deploymentmsg_1 = require("./deploymentmsg");
|
|
6
|
+
const msg_1 = require("../v1/msg");
|
|
7
|
+
const groupmsg_1 = require("./groupmsg");
|
|
8
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
9
|
+
class MsgClientImpl {
|
|
10
|
+
rpc;
|
|
11
|
+
constructor(rpc) {
|
|
12
|
+
this.rpc = rpc;
|
|
13
|
+
}
|
|
14
|
+
/* CreateDeployment defines a method to create new deployment given proper inputs. */
|
|
15
|
+
createDeployment = async (request) => {
|
|
16
|
+
const data = deploymentmsg_1.MsgCreateDeployment.encode(request).finish();
|
|
17
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "CreateDeployment", data);
|
|
18
|
+
return promise.then(data => deploymentmsg_1.MsgCreateDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
19
|
+
};
|
|
20
|
+
/* DepositDeployment deposits more funds into the deployment account. */
|
|
21
|
+
depositDeployment = async (request) => {
|
|
22
|
+
const data = msg_1.MsgDepositDeployment.encode(request).finish();
|
|
23
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "DepositDeployment", data);
|
|
24
|
+
return promise.then(data => msg_1.MsgDepositDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
25
|
+
};
|
|
26
|
+
/* UpdateDeployment defines a method to update a deployment given proper inputs. */
|
|
27
|
+
updateDeployment = async (request) => {
|
|
28
|
+
const data = deploymentmsg_1.MsgUpdateDeployment.encode(request).finish();
|
|
29
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "UpdateDeployment", data);
|
|
30
|
+
return promise.then(data => deploymentmsg_1.MsgUpdateDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
31
|
+
};
|
|
32
|
+
/* CloseDeployment defines a method to close a deployment given proper inputs. */
|
|
33
|
+
closeDeployment = async (request) => {
|
|
34
|
+
const data = deploymentmsg_1.MsgCloseDeployment.encode(request).finish();
|
|
35
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "CloseDeployment", data);
|
|
36
|
+
return promise.then(data => deploymentmsg_1.MsgCloseDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
37
|
+
};
|
|
38
|
+
/* CloseGroup defines a method to close a group of a deployment given proper inputs. */
|
|
39
|
+
closeGroup = async (request) => {
|
|
40
|
+
const data = groupmsg_1.MsgCloseGroup.encode(request).finish();
|
|
41
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "CloseGroup", data);
|
|
42
|
+
return promise.then(data => groupmsg_1.MsgCloseGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
43
|
+
};
|
|
44
|
+
/* PauseGroup defines a method to close a group of a deployment given proper inputs. */
|
|
45
|
+
pauseGroup = async (request) => {
|
|
46
|
+
const data = groupmsg_1.MsgPauseGroup.encode(request).finish();
|
|
47
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "PauseGroup", data);
|
|
48
|
+
return promise.then(data => groupmsg_1.MsgPauseGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
49
|
+
};
|
|
50
|
+
/* StartGroup defines a method to close a group of a deployment given proper inputs. */
|
|
51
|
+
startGroup = async (request) => {
|
|
52
|
+
const data = groupmsg_1.MsgStartGroup.encode(request).finish();
|
|
53
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "StartGroup", data);
|
|
54
|
+
return promise.then(data => groupmsg_1.MsgStartGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
55
|
+
};
|
|
56
|
+
/* UpdateParams defines a governance operation for updating the x/deployment module
|
|
57
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
58
|
+
|
|
59
|
+
Since: akash v1.0.0 */
|
|
60
|
+
updateParams = async (request) => {
|
|
61
|
+
const data = paramsmsg_1.MsgUpdateParams.encode(request).finish();
|
|
62
|
+
const promise = this.rpc.request("akash.deployment.v1beta4.Msg", "UpdateParams", data);
|
|
63
|
+
return promise.then(data => paramsmsg_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.MsgClientImpl = MsgClientImpl;
|
|
67
|
+
const createClientImpl = (rpc) => {
|
|
68
|
+
return new MsgClientImpl(rpc);
|
|
69
|
+
};
|
|
70
|
+
exports.createClientImpl = createClientImpl;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ClientInfo, ClientInfoAmino } from "./client_info";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* Akash akash specific RPC parameters.
|
|
6
|
+
* @name Akash
|
|
7
|
+
* @package akash.discovery.v1
|
|
8
|
+
* @see proto type: akash.discovery.v1.Akash
|
|
9
|
+
*/
|
|
10
|
+
export interface Akash {
|
|
11
|
+
/**
|
|
12
|
+
* ClientInfo holds information about the client.
|
|
13
|
+
*/
|
|
14
|
+
clientInfo?: ClientInfo;
|
|
15
|
+
}
|
|
16
|
+
export interface AkashProtoMsg {
|
|
17
|
+
typeUrl: "/akash.discovery.v1.Akash";
|
|
18
|
+
value: Uint8Array;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Akash akash specific RPC parameters.
|
|
22
|
+
* @name AkashAmino
|
|
23
|
+
* @package akash.discovery.v1
|
|
24
|
+
* @see proto type: akash.discovery.v1.Akash
|
|
25
|
+
*/
|
|
26
|
+
export interface AkashAmino {
|
|
27
|
+
/**
|
|
28
|
+
* ClientInfo holds information about the client.
|
|
29
|
+
*/
|
|
30
|
+
client_info: ClientInfoAmino;
|
|
31
|
+
}
|
|
32
|
+
export interface AkashAminoMsg {
|
|
33
|
+
type: "/akash.discovery.v1.Akash";
|
|
34
|
+
value: AkashAmino;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Akash akash specific RPC parameters.
|
|
38
|
+
* @name Akash
|
|
39
|
+
* @package akash.discovery.v1
|
|
40
|
+
* @see proto type: akash.discovery.v1.Akash
|
|
41
|
+
*/
|
|
42
|
+
export declare const Akash: {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
encode(message: Akash, writer?: BinaryWriter): BinaryWriter;
|
|
45
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Akash;
|
|
46
|
+
fromPartial(object: DeepPartial<Akash>): Akash;
|
|
47
|
+
fromAmino(object: AkashAmino): Akash;
|
|
48
|
+
toAmino(message: Akash): AkashAmino;
|
|
49
|
+
fromAminoMsg(object: AkashAminoMsg): Akash;
|
|
50
|
+
fromProtoMsg(message: AkashProtoMsg): Akash;
|
|
51
|
+
toProto(message: Akash): Uint8Array;
|
|
52
|
+
toProtoMsg(message: Akash): AkashProtoMsg;
|
|
53
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Akash = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const client_info_1 = require("./client_info");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
function createBaseAkash() {
|
|
8
|
+
return {
|
|
9
|
+
clientInfo: undefined
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Akash akash specific RPC parameters.
|
|
14
|
+
* @name Akash
|
|
15
|
+
* @package akash.discovery.v1
|
|
16
|
+
* @see proto type: akash.discovery.v1.Akash
|
|
17
|
+
*/
|
|
18
|
+
exports.Akash = {
|
|
19
|
+
typeUrl: "/akash.discovery.v1.Akash",
|
|
20
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
21
|
+
if (message.clientInfo !== undefined) {
|
|
22
|
+
client_info_1.ClientInfo.encode(message.clientInfo, writer.uint32(10).fork()).ldelim();
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
},
|
|
26
|
+
decode(input, length) {
|
|
27
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
28
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
+
const message = createBaseAkash();
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
message.clientInfo = client_info_1.ClientInfo.decode(reader, reader.uint32());
|
|
35
|
+
break;
|
|
36
|
+
default:
|
|
37
|
+
reader.skipType(tag & 7);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return message;
|
|
42
|
+
},
|
|
43
|
+
fromPartial(object) {
|
|
44
|
+
const message = createBaseAkash();
|
|
45
|
+
message.clientInfo = object.clientInfo !== undefined && object.clientInfo !== null ? client_info_1.ClientInfo.fromPartial(object.clientInfo) : undefined;
|
|
46
|
+
return message;
|
|
47
|
+
},
|
|
48
|
+
fromAmino(object) {
|
|
49
|
+
const message = createBaseAkash();
|
|
50
|
+
if (object.client_info !== undefined && object.client_info !== null) {
|
|
51
|
+
message.clientInfo = client_info_1.ClientInfo.fromAmino(object.client_info);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
toAmino(message) {
|
|
56
|
+
const obj = {};
|
|
57
|
+
obj.client_info = message.clientInfo ? client_info_1.ClientInfo.toAmino(message.clientInfo) : client_info_1.ClientInfo.toAmino(client_info_1.ClientInfo.fromPartial({}));
|
|
58
|
+
return obj;
|
|
59
|
+
},
|
|
60
|
+
fromAminoMsg(object) {
|
|
61
|
+
return exports.Akash.fromAmino(object.value);
|
|
62
|
+
},
|
|
63
|
+
fromProtoMsg(message) {
|
|
64
|
+
return exports.Akash.decode(message.value);
|
|
65
|
+
},
|
|
66
|
+
toProto(message) {
|
|
67
|
+
return exports.Akash.encode(message).finish();
|
|
68
|
+
},
|
|
69
|
+
toProtoMsg(message) {
|
|
70
|
+
return {
|
|
71
|
+
typeUrl: "/akash.discovery.v1.Akash",
|
|
72
|
+
value: exports.Akash.encode(message).finish()
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* ClientInfo is the akash specific client info.
|
|
5
|
+
* @name ClientInfo
|
|
6
|
+
* @package akash.discovery.v1
|
|
7
|
+
* @see proto type: akash.discovery.v1.ClientInfo
|
|
8
|
+
*/
|
|
9
|
+
export interface ClientInfo {
|
|
10
|
+
/**
|
|
11
|
+
* ApiVersion is the version of the API running on the client.
|
|
12
|
+
*/
|
|
13
|
+
apiVersion: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ClientInfoProtoMsg {
|
|
16
|
+
typeUrl: "/akash.discovery.v1.ClientInfo";
|
|
17
|
+
value: Uint8Array;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* ClientInfo is the akash specific client info.
|
|
21
|
+
* @name ClientInfoAmino
|
|
22
|
+
* @package akash.discovery.v1
|
|
23
|
+
* @see proto type: akash.discovery.v1.ClientInfo
|
|
24
|
+
*/
|
|
25
|
+
export interface ClientInfoAmino {
|
|
26
|
+
/**
|
|
27
|
+
* ApiVersion is the version of the API running on the client.
|
|
28
|
+
*/
|
|
29
|
+
api_version: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ClientInfoAminoMsg {
|
|
32
|
+
type: "/akash.discovery.v1.ClientInfo";
|
|
33
|
+
value: ClientInfoAmino;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* ClientInfo is the akash specific client info.
|
|
37
|
+
* @name ClientInfo
|
|
38
|
+
* @package akash.discovery.v1
|
|
39
|
+
* @see proto type: akash.discovery.v1.ClientInfo
|
|
40
|
+
*/
|
|
41
|
+
export declare const ClientInfo: {
|
|
42
|
+
typeUrl: string;
|
|
43
|
+
encode(message: ClientInfo, writer?: BinaryWriter): BinaryWriter;
|
|
44
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ClientInfo;
|
|
45
|
+
fromPartial(object: DeepPartial<ClientInfo>): ClientInfo;
|
|
46
|
+
fromAmino(object: ClientInfoAmino): ClientInfo;
|
|
47
|
+
toAmino(message: ClientInfo): ClientInfoAmino;
|
|
48
|
+
fromAminoMsg(object: ClientInfoAminoMsg): ClientInfo;
|
|
49
|
+
fromProtoMsg(message: ClientInfoProtoMsg): ClientInfo;
|
|
50
|
+
toProto(message: ClientInfo): Uint8Array;
|
|
51
|
+
toProtoMsg(message: ClientInfo): ClientInfoProtoMsg;
|
|
52
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientInfo = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseClientInfo() {
|
|
7
|
+
return {
|
|
8
|
+
apiVersion: ""
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* ClientInfo is the akash specific client info.
|
|
13
|
+
* @name ClientInfo
|
|
14
|
+
* @package akash.discovery.v1
|
|
15
|
+
* @see proto type: akash.discovery.v1.ClientInfo
|
|
16
|
+
*/
|
|
17
|
+
exports.ClientInfo = {
|
|
18
|
+
typeUrl: "/akash.discovery.v1.ClientInfo",
|
|
19
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
20
|
+
if (message.apiVersion !== "") {
|
|
21
|
+
writer.uint32(10).string(message.apiVersion);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseClientInfo();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
message.apiVersion = reader.string();
|
|
34
|
+
break;
|
|
35
|
+
default:
|
|
36
|
+
reader.skipType(tag & 7);
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return message;
|
|
41
|
+
},
|
|
42
|
+
fromPartial(object) {
|
|
43
|
+
const message = createBaseClientInfo();
|
|
44
|
+
message.apiVersion = object.apiVersion ?? "";
|
|
45
|
+
return message;
|
|
46
|
+
},
|
|
47
|
+
fromAmino(object) {
|
|
48
|
+
const message = createBaseClientInfo();
|
|
49
|
+
if (object.api_version !== undefined && object.api_version !== null) {
|
|
50
|
+
message.apiVersion = object.api_version;
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
toAmino(message) {
|
|
55
|
+
const obj = {};
|
|
56
|
+
obj.api_version = message.apiVersion ?? "";
|
|
57
|
+
return obj;
|
|
58
|
+
},
|
|
59
|
+
fromAminoMsg(object) {
|
|
60
|
+
return exports.ClientInfo.fromAmino(object.value);
|
|
61
|
+
},
|
|
62
|
+
fromProtoMsg(message) {
|
|
63
|
+
return exports.ClientInfo.decode(message.value);
|
|
64
|
+
},
|
|
65
|
+
toProto(message) {
|
|
66
|
+
return exports.ClientInfo.encode(message).finish();
|
|
67
|
+
},
|
|
68
|
+
toProtoMsg(message) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/akash.discovery.v1.ClientInfo",
|
|
71
|
+
value: exports.ClientInfo.encode(message).finish()
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { AccountID, AccountIDAmino } from "./accountid";
|
|
2
|
+
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/** State stores state for an escrow account. */
|
|
6
|
+
export declare enum Account_State {
|
|
7
|
+
/** invalid - AccountStateInvalid is an invalid state. */
|
|
8
|
+
invalid = 0,
|
|
9
|
+
/** open - AccountOpen is the state when an account is open. */
|
|
10
|
+
open = 1,
|
|
11
|
+
/** closed - AccountClosed is the state when an account is closed. */
|
|
12
|
+
closed = 2,
|
|
13
|
+
/** overdrawn - AccountOverdrawn is the state when an account is overdrawn. */
|
|
14
|
+
overdrawn = 3,
|
|
15
|
+
UNRECOGNIZED = -1
|
|
16
|
+
}
|
|
17
|
+
export declare const Account_StateAmino: typeof Account_State;
|
|
18
|
+
export declare function account_StateFromJSON(object: any): Account_State;
|
|
19
|
+
export declare function account_StateToJSON(object: Account_State): string;
|
|
20
|
+
/**
|
|
21
|
+
* Account stores state for an escrow account.
|
|
22
|
+
* @name Account
|
|
23
|
+
* @package akash.escrow.v1
|
|
24
|
+
* @see proto type: akash.escrow.v1.Account
|
|
25
|
+
*/
|
|
26
|
+
export interface Account {
|
|
27
|
+
/**
|
|
28
|
+
* Id is the unique identifier for an escrow account.
|
|
29
|
+
*/
|
|
30
|
+
id: AccountID;
|
|
31
|
+
/**
|
|
32
|
+
* Owner is the bech32 address of the account.
|
|
33
|
+
* It is a string representing a valid account address.
|
|
34
|
+
*
|
|
35
|
+
* Example:
|
|
36
|
+
* "akash1..."
|
|
37
|
+
*/
|
|
38
|
+
owner: string;
|
|
39
|
+
/**
|
|
40
|
+
* State represents the current state of an Account.
|
|
41
|
+
*/
|
|
42
|
+
state: Account_State;
|
|
43
|
+
/**
|
|
44
|
+
* Balance holds the unspent coins received from the owner's wallet.
|
|
45
|
+
*/
|
|
46
|
+
balance: DecCoin;
|
|
47
|
+
/**
|
|
48
|
+
* Transferred total coins spent by this account.
|
|
49
|
+
*/
|
|
50
|
+
transferred: DecCoin;
|
|
51
|
+
/**
|
|
52
|
+
* SettledAt represents the block height at which this account was last settled.
|
|
53
|
+
*/
|
|
54
|
+
settledAt: bigint;
|
|
55
|
+
/**
|
|
56
|
+
* Depositor is the bech32 address of the depositor.
|
|
57
|
+
* It is a string representing a valid account address.
|
|
58
|
+
*
|
|
59
|
+
* Example:
|
|
60
|
+
* "akash1..."
|
|
61
|
+
* If depositor is same as the owner, then any incoming coins are added to the Balance.
|
|
62
|
+
* If depositor isn't same as the owner, then any incoming coins are added to the Funds.
|
|
63
|
+
*/
|
|
64
|
+
depositor: string;
|
|
65
|
+
/**
|
|
66
|
+
* Funds are unspent coins received from the (non-Owner) Depositor's wallet.
|
|
67
|
+
* If there are any funds, they should be spent before spending the Balance.
|
|
68
|
+
*/
|
|
69
|
+
funds: DecCoin;
|
|
70
|
+
}
|
|
71
|
+
export interface AccountProtoMsg {
|
|
72
|
+
typeUrl: "/akash.escrow.v1.Account";
|
|
73
|
+
value: Uint8Array;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Account stores state for an escrow account.
|
|
77
|
+
* @name AccountAmino
|
|
78
|
+
* @package akash.escrow.v1
|
|
79
|
+
* @see proto type: akash.escrow.v1.Account
|
|
80
|
+
*/
|
|
81
|
+
export interface AccountAmino {
|
|
82
|
+
/**
|
|
83
|
+
* Id is the unique identifier for an escrow account.
|
|
84
|
+
*/
|
|
85
|
+
id: AccountIDAmino;
|
|
86
|
+
/**
|
|
87
|
+
* Owner is the bech32 address of the account.
|
|
88
|
+
* It is a string representing a valid account address.
|
|
89
|
+
*
|
|
90
|
+
* Example:
|
|
91
|
+
* "akash1..."
|
|
92
|
+
*/
|
|
93
|
+
owner: string;
|
|
94
|
+
/**
|
|
95
|
+
* State represents the current state of an Account.
|
|
96
|
+
*/
|
|
97
|
+
state: Account_State;
|
|
98
|
+
/**
|
|
99
|
+
* Balance holds the unspent coins received from the owner's wallet.
|
|
100
|
+
*/
|
|
101
|
+
balance: DecCoinAmino;
|
|
102
|
+
/**
|
|
103
|
+
* Transferred total coins spent by this account.
|
|
104
|
+
*/
|
|
105
|
+
transferred: DecCoinAmino;
|
|
106
|
+
/**
|
|
107
|
+
* SettledAt represents the block height at which this account was last settled.
|
|
108
|
+
*/
|
|
109
|
+
settled_at: string;
|
|
110
|
+
/**
|
|
111
|
+
* Depositor is the bech32 address of the depositor.
|
|
112
|
+
* It is a string representing a valid account address.
|
|
113
|
+
*
|
|
114
|
+
* Example:
|
|
115
|
+
* "akash1..."
|
|
116
|
+
* If depositor is same as the owner, then any incoming coins are added to the Balance.
|
|
117
|
+
* If depositor isn't same as the owner, then any incoming coins are added to the Funds.
|
|
118
|
+
*/
|
|
119
|
+
depositor: string;
|
|
120
|
+
/**
|
|
121
|
+
* Funds are unspent coins received from the (non-Owner) Depositor's wallet.
|
|
122
|
+
* If there are any funds, they should be spent before spending the Balance.
|
|
123
|
+
*/
|
|
124
|
+
funds: DecCoinAmino;
|
|
125
|
+
}
|
|
126
|
+
export interface AccountAminoMsg {
|
|
127
|
+
type: "/akash.escrow.v1.Account";
|
|
128
|
+
value: AccountAmino;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Account stores state for an escrow account.
|
|
132
|
+
* @name Account
|
|
133
|
+
* @package akash.escrow.v1
|
|
134
|
+
* @see proto type: akash.escrow.v1.Account
|
|
135
|
+
*/
|
|
136
|
+
export declare const Account: {
|
|
137
|
+
typeUrl: string;
|
|
138
|
+
encode(message: Account, writer?: BinaryWriter): BinaryWriter;
|
|
139
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Account;
|
|
140
|
+
fromPartial(object: DeepPartial<Account>): Account;
|
|
141
|
+
fromAmino(object: AccountAmino): Account;
|
|
142
|
+
toAmino(message: Account): AccountAmino;
|
|
143
|
+
fromAminoMsg(object: AccountAminoMsg): Account;
|
|
144
|
+
fromProtoMsg(message: AccountProtoMsg): Account;
|
|
145
|
+
toProto(message: Account): Uint8Array;
|
|
146
|
+
toProtoMsg(message: Account): AccountProtoMsg;
|
|
147
|
+
};
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Account = exports.Account_StateAmino = exports.Account_State = void 0;
|
|
4
|
+
exports.account_StateFromJSON = account_StateFromJSON;
|
|
5
|
+
exports.account_StateToJSON = account_StateToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const accountid_1 = require("./accountid");
|
|
8
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
9
|
+
const binary_1 = require("../../../binary");
|
|
10
|
+
/** State stores state for an escrow account. */
|
|
11
|
+
var Account_State;
|
|
12
|
+
(function (Account_State) {
|
|
13
|
+
/** invalid - AccountStateInvalid is an invalid state. */
|
|
14
|
+
Account_State[Account_State["invalid"] = 0] = "invalid";
|
|
15
|
+
/** open - AccountOpen is the state when an account is open. */
|
|
16
|
+
Account_State[Account_State["open"] = 1] = "open";
|
|
17
|
+
/** closed - AccountClosed is the state when an account is closed. */
|
|
18
|
+
Account_State[Account_State["closed"] = 2] = "closed";
|
|
19
|
+
/** overdrawn - AccountOverdrawn is the state when an account is overdrawn. */
|
|
20
|
+
Account_State[Account_State["overdrawn"] = 3] = "overdrawn";
|
|
21
|
+
Account_State[Account_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
+
})(Account_State || (exports.Account_State = Account_State = {}));
|
|
23
|
+
exports.Account_StateAmino = Account_State;
|
|
24
|
+
function account_StateFromJSON(object) {
|
|
25
|
+
switch (object) {
|
|
26
|
+
case 0:
|
|
27
|
+
case "invalid":
|
|
28
|
+
return Account_State.invalid;
|
|
29
|
+
case 1:
|
|
30
|
+
case "open":
|
|
31
|
+
return Account_State.open;
|
|
32
|
+
case 2:
|
|
33
|
+
case "closed":
|
|
34
|
+
return Account_State.closed;
|
|
35
|
+
case 3:
|
|
36
|
+
case "overdrawn":
|
|
37
|
+
return Account_State.overdrawn;
|
|
38
|
+
case -1:
|
|
39
|
+
case "UNRECOGNIZED":
|
|
40
|
+
default:
|
|
41
|
+
return Account_State.UNRECOGNIZED;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function account_StateToJSON(object) {
|
|
45
|
+
switch (object) {
|
|
46
|
+
case Account_State.invalid:
|
|
47
|
+
return "invalid";
|
|
48
|
+
case Account_State.open:
|
|
49
|
+
return "open";
|
|
50
|
+
case Account_State.closed:
|
|
51
|
+
return "closed";
|
|
52
|
+
case Account_State.overdrawn:
|
|
53
|
+
return "overdrawn";
|
|
54
|
+
case Account_State.UNRECOGNIZED:
|
|
55
|
+
default:
|
|
56
|
+
return "UNRECOGNIZED";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function createBaseAccount() {
|
|
60
|
+
return {
|
|
61
|
+
id: accountid_1.AccountID.fromPartial({}),
|
|
62
|
+
owner: "",
|
|
63
|
+
state: 0,
|
|
64
|
+
balance: coin_1.DecCoin.fromPartial({}),
|
|
65
|
+
transferred: coin_1.DecCoin.fromPartial({}),
|
|
66
|
+
settledAt: BigInt(0),
|
|
67
|
+
depositor: "",
|
|
68
|
+
funds: coin_1.DecCoin.fromPartial({})
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Account stores state for an escrow account.
|
|
73
|
+
* @name Account
|
|
74
|
+
* @package akash.escrow.v1
|
|
75
|
+
* @see proto type: akash.escrow.v1.Account
|
|
76
|
+
*/
|
|
77
|
+
exports.Account = {
|
|
78
|
+
typeUrl: "/akash.escrow.v1.Account",
|
|
79
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
80
|
+
if (message.id !== undefined) {
|
|
81
|
+
accountid_1.AccountID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
82
|
+
}
|
|
83
|
+
if (message.owner !== "") {
|
|
84
|
+
writer.uint32(18).string(message.owner);
|
|
85
|
+
}
|
|
86
|
+
if (message.state !== 0) {
|
|
87
|
+
writer.uint32(24).int32(message.state);
|
|
88
|
+
}
|
|
89
|
+
if (message.balance !== undefined) {
|
|
90
|
+
coin_1.DecCoin.encode(message.balance, writer.uint32(34).fork()).ldelim();
|
|
91
|
+
}
|
|
92
|
+
if (message.transferred !== undefined) {
|
|
93
|
+
coin_1.DecCoin.encode(message.transferred, writer.uint32(42).fork()).ldelim();
|
|
94
|
+
}
|
|
95
|
+
if (message.settledAt !== BigInt(0)) {
|
|
96
|
+
writer.uint32(48).int64(message.settledAt);
|
|
97
|
+
}
|
|
98
|
+
if (message.depositor !== "") {
|
|
99
|
+
writer.uint32(58).string(message.depositor);
|
|
100
|
+
}
|
|
101
|
+
if (message.funds !== undefined) {
|
|
102
|
+
coin_1.DecCoin.encode(message.funds, writer.uint32(66).fork()).ldelim();
|
|
103
|
+
}
|
|
104
|
+
return writer;
|
|
105
|
+
},
|
|
106
|
+
decode(input, length) {
|
|
107
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
108
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
109
|
+
const message = createBaseAccount();
|
|
110
|
+
while (reader.pos < end) {
|
|
111
|
+
const tag = reader.uint32();
|
|
112
|
+
switch (tag >>> 3) {
|
|
113
|
+
case 1:
|
|
114
|
+
message.id = accountid_1.AccountID.decode(reader, reader.uint32());
|
|
115
|
+
break;
|
|
116
|
+
case 2:
|
|
117
|
+
message.owner = reader.string();
|
|
118
|
+
break;
|
|
119
|
+
case 3:
|
|
120
|
+
message.state = reader.int32();
|
|
121
|
+
break;
|
|
122
|
+
case 4:
|
|
123
|
+
message.balance = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
124
|
+
break;
|
|
125
|
+
case 5:
|
|
126
|
+
message.transferred = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
127
|
+
break;
|
|
128
|
+
case 6:
|
|
129
|
+
message.settledAt = reader.int64();
|
|
130
|
+
break;
|
|
131
|
+
case 7:
|
|
132
|
+
message.depositor = reader.string();
|
|
133
|
+
break;
|
|
134
|
+
case 8:
|
|
135
|
+
message.funds = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
136
|
+
break;
|
|
137
|
+
default:
|
|
138
|
+
reader.skipType(tag & 7);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
fromPartial(object) {
|
|
145
|
+
const message = createBaseAccount();
|
|
146
|
+
message.id = object.id !== undefined && object.id !== null ? accountid_1.AccountID.fromPartial(object.id) : undefined;
|
|
147
|
+
message.owner = object.owner ?? "";
|
|
148
|
+
message.state = object.state ?? 0;
|
|
149
|
+
message.balance = object.balance !== undefined && object.balance !== null ? coin_1.DecCoin.fromPartial(object.balance) : undefined;
|
|
150
|
+
message.transferred = object.transferred !== undefined && object.transferred !== null ? coin_1.DecCoin.fromPartial(object.transferred) : undefined;
|
|
151
|
+
message.settledAt = object.settledAt !== undefined && object.settledAt !== null ? BigInt(object.settledAt.toString()) : BigInt(0);
|
|
152
|
+
message.depositor = object.depositor ?? "";
|
|
153
|
+
message.funds = object.funds !== undefined && object.funds !== null ? coin_1.DecCoin.fromPartial(object.funds) : undefined;
|
|
154
|
+
return message;
|
|
155
|
+
},
|
|
156
|
+
fromAmino(object) {
|
|
157
|
+
const message = createBaseAccount();
|
|
158
|
+
if (object.id !== undefined && object.id !== null) {
|
|
159
|
+
message.id = accountid_1.AccountID.fromAmino(object.id);
|
|
160
|
+
}
|
|
161
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
162
|
+
message.owner = object.owner;
|
|
163
|
+
}
|
|
164
|
+
if (object.state !== undefined && object.state !== null) {
|
|
165
|
+
message.state = object.state;
|
|
166
|
+
}
|
|
167
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
168
|
+
message.balance = coin_1.DecCoin.fromAmino(object.balance);
|
|
169
|
+
}
|
|
170
|
+
if (object.transferred !== undefined && object.transferred !== null) {
|
|
171
|
+
message.transferred = coin_1.DecCoin.fromAmino(object.transferred);
|
|
172
|
+
}
|
|
173
|
+
if (object.settled_at !== undefined && object.settled_at !== null) {
|
|
174
|
+
message.settledAt = BigInt(object.settled_at);
|
|
175
|
+
}
|
|
176
|
+
if (object.depositor !== undefined && object.depositor !== null) {
|
|
177
|
+
message.depositor = object.depositor;
|
|
178
|
+
}
|
|
179
|
+
if (object.funds !== undefined && object.funds !== null) {
|
|
180
|
+
message.funds = coin_1.DecCoin.fromAmino(object.funds);
|
|
181
|
+
}
|
|
182
|
+
return message;
|
|
183
|
+
},
|
|
184
|
+
toAmino(message) {
|
|
185
|
+
const obj = {};
|
|
186
|
+
obj.id = message.id ? accountid_1.AccountID.toAmino(message.id) : accountid_1.AccountID.toAmino(accountid_1.AccountID.fromPartial({}));
|
|
187
|
+
obj.owner = message.owner ?? "";
|
|
188
|
+
obj.state = message.state ?? 0;
|
|
189
|
+
obj.balance = message.balance ? coin_1.DecCoin.toAmino(message.balance) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
190
|
+
obj.transferred = message.transferred ? coin_1.DecCoin.toAmino(message.transferred) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
191
|
+
obj.settled_at = message.settledAt ? message.settledAt?.toString() : "0";
|
|
192
|
+
obj.depositor = message.depositor ?? "";
|
|
193
|
+
obj.funds = message.funds ? coin_1.DecCoin.toAmino(message.funds) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
194
|
+
return obj;
|
|
195
|
+
},
|
|
196
|
+
fromAminoMsg(object) {
|
|
197
|
+
return exports.Account.fromAmino(object.value);
|
|
198
|
+
},
|
|
199
|
+
fromProtoMsg(message) {
|
|
200
|
+
return exports.Account.decode(message.value);
|
|
201
|
+
},
|
|
202
|
+
toProto(message) {
|
|
203
|
+
return exports.Account.encode(message).finish();
|
|
204
|
+
},
|
|
205
|
+
toProtoMsg(message) {
|
|
206
|
+
return {
|
|
207
|
+
typeUrl: "/akash.escrow.v1.Account",
|
|
208
|
+
value: exports.Account.encode(message).finish()
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
};
|