@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,60 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* AccountID is the account identifier.
|
|
5
|
+
* @name AccountID
|
|
6
|
+
* @package akash.escrow.v1
|
|
7
|
+
* @see proto type: akash.escrow.v1.AccountID
|
|
8
|
+
*/
|
|
9
|
+
export interface AccountID {
|
|
10
|
+
/**
|
|
11
|
+
* Scope holds the scope of the account.
|
|
12
|
+
*/
|
|
13
|
+
scope: string;
|
|
14
|
+
/**
|
|
15
|
+
* Xid TODO: What is this?
|
|
16
|
+
*/
|
|
17
|
+
xid: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AccountIDProtoMsg {
|
|
20
|
+
typeUrl: "/akash.escrow.v1.AccountID";
|
|
21
|
+
value: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* AccountID is the account identifier.
|
|
25
|
+
* @name AccountIDAmino
|
|
26
|
+
* @package akash.escrow.v1
|
|
27
|
+
* @see proto type: akash.escrow.v1.AccountID
|
|
28
|
+
*/
|
|
29
|
+
export interface AccountIDAmino {
|
|
30
|
+
/**
|
|
31
|
+
* Scope holds the scope of the account.
|
|
32
|
+
*/
|
|
33
|
+
scope: string;
|
|
34
|
+
/**
|
|
35
|
+
* Xid TODO: What is this?
|
|
36
|
+
*/
|
|
37
|
+
xid: string;
|
|
38
|
+
}
|
|
39
|
+
export interface AccountIDAminoMsg {
|
|
40
|
+
type: "/akash.escrow.v1.AccountID";
|
|
41
|
+
value: AccountIDAmino;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* AccountID is the account identifier.
|
|
45
|
+
* @name AccountID
|
|
46
|
+
* @package akash.escrow.v1
|
|
47
|
+
* @see proto type: akash.escrow.v1.AccountID
|
|
48
|
+
*/
|
|
49
|
+
export declare const AccountID: {
|
|
50
|
+
typeUrl: string;
|
|
51
|
+
encode(message: AccountID, writer?: BinaryWriter): BinaryWriter;
|
|
52
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AccountID;
|
|
53
|
+
fromPartial(object: DeepPartial<AccountID>): AccountID;
|
|
54
|
+
fromAmino(object: AccountIDAmino): AccountID;
|
|
55
|
+
toAmino(message: AccountID): AccountIDAmino;
|
|
56
|
+
fromAminoMsg(object: AccountIDAminoMsg): AccountID;
|
|
57
|
+
fromProtoMsg(message: AccountIDProtoMsg): AccountID;
|
|
58
|
+
toProto(message: AccountID): Uint8Array;
|
|
59
|
+
toProtoMsg(message: AccountID): AccountIDProtoMsg;
|
|
60
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountID = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseAccountID() {
|
|
7
|
+
return {
|
|
8
|
+
scope: "",
|
|
9
|
+
xid: ""
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* AccountID is the account identifier.
|
|
14
|
+
* @name AccountID
|
|
15
|
+
* @package akash.escrow.v1
|
|
16
|
+
* @see proto type: akash.escrow.v1.AccountID
|
|
17
|
+
*/
|
|
18
|
+
exports.AccountID = {
|
|
19
|
+
typeUrl: "/akash.escrow.v1.AccountID",
|
|
20
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
21
|
+
if (message.scope !== "") {
|
|
22
|
+
writer.uint32(10).string(message.scope);
|
|
23
|
+
}
|
|
24
|
+
if (message.xid !== "") {
|
|
25
|
+
writer.uint32(18).string(message.xid);
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
31
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBaseAccountID();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
message.scope = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
case 2:
|
|
40
|
+
message.xid = reader.string();
|
|
41
|
+
break;
|
|
42
|
+
default:
|
|
43
|
+
reader.skipType(tag & 7);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return message;
|
|
48
|
+
},
|
|
49
|
+
fromPartial(object) {
|
|
50
|
+
const message = createBaseAccountID();
|
|
51
|
+
message.scope = object.scope ?? "";
|
|
52
|
+
message.xid = object.xid ?? "";
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromAmino(object) {
|
|
56
|
+
const message = createBaseAccountID();
|
|
57
|
+
if (object.scope !== undefined && object.scope !== null) {
|
|
58
|
+
message.scope = object.scope;
|
|
59
|
+
}
|
|
60
|
+
if (object.xid !== undefined && object.xid !== null) {
|
|
61
|
+
message.xid = object.xid;
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
toAmino(message) {
|
|
66
|
+
const obj = {};
|
|
67
|
+
obj.scope = message.scope ?? "";
|
|
68
|
+
obj.xid = message.xid ?? "";
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
fromAminoMsg(object) {
|
|
72
|
+
return exports.AccountID.fromAmino(object.value);
|
|
73
|
+
},
|
|
74
|
+
fromProtoMsg(message) {
|
|
75
|
+
return exports.AccountID.decode(message.value);
|
|
76
|
+
},
|
|
77
|
+
toProto(message) {
|
|
78
|
+
return exports.AccountID.encode(message).finish();
|
|
79
|
+
},
|
|
80
|
+
toProtoMsg(message) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/akash.escrow.v1.AccountID",
|
|
83
|
+
value: exports.AccountID.encode(message).finish()
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { AccountID, AccountIDAmino } from "./accountid";
|
|
2
|
+
import { DecCoin, DecCoinAmino, Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/** State defines payment state */
|
|
6
|
+
export declare enum FractionalPayment_State {
|
|
7
|
+
/** invalid - PaymentStateInvalid is the state when the payment is invalid. */
|
|
8
|
+
invalid = 0,
|
|
9
|
+
/** open - PaymentStateOpen is the state when the payment is open. */
|
|
10
|
+
open = 1,
|
|
11
|
+
/** closed - PaymentStateClosed is the state when the payment is closed. */
|
|
12
|
+
closed = 2,
|
|
13
|
+
/** overdrawn - PaymentStateOverdrawn is the state when the payment is overdrawn. */
|
|
14
|
+
overdrawn = 3,
|
|
15
|
+
UNRECOGNIZED = -1
|
|
16
|
+
}
|
|
17
|
+
export declare const FractionalPayment_StateAmino: typeof FractionalPayment_State;
|
|
18
|
+
export declare function fractionalPayment_StateFromJSON(object: any): FractionalPayment_State;
|
|
19
|
+
export declare function fractionalPayment_StateToJSON(object: FractionalPayment_State): string;
|
|
20
|
+
/**
|
|
21
|
+
* FractionalPayment stores state for a payment.
|
|
22
|
+
* @name FractionalPayment
|
|
23
|
+
* @package akash.escrow.v1
|
|
24
|
+
* @see proto type: akash.escrow.v1.FractionalPayment
|
|
25
|
+
*/
|
|
26
|
+
export interface FractionalPayment {
|
|
27
|
+
/**
|
|
28
|
+
* AccountId is the unique identifier for the account.
|
|
29
|
+
*/
|
|
30
|
+
accountId: AccountID;
|
|
31
|
+
/**
|
|
32
|
+
* PaymentId is the unique identifier for the payment.
|
|
33
|
+
*/
|
|
34
|
+
paymentId: string;
|
|
35
|
+
/**
|
|
36
|
+
* Owner is the bech32 address of the payment.
|
|
37
|
+
* It is a string representing a valid account address.
|
|
38
|
+
*
|
|
39
|
+
* Example:
|
|
40
|
+
* "akash1..."
|
|
41
|
+
*/
|
|
42
|
+
owner: string;
|
|
43
|
+
/**
|
|
44
|
+
* State represents the state of the FractionalPayment.
|
|
45
|
+
*/
|
|
46
|
+
state: FractionalPayment_State;
|
|
47
|
+
/**
|
|
48
|
+
* Rate holds the rate of the FractionalPayment.
|
|
49
|
+
*/
|
|
50
|
+
rate: DecCoin;
|
|
51
|
+
/**
|
|
52
|
+
* Balance is the current available coins.
|
|
53
|
+
*/
|
|
54
|
+
balance: DecCoin;
|
|
55
|
+
/**
|
|
56
|
+
* Withdrawn corresponds to the amount of coins withdrawn by the FractionalPayment.
|
|
57
|
+
*/
|
|
58
|
+
withdrawn: Coin;
|
|
59
|
+
}
|
|
60
|
+
export interface FractionalPaymentProtoMsg {
|
|
61
|
+
typeUrl: "/akash.escrow.v1.FractionalPayment";
|
|
62
|
+
value: Uint8Array;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* FractionalPayment stores state for a payment.
|
|
66
|
+
* @name FractionalPaymentAmino
|
|
67
|
+
* @package akash.escrow.v1
|
|
68
|
+
* @see proto type: akash.escrow.v1.FractionalPayment
|
|
69
|
+
*/
|
|
70
|
+
export interface FractionalPaymentAmino {
|
|
71
|
+
/**
|
|
72
|
+
* AccountId is the unique identifier for the account.
|
|
73
|
+
*/
|
|
74
|
+
account_id: AccountIDAmino;
|
|
75
|
+
/**
|
|
76
|
+
* PaymentId is the unique identifier for the payment.
|
|
77
|
+
*/
|
|
78
|
+
payment_id: string;
|
|
79
|
+
/**
|
|
80
|
+
* Owner is the bech32 address of the payment.
|
|
81
|
+
* It is a string representing a valid account address.
|
|
82
|
+
*
|
|
83
|
+
* Example:
|
|
84
|
+
* "akash1..."
|
|
85
|
+
*/
|
|
86
|
+
owner: string;
|
|
87
|
+
/**
|
|
88
|
+
* State represents the state of the FractionalPayment.
|
|
89
|
+
*/
|
|
90
|
+
state: FractionalPayment_State;
|
|
91
|
+
/**
|
|
92
|
+
* Rate holds the rate of the FractionalPayment.
|
|
93
|
+
*/
|
|
94
|
+
rate: DecCoinAmino;
|
|
95
|
+
/**
|
|
96
|
+
* Balance is the current available coins.
|
|
97
|
+
*/
|
|
98
|
+
balance: DecCoinAmino;
|
|
99
|
+
/**
|
|
100
|
+
* Withdrawn corresponds to the amount of coins withdrawn by the FractionalPayment.
|
|
101
|
+
*/
|
|
102
|
+
withdrawn: CoinAmino;
|
|
103
|
+
}
|
|
104
|
+
export interface FractionalPaymentAminoMsg {
|
|
105
|
+
type: "/akash.escrow.v1.FractionalPayment";
|
|
106
|
+
value: FractionalPaymentAmino;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* FractionalPayment stores state for a payment.
|
|
110
|
+
* @name FractionalPayment
|
|
111
|
+
* @package akash.escrow.v1
|
|
112
|
+
* @see proto type: akash.escrow.v1.FractionalPayment
|
|
113
|
+
*/
|
|
114
|
+
export declare const FractionalPayment: {
|
|
115
|
+
typeUrl: string;
|
|
116
|
+
encode(message: FractionalPayment, writer?: BinaryWriter): BinaryWriter;
|
|
117
|
+
decode(input: BinaryReader | Uint8Array, length?: number): FractionalPayment;
|
|
118
|
+
fromPartial(object: DeepPartial<FractionalPayment>): FractionalPayment;
|
|
119
|
+
fromAmino(object: FractionalPaymentAmino): FractionalPayment;
|
|
120
|
+
toAmino(message: FractionalPayment): FractionalPaymentAmino;
|
|
121
|
+
fromAminoMsg(object: FractionalPaymentAminoMsg): FractionalPayment;
|
|
122
|
+
fromProtoMsg(message: FractionalPaymentProtoMsg): FractionalPayment;
|
|
123
|
+
toProto(message: FractionalPayment): Uint8Array;
|
|
124
|
+
toProtoMsg(message: FractionalPayment): FractionalPaymentProtoMsg;
|
|
125
|
+
};
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FractionalPayment = exports.FractionalPayment_StateAmino = exports.FractionalPayment_State = void 0;
|
|
4
|
+
exports.fractionalPayment_StateFromJSON = fractionalPayment_StateFromJSON;
|
|
5
|
+
exports.fractionalPayment_StateToJSON = fractionalPayment_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 defines payment state */
|
|
11
|
+
var FractionalPayment_State;
|
|
12
|
+
(function (FractionalPayment_State) {
|
|
13
|
+
/** invalid - PaymentStateInvalid is the state when the payment is invalid. */
|
|
14
|
+
FractionalPayment_State[FractionalPayment_State["invalid"] = 0] = "invalid";
|
|
15
|
+
/** open - PaymentStateOpen is the state when the payment is open. */
|
|
16
|
+
FractionalPayment_State[FractionalPayment_State["open"] = 1] = "open";
|
|
17
|
+
/** closed - PaymentStateClosed is the state when the payment is closed. */
|
|
18
|
+
FractionalPayment_State[FractionalPayment_State["closed"] = 2] = "closed";
|
|
19
|
+
/** overdrawn - PaymentStateOverdrawn is the state when the payment is overdrawn. */
|
|
20
|
+
FractionalPayment_State[FractionalPayment_State["overdrawn"] = 3] = "overdrawn";
|
|
21
|
+
FractionalPayment_State[FractionalPayment_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
+
})(FractionalPayment_State || (exports.FractionalPayment_State = FractionalPayment_State = {}));
|
|
23
|
+
exports.FractionalPayment_StateAmino = FractionalPayment_State;
|
|
24
|
+
function fractionalPayment_StateFromJSON(object) {
|
|
25
|
+
switch (object) {
|
|
26
|
+
case 0:
|
|
27
|
+
case "invalid":
|
|
28
|
+
return FractionalPayment_State.invalid;
|
|
29
|
+
case 1:
|
|
30
|
+
case "open":
|
|
31
|
+
return FractionalPayment_State.open;
|
|
32
|
+
case 2:
|
|
33
|
+
case "closed":
|
|
34
|
+
return FractionalPayment_State.closed;
|
|
35
|
+
case 3:
|
|
36
|
+
case "overdrawn":
|
|
37
|
+
return FractionalPayment_State.overdrawn;
|
|
38
|
+
case -1:
|
|
39
|
+
case "UNRECOGNIZED":
|
|
40
|
+
default:
|
|
41
|
+
return FractionalPayment_State.UNRECOGNIZED;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function fractionalPayment_StateToJSON(object) {
|
|
45
|
+
switch (object) {
|
|
46
|
+
case FractionalPayment_State.invalid:
|
|
47
|
+
return "invalid";
|
|
48
|
+
case FractionalPayment_State.open:
|
|
49
|
+
return "open";
|
|
50
|
+
case FractionalPayment_State.closed:
|
|
51
|
+
return "closed";
|
|
52
|
+
case FractionalPayment_State.overdrawn:
|
|
53
|
+
return "overdrawn";
|
|
54
|
+
case FractionalPayment_State.UNRECOGNIZED:
|
|
55
|
+
default:
|
|
56
|
+
return "UNRECOGNIZED";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function createBaseFractionalPayment() {
|
|
60
|
+
return {
|
|
61
|
+
accountId: accountid_1.AccountID.fromPartial({}),
|
|
62
|
+
paymentId: "",
|
|
63
|
+
owner: "",
|
|
64
|
+
state: 0,
|
|
65
|
+
rate: coin_1.DecCoin.fromPartial({}),
|
|
66
|
+
balance: coin_1.DecCoin.fromPartial({}),
|
|
67
|
+
withdrawn: coin_1.Coin.fromPartial({})
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* FractionalPayment stores state for a payment.
|
|
72
|
+
* @name FractionalPayment
|
|
73
|
+
* @package akash.escrow.v1
|
|
74
|
+
* @see proto type: akash.escrow.v1.FractionalPayment
|
|
75
|
+
*/
|
|
76
|
+
exports.FractionalPayment = {
|
|
77
|
+
typeUrl: "/akash.escrow.v1.FractionalPayment",
|
|
78
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
79
|
+
if (message.accountId !== undefined) {
|
|
80
|
+
accountid_1.AccountID.encode(message.accountId, writer.uint32(10).fork()).ldelim();
|
|
81
|
+
}
|
|
82
|
+
if (message.paymentId !== "") {
|
|
83
|
+
writer.uint32(18).string(message.paymentId);
|
|
84
|
+
}
|
|
85
|
+
if (message.owner !== "") {
|
|
86
|
+
writer.uint32(26).string(message.owner);
|
|
87
|
+
}
|
|
88
|
+
if (message.state !== 0) {
|
|
89
|
+
writer.uint32(32).int32(message.state);
|
|
90
|
+
}
|
|
91
|
+
if (message.rate !== undefined) {
|
|
92
|
+
coin_1.DecCoin.encode(message.rate, writer.uint32(42).fork()).ldelim();
|
|
93
|
+
}
|
|
94
|
+
if (message.balance !== undefined) {
|
|
95
|
+
coin_1.DecCoin.encode(message.balance, writer.uint32(50).fork()).ldelim();
|
|
96
|
+
}
|
|
97
|
+
if (message.withdrawn !== undefined) {
|
|
98
|
+
coin_1.Coin.encode(message.withdrawn, writer.uint32(58).fork()).ldelim();
|
|
99
|
+
}
|
|
100
|
+
return writer;
|
|
101
|
+
},
|
|
102
|
+
decode(input, length) {
|
|
103
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
104
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
105
|
+
const message = createBaseFractionalPayment();
|
|
106
|
+
while (reader.pos < end) {
|
|
107
|
+
const tag = reader.uint32();
|
|
108
|
+
switch (tag >>> 3) {
|
|
109
|
+
case 1:
|
|
110
|
+
message.accountId = accountid_1.AccountID.decode(reader, reader.uint32());
|
|
111
|
+
break;
|
|
112
|
+
case 2:
|
|
113
|
+
message.paymentId = reader.string();
|
|
114
|
+
break;
|
|
115
|
+
case 3:
|
|
116
|
+
message.owner = reader.string();
|
|
117
|
+
break;
|
|
118
|
+
case 4:
|
|
119
|
+
message.state = reader.int32();
|
|
120
|
+
break;
|
|
121
|
+
case 5:
|
|
122
|
+
message.rate = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
123
|
+
break;
|
|
124
|
+
case 6:
|
|
125
|
+
message.balance = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
126
|
+
break;
|
|
127
|
+
case 7:
|
|
128
|
+
message.withdrawn = coin_1.Coin.decode(reader, reader.uint32());
|
|
129
|
+
break;
|
|
130
|
+
default:
|
|
131
|
+
reader.skipType(tag & 7);
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return message;
|
|
136
|
+
},
|
|
137
|
+
fromPartial(object) {
|
|
138
|
+
const message = createBaseFractionalPayment();
|
|
139
|
+
message.accountId = object.accountId !== undefined && object.accountId !== null ? accountid_1.AccountID.fromPartial(object.accountId) : undefined;
|
|
140
|
+
message.paymentId = object.paymentId ?? "";
|
|
141
|
+
message.owner = object.owner ?? "";
|
|
142
|
+
message.state = object.state ?? 0;
|
|
143
|
+
message.rate = object.rate !== undefined && object.rate !== null ? coin_1.DecCoin.fromPartial(object.rate) : undefined;
|
|
144
|
+
message.balance = object.balance !== undefined && object.balance !== null ? coin_1.DecCoin.fromPartial(object.balance) : undefined;
|
|
145
|
+
message.withdrawn = object.withdrawn !== undefined && object.withdrawn !== null ? coin_1.Coin.fromPartial(object.withdrawn) : undefined;
|
|
146
|
+
return message;
|
|
147
|
+
},
|
|
148
|
+
fromAmino(object) {
|
|
149
|
+
const message = createBaseFractionalPayment();
|
|
150
|
+
if (object.account_id !== undefined && object.account_id !== null) {
|
|
151
|
+
message.accountId = accountid_1.AccountID.fromAmino(object.account_id);
|
|
152
|
+
}
|
|
153
|
+
if (object.payment_id !== undefined && object.payment_id !== null) {
|
|
154
|
+
message.paymentId = object.payment_id;
|
|
155
|
+
}
|
|
156
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
157
|
+
message.owner = object.owner;
|
|
158
|
+
}
|
|
159
|
+
if (object.state !== undefined && object.state !== null) {
|
|
160
|
+
message.state = object.state;
|
|
161
|
+
}
|
|
162
|
+
if (object.rate !== undefined && object.rate !== null) {
|
|
163
|
+
message.rate = coin_1.DecCoin.fromAmino(object.rate);
|
|
164
|
+
}
|
|
165
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
166
|
+
message.balance = coin_1.DecCoin.fromAmino(object.balance);
|
|
167
|
+
}
|
|
168
|
+
if (object.withdrawn !== undefined && object.withdrawn !== null) {
|
|
169
|
+
message.withdrawn = coin_1.Coin.fromAmino(object.withdrawn);
|
|
170
|
+
}
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
toAmino(message) {
|
|
174
|
+
const obj = {};
|
|
175
|
+
obj.account_id = message.accountId ? accountid_1.AccountID.toAmino(message.accountId) : accountid_1.AccountID.toAmino(accountid_1.AccountID.fromPartial({}));
|
|
176
|
+
obj.payment_id = message.paymentId ?? "";
|
|
177
|
+
obj.owner = message.owner ?? "";
|
|
178
|
+
obj.state = message.state ?? 0;
|
|
179
|
+
obj.rate = message.rate ? coin_1.DecCoin.toAmino(message.rate) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
180
|
+
obj.balance = message.balance ? coin_1.DecCoin.toAmino(message.balance) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
181
|
+
obj.withdrawn = message.withdrawn ? coin_1.Coin.toAmino(message.withdrawn) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
182
|
+
return obj;
|
|
183
|
+
},
|
|
184
|
+
fromAminoMsg(object) {
|
|
185
|
+
return exports.FractionalPayment.fromAmino(object.value);
|
|
186
|
+
},
|
|
187
|
+
fromProtoMsg(message) {
|
|
188
|
+
return exports.FractionalPayment.decode(message.value);
|
|
189
|
+
},
|
|
190
|
+
toProto(message) {
|
|
191
|
+
return exports.FractionalPayment.encode(message).finish();
|
|
192
|
+
},
|
|
193
|
+
toProtoMsg(message) {
|
|
194
|
+
return {
|
|
195
|
+
typeUrl: "/akash.escrow.v1.FractionalPayment",
|
|
196
|
+
value: exports.FractionalPayment.encode(message).finish()
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Account, AccountAmino } from "./account";
|
|
2
|
+
import { FractionalPayment, FractionalPaymentAmino } from "./fractional_payment";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* GenesisState defines the basic genesis state used by the escrow module.
|
|
7
|
+
* @name GenesisState
|
|
8
|
+
* @package akash.escrow.v1
|
|
9
|
+
* @see proto type: akash.escrow.v1.GenesisState
|
|
10
|
+
*/
|
|
11
|
+
export interface GenesisState {
|
|
12
|
+
/**
|
|
13
|
+
* Accounts is a list of accounts on the genesis state.
|
|
14
|
+
*/
|
|
15
|
+
accounts: Account[];
|
|
16
|
+
/**
|
|
17
|
+
* Payments is a list of fractional payments on the genesis state..
|
|
18
|
+
*/
|
|
19
|
+
payments: FractionalPayment[];
|
|
20
|
+
}
|
|
21
|
+
export interface GenesisStateProtoMsg {
|
|
22
|
+
typeUrl: "/akash.escrow.v1.GenesisState";
|
|
23
|
+
value: Uint8Array;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* GenesisState defines the basic genesis state used by the escrow module.
|
|
27
|
+
* @name GenesisStateAmino
|
|
28
|
+
* @package akash.escrow.v1
|
|
29
|
+
* @see proto type: akash.escrow.v1.GenesisState
|
|
30
|
+
*/
|
|
31
|
+
export interface GenesisStateAmino {
|
|
32
|
+
/**
|
|
33
|
+
* Accounts is a list of accounts on the genesis state.
|
|
34
|
+
*/
|
|
35
|
+
accounts: AccountAmino[];
|
|
36
|
+
/**
|
|
37
|
+
* Payments is a list of fractional payments on the genesis state..
|
|
38
|
+
*/
|
|
39
|
+
payments: FractionalPaymentAmino[];
|
|
40
|
+
}
|
|
41
|
+
export interface GenesisStateAminoMsg {
|
|
42
|
+
type: "/akash.escrow.v1.GenesisState";
|
|
43
|
+
value: GenesisStateAmino;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* GenesisState defines the basic genesis state used by the escrow module.
|
|
47
|
+
* @name GenesisState
|
|
48
|
+
* @package akash.escrow.v1
|
|
49
|
+
* @see proto type: akash.escrow.v1.GenesisState
|
|
50
|
+
*/
|
|
51
|
+
export declare const GenesisState: {
|
|
52
|
+
typeUrl: string;
|
|
53
|
+
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
54
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
55
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
56
|
+
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
57
|
+
toAmino(message: GenesisState): GenesisStateAmino;
|
|
58
|
+
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
59
|
+
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
|
|
60
|
+
toProto(message: GenesisState): Uint8Array;
|
|
61
|
+
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
62
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GenesisState = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const account_1 = require("./account");
|
|
6
|
+
const fractional_payment_1 = require("./fractional_payment");
|
|
7
|
+
const binary_1 = require("../../../binary");
|
|
8
|
+
function createBaseGenesisState() {
|
|
9
|
+
return {
|
|
10
|
+
accounts: [],
|
|
11
|
+
payments: []
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* GenesisState defines the basic genesis state used by the escrow module.
|
|
16
|
+
* @name GenesisState
|
|
17
|
+
* @package akash.escrow.v1
|
|
18
|
+
* @see proto type: akash.escrow.v1.GenesisState
|
|
19
|
+
*/
|
|
20
|
+
exports.GenesisState = {
|
|
21
|
+
typeUrl: "/akash.escrow.v1.GenesisState",
|
|
22
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
|
+
for (const v of message.accounts) {
|
|
24
|
+
account_1.Account.encode(v, writer.uint32(10).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
for (const v of message.payments) {
|
|
27
|
+
fractional_payment_1.FractionalPayment.encode(v, writer.uint32(18).fork()).ldelim();
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseGenesisState();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
message.accounts.push(account_1.Account.decode(reader, reader.uint32()));
|
|
40
|
+
break;
|
|
41
|
+
case 2:
|
|
42
|
+
message.payments.push(fractional_payment_1.FractionalPayment.decode(reader, reader.uint32()));
|
|
43
|
+
break;
|
|
44
|
+
default:
|
|
45
|
+
reader.skipType(tag & 7);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
fromPartial(object) {
|
|
52
|
+
const message = createBaseGenesisState();
|
|
53
|
+
message.accounts = object.accounts?.map(e => account_1.Account.fromPartial(e)) || [];
|
|
54
|
+
message.payments = object.payments?.map(e => fractional_payment_1.FractionalPayment.fromPartial(e)) || [];
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromAmino(object) {
|
|
58
|
+
const message = createBaseGenesisState();
|
|
59
|
+
message.accounts = object.accounts?.map(e => account_1.Account.fromAmino(e)) || [];
|
|
60
|
+
message.payments = object.payments?.map(e => fractional_payment_1.FractionalPayment.fromAmino(e)) || [];
|
|
61
|
+
return message;
|
|
62
|
+
},
|
|
63
|
+
toAmino(message) {
|
|
64
|
+
const obj = {};
|
|
65
|
+
if (message.accounts) {
|
|
66
|
+
obj.accounts = message.accounts.map(e => e ? account_1.Account.toAmino(e) : undefined);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
obj.accounts = message.accounts;
|
|
70
|
+
}
|
|
71
|
+
if (message.payments) {
|
|
72
|
+
obj.payments = message.payments.map(e => e ? fractional_payment_1.FractionalPayment.toAmino(e) : undefined);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
obj.payments = message.payments;
|
|
76
|
+
}
|
|
77
|
+
return obj;
|
|
78
|
+
},
|
|
79
|
+
fromAminoMsg(object) {
|
|
80
|
+
return exports.GenesisState.fromAmino(object.value);
|
|
81
|
+
},
|
|
82
|
+
fromProtoMsg(message) {
|
|
83
|
+
return exports.GenesisState.decode(message.value);
|
|
84
|
+
},
|
|
85
|
+
toProto(message) {
|
|
86
|
+
return exports.GenesisState.encode(message).finish();
|
|
87
|
+
},
|
|
88
|
+
toProtoMsg(message) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/akash.escrow.v1.GenesisState",
|
|
91
|
+
value: exports.GenesisState.encode(message).finish()
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
};
|