@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,203 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
4
|
+
function createBaseGMPPacketData() {
|
|
5
|
+
return {
|
|
6
|
+
sender: "",
|
|
7
|
+
receiver: "",
|
|
8
|
+
salt: new Uint8Array(),
|
|
9
|
+
payload: new Uint8Array(),
|
|
10
|
+
memo: ""
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* GMPPacketData defines a struct for the packet payload
|
|
15
|
+
* @name GMPPacketData
|
|
16
|
+
* @package ibc.applications.gmp.v1
|
|
17
|
+
* @see proto type: ibc.applications.gmp.v1.GMPPacketData
|
|
18
|
+
*/
|
|
19
|
+
export const GMPPacketData = {
|
|
20
|
+
typeUrl: "/ibc.applications.gmp.v1.GMPPacketData",
|
|
21
|
+
aminoType: "cosmos-sdk/GMPPacketData",
|
|
22
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
23
|
+
if (message.sender !== "") {
|
|
24
|
+
writer.uint32(10).string(message.sender);
|
|
25
|
+
}
|
|
26
|
+
if (message.receiver !== "") {
|
|
27
|
+
writer.uint32(18).string(message.receiver);
|
|
28
|
+
}
|
|
29
|
+
if (message.salt.length !== 0) {
|
|
30
|
+
writer.uint32(26).bytes(message.salt);
|
|
31
|
+
}
|
|
32
|
+
if (message.payload.length !== 0) {
|
|
33
|
+
writer.uint32(34).bytes(message.payload);
|
|
34
|
+
}
|
|
35
|
+
if (message.memo !== "") {
|
|
36
|
+
writer.uint32(42).string(message.memo);
|
|
37
|
+
}
|
|
38
|
+
return writer;
|
|
39
|
+
},
|
|
40
|
+
decode(input, length) {
|
|
41
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
42
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
43
|
+
const message = createBaseGMPPacketData();
|
|
44
|
+
while (reader.pos < end) {
|
|
45
|
+
const tag = reader.uint32();
|
|
46
|
+
switch (tag >>> 3) {
|
|
47
|
+
case 1:
|
|
48
|
+
message.sender = reader.string();
|
|
49
|
+
break;
|
|
50
|
+
case 2:
|
|
51
|
+
message.receiver = reader.string();
|
|
52
|
+
break;
|
|
53
|
+
case 3:
|
|
54
|
+
message.salt = reader.bytes();
|
|
55
|
+
break;
|
|
56
|
+
case 4:
|
|
57
|
+
message.payload = reader.bytes();
|
|
58
|
+
break;
|
|
59
|
+
case 5:
|
|
60
|
+
message.memo = reader.string();
|
|
61
|
+
break;
|
|
62
|
+
default:
|
|
63
|
+
reader.skipType(tag & 7);
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return message;
|
|
68
|
+
},
|
|
69
|
+
fromPartial(object) {
|
|
70
|
+
const message = createBaseGMPPacketData();
|
|
71
|
+
message.sender = object.sender ?? "";
|
|
72
|
+
message.receiver = object.receiver ?? "";
|
|
73
|
+
message.salt = object.salt ?? new Uint8Array();
|
|
74
|
+
message.payload = object.payload ?? new Uint8Array();
|
|
75
|
+
message.memo = object.memo ?? "";
|
|
76
|
+
return message;
|
|
77
|
+
},
|
|
78
|
+
fromAmino(object) {
|
|
79
|
+
const message = createBaseGMPPacketData();
|
|
80
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
81
|
+
message.sender = object.sender;
|
|
82
|
+
}
|
|
83
|
+
if (object.receiver !== undefined && object.receiver !== null) {
|
|
84
|
+
message.receiver = object.receiver;
|
|
85
|
+
}
|
|
86
|
+
if (object.salt !== undefined && object.salt !== null) {
|
|
87
|
+
message.salt = bytesFromBase64(object.salt);
|
|
88
|
+
}
|
|
89
|
+
if (object.payload !== undefined && object.payload !== null) {
|
|
90
|
+
message.payload = bytesFromBase64(object.payload);
|
|
91
|
+
}
|
|
92
|
+
if (object.memo !== undefined && object.memo !== null) {
|
|
93
|
+
message.memo = object.memo;
|
|
94
|
+
}
|
|
95
|
+
return message;
|
|
96
|
+
},
|
|
97
|
+
toAmino(message) {
|
|
98
|
+
const obj = {};
|
|
99
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
100
|
+
obj.receiver = message.receiver === "" ? undefined : message.receiver;
|
|
101
|
+
obj.salt = message.salt ? base64FromBytes(message.salt) : undefined;
|
|
102
|
+
obj.payload = message.payload ? base64FromBytes(message.payload) : undefined;
|
|
103
|
+
obj.memo = message.memo === "" ? undefined : message.memo;
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
fromAminoMsg(object) {
|
|
107
|
+
return GMPPacketData.fromAmino(object.value);
|
|
108
|
+
},
|
|
109
|
+
toAminoMsg(message) {
|
|
110
|
+
return {
|
|
111
|
+
type: "cosmos-sdk/GMPPacketData",
|
|
112
|
+
value: GMPPacketData.toAmino(message)
|
|
113
|
+
};
|
|
114
|
+
},
|
|
115
|
+
fromProtoMsg(message) {
|
|
116
|
+
return GMPPacketData.decode(message.value);
|
|
117
|
+
},
|
|
118
|
+
toProto(message) {
|
|
119
|
+
return GMPPacketData.encode(message).finish();
|
|
120
|
+
},
|
|
121
|
+
toProtoMsg(message) {
|
|
122
|
+
return {
|
|
123
|
+
typeUrl: "/ibc.applications.gmp.v1.GMPPacketData",
|
|
124
|
+
value: GMPPacketData.encode(message).finish()
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
function createBaseAcknowledgement() {
|
|
129
|
+
return {
|
|
130
|
+
result: new Uint8Array()
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Acknowledgement defines a struct for the ICS27-2 acknowledgement
|
|
135
|
+
* @name Acknowledgement
|
|
136
|
+
* @package ibc.applications.gmp.v1
|
|
137
|
+
* @see proto type: ibc.applications.gmp.v1.Acknowledgement
|
|
138
|
+
*/
|
|
139
|
+
export const Acknowledgement = {
|
|
140
|
+
typeUrl: "/ibc.applications.gmp.v1.Acknowledgement",
|
|
141
|
+
aminoType: "cosmos-sdk/Acknowledgement",
|
|
142
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
143
|
+
if (message.result.length !== 0) {
|
|
144
|
+
writer.uint32(10).bytes(message.result);
|
|
145
|
+
}
|
|
146
|
+
return writer;
|
|
147
|
+
},
|
|
148
|
+
decode(input, length) {
|
|
149
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
150
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
151
|
+
const message = createBaseAcknowledgement();
|
|
152
|
+
while (reader.pos < end) {
|
|
153
|
+
const tag = reader.uint32();
|
|
154
|
+
switch (tag >>> 3) {
|
|
155
|
+
case 1:
|
|
156
|
+
message.result = reader.bytes();
|
|
157
|
+
break;
|
|
158
|
+
default:
|
|
159
|
+
reader.skipType(tag & 7);
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return message;
|
|
164
|
+
},
|
|
165
|
+
fromPartial(object) {
|
|
166
|
+
const message = createBaseAcknowledgement();
|
|
167
|
+
message.result = object.result ?? new Uint8Array();
|
|
168
|
+
return message;
|
|
169
|
+
},
|
|
170
|
+
fromAmino(object) {
|
|
171
|
+
const message = createBaseAcknowledgement();
|
|
172
|
+
if (object.result !== undefined && object.result !== null) {
|
|
173
|
+
message.result = bytesFromBase64(object.result);
|
|
174
|
+
}
|
|
175
|
+
return message;
|
|
176
|
+
},
|
|
177
|
+
toAmino(message) {
|
|
178
|
+
const obj = {};
|
|
179
|
+
obj.result = message.result ? base64FromBytes(message.result) : undefined;
|
|
180
|
+
return obj;
|
|
181
|
+
},
|
|
182
|
+
fromAminoMsg(object) {
|
|
183
|
+
return Acknowledgement.fromAmino(object.value);
|
|
184
|
+
},
|
|
185
|
+
toAminoMsg(message) {
|
|
186
|
+
return {
|
|
187
|
+
type: "cosmos-sdk/Acknowledgement",
|
|
188
|
+
value: Acknowledgement.toAmino(message)
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
fromProtoMsg(message) {
|
|
192
|
+
return Acknowledgement.decode(message.value);
|
|
193
|
+
},
|
|
194
|
+
toProto(message) {
|
|
195
|
+
return Acknowledgement.encode(message).finish();
|
|
196
|
+
},
|
|
197
|
+
toProtoMsg(message) {
|
|
198
|
+
return {
|
|
199
|
+
typeUrl: "/ibc.applications.gmp.v1.Acknowledgement",
|
|
200
|
+
value: Acknowledgement.encode(message).finish()
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
};
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { AccountIdentifier } from "./account";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
4
|
+
function createBaseQueryAccountAddressRequest() {
|
|
5
|
+
return {
|
|
6
|
+
clientId: "",
|
|
7
|
+
sender: "",
|
|
8
|
+
salt: ""
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* QueryAccountAddressRequest is the request type for the Query/AccountAddress RPC method.
|
|
13
|
+
* @name QueryAccountAddressRequest
|
|
14
|
+
* @package ibc.applications.gmp.v1
|
|
15
|
+
* @see proto type: ibc.applications.gmp.v1.QueryAccountAddressRequest
|
|
16
|
+
*/
|
|
17
|
+
export const QueryAccountAddressRequest = {
|
|
18
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountAddressRequest",
|
|
19
|
+
aminoType: "cosmos-sdk/QueryAccountAddressRequest",
|
|
20
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
21
|
+
if (message.clientId !== "") {
|
|
22
|
+
writer.uint32(10).string(message.clientId);
|
|
23
|
+
}
|
|
24
|
+
if (message.sender !== "") {
|
|
25
|
+
writer.uint32(18).string(message.sender);
|
|
26
|
+
}
|
|
27
|
+
if (message.salt !== "") {
|
|
28
|
+
writer.uint32(26).string(message.salt);
|
|
29
|
+
}
|
|
30
|
+
return writer;
|
|
31
|
+
},
|
|
32
|
+
decode(input, length) {
|
|
33
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
34
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
+
const message = createBaseQueryAccountAddressRequest();
|
|
36
|
+
while (reader.pos < end) {
|
|
37
|
+
const tag = reader.uint32();
|
|
38
|
+
switch (tag >>> 3) {
|
|
39
|
+
case 1:
|
|
40
|
+
message.clientId = reader.string();
|
|
41
|
+
break;
|
|
42
|
+
case 2:
|
|
43
|
+
message.sender = reader.string();
|
|
44
|
+
break;
|
|
45
|
+
case 3:
|
|
46
|
+
message.salt = reader.string();
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
reader.skipType(tag & 7);
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromPartial(object) {
|
|
56
|
+
const message = createBaseQueryAccountAddressRequest();
|
|
57
|
+
message.clientId = object.clientId ?? "";
|
|
58
|
+
message.sender = object.sender ?? "";
|
|
59
|
+
message.salt = object.salt ?? "";
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
fromAmino(object) {
|
|
63
|
+
const message = createBaseQueryAccountAddressRequest();
|
|
64
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
65
|
+
message.clientId = object.client_id;
|
|
66
|
+
}
|
|
67
|
+
if (object.sender !== undefined && object.sender !== null) {
|
|
68
|
+
message.sender = object.sender;
|
|
69
|
+
}
|
|
70
|
+
if (object.salt !== undefined && object.salt !== null) {
|
|
71
|
+
message.salt = object.salt;
|
|
72
|
+
}
|
|
73
|
+
return message;
|
|
74
|
+
},
|
|
75
|
+
toAmino(message) {
|
|
76
|
+
const obj = {};
|
|
77
|
+
obj.client_id = message.clientId === "" ? undefined : message.clientId;
|
|
78
|
+
obj.sender = message.sender === "" ? undefined : message.sender;
|
|
79
|
+
obj.salt = message.salt === "" ? undefined : message.salt;
|
|
80
|
+
return obj;
|
|
81
|
+
},
|
|
82
|
+
fromAminoMsg(object) {
|
|
83
|
+
return QueryAccountAddressRequest.fromAmino(object.value);
|
|
84
|
+
},
|
|
85
|
+
toAminoMsg(message) {
|
|
86
|
+
return {
|
|
87
|
+
type: "cosmos-sdk/QueryAccountAddressRequest",
|
|
88
|
+
value: QueryAccountAddressRequest.toAmino(message)
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
fromProtoMsg(message) {
|
|
92
|
+
return QueryAccountAddressRequest.decode(message.value);
|
|
93
|
+
},
|
|
94
|
+
toProto(message) {
|
|
95
|
+
return QueryAccountAddressRequest.encode(message).finish();
|
|
96
|
+
},
|
|
97
|
+
toProtoMsg(message) {
|
|
98
|
+
return {
|
|
99
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountAddressRequest",
|
|
100
|
+
value: QueryAccountAddressRequest.encode(message).finish()
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
function createBaseQueryAccountAddressResponse() {
|
|
105
|
+
return {
|
|
106
|
+
accountAddress: ""
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* QueryAccountAddressResponse is the response type for the Query/AccountAddress RPC method.
|
|
111
|
+
* @name QueryAccountAddressResponse
|
|
112
|
+
* @package ibc.applications.gmp.v1
|
|
113
|
+
* @see proto type: ibc.applications.gmp.v1.QueryAccountAddressResponse
|
|
114
|
+
*/
|
|
115
|
+
export const QueryAccountAddressResponse = {
|
|
116
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountAddressResponse",
|
|
117
|
+
aminoType: "cosmos-sdk/QueryAccountAddressResponse",
|
|
118
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
119
|
+
if (message.accountAddress !== "") {
|
|
120
|
+
writer.uint32(10).string(message.accountAddress);
|
|
121
|
+
}
|
|
122
|
+
return writer;
|
|
123
|
+
},
|
|
124
|
+
decode(input, length) {
|
|
125
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
126
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
127
|
+
const message = createBaseQueryAccountAddressResponse();
|
|
128
|
+
while (reader.pos < end) {
|
|
129
|
+
const tag = reader.uint32();
|
|
130
|
+
switch (tag >>> 3) {
|
|
131
|
+
case 1:
|
|
132
|
+
message.accountAddress = reader.string();
|
|
133
|
+
break;
|
|
134
|
+
default:
|
|
135
|
+
reader.skipType(tag & 7);
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return message;
|
|
140
|
+
},
|
|
141
|
+
fromPartial(object) {
|
|
142
|
+
const message = createBaseQueryAccountAddressResponse();
|
|
143
|
+
message.accountAddress = object.accountAddress ?? "";
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
fromAmino(object) {
|
|
147
|
+
const message = createBaseQueryAccountAddressResponse();
|
|
148
|
+
if (object.account_address !== undefined && object.account_address !== null) {
|
|
149
|
+
message.accountAddress = object.account_address;
|
|
150
|
+
}
|
|
151
|
+
return message;
|
|
152
|
+
},
|
|
153
|
+
toAmino(message) {
|
|
154
|
+
const obj = {};
|
|
155
|
+
obj.account_address = message.accountAddress === "" ? undefined : message.accountAddress;
|
|
156
|
+
return obj;
|
|
157
|
+
},
|
|
158
|
+
fromAminoMsg(object) {
|
|
159
|
+
return QueryAccountAddressResponse.fromAmino(object.value);
|
|
160
|
+
},
|
|
161
|
+
toAminoMsg(message) {
|
|
162
|
+
return {
|
|
163
|
+
type: "cosmos-sdk/QueryAccountAddressResponse",
|
|
164
|
+
value: QueryAccountAddressResponse.toAmino(message)
|
|
165
|
+
};
|
|
166
|
+
},
|
|
167
|
+
fromProtoMsg(message) {
|
|
168
|
+
return QueryAccountAddressResponse.decode(message.value);
|
|
169
|
+
},
|
|
170
|
+
toProto(message) {
|
|
171
|
+
return QueryAccountAddressResponse.encode(message).finish();
|
|
172
|
+
},
|
|
173
|
+
toProtoMsg(message) {
|
|
174
|
+
return {
|
|
175
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountAddressResponse",
|
|
176
|
+
value: QueryAccountAddressResponse.encode(message).finish()
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
function createBaseQueryAccountIdentifierRequest() {
|
|
181
|
+
return {
|
|
182
|
+
accountAddress: ""
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* QueryAccountIdentifierRequest is the request type for querying the account identifier by account address.
|
|
187
|
+
* @name QueryAccountIdentifierRequest
|
|
188
|
+
* @package ibc.applications.gmp.v1
|
|
189
|
+
* @see proto type: ibc.applications.gmp.v1.QueryAccountIdentifierRequest
|
|
190
|
+
*/
|
|
191
|
+
export const QueryAccountIdentifierRequest = {
|
|
192
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountIdentifierRequest",
|
|
193
|
+
aminoType: "cosmos-sdk/QueryAccountIdentifierRequest",
|
|
194
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
195
|
+
if (message.accountAddress !== "") {
|
|
196
|
+
writer.uint32(10).string(message.accountAddress);
|
|
197
|
+
}
|
|
198
|
+
return writer;
|
|
199
|
+
},
|
|
200
|
+
decode(input, length) {
|
|
201
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
202
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBaseQueryAccountIdentifierRequest();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1:
|
|
208
|
+
message.accountAddress = reader.string();
|
|
209
|
+
break;
|
|
210
|
+
default:
|
|
211
|
+
reader.skipType(tag & 7);
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return message;
|
|
216
|
+
},
|
|
217
|
+
fromPartial(object) {
|
|
218
|
+
const message = createBaseQueryAccountIdentifierRequest();
|
|
219
|
+
message.accountAddress = object.accountAddress ?? "";
|
|
220
|
+
return message;
|
|
221
|
+
},
|
|
222
|
+
fromAmino(object) {
|
|
223
|
+
const message = createBaseQueryAccountIdentifierRequest();
|
|
224
|
+
if (object.account_address !== undefined && object.account_address !== null) {
|
|
225
|
+
message.accountAddress = object.account_address;
|
|
226
|
+
}
|
|
227
|
+
return message;
|
|
228
|
+
},
|
|
229
|
+
toAmino(message) {
|
|
230
|
+
const obj = {};
|
|
231
|
+
obj.account_address = message.accountAddress === "" ? undefined : message.accountAddress;
|
|
232
|
+
return obj;
|
|
233
|
+
},
|
|
234
|
+
fromAminoMsg(object) {
|
|
235
|
+
return QueryAccountIdentifierRequest.fromAmino(object.value);
|
|
236
|
+
},
|
|
237
|
+
toAminoMsg(message) {
|
|
238
|
+
return {
|
|
239
|
+
type: "cosmos-sdk/QueryAccountIdentifierRequest",
|
|
240
|
+
value: QueryAccountIdentifierRequest.toAmino(message)
|
|
241
|
+
};
|
|
242
|
+
},
|
|
243
|
+
fromProtoMsg(message) {
|
|
244
|
+
return QueryAccountIdentifierRequest.decode(message.value);
|
|
245
|
+
},
|
|
246
|
+
toProto(message) {
|
|
247
|
+
return QueryAccountIdentifierRequest.encode(message).finish();
|
|
248
|
+
},
|
|
249
|
+
toProtoMsg(message) {
|
|
250
|
+
return {
|
|
251
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountIdentifierRequest",
|
|
252
|
+
value: QueryAccountIdentifierRequest.encode(message).finish()
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
function createBaseQueryAccountIdentifierResponse() {
|
|
257
|
+
return {
|
|
258
|
+
accountId: undefined
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* QueryAccountIdentifierResponse is the response type for querying the account identifier by account address.
|
|
263
|
+
* @name QueryAccountIdentifierResponse
|
|
264
|
+
* @package ibc.applications.gmp.v1
|
|
265
|
+
* @see proto type: ibc.applications.gmp.v1.QueryAccountIdentifierResponse
|
|
266
|
+
*/
|
|
267
|
+
export const QueryAccountIdentifierResponse = {
|
|
268
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountIdentifierResponse",
|
|
269
|
+
aminoType: "cosmos-sdk/QueryAccountIdentifierResponse",
|
|
270
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
271
|
+
if (message.accountId !== undefined) {
|
|
272
|
+
AccountIdentifier.encode(message.accountId, writer.uint32(10).fork()).ldelim();
|
|
273
|
+
}
|
|
274
|
+
return writer;
|
|
275
|
+
},
|
|
276
|
+
decode(input, length) {
|
|
277
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
278
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
279
|
+
const message = createBaseQueryAccountIdentifierResponse();
|
|
280
|
+
while (reader.pos < end) {
|
|
281
|
+
const tag = reader.uint32();
|
|
282
|
+
switch (tag >>> 3) {
|
|
283
|
+
case 1:
|
|
284
|
+
message.accountId = AccountIdentifier.decode(reader, reader.uint32());
|
|
285
|
+
break;
|
|
286
|
+
default:
|
|
287
|
+
reader.skipType(tag & 7);
|
|
288
|
+
break;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
},
|
|
293
|
+
fromPartial(object) {
|
|
294
|
+
const message = createBaseQueryAccountIdentifierResponse();
|
|
295
|
+
message.accountId = object.accountId !== undefined && object.accountId !== null ? AccountIdentifier.fromPartial(object.accountId) : undefined;
|
|
296
|
+
return message;
|
|
297
|
+
},
|
|
298
|
+
fromAmino(object) {
|
|
299
|
+
const message = createBaseQueryAccountIdentifierResponse();
|
|
300
|
+
if (object.account_id !== undefined && object.account_id !== null) {
|
|
301
|
+
message.accountId = AccountIdentifier.fromAmino(object.account_id);
|
|
302
|
+
}
|
|
303
|
+
return message;
|
|
304
|
+
},
|
|
305
|
+
toAmino(message) {
|
|
306
|
+
const obj = {};
|
|
307
|
+
obj.account_id = message.accountId ? AccountIdentifier.toAmino(message.accountId) : undefined;
|
|
308
|
+
return obj;
|
|
309
|
+
},
|
|
310
|
+
fromAminoMsg(object) {
|
|
311
|
+
return QueryAccountIdentifierResponse.fromAmino(object.value);
|
|
312
|
+
},
|
|
313
|
+
toAminoMsg(message) {
|
|
314
|
+
return {
|
|
315
|
+
type: "cosmos-sdk/QueryAccountIdentifierResponse",
|
|
316
|
+
value: QueryAccountIdentifierResponse.toAmino(message)
|
|
317
|
+
};
|
|
318
|
+
},
|
|
319
|
+
fromProtoMsg(message) {
|
|
320
|
+
return QueryAccountIdentifierResponse.decode(message.value);
|
|
321
|
+
},
|
|
322
|
+
toProto(message) {
|
|
323
|
+
return QueryAccountIdentifierResponse.encode(message).finish();
|
|
324
|
+
},
|
|
325
|
+
toProtoMsg(message) {
|
|
326
|
+
return {
|
|
327
|
+
typeUrl: "/ibc.applications.gmp.v1.QueryAccountIdentifierResponse",
|
|
328
|
+
value: QueryAccountIdentifierResponse.encode(message).finish()
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class LCDQueryClient {
|
|
2
|
+
req;
|
|
3
|
+
constructor({ requestClient }) {
|
|
4
|
+
this.req = requestClient;
|
|
5
|
+
}
|
|
6
|
+
/* AccountAddress queries the interchain account address for a given client_id, sender, and salt.
|
|
7
|
+
If the account is not registered, the address is computed deterministically */
|
|
8
|
+
accountAddress = async (params) => {
|
|
9
|
+
const options = {
|
|
10
|
+
params: {}
|
|
11
|
+
};
|
|
12
|
+
if (typeof params?.salt !== "undefined") {
|
|
13
|
+
options.params.salt = params.salt;
|
|
14
|
+
}
|
|
15
|
+
const endpoint = `ibc/apps/gmp/v1/clients/${params.clientId}/accounts/${params.sender}/${params.salt}`;
|
|
16
|
+
return await this.req.get(endpoint, options);
|
|
17
|
+
};
|
|
18
|
+
/* AccountIdentifier queries the account identifier for a given interchain account address. */
|
|
19
|
+
accountIdentifier = async (params) => {
|
|
20
|
+
const endpoint = `ibc/apps/gmp/v1/accounts/${params.accountAddress}/identifier`;
|
|
21
|
+
return await this.req.get(endpoint);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../../binary";
|
|
2
|
+
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryAccountAddressRequest, QueryAccountAddressResponse, QueryAccountIdentifierRequest, QueryAccountIdentifierResponse } from "./query";
|
|
4
|
+
export class QueryClientImpl {
|
|
5
|
+
rpc;
|
|
6
|
+
constructor(rpc) {
|
|
7
|
+
this.rpc = rpc;
|
|
8
|
+
}
|
|
9
|
+
/* AccountAddress queries the interchain account address for a given client_id, sender, and salt.
|
|
10
|
+
If the account is not registered, the address is computed deterministically */
|
|
11
|
+
accountAddress = async (request) => {
|
|
12
|
+
const data = QueryAccountAddressRequest.encode(request).finish();
|
|
13
|
+
const promise = this.rpc.request("ibc.applications.gmp.v1.Query", "AccountAddress", data);
|
|
14
|
+
return promise.then(data => QueryAccountAddressResponse.decode(new BinaryReader(data)));
|
|
15
|
+
};
|
|
16
|
+
/* AccountIdentifier queries the account identifier for a given interchain account address. */
|
|
17
|
+
accountIdentifier = async (request) => {
|
|
18
|
+
const data = QueryAccountIdentifierRequest.encode(request).finish();
|
|
19
|
+
const promise = this.rpc.request("ibc.applications.gmp.v1.Query", "AccountIdentifier", data);
|
|
20
|
+
return promise.then(data => QueryAccountIdentifierResponse.decode(new BinaryReader(data)));
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export const createRpcQueryExtension = (base) => {
|
|
24
|
+
const rpc = createProtobufRpcClient(base);
|
|
25
|
+
const queryService = new QueryClientImpl(rpc);
|
|
26
|
+
return {
|
|
27
|
+
accountAddress(request) {
|
|
28
|
+
return queryService.accountAddress(request);
|
|
29
|
+
},
|
|
30
|
+
accountIdentifier(request) {
|
|
31
|
+
return queryService.accountIdentifier(request);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
};
|