@sparkdreamnft/sparkdreamjs 0.0.28 → 0.0.30
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/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.d.ts +1 -0
- package/akash/bme/v1/service.js +2 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +5705 -0
- package/akash/bundle.js +496 -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 +247 -0
- package/akash/client.js +100 -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 +92 -0
- package/akash/lcd.js +198 -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 +289 -0
- package/akash/rpc.query.js +138 -0
- package/akash/rpc.tx.d.ts +84 -0
- package/akash/rpc.tx.js +118 -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/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +460 -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 +62 -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 +161 -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 +101 -0
- package/esm/akash/rpc.tx.js +81 -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,12 @@
|
|
|
1
|
+
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryVaultStateRequest, QueryVaultStateResponse, QueryStatusRequest, QueryStatusResponse, QueryLedgerRecordsRequest, QueryLedgerRecordsResponse } from "./query";
|
|
3
|
+
export declare class LCDQueryClient {
|
|
4
|
+
req: LCDClient;
|
|
5
|
+
constructor({ requestClient }: {
|
|
6
|
+
requestClient: LCDClient;
|
|
7
|
+
});
|
|
8
|
+
params: (_params?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
9
|
+
vaultState: (_params?: QueryVaultStateRequest) => Promise<QueryVaultStateResponse>;
|
|
10
|
+
status: (_params?: QueryStatusRequest) => Promise<QueryStatusResponse>;
|
|
11
|
+
ledgerRecords: (params: QueryLedgerRecordsRequest) => Promise<QueryLedgerRecordsResponse>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LCDQueryClient = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const helpers_1 = require("../../../helpers");
|
|
6
|
+
class LCDQueryClient {
|
|
7
|
+
req;
|
|
8
|
+
constructor({ requestClient }) {
|
|
9
|
+
this.req = requestClient;
|
|
10
|
+
}
|
|
11
|
+
/* Params returns the module parameters */
|
|
12
|
+
params = async (_params = {}) => {
|
|
13
|
+
const endpoint = `akash/bme/v1/params`;
|
|
14
|
+
return await this.req.get(endpoint);
|
|
15
|
+
};
|
|
16
|
+
/* VaultState returns the current vault state */
|
|
17
|
+
vaultState = async (_params = {}) => {
|
|
18
|
+
const endpoint = `akash/bme/v1/vault`;
|
|
19
|
+
return await this.req.get(endpoint);
|
|
20
|
+
};
|
|
21
|
+
/* Status returns the current circuit breaker status */
|
|
22
|
+
status = async (_params = {}) => {
|
|
23
|
+
const endpoint = `akash/bme/v1/status`;
|
|
24
|
+
return await this.req.get(endpoint);
|
|
25
|
+
};
|
|
26
|
+
/* LedgerRecords queries ledger records with optional filters for status, source, denom, to_denom */
|
|
27
|
+
ledgerRecords = async (params) => {
|
|
28
|
+
const options = {
|
|
29
|
+
params: {}
|
|
30
|
+
};
|
|
31
|
+
if (typeof params?.filters !== "undefined") {
|
|
32
|
+
options.params.filters = params.filters;
|
|
33
|
+
}
|
|
34
|
+
if (typeof params?.pagination !== "undefined") {
|
|
35
|
+
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
36
|
+
}
|
|
37
|
+
const endpoint = `akash/bme/v1/ledger`;
|
|
38
|
+
return await this.req.get(endpoint, options);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryVaultStateRequest, QueryVaultStateResponse, QueryStatusRequest, QueryStatusResponse, QueryLedgerRecordsRequest, QueryLedgerRecordsResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service for the BME module */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** Params returns the module parameters */
|
|
7
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
8
|
+
/** VaultState returns the current vault state */
|
|
9
|
+
vaultState(request?: QueryVaultStateRequest): Promise<QueryVaultStateResponse>;
|
|
10
|
+
/** Status returns the current circuit breaker status */
|
|
11
|
+
status(request?: QueryStatusRequest): Promise<QueryStatusResponse>;
|
|
12
|
+
/** LedgerRecords queries ledger records with optional filters for status, source, denom, to_denom */
|
|
13
|
+
ledgerRecords(request: QueryLedgerRecordsRequest): Promise<QueryLedgerRecordsResponse>;
|
|
14
|
+
}
|
|
15
|
+
export declare class QueryClientImpl implements Query {
|
|
16
|
+
private readonly rpc;
|
|
17
|
+
constructor(rpc: TxRpc);
|
|
18
|
+
params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
19
|
+
vaultState: (request?: QueryVaultStateRequest) => Promise<QueryVaultStateResponse>;
|
|
20
|
+
status: (request?: QueryStatusRequest) => Promise<QueryStatusResponse>;
|
|
21
|
+
ledgerRecords: (request: QueryLedgerRecordsRequest) => Promise<QueryLedgerRecordsResponse>;
|
|
22
|
+
}
|
|
23
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
24
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
25
|
+
vaultState(request?: QueryVaultStateRequest): Promise<QueryVaultStateResponse>;
|
|
26
|
+
status(request?: QueryStatusRequest): Promise<QueryStatusResponse>;
|
|
27
|
+
ledgerRecords(request: QueryLedgerRecordsRequest): Promise<QueryLedgerRecordsResponse>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRpcQueryExtension = exports.QueryClientImpl = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const stargate_1 = require("@cosmjs/stargate");
|
|
6
|
+
const query_1 = require("./query");
|
|
7
|
+
class QueryClientImpl {
|
|
8
|
+
rpc;
|
|
9
|
+
constructor(rpc) {
|
|
10
|
+
this.rpc = rpc;
|
|
11
|
+
}
|
|
12
|
+
/* Params returns the module parameters */
|
|
13
|
+
params = async (request = {}) => {
|
|
14
|
+
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
15
|
+
const promise = this.rpc.request("akash.bme.v1.Query", "Params", data);
|
|
16
|
+
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
|
+
};
|
|
18
|
+
/* VaultState returns the current vault state */
|
|
19
|
+
vaultState = async (request = {}) => {
|
|
20
|
+
const data = query_1.QueryVaultStateRequest.encode(request).finish();
|
|
21
|
+
const promise = this.rpc.request("akash.bme.v1.Query", "VaultState", data);
|
|
22
|
+
return promise.then(data => query_1.QueryVaultStateResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
|
+
};
|
|
24
|
+
/* Status returns the current circuit breaker status */
|
|
25
|
+
status = async (request = {}) => {
|
|
26
|
+
const data = query_1.QueryStatusRequest.encode(request).finish();
|
|
27
|
+
const promise = this.rpc.request("akash.bme.v1.Query", "Status", data);
|
|
28
|
+
return promise.then(data => query_1.QueryStatusResponse.decode(new binary_1.BinaryReader(data)));
|
|
29
|
+
};
|
|
30
|
+
/* LedgerRecords queries ledger records with optional filters for status, source, denom, to_denom */
|
|
31
|
+
ledgerRecords = async (request) => {
|
|
32
|
+
const data = query_1.QueryLedgerRecordsRequest.encode(request).finish();
|
|
33
|
+
const promise = this.rpc.request("akash.bme.v1.Query", "LedgerRecords", data);
|
|
34
|
+
return promise.then(data => query_1.QueryLedgerRecordsResponse.decode(new binary_1.BinaryReader(data)));
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.QueryClientImpl = QueryClientImpl;
|
|
38
|
+
const createRpcQueryExtension = (base) => {
|
|
39
|
+
const rpc = (0, stargate_1.createProtobufRpcClient)(base);
|
|
40
|
+
const queryService = new QueryClientImpl(rpc);
|
|
41
|
+
return {
|
|
42
|
+
params(request) {
|
|
43
|
+
return queryService.params(request);
|
|
44
|
+
},
|
|
45
|
+
vaultState(request) {
|
|
46
|
+
return queryService.vaultState(request);
|
|
47
|
+
},
|
|
48
|
+
status(request) {
|
|
49
|
+
return queryService.status(request);
|
|
50
|
+
},
|
|
51
|
+
ledgerRecords(request) {
|
|
52
|
+
return queryService.ledgerRecords(request);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
exports.createRpcQueryExtension = createRpcQueryExtension;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MsgUpdateParams, MsgBurnMint, MsgMintACT, MsgBurnACT, MsgFundVault } from "./msgs";
|
|
2
|
+
export declare const AminoConverter: {
|
|
3
|
+
"/akash.bme.v1.MsgUpdateParams": {
|
|
4
|
+
aminoType: string;
|
|
5
|
+
toAmino: (message: MsgUpdateParams) => import("./msgs").MsgUpdateParamsAmino;
|
|
6
|
+
fromAmino: (object: import("./msgs").MsgUpdateParamsAmino) => MsgUpdateParams;
|
|
7
|
+
};
|
|
8
|
+
"/akash.bme.v1.MsgBurnMint": {
|
|
9
|
+
aminoType: string;
|
|
10
|
+
toAmino: (message: MsgBurnMint) => import("./msgs").MsgBurnMintAmino;
|
|
11
|
+
fromAmino: (object: import("./msgs").MsgBurnMintAmino) => MsgBurnMint;
|
|
12
|
+
};
|
|
13
|
+
"/akash.bme.v1.MsgMintACT": {
|
|
14
|
+
aminoType: string;
|
|
15
|
+
toAmino: (message: MsgMintACT) => import("./msgs").MsgMintACTAmino;
|
|
16
|
+
fromAmino: (object: import("./msgs").MsgMintACTAmino) => MsgMintACT;
|
|
17
|
+
};
|
|
18
|
+
"/akash.bme.v1.MsgBurnACT": {
|
|
19
|
+
aminoType: string;
|
|
20
|
+
toAmino: (message: MsgBurnACT) => import("./msgs").MsgBurnACTAmino;
|
|
21
|
+
fromAmino: (object: import("./msgs").MsgBurnACTAmino) => MsgBurnACT;
|
|
22
|
+
};
|
|
23
|
+
"/akash.bme.v1.MsgFundVault": {
|
|
24
|
+
aminoType: string;
|
|
25
|
+
toAmino: (message: MsgFundVault) => import("./msgs").MsgFundVaultAmino;
|
|
26
|
+
fromAmino: (object: import("./msgs").MsgFundVaultAmino) => MsgFundVault;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AminoConverter = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const msgs_1 = require("./msgs");
|
|
6
|
+
exports.AminoConverter = {
|
|
7
|
+
"/akash.bme.v1.MsgUpdateParams": {
|
|
8
|
+
aminoType: "akash/bme/v1/MsgUpdateParams",
|
|
9
|
+
toAmino: msgs_1.MsgUpdateParams.toAmino,
|
|
10
|
+
fromAmino: msgs_1.MsgUpdateParams.fromAmino
|
|
11
|
+
},
|
|
12
|
+
"/akash.bme.v1.MsgBurnMint": {
|
|
13
|
+
aminoType: "akash/bme/v1/MsgBurnMint",
|
|
14
|
+
toAmino: msgs_1.MsgBurnMint.toAmino,
|
|
15
|
+
fromAmino: msgs_1.MsgBurnMint.fromAmino
|
|
16
|
+
},
|
|
17
|
+
"/akash.bme.v1.MsgMintACT": {
|
|
18
|
+
aminoType: "akash/bme/v1/MsgMintACT",
|
|
19
|
+
toAmino: msgs_1.MsgMintACT.toAmino,
|
|
20
|
+
fromAmino: msgs_1.MsgMintACT.fromAmino
|
|
21
|
+
},
|
|
22
|
+
"/akash.bme.v1.MsgBurnACT": {
|
|
23
|
+
aminoType: "akash/bme/v1/MsgBurnACT",
|
|
24
|
+
toAmino: msgs_1.MsgBurnACT.toAmino,
|
|
25
|
+
fromAmino: msgs_1.MsgBurnACT.fromAmino
|
|
26
|
+
},
|
|
27
|
+
"/akash.bme.v1.MsgFundVault": {
|
|
28
|
+
aminoType: "akash/bme/v1/MsgFundVault",
|
|
29
|
+
toAmino: msgs_1.MsgFundVault.toAmino,
|
|
30
|
+
fromAmino: msgs_1.MsgFundVault.fromAmino
|
|
31
|
+
}
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgUpdateParams, MsgBurnMint, MsgMintACT, MsgBurnACT, MsgFundVault } from "./msgs";
|
|
4
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
updateParams(value: MsgUpdateParams): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
burnMint(value: MsgBurnMint): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
mintACT(value: MsgMintACT): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
burnACT(value: MsgBurnACT): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
fundVault(value: MsgFundVault): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
withTypeUrl: {
|
|
30
|
+
updateParams(value: MsgUpdateParams): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgUpdateParams;
|
|
33
|
+
};
|
|
34
|
+
burnMint(value: MsgBurnMint): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: MsgBurnMint;
|
|
37
|
+
};
|
|
38
|
+
mintACT(value: MsgMintACT): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgMintACT;
|
|
41
|
+
};
|
|
42
|
+
burnACT(value: MsgBurnACT): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgBurnACT;
|
|
45
|
+
};
|
|
46
|
+
fundVault(value: MsgFundVault): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: MsgFundVault;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
fromPartial: {
|
|
52
|
+
updateParams(value: MsgUpdateParams): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgUpdateParams;
|
|
55
|
+
};
|
|
56
|
+
burnMint(value: MsgBurnMint): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgBurnMint;
|
|
59
|
+
};
|
|
60
|
+
mintACT(value: MsgMintACT): {
|
|
61
|
+
typeUrl: string;
|
|
62
|
+
value: MsgMintACT;
|
|
63
|
+
};
|
|
64
|
+
burnACT(value: MsgBurnACT): {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: MsgBurnACT;
|
|
67
|
+
};
|
|
68
|
+
fundVault(value: MsgFundVault): {
|
|
69
|
+
typeUrl: string;
|
|
70
|
+
value: MsgFundVault;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
|
+
const msgs_1 = require("./msgs");
|
|
5
|
+
exports.registry = [["/akash.bme.v1.MsgUpdateParams", msgs_1.MsgUpdateParams], ["/akash.bme.v1.MsgBurnMint", msgs_1.MsgBurnMint], ["/akash.bme.v1.MsgMintACT", msgs_1.MsgMintACT], ["/akash.bme.v1.MsgBurnACT", msgs_1.MsgBurnACT], ["/akash.bme.v1.MsgFundVault", msgs_1.MsgFundVault]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
updateParams(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParams",
|
|
17
|
+
value: msgs_1.MsgUpdateParams.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
burnMint(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/akash.bme.v1.MsgBurnMint",
|
|
23
|
+
value: msgs_1.MsgBurnMint.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
mintACT(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/akash.bme.v1.MsgMintACT",
|
|
29
|
+
value: msgs_1.MsgMintACT.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
burnACT(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/akash.bme.v1.MsgBurnACT",
|
|
35
|
+
value: msgs_1.MsgBurnACT.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
fundVault(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/akash.bme.v1.MsgFundVault",
|
|
41
|
+
value: msgs_1.MsgFundVault.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
withTypeUrl: {
|
|
46
|
+
updateParams(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParams",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
burnMint(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/akash.bme.v1.MsgBurnMint",
|
|
55
|
+
value
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
mintACT(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/akash.bme.v1.MsgMintACT",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
burnACT(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/akash.bme.v1.MsgBurnACT",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
fundVault(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/akash.bme.v1.MsgFundVault",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
fromPartial: {
|
|
78
|
+
updateParams(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/akash.bme.v1.MsgUpdateParams",
|
|
81
|
+
value: msgs_1.MsgUpdateParams.fromPartial(value)
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
burnMint(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/akash.bme.v1.MsgBurnMint",
|
|
87
|
+
value: msgs_1.MsgBurnMint.fromPartial(value)
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
mintACT(value) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/akash.bme.v1.MsgMintACT",
|
|
93
|
+
value: msgs_1.MsgMintACT.fromPartial(value)
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
burnACT(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/akash.bme.v1.MsgBurnACT",
|
|
99
|
+
value: msgs_1.MsgBurnACT.fromPartial(value)
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
fundVault(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/akash.bme.v1.MsgFundVault",
|
|
105
|
+
value: msgs_1.MsgFundVault.fromPartial(value)
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse, MsgBurnMint, MsgBurnMintResponse, MsgMintACT, MsgMintACTResponse, MsgBurnACT, MsgBurnACTResponse, MsgFundVault, MsgFundVaultResponse } from "./msgs";
|
|
3
|
+
/** Msg defines the BME (Burn/Mint Engine) transaction service.
|
|
4
|
+
The BME module manages the burn and mint operations for ACT tokens,
|
|
5
|
+
maintaining collateral ratios and enforcing circuit breaker rules. */
|
|
6
|
+
export interface Msg {
|
|
7
|
+
/**
|
|
8
|
+
* UpdateParams updates the module parameters.
|
|
9
|
+
* This operation can only be performed through governance proposals.
|
|
10
|
+
*/
|
|
11
|
+
updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* BurnMint allows users to burn one token and mint another at current oracle prices.
|
|
14
|
+
* Typically used to burn unused ACT tokens back to AKT.
|
|
15
|
+
* The operation may be delayed or rejected based on circuit breaker status.
|
|
16
|
+
*/
|
|
17
|
+
burnMint(request: MsgBurnMint): Promise<MsgBurnMintResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* MintACT mints ACT tokens by burning the specified source token.
|
|
20
|
+
* The mint amount is calculated based on current oracle prices and
|
|
21
|
+
* the collateral ratio. May be halted if circuit breaker is triggered.
|
|
22
|
+
*/
|
|
23
|
+
mintACT(request: MsgMintACT): Promise<MsgMintACTResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* BurnACT burns ACT tokens and mints the specified destination token.
|
|
26
|
+
* The burn operation uses remint credits when available, otherwise
|
|
27
|
+
* requires adequate collateral backing based on oracle prices.
|
|
28
|
+
*/
|
|
29
|
+
burnACT(request: MsgBurnACT): Promise<MsgBurnACTResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* FundVault seeds the BME vault with AKT from a designated source (e.g., community pool).
|
|
32
|
+
* This provides the initial volatility buffer required for burn/mint operations.
|
|
33
|
+
* Can only be executed through governance proposals.
|
|
34
|
+
*/
|
|
35
|
+
fundVault(request: MsgFundVault): Promise<MsgFundVaultResponse>;
|
|
36
|
+
}
|
|
37
|
+
export declare class MsgClientImpl implements Msg {
|
|
38
|
+
private readonly rpc;
|
|
39
|
+
constructor(rpc: TxRpc);
|
|
40
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
41
|
+
burnMint: (request: MsgBurnMint) => Promise<MsgBurnMintResponse>;
|
|
42
|
+
mintACT: (request: MsgMintACT) => Promise<MsgMintACTResponse>;
|
|
43
|
+
burnACT: (request: MsgBurnACT) => Promise<MsgBurnACTResponse>;
|
|
44
|
+
fundVault: (request: MsgFundVault) => Promise<MsgFundVaultResponse>;
|
|
45
|
+
}
|
|
46
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createClientImpl = exports.MsgClientImpl = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const msgs_1 = require("./msgs");
|
|
6
|
+
class MsgClientImpl {
|
|
7
|
+
rpc;
|
|
8
|
+
constructor(rpc) {
|
|
9
|
+
this.rpc = rpc;
|
|
10
|
+
}
|
|
11
|
+
/* UpdateParams updates the module parameters.
|
|
12
|
+
This operation can only be performed through governance proposals. */
|
|
13
|
+
updateParams = async (request) => {
|
|
14
|
+
const data = msgs_1.MsgUpdateParams.encode(request).finish();
|
|
15
|
+
const promise = this.rpc.request("akash.bme.v1.Msg", "UpdateParams", data);
|
|
16
|
+
return promise.then(data => msgs_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
|
+
};
|
|
18
|
+
/* BurnMint allows users to burn one token and mint another at current oracle prices.
|
|
19
|
+
Typically used to burn unused ACT tokens back to AKT.
|
|
20
|
+
The operation may be delayed or rejected based on circuit breaker status. */
|
|
21
|
+
burnMint = async (request) => {
|
|
22
|
+
const data = msgs_1.MsgBurnMint.encode(request).finish();
|
|
23
|
+
const promise = this.rpc.request("akash.bme.v1.Msg", "BurnMint", data);
|
|
24
|
+
return promise.then(data => msgs_1.MsgBurnMintResponse.decode(new binary_1.BinaryReader(data)));
|
|
25
|
+
};
|
|
26
|
+
/* MintACT mints ACT tokens by burning the specified source token.
|
|
27
|
+
The mint amount is calculated based on current oracle prices and
|
|
28
|
+
the collateral ratio. May be halted if circuit breaker is triggered. */
|
|
29
|
+
mintACT = async (request) => {
|
|
30
|
+
const data = msgs_1.MsgMintACT.encode(request).finish();
|
|
31
|
+
const promise = this.rpc.request("akash.bme.v1.Msg", "MintACT", data);
|
|
32
|
+
return promise.then(data => msgs_1.MsgMintACTResponse.decode(new binary_1.BinaryReader(data)));
|
|
33
|
+
};
|
|
34
|
+
/* BurnACT burns ACT tokens and mints the specified destination token.
|
|
35
|
+
The burn operation uses remint credits when available, otherwise
|
|
36
|
+
requires adequate collateral backing based on oracle prices. */
|
|
37
|
+
burnACT = async (request) => {
|
|
38
|
+
const data = msgs_1.MsgBurnACT.encode(request).finish();
|
|
39
|
+
const promise = this.rpc.request("akash.bme.v1.Msg", "BurnACT", data);
|
|
40
|
+
return promise.then(data => msgs_1.MsgBurnACTResponse.decode(new binary_1.BinaryReader(data)));
|
|
41
|
+
};
|
|
42
|
+
/* FundVault seeds the BME vault with AKT from a designated source (e.g., community pool).
|
|
43
|
+
This provides the initial volatility buffer required for burn/mint operations.
|
|
44
|
+
Can only be executed through governance proposals. */
|
|
45
|
+
fundVault = async (request) => {
|
|
46
|
+
const data = msgs_1.MsgFundVault.encode(request).finish();
|
|
47
|
+
const promise = this.rpc.request("akash.bme.v1.Msg", "FundVault", data);
|
|
48
|
+
return promise.then(data => msgs_1.MsgFundVaultResponse.decode(new binary_1.BinaryReader(data)));
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.MsgClientImpl = MsgClientImpl;
|
|
52
|
+
const createClientImpl = (rpc) => {
|
|
53
|
+
return new MsgClientImpl(rpc);
|
|
54
|
+
};
|
|
55
|
+
exports.createClientImpl = createClientImpl;
|