@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,295 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
+
import { Provider } from "./provider";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
function createBaseQueryProvidersRequest() {
|
|
6
|
+
return {
|
|
7
|
+
pagination: undefined
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* QueryProvidersRequest is request type for the Query/Providers RPC method
|
|
12
|
+
* @name QueryProvidersRequest
|
|
13
|
+
* @package akash.provider.v1beta4
|
|
14
|
+
* @see proto type: akash.provider.v1beta4.QueryProvidersRequest
|
|
15
|
+
*/
|
|
16
|
+
export const QueryProvidersRequest = {
|
|
17
|
+
typeUrl: "/akash.provider.v1beta4.QueryProvidersRequest",
|
|
18
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
19
|
+
if (message.pagination !== undefined) {
|
|
20
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
},
|
|
24
|
+
decode(input, length) {
|
|
25
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
26
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
27
|
+
const message = createBaseQueryProvidersRequest();
|
|
28
|
+
while (reader.pos < end) {
|
|
29
|
+
const tag = reader.uint32();
|
|
30
|
+
switch (tag >>> 3) {
|
|
31
|
+
case 1:
|
|
32
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
reader.skipType(tag & 7);
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return message;
|
|
40
|
+
},
|
|
41
|
+
fromPartial(object) {
|
|
42
|
+
const message = createBaseQueryProvidersRequest();
|
|
43
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromAmino(object) {
|
|
47
|
+
const message = createBaseQueryProvidersRequest();
|
|
48
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
49
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
50
|
+
}
|
|
51
|
+
return message;
|
|
52
|
+
},
|
|
53
|
+
toAmino(message) {
|
|
54
|
+
const obj = {};
|
|
55
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
56
|
+
return obj;
|
|
57
|
+
},
|
|
58
|
+
fromAminoMsg(object) {
|
|
59
|
+
return QueryProvidersRequest.fromAmino(object.value);
|
|
60
|
+
},
|
|
61
|
+
fromProtoMsg(message) {
|
|
62
|
+
return QueryProvidersRequest.decode(message.value);
|
|
63
|
+
},
|
|
64
|
+
toProto(message) {
|
|
65
|
+
return QueryProvidersRequest.encode(message).finish();
|
|
66
|
+
},
|
|
67
|
+
toProtoMsg(message) {
|
|
68
|
+
return {
|
|
69
|
+
typeUrl: "/akash.provider.v1beta4.QueryProvidersRequest",
|
|
70
|
+
value: QueryProvidersRequest.encode(message).finish()
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
function createBaseQueryProvidersResponse() {
|
|
75
|
+
return {
|
|
76
|
+
providers: [],
|
|
77
|
+
pagination: undefined
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* QueryProvidersResponse is response type for the Query/Providers RPC method
|
|
82
|
+
* @name QueryProvidersResponse
|
|
83
|
+
* @package akash.provider.v1beta4
|
|
84
|
+
* @see proto type: akash.provider.v1beta4.QueryProvidersResponse
|
|
85
|
+
*/
|
|
86
|
+
export const QueryProvidersResponse = {
|
|
87
|
+
typeUrl: "/akash.provider.v1beta4.QueryProvidersResponse",
|
|
88
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
89
|
+
for (const v of message.providers) {
|
|
90
|
+
Provider.encode(v, writer.uint32(10).fork()).ldelim();
|
|
91
|
+
}
|
|
92
|
+
if (message.pagination !== undefined) {
|
|
93
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
94
|
+
}
|
|
95
|
+
return writer;
|
|
96
|
+
},
|
|
97
|
+
decode(input, length) {
|
|
98
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
99
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
100
|
+
const message = createBaseQueryProvidersResponse();
|
|
101
|
+
while (reader.pos < end) {
|
|
102
|
+
const tag = reader.uint32();
|
|
103
|
+
switch (tag >>> 3) {
|
|
104
|
+
case 1:
|
|
105
|
+
message.providers.push(Provider.decode(reader, reader.uint32()));
|
|
106
|
+
break;
|
|
107
|
+
case 2:
|
|
108
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
109
|
+
break;
|
|
110
|
+
default:
|
|
111
|
+
reader.skipType(tag & 7);
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
return message;
|
|
116
|
+
},
|
|
117
|
+
fromPartial(object) {
|
|
118
|
+
const message = createBaseQueryProvidersResponse();
|
|
119
|
+
message.providers = object.providers?.map(e => Provider.fromPartial(e)) || [];
|
|
120
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
121
|
+
return message;
|
|
122
|
+
},
|
|
123
|
+
fromAmino(object) {
|
|
124
|
+
const message = createBaseQueryProvidersResponse();
|
|
125
|
+
message.providers = object.providers?.map(e => Provider.fromAmino(e)) || [];
|
|
126
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
127
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
toAmino(message) {
|
|
132
|
+
const obj = {};
|
|
133
|
+
if (message.providers) {
|
|
134
|
+
obj.providers = message.providers.map(e => e ? Provider.toAmino(e) : undefined);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
obj.providers = message.providers;
|
|
138
|
+
}
|
|
139
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
140
|
+
return obj;
|
|
141
|
+
},
|
|
142
|
+
fromAminoMsg(object) {
|
|
143
|
+
return QueryProvidersResponse.fromAmino(object.value);
|
|
144
|
+
},
|
|
145
|
+
fromProtoMsg(message) {
|
|
146
|
+
return QueryProvidersResponse.decode(message.value);
|
|
147
|
+
},
|
|
148
|
+
toProto(message) {
|
|
149
|
+
return QueryProvidersResponse.encode(message).finish();
|
|
150
|
+
},
|
|
151
|
+
toProtoMsg(message) {
|
|
152
|
+
return {
|
|
153
|
+
typeUrl: "/akash.provider.v1beta4.QueryProvidersResponse",
|
|
154
|
+
value: QueryProvidersResponse.encode(message).finish()
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
function createBaseQueryProviderRequest() {
|
|
159
|
+
return {
|
|
160
|
+
owner: ""
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* QueryProviderRequest is request type for the Query/Provider RPC method
|
|
165
|
+
* @name QueryProviderRequest
|
|
166
|
+
* @package akash.provider.v1beta4
|
|
167
|
+
* @see proto type: akash.provider.v1beta4.QueryProviderRequest
|
|
168
|
+
*/
|
|
169
|
+
export const QueryProviderRequest = {
|
|
170
|
+
typeUrl: "/akash.provider.v1beta4.QueryProviderRequest",
|
|
171
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
172
|
+
if (message.owner !== "") {
|
|
173
|
+
writer.uint32(10).string(message.owner);
|
|
174
|
+
}
|
|
175
|
+
return writer;
|
|
176
|
+
},
|
|
177
|
+
decode(input, length) {
|
|
178
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
179
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
180
|
+
const message = createBaseQueryProviderRequest();
|
|
181
|
+
while (reader.pos < end) {
|
|
182
|
+
const tag = reader.uint32();
|
|
183
|
+
switch (tag >>> 3) {
|
|
184
|
+
case 1:
|
|
185
|
+
message.owner = reader.string();
|
|
186
|
+
break;
|
|
187
|
+
default:
|
|
188
|
+
reader.skipType(tag & 7);
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return message;
|
|
193
|
+
},
|
|
194
|
+
fromPartial(object) {
|
|
195
|
+
const message = createBaseQueryProviderRequest();
|
|
196
|
+
message.owner = object.owner ?? "";
|
|
197
|
+
return message;
|
|
198
|
+
},
|
|
199
|
+
fromAmino(object) {
|
|
200
|
+
const message = createBaseQueryProviderRequest();
|
|
201
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
202
|
+
message.owner = object.owner;
|
|
203
|
+
}
|
|
204
|
+
return message;
|
|
205
|
+
},
|
|
206
|
+
toAmino(message) {
|
|
207
|
+
const obj = {};
|
|
208
|
+
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
209
|
+
return obj;
|
|
210
|
+
},
|
|
211
|
+
fromAminoMsg(object) {
|
|
212
|
+
return QueryProviderRequest.fromAmino(object.value);
|
|
213
|
+
},
|
|
214
|
+
fromProtoMsg(message) {
|
|
215
|
+
return QueryProviderRequest.decode(message.value);
|
|
216
|
+
},
|
|
217
|
+
toProto(message) {
|
|
218
|
+
return QueryProviderRequest.encode(message).finish();
|
|
219
|
+
},
|
|
220
|
+
toProtoMsg(message) {
|
|
221
|
+
return {
|
|
222
|
+
typeUrl: "/akash.provider.v1beta4.QueryProviderRequest",
|
|
223
|
+
value: QueryProviderRequest.encode(message).finish()
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
function createBaseQueryProviderResponse() {
|
|
228
|
+
return {
|
|
229
|
+
provider: Provider.fromPartial({})
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* QueryProviderResponse is response type for the Query/Provider RPC method.
|
|
234
|
+
* @name QueryProviderResponse
|
|
235
|
+
* @package akash.provider.v1beta4
|
|
236
|
+
* @see proto type: akash.provider.v1beta4.QueryProviderResponse
|
|
237
|
+
*/
|
|
238
|
+
export const QueryProviderResponse = {
|
|
239
|
+
typeUrl: "/akash.provider.v1beta4.QueryProviderResponse",
|
|
240
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
241
|
+
if (message.provider !== undefined) {
|
|
242
|
+
Provider.encode(message.provider, writer.uint32(10).fork()).ldelim();
|
|
243
|
+
}
|
|
244
|
+
return writer;
|
|
245
|
+
},
|
|
246
|
+
decode(input, length) {
|
|
247
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
248
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
249
|
+
const message = createBaseQueryProviderResponse();
|
|
250
|
+
while (reader.pos < end) {
|
|
251
|
+
const tag = reader.uint32();
|
|
252
|
+
switch (tag >>> 3) {
|
|
253
|
+
case 1:
|
|
254
|
+
message.provider = Provider.decode(reader, reader.uint32());
|
|
255
|
+
break;
|
|
256
|
+
default:
|
|
257
|
+
reader.skipType(tag & 7);
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return message;
|
|
262
|
+
},
|
|
263
|
+
fromPartial(object) {
|
|
264
|
+
const message = createBaseQueryProviderResponse();
|
|
265
|
+
message.provider = object.provider !== undefined && object.provider !== null ? Provider.fromPartial(object.provider) : undefined;
|
|
266
|
+
return message;
|
|
267
|
+
},
|
|
268
|
+
fromAmino(object) {
|
|
269
|
+
const message = createBaseQueryProviderResponse();
|
|
270
|
+
if (object.provider !== undefined && object.provider !== null) {
|
|
271
|
+
message.provider = Provider.fromAmino(object.provider);
|
|
272
|
+
}
|
|
273
|
+
return message;
|
|
274
|
+
},
|
|
275
|
+
toAmino(message) {
|
|
276
|
+
const obj = {};
|
|
277
|
+
obj.provider = message.provider ? Provider.toAmino(message.provider) : undefined;
|
|
278
|
+
return obj;
|
|
279
|
+
},
|
|
280
|
+
fromAminoMsg(object) {
|
|
281
|
+
return QueryProviderResponse.fromAmino(object.value);
|
|
282
|
+
},
|
|
283
|
+
fromProtoMsg(message) {
|
|
284
|
+
return QueryProviderResponse.decode(message.value);
|
|
285
|
+
},
|
|
286
|
+
toProto(message) {
|
|
287
|
+
return QueryProviderResponse.encode(message).finish();
|
|
288
|
+
},
|
|
289
|
+
toProtoMsg(message) {
|
|
290
|
+
return {
|
|
291
|
+
typeUrl: "/akash.provider.v1beta4.QueryProviderResponse",
|
|
292
|
+
value: QueryProviderResponse.encode(message).finish()
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { setPaginationParams } from "../../../helpers";
|
|
3
|
+
export class LCDQueryClient {
|
|
4
|
+
req;
|
|
5
|
+
constructor({ requestClient }) {
|
|
6
|
+
this.req = requestClient;
|
|
7
|
+
}
|
|
8
|
+
/* Providers queries providers */
|
|
9
|
+
providers = async (params = {
|
|
10
|
+
pagination: undefined
|
|
11
|
+
}) => {
|
|
12
|
+
const options = {
|
|
13
|
+
params: {}
|
|
14
|
+
};
|
|
15
|
+
if (typeof params?.pagination !== "undefined") {
|
|
16
|
+
setPaginationParams(options, params.pagination);
|
|
17
|
+
}
|
|
18
|
+
const endpoint = `akash/provider/v1beta4/providers`;
|
|
19
|
+
return await this.req.get(endpoint, options);
|
|
20
|
+
};
|
|
21
|
+
/* Provider queries provider details */
|
|
22
|
+
provider = async (params) => {
|
|
23
|
+
const endpoint = `akash/provider/v1beta4/providers/${params.owner}`;
|
|
24
|
+
return await this.req.get(endpoint);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryProvidersRequest, QueryProvidersResponse, QueryProviderRequest, QueryProviderResponse } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
}
|
|
9
|
+
/* Providers queries providers */
|
|
10
|
+
providers = async (request = {
|
|
11
|
+
pagination: undefined
|
|
12
|
+
}) => {
|
|
13
|
+
const data = QueryProvidersRequest.encode(request).finish();
|
|
14
|
+
const promise = this.rpc.request("akash.provider.v1beta4.Query", "Providers", data);
|
|
15
|
+
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
16
|
+
};
|
|
17
|
+
/* Provider queries provider details */
|
|
18
|
+
provider = async (request) => {
|
|
19
|
+
const data = QueryProviderRequest.encode(request).finish();
|
|
20
|
+
const promise = this.rpc.request("akash.provider.v1beta4.Query", "Provider", data);
|
|
21
|
+
return promise.then(data => QueryProviderResponse.decode(new BinaryReader(data)));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export const createRpcQueryExtension = (base) => {
|
|
25
|
+
const rpc = createProtobufRpcClient(base);
|
|
26
|
+
const queryService = new QueryClientImpl(rpc);
|
|
27
|
+
return {
|
|
28
|
+
providers(request) {
|
|
29
|
+
return queryService.providers(request);
|
|
30
|
+
},
|
|
31
|
+
provider(request) {
|
|
32
|
+
return queryService.provider(request);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./msg";
|
|
3
|
+
export const AminoConverter = {
|
|
4
|
+
"/akash.provider.v1beta4.MsgCreateProvider": {
|
|
5
|
+
aminoType: "/akash.provider.v1beta4.MsgCreateProvider",
|
|
6
|
+
toAmino: MsgCreateProvider.toAmino,
|
|
7
|
+
fromAmino: MsgCreateProvider.fromAmino
|
|
8
|
+
},
|
|
9
|
+
"/akash.provider.v1beta4.MsgUpdateProvider": {
|
|
10
|
+
aminoType: "/akash.provider.v1beta4.MsgUpdateProvider",
|
|
11
|
+
toAmino: MsgUpdateProvider.toAmino,
|
|
12
|
+
fromAmino: MsgUpdateProvider.fromAmino
|
|
13
|
+
},
|
|
14
|
+
"/akash.provider.v1beta4.MsgDeleteProvider": {
|
|
15
|
+
aminoType: "/akash.provider.v1beta4.MsgDeleteProvider",
|
|
16
|
+
toAmino: MsgDeleteProvider.toAmino,
|
|
17
|
+
fromAmino: MsgDeleteProvider.fromAmino
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { MsgCreateProvider, MsgUpdateProvider, MsgDeleteProvider } from "./msg";
|
|
2
|
+
export const registry = [["/akash.provider.v1beta4.MsgCreateProvider", MsgCreateProvider], ["/akash.provider.v1beta4.MsgUpdateProvider", MsgUpdateProvider], ["/akash.provider.v1beta4.MsgDeleteProvider", MsgDeleteProvider]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
createProvider(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/akash.provider.v1beta4.MsgCreateProvider",
|
|
13
|
+
value: MsgCreateProvider.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
updateProvider(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/akash.provider.v1beta4.MsgUpdateProvider",
|
|
19
|
+
value: MsgUpdateProvider.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
deleteProvider(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/akash.provider.v1beta4.MsgDeleteProvider",
|
|
25
|
+
value: MsgDeleteProvider.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
createProvider(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/akash.provider.v1beta4.MsgCreateProvider",
|
|
33
|
+
value
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
updateProvider(value) {
|
|
37
|
+
return {
|
|
38
|
+
typeUrl: "/akash.provider.v1beta4.MsgUpdateProvider",
|
|
39
|
+
value
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
deleteProvider(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/akash.provider.v1beta4.MsgDeleteProvider",
|
|
45
|
+
value
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
fromPartial: {
|
|
50
|
+
createProvider(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/akash.provider.v1beta4.MsgCreateProvider",
|
|
53
|
+
value: MsgCreateProvider.fromPartial(value)
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
updateProvider(value) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/akash.provider.v1beta4.MsgUpdateProvider",
|
|
59
|
+
value: MsgUpdateProvider.fromPartial(value)
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
deleteProvider(value) {
|
|
63
|
+
return {
|
|
64
|
+
typeUrl: "/akash.provider.v1beta4.MsgDeleteProvider",
|
|
65
|
+
value: MsgDeleteProvider.fromPartial(value)
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { MsgCreateProvider, MsgCreateProviderResponse, MsgUpdateProvider, MsgUpdateProviderResponse, MsgDeleteProvider, MsgDeleteProviderResponse } from "./msg";
|
|
3
|
+
export class MsgClientImpl {
|
|
4
|
+
rpc;
|
|
5
|
+
constructor(rpc) {
|
|
6
|
+
this.rpc = rpc;
|
|
7
|
+
}
|
|
8
|
+
/* CreateProvider defines a method that creates a provider given the proper inputs. */
|
|
9
|
+
createProvider = async (request) => {
|
|
10
|
+
const data = MsgCreateProvider.encode(request).finish();
|
|
11
|
+
const promise = this.rpc.request("akash.provider.v1beta4.Msg", "CreateProvider", data);
|
|
12
|
+
return promise.then(data => MsgCreateProviderResponse.decode(new BinaryReader(data)));
|
|
13
|
+
};
|
|
14
|
+
/* UpdateProvider defines a method that updates a provider given the proper inputs. */
|
|
15
|
+
updateProvider = async (request) => {
|
|
16
|
+
const data = MsgUpdateProvider.encode(request).finish();
|
|
17
|
+
const promise = this.rpc.request("akash.provider.v1beta4.Msg", "UpdateProvider", data);
|
|
18
|
+
return promise.then(data => MsgUpdateProviderResponse.decode(new BinaryReader(data)));
|
|
19
|
+
};
|
|
20
|
+
/* DeleteProvider defines a method that deletes a provider given the proper inputs. */
|
|
21
|
+
deleteProvider = async (request) => {
|
|
22
|
+
const data = MsgDeleteProvider.encode(request).finish();
|
|
23
|
+
const promise = this.rpc.request("akash.provider.v1beta4.Msg", "DeleteProvider", data);
|
|
24
|
+
return promise.then(data => MsgDeleteProviderResponse.decode(new BinaryReader(data)));
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export const createClientImpl = (rpc) => {
|
|
28
|
+
return new MsgClientImpl(rpc);
|
|
29
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Tendermint34Client } from "@cosmjs/tendermint-rpc";
|
|
3
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
4
|
+
export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
5
|
+
const tmClient = await Tendermint34Client.connect(rpcEndpoint);
|
|
6
|
+
const client = new QueryClient(tmClient);
|
|
7
|
+
return {
|
|
8
|
+
akash: {
|
|
9
|
+
audit: {
|
|
10
|
+
v1: (await import("./audit/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
11
|
+
v1beta3: (await import("./audit/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
12
|
+
},
|
|
13
|
+
cert: {
|
|
14
|
+
v1: (await import("./cert/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
15
|
+
v1beta3: (await import("./cert/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
16
|
+
},
|
|
17
|
+
deployment: {
|
|
18
|
+
v1beta3: (await import("./deployment/v1beta3/query.rpc.Query")).createRpcQueryExtension(client),
|
|
19
|
+
v1beta4: (await import("./deployment/v1beta4/query.rpc.Query")).createRpcQueryExtension(client)
|
|
20
|
+
},
|
|
21
|
+
escrow: {
|
|
22
|
+
v1: (await import("./escrow/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
23
|
+
v1beta3: (await import("./escrow/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
24
|
+
},
|
|
25
|
+
market: {
|
|
26
|
+
v1beta4: (await import("./market/v1beta4/query.rpc.Query")).createRpcQueryExtension(client),
|
|
27
|
+
v1beta5: (await import("./market/v1beta5/query.rpc.Query")).createRpcQueryExtension(client)
|
|
28
|
+
},
|
|
29
|
+
provider: {
|
|
30
|
+
v1beta3: (await import("./provider/v1beta3/query.rpc.Query")).createRpcQueryExtension(client),
|
|
31
|
+
v1beta4: (await import("./provider/v1beta4/query.rpc.Query")).createRpcQueryExtension(client)
|
|
32
|
+
},
|
|
33
|
+
take: {
|
|
34
|
+
v1: (await import("./take/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
35
|
+
v1beta3: (await import("./take/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
cosmos: {
|
|
39
|
+
auth: {
|
|
40
|
+
v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
41
|
+
},
|
|
42
|
+
authz: {
|
|
43
|
+
v1beta1: (await import("../cosmos/authz/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
44
|
+
},
|
|
45
|
+
bank: {
|
|
46
|
+
v1beta1: (await import("../cosmos/bank/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
47
|
+
},
|
|
48
|
+
base: {
|
|
49
|
+
node: {
|
|
50
|
+
v1beta1: (await import("../cosmos/base/node/v1beta1/query.rpc.Service")).createRpcQueryExtension(client)
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
circuit: {
|
|
54
|
+
v1: (await import("../cosmos/circuit/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
55
|
+
},
|
|
56
|
+
consensus: {
|
|
57
|
+
v1: (await import("../cosmos/consensus/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
58
|
+
},
|
|
59
|
+
counter: {
|
|
60
|
+
v1: (await import("../cosmos/counter/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
61
|
+
},
|
|
62
|
+
distribution: {
|
|
63
|
+
v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
64
|
+
},
|
|
65
|
+
epochs: {
|
|
66
|
+
v1beta1: (await import("../cosmos/epochs/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
67
|
+
},
|
|
68
|
+
feegrant: {
|
|
69
|
+
v1beta1: (await import("../cosmos/feegrant/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
70
|
+
},
|
|
71
|
+
gov: {
|
|
72
|
+
v1: (await import("../cosmos/gov/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
73
|
+
v1beta1: (await import("../cosmos/gov/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
74
|
+
},
|
|
75
|
+
group: {
|
|
76
|
+
v1: (await import("../cosmos/group/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
77
|
+
},
|
|
78
|
+
mint: {
|
|
79
|
+
v1beta1: (await import("../cosmos/mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
80
|
+
},
|
|
81
|
+
params: {
|
|
82
|
+
v1beta1: (await import("../cosmos/params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
83
|
+
},
|
|
84
|
+
protocolpool: {
|
|
85
|
+
v1: (await import("../cosmos/protocolpool/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
86
|
+
},
|
|
87
|
+
staking: {
|
|
88
|
+
v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
89
|
+
},
|
|
90
|
+
tx: {
|
|
91
|
+
v1beta1: (await import("../cosmos/tx/v1beta1/service.rpc.Service")).createRpcQueryExtension(client)
|
|
92
|
+
},
|
|
93
|
+
upgrade: {
|
|
94
|
+
v1beta1: (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export const createRPCMsgClient = async ({ rpc }) => ({
|
|
2
|
+
akash: {
|
|
3
|
+
audit: {
|
|
4
|
+
v1: new (await import("./audit/v1/service.rpc.msg")).MsgClientImpl(rpc),
|
|
5
|
+
v1beta3: new (await import("./audit/v1beta3/audit.rpc.msg")).MsgClientImpl(rpc)
|
|
6
|
+
},
|
|
7
|
+
cert: {
|
|
8
|
+
v1: new (await import("./cert/v1/service.rpc.msg")).MsgClientImpl(rpc),
|
|
9
|
+
v1beta3: new (await import("./cert/v1beta3/cert.rpc.msg")).MsgClientImpl(rpc)
|
|
10
|
+
},
|
|
11
|
+
deployment: {
|
|
12
|
+
v1beta3: new (await import("./deployment/v1beta3/service.rpc.msg")).MsgClientImpl(rpc),
|
|
13
|
+
v1beta4: new (await import("./deployment/v1beta4/service.rpc.msg")).MsgClientImpl(rpc)
|
|
14
|
+
},
|
|
15
|
+
market: {
|
|
16
|
+
v1beta4: new (await import("./market/v1beta4/service.rpc.msg")).MsgClientImpl(rpc),
|
|
17
|
+
v1beta5: new (await import("./market/v1beta5/service.rpc.msg")).MsgClientImpl(rpc)
|
|
18
|
+
},
|
|
19
|
+
provider: {
|
|
20
|
+
v1beta3: new (await import("./provider/v1beta3/provider.rpc.msg")).MsgClientImpl(rpc),
|
|
21
|
+
v1beta4: new (await import("./provider/v1beta4/service.rpc.msg")).MsgClientImpl(rpc)
|
|
22
|
+
},
|
|
23
|
+
take: {
|
|
24
|
+
v1: new (await import("./take/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
cosmos: {
|
|
28
|
+
auth: {
|
|
29
|
+
v1beta1: new (await import("../cosmos/auth/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
30
|
+
},
|
|
31
|
+
authz: {
|
|
32
|
+
v1beta1: new (await import("../cosmos/authz/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
33
|
+
},
|
|
34
|
+
bank: {
|
|
35
|
+
v1beta1: new (await import("../cosmos/bank/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
36
|
+
},
|
|
37
|
+
benchmark: {
|
|
38
|
+
v1: new (await import("../cosmos/benchmark/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
39
|
+
},
|
|
40
|
+
circuit: {
|
|
41
|
+
v1: new (await import("../cosmos/circuit/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
42
|
+
},
|
|
43
|
+
consensus: {
|
|
44
|
+
v1: new (await import("../cosmos/consensus/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
45
|
+
},
|
|
46
|
+
counter: {
|
|
47
|
+
v1: new (await import("../cosmos/counter/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
48
|
+
},
|
|
49
|
+
distribution: {
|
|
50
|
+
v1beta1: new (await import("../cosmos/distribution/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
51
|
+
},
|
|
52
|
+
feegrant: {
|
|
53
|
+
v1beta1: new (await import("../cosmos/feegrant/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
54
|
+
},
|
|
55
|
+
gov: {
|
|
56
|
+
v1: new (await import("../cosmos/gov/v1/tx.rpc.msg")).MsgClientImpl(rpc),
|
|
57
|
+
v1beta1: new (await import("../cosmos/gov/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
58
|
+
},
|
|
59
|
+
group: {
|
|
60
|
+
v1: new (await import("../cosmos/group/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
61
|
+
},
|
|
62
|
+
mint: {
|
|
63
|
+
v1beta1: new (await import("../cosmos/mint/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
64
|
+
},
|
|
65
|
+
protocolpool: {
|
|
66
|
+
v1: new (await import("../cosmos/protocolpool/v1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
67
|
+
},
|
|
68
|
+
staking: {
|
|
69
|
+
v1beta1: new (await import("../cosmos/staking/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
70
|
+
},
|
|
71
|
+
upgrade: {
|
|
72
|
+
v1beta1: new (await import("../cosmos/upgrade/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
73
|
+
},
|
|
74
|
+
vesting: {
|
|
75
|
+
v1beta1: new (await import("../cosmos/vesting/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|