@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,159 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
|
+
function createBasePubKey() {
|
|
5
|
+
return {
|
|
6
|
+
key: new Uint8Array()
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* PubKey is an bls12_381 public key for handling CometBFT keys in SDK.
|
|
11
|
+
* It's needed for Any serialization and SDK compatibility.
|
|
12
|
+
* It must not be used in a non Tendermint key context because it doesn't implement
|
|
13
|
+
* ADR-28. Nevertheless, you will like to use bls12_381 in app user level
|
|
14
|
+
* then you must create a new proto message and follow ADR-28 for Address construction.
|
|
15
|
+
* @name PubKey
|
|
16
|
+
* @package cosmos.crypto.bls12_381
|
|
17
|
+
* @see proto type: cosmos.crypto.bls12_381.PubKey
|
|
18
|
+
*/
|
|
19
|
+
export const PubKey = {
|
|
20
|
+
typeUrl: "/cosmos.crypto.bls12_381.PubKey",
|
|
21
|
+
aminoType: "cometbft/PubKeyBls12_381",
|
|
22
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
23
|
+
if (message.key.length !== 0) {
|
|
24
|
+
writer.uint32(10).bytes(message.key);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasePubKey();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
message.key = reader.bytes();
|
|
37
|
+
break;
|
|
38
|
+
default:
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromPartial(object) {
|
|
46
|
+
const message = createBasePubKey();
|
|
47
|
+
message.key = object.key ?? new Uint8Array();
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromAmino(object) {
|
|
51
|
+
const message = createBasePubKey();
|
|
52
|
+
if (object.key !== undefined && object.key !== null) {
|
|
53
|
+
message.key = bytesFromBase64(object.key);
|
|
54
|
+
}
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
toAmino(message) {
|
|
58
|
+
const obj = {};
|
|
59
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
60
|
+
return obj;
|
|
61
|
+
},
|
|
62
|
+
fromAminoMsg(object) {
|
|
63
|
+
return PubKey.fromAmino(object.value);
|
|
64
|
+
},
|
|
65
|
+
toAminoMsg(message) {
|
|
66
|
+
return {
|
|
67
|
+
type: "cometbft/PubKeyBls12_381",
|
|
68
|
+
value: PubKey.toAmino(message)
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
fromProtoMsg(message) {
|
|
72
|
+
return PubKey.decode(message.value);
|
|
73
|
+
},
|
|
74
|
+
toProto(message) {
|
|
75
|
+
return PubKey.encode(message).finish();
|
|
76
|
+
},
|
|
77
|
+
toProtoMsg(message) {
|
|
78
|
+
return {
|
|
79
|
+
typeUrl: "/cosmos.crypto.bls12_381.PubKey",
|
|
80
|
+
value: PubKey.encode(message).finish()
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function createBasePrivKey() {
|
|
85
|
+
return {
|
|
86
|
+
key: new Uint8Array()
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* PrivKey defines a bls12_381 private key.
|
|
91
|
+
* @name PrivKey
|
|
92
|
+
* @package cosmos.crypto.bls12_381
|
|
93
|
+
* @see proto type: cosmos.crypto.bls12_381.PrivKey
|
|
94
|
+
*/
|
|
95
|
+
export const PrivKey = {
|
|
96
|
+
typeUrl: "/cosmos.crypto.bls12_381.PrivKey",
|
|
97
|
+
aminoType: "cometbft/PrivKeyBls12_381",
|
|
98
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
99
|
+
if (message.key.length !== 0) {
|
|
100
|
+
writer.uint32(10).bytes(message.key);
|
|
101
|
+
}
|
|
102
|
+
return writer;
|
|
103
|
+
},
|
|
104
|
+
decode(input, length) {
|
|
105
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
106
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
|
+
const message = createBasePrivKey();
|
|
108
|
+
while (reader.pos < end) {
|
|
109
|
+
const tag = reader.uint32();
|
|
110
|
+
switch (tag >>> 3) {
|
|
111
|
+
case 1:
|
|
112
|
+
message.key = reader.bytes();
|
|
113
|
+
break;
|
|
114
|
+
default:
|
|
115
|
+
reader.skipType(tag & 7);
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromPartial(object) {
|
|
122
|
+
const message = createBasePrivKey();
|
|
123
|
+
message.key = object.key ?? new Uint8Array();
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromAmino(object) {
|
|
127
|
+
const message = createBasePrivKey();
|
|
128
|
+
if (object.key !== undefined && object.key !== null) {
|
|
129
|
+
message.key = bytesFromBase64(object.key);
|
|
130
|
+
}
|
|
131
|
+
return message;
|
|
132
|
+
},
|
|
133
|
+
toAmino(message) {
|
|
134
|
+
const obj = {};
|
|
135
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
136
|
+
return obj;
|
|
137
|
+
},
|
|
138
|
+
fromAminoMsg(object) {
|
|
139
|
+
return PrivKey.fromAmino(object.value);
|
|
140
|
+
},
|
|
141
|
+
toAminoMsg(message) {
|
|
142
|
+
return {
|
|
143
|
+
type: "cometbft/PrivKeyBls12_381",
|
|
144
|
+
value: PrivKey.toAmino(message)
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
fromProtoMsg(message) {
|
|
148
|
+
return PrivKey.decode(message.value);
|
|
149
|
+
},
|
|
150
|
+
toProto(message) {
|
|
151
|
+
return PrivKey.encode(message).finish();
|
|
152
|
+
},
|
|
153
|
+
toProtoMsg(message) {
|
|
154
|
+
return {
|
|
155
|
+
typeUrl: "/cosmos.crypto.bls12_381.PrivKey",
|
|
156
|
+
value: PrivKey.encode(message).finish()
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
|
+
function createBasePubKey() {
|
|
5
|
+
return {
|
|
6
|
+
key: new Uint8Array()
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* PubKey is an ML-DSA-65 (FIPS 204) public key for handling CometBFT keys in
|
|
11
|
+
* the SDK. It is intended for validator-key use and must not be used in
|
|
12
|
+
* application-level account contexts because it does not implement ADR-28
|
|
13
|
+
* address derivation. If you want to use ML-DSA-65 at the user/account level,
|
|
14
|
+
* define a new proto message and follow ADR-28 for address construction.
|
|
15
|
+
* @name PubKey
|
|
16
|
+
* @package cosmos.crypto.mldsa65
|
|
17
|
+
* @see proto type: cosmos.crypto.mldsa65.PubKey
|
|
18
|
+
*/
|
|
19
|
+
export const PubKey = {
|
|
20
|
+
typeUrl: "/cosmos.crypto.mldsa65.PubKey",
|
|
21
|
+
aminoType: "cometbft/PubKeyMlDsa65",
|
|
22
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
23
|
+
if (message.key.length !== 0) {
|
|
24
|
+
writer.uint32(10).bytes(message.key);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasePubKey();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
message.key = reader.bytes();
|
|
37
|
+
break;
|
|
38
|
+
default:
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromPartial(object) {
|
|
46
|
+
const message = createBasePubKey();
|
|
47
|
+
message.key = object.key ?? new Uint8Array();
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromAmino(object) {
|
|
51
|
+
const message = createBasePubKey();
|
|
52
|
+
if (object.key !== undefined && object.key !== null) {
|
|
53
|
+
message.key = bytesFromBase64(object.key);
|
|
54
|
+
}
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
toAmino(message) {
|
|
58
|
+
const obj = {};
|
|
59
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
60
|
+
return obj;
|
|
61
|
+
},
|
|
62
|
+
fromAminoMsg(object) {
|
|
63
|
+
return PubKey.fromAmino(object.value);
|
|
64
|
+
},
|
|
65
|
+
toAminoMsg(message) {
|
|
66
|
+
return {
|
|
67
|
+
type: "cometbft/PubKeyMlDsa65",
|
|
68
|
+
value: PubKey.toAmino(message)
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
fromProtoMsg(message) {
|
|
72
|
+
return PubKey.decode(message.value);
|
|
73
|
+
},
|
|
74
|
+
toProto(message) {
|
|
75
|
+
return PubKey.encode(message).finish();
|
|
76
|
+
},
|
|
77
|
+
toProtoMsg(message) {
|
|
78
|
+
return {
|
|
79
|
+
typeUrl: "/cosmos.crypto.mldsa65.PubKey",
|
|
80
|
+
value: PubKey.encode(message).finish()
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function createBasePrivKey() {
|
|
85
|
+
return {
|
|
86
|
+
key: new Uint8Array()
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* PrivKey defines an ML-DSA-65 private key (FIPS 204 packed form).
|
|
91
|
+
* @name PrivKey
|
|
92
|
+
* @package cosmos.crypto.mldsa65
|
|
93
|
+
* @see proto type: cosmos.crypto.mldsa65.PrivKey
|
|
94
|
+
*/
|
|
95
|
+
export const PrivKey = {
|
|
96
|
+
typeUrl: "/cosmos.crypto.mldsa65.PrivKey",
|
|
97
|
+
aminoType: "cometbft/PrivKeyMlDsa65",
|
|
98
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
99
|
+
if (message.key.length !== 0) {
|
|
100
|
+
writer.uint32(10).bytes(message.key);
|
|
101
|
+
}
|
|
102
|
+
return writer;
|
|
103
|
+
},
|
|
104
|
+
decode(input, length) {
|
|
105
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
106
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
|
+
const message = createBasePrivKey();
|
|
108
|
+
while (reader.pos < end) {
|
|
109
|
+
const tag = reader.uint32();
|
|
110
|
+
switch (tag >>> 3) {
|
|
111
|
+
case 1:
|
|
112
|
+
message.key = reader.bytes();
|
|
113
|
+
break;
|
|
114
|
+
default:
|
|
115
|
+
reader.skipType(tag & 7);
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromPartial(object) {
|
|
122
|
+
const message = createBasePrivKey();
|
|
123
|
+
message.key = object.key ?? new Uint8Array();
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromAmino(object) {
|
|
127
|
+
const message = createBasePrivKey();
|
|
128
|
+
if (object.key !== undefined && object.key !== null) {
|
|
129
|
+
message.key = bytesFromBase64(object.key);
|
|
130
|
+
}
|
|
131
|
+
return message;
|
|
132
|
+
},
|
|
133
|
+
toAmino(message) {
|
|
134
|
+
const obj = {};
|
|
135
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
136
|
+
return obj;
|
|
137
|
+
},
|
|
138
|
+
fromAminoMsg(object) {
|
|
139
|
+
return PrivKey.fromAmino(object.value);
|
|
140
|
+
},
|
|
141
|
+
toAminoMsg(message) {
|
|
142
|
+
return {
|
|
143
|
+
type: "cometbft/PrivKeyMlDsa65",
|
|
144
|
+
value: PrivKey.toAmino(message)
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
fromProtoMsg(message) {
|
|
148
|
+
return PrivKey.decode(message.value);
|
|
149
|
+
},
|
|
150
|
+
toProto(message) {
|
|
151
|
+
return PrivKey.encode(message).finish();
|
|
152
|
+
},
|
|
153
|
+
toProtoMsg(message) {
|
|
154
|
+
return {
|
|
155
|
+
typeUrl: "/cosmos.crypto.mldsa65.PrivKey",
|
|
156
|
+
value: PrivKey.encode(message).finish()
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
};
|
package/esm/gogoproto/bundle.js
CHANGED
package/esm/google/bundle.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
2
|
+
import * as _232 from "./protobuf/any";
|
|
3
|
+
import * as _233 from "./protobuf/descriptor";
|
|
4
|
+
import * as _234 from "./protobuf/duration";
|
|
5
|
+
import * as _235 from "./protobuf/timestamp";
|
|
6
6
|
export var google;
|
|
7
7
|
(function (google) {
|
|
8
8
|
google.protobuf = {
|
|
9
|
-
...
|
|
10
|
-
...
|
|
11
|
-
...
|
|
12
|
-
...
|
|
9
|
+
..._232,
|
|
10
|
+
..._233,
|
|
11
|
+
..._234,
|
|
12
|
+
..._235
|
|
13
13
|
};
|
|
14
14
|
})(google || (google = {}));
|
|
@@ -10,88 +10,33 @@ function createBaseAny() {
|
|
|
10
10
|
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
11
11
|
* URL that describes the type of the serialized message.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* In its binary encoding, an `Any` is an ordinary message; but in other wire
|
|
14
|
+
* forms like JSON, it has a special encoding. The format of the type URL is
|
|
15
|
+
* described on the `type_url` field.
|
|
15
16
|
*
|
|
16
|
-
*
|
|
17
|
+
* Protobuf APIs provide utilities to interact with `Any` values:
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
19
|
+
* - A 'pack' operation accepts a message and constructs a generic `Any` wrapper
|
|
20
|
+
* around it.
|
|
21
|
+
* - An 'unpack' operation reads the content of an `Any` message, either into an
|
|
22
|
+
* existing message or a new one. Unpack operations must check the type of the
|
|
23
|
+
* value they unpack against the declared `type_url`.
|
|
24
|
+
* - An 'is' operation decides whether an `Any` contains a message of the given
|
|
25
|
+
* type, i.e. whether it can 'unpack' that type.
|
|
25
26
|
*
|
|
26
|
-
*
|
|
27
|
+
* The JSON format representation of an `Any` follows one of these cases:
|
|
27
28
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
36
|
-
* foo = any.unpack(Foo.getDefaultInstance());
|
|
37
|
-
* }
|
|
29
|
+
* - For types without special-cased JSON encodings, the JSON format
|
|
30
|
+
* representation of the `Any` is the same as that of the message, with an
|
|
31
|
+
* additional `@type` field which contains the type URL.
|
|
32
|
+
* - For types with special-cased JSON encodings (typically called 'well-known'
|
|
33
|
+
* types, listed in https://protobuf.dev/programming-guides/json/#any), the
|
|
34
|
+
* JSON format representation has a key `@type` which contains the type URL
|
|
35
|
+
* and a key `value` which contains the JSON-serialized value.
|
|
38
36
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* any = Any()
|
|
43
|
-
* any.Pack(foo)
|
|
44
|
-
* ...
|
|
45
|
-
* if any.Is(Foo.DESCRIPTOR):
|
|
46
|
-
* any.Unpack(foo)
|
|
47
|
-
* ...
|
|
48
|
-
*
|
|
49
|
-
* Example 4: Pack and unpack a message in Go
|
|
50
|
-
*
|
|
51
|
-
* foo := &pb.Foo{...}
|
|
52
|
-
* any, err := anypb.New(foo)
|
|
53
|
-
* if err != nil {
|
|
54
|
-
* ...
|
|
55
|
-
* }
|
|
56
|
-
* ...
|
|
57
|
-
* foo := &pb.Foo{}
|
|
58
|
-
* if err := any.UnmarshalTo(foo); err != nil {
|
|
59
|
-
* ...
|
|
60
|
-
* }
|
|
61
|
-
*
|
|
62
|
-
* The pack methods provided by protobuf library will by default use
|
|
63
|
-
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
64
|
-
* methods only use the fully qualified type name after the last '/'
|
|
65
|
-
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
66
|
-
* name "y.z".
|
|
67
|
-
*
|
|
68
|
-
* JSON
|
|
69
|
-
* ====
|
|
70
|
-
* The JSON representation of an `Any` value uses the regular
|
|
71
|
-
* representation of the deserialized, embedded message, with an
|
|
72
|
-
* additional field `@type` which contains the type URL. Example:
|
|
73
|
-
*
|
|
74
|
-
* package google.profile;
|
|
75
|
-
* message Person {
|
|
76
|
-
* string first_name = 1;
|
|
77
|
-
* string last_name = 2;
|
|
78
|
-
* }
|
|
79
|
-
*
|
|
80
|
-
* {
|
|
81
|
-
* "@type": "type.googleapis.com/google.profile.Person",
|
|
82
|
-
* "firstName": <string>,
|
|
83
|
-
* "lastName": <string>
|
|
84
|
-
* }
|
|
85
|
-
*
|
|
86
|
-
* If the embedded message type is well-known and has a custom JSON
|
|
87
|
-
* representation, that representation will be embedded adding a field
|
|
88
|
-
* `value` which holds the custom JSON in addition to the `@type`
|
|
89
|
-
* field. Example (for message [google.protobuf.Duration][]):
|
|
90
|
-
*
|
|
91
|
-
* {
|
|
92
|
-
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
93
|
-
* "value": "1.212s"
|
|
94
|
-
* }
|
|
37
|
+
* The text format representation of an `Any` is like a message with one field
|
|
38
|
+
* whose name is the type URL in brackets. For example, an `Any` containing a
|
|
39
|
+
* `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`.
|
|
95
40
|
* @name Any
|
|
96
41
|
* @package google.protobuf
|
|
97
42
|
* @see proto type: google.protobuf.Any
|