@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.31
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/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- 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.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 +5593 -3155
- package/akash/bundle.js +499 -299
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +105 -80
- package/akash/client.js +23 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.js +2 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +18 -5
- package/akash/lcd.js +30 -11
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.d.ts +1 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +50 -25
- package/akash/rpc.query.js +22 -9
- package/akash/rpc.tx.d.ts +15 -5
- package/akash/rpc.tx.js +19 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -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 +499 -299
- package/esm/akash/client.js +23 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +30 -11
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +22 -9
- package/esm/akash/rpc.tx.js +19 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- 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 +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/{deployment/v1beta3 → bme/v1}/service.d.ts +0 -0
- /package/akash/{deployment/v1beta3 → bme/v1}/service.js +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/escrow/v1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/market/v2beta1/service.d.ts} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Resources, ResourcesAmino } from "../../base/resources/v1beta4/resources";
|
|
2
|
+
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* ResourceUnit extends Resources and adds Count along with the Price.
|
|
7
|
+
* @name ResourceUnit
|
|
8
|
+
* @package akash.deployment.v1beta5
|
|
9
|
+
* @see proto type: akash.deployment.v1beta5.ResourceUnit
|
|
10
|
+
*/
|
|
11
|
+
export interface ResourceUnit {
|
|
12
|
+
/**
|
|
13
|
+
* Resource holds the amount of resources.
|
|
14
|
+
*/
|
|
15
|
+
resource: Resources;
|
|
16
|
+
/**
|
|
17
|
+
* Count corresponds to the amount of replicas to run of the resources.
|
|
18
|
+
*/
|
|
19
|
+
count: number;
|
|
20
|
+
/**
|
|
21
|
+
* Price holds the pricing for the resource units.
|
|
22
|
+
*/
|
|
23
|
+
prices: DecCoin[];
|
|
24
|
+
}
|
|
25
|
+
export interface ResourceUnitProtoMsg {
|
|
26
|
+
typeUrl: "/akash.deployment.v1beta5.ResourceUnit";
|
|
27
|
+
value: Uint8Array;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* ResourceUnit extends Resources and adds Count along with the Price.
|
|
31
|
+
* @name ResourceUnitAmino
|
|
32
|
+
* @package akash.deployment.v1beta5
|
|
33
|
+
* @see proto type: akash.deployment.v1beta5.ResourceUnit
|
|
34
|
+
*/
|
|
35
|
+
export interface ResourceUnitAmino {
|
|
36
|
+
/**
|
|
37
|
+
* Resource holds the amount of resources.
|
|
38
|
+
*/
|
|
39
|
+
resource: ResourcesAmino;
|
|
40
|
+
/**
|
|
41
|
+
* Count corresponds to the amount of replicas to run of the resources.
|
|
42
|
+
*/
|
|
43
|
+
count: number;
|
|
44
|
+
/**
|
|
45
|
+
* Price holds the pricing for the resource units.
|
|
46
|
+
*/
|
|
47
|
+
prices: DecCoinAmino[];
|
|
48
|
+
}
|
|
49
|
+
export interface ResourceUnitAminoMsg {
|
|
50
|
+
type: "/akash.deployment.v1beta5.ResourceUnit";
|
|
51
|
+
value: ResourceUnitAmino;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* ResourceUnit extends Resources and adds Count along with the Price.
|
|
55
|
+
* @name ResourceUnit
|
|
56
|
+
* @package akash.deployment.v1beta5
|
|
57
|
+
* @see proto type: akash.deployment.v1beta5.ResourceUnit
|
|
58
|
+
*/
|
|
59
|
+
export declare const ResourceUnit: {
|
|
60
|
+
typeUrl: string;
|
|
61
|
+
encode(message: ResourceUnit, writer?: BinaryWriter): BinaryWriter;
|
|
62
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ResourceUnit;
|
|
63
|
+
fromPartial(object: DeepPartial<ResourceUnit>): ResourceUnit;
|
|
64
|
+
fromAmino(object: ResourceUnitAmino): ResourceUnit;
|
|
65
|
+
toAmino(message: ResourceUnit): ResourceUnitAmino;
|
|
66
|
+
fromAminoMsg(object: ResourceUnitAminoMsg): ResourceUnit;
|
|
67
|
+
fromProtoMsg(message: ResourceUnitProtoMsg): ResourceUnit;
|
|
68
|
+
toProto(message: ResourceUnit): Uint8Array;
|
|
69
|
+
toProtoMsg(message: ResourceUnit): ResourceUnitProtoMsg;
|
|
70
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceUnit = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const resources_1 = require("../../base/resources/v1beta4/resources");
|
|
6
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
7
|
+
const binary_1 = require("../../../binary");
|
|
8
|
+
function createBaseResourceUnit() {
|
|
9
|
+
return {
|
|
10
|
+
resource: resources_1.Resources.fromPartial({}),
|
|
11
|
+
count: 0,
|
|
12
|
+
prices: []
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ResourceUnit extends Resources and adds Count along with the Price.
|
|
17
|
+
* @name ResourceUnit
|
|
18
|
+
* @package akash.deployment.v1beta5
|
|
19
|
+
* @see proto type: akash.deployment.v1beta5.ResourceUnit
|
|
20
|
+
*/
|
|
21
|
+
exports.ResourceUnit = {
|
|
22
|
+
typeUrl: "/akash.deployment.v1beta5.ResourceUnit",
|
|
23
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
24
|
+
if (message.resource !== undefined) {
|
|
25
|
+
resources_1.Resources.encode(message.resource, writer.uint32(10).fork()).ldelim();
|
|
26
|
+
}
|
|
27
|
+
if (message.count !== 0) {
|
|
28
|
+
writer.uint32(16).uint32(message.count);
|
|
29
|
+
}
|
|
30
|
+
for (const v of message.prices) {
|
|
31
|
+
coin_1.DecCoin.encode(v, writer.uint32(26).fork()).ldelim();
|
|
32
|
+
}
|
|
33
|
+
return writer;
|
|
34
|
+
},
|
|
35
|
+
decode(input, length) {
|
|
36
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBaseResourceUnit();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
message.resource = resources_1.Resources.decode(reader, reader.uint32());
|
|
44
|
+
break;
|
|
45
|
+
case 2:
|
|
46
|
+
message.count = reader.uint32();
|
|
47
|
+
break;
|
|
48
|
+
case 3:
|
|
49
|
+
message.prices.push(coin_1.DecCoin.decode(reader, reader.uint32()));
|
|
50
|
+
break;
|
|
51
|
+
default:
|
|
52
|
+
reader.skipType(tag & 7);
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return message;
|
|
57
|
+
},
|
|
58
|
+
fromPartial(object) {
|
|
59
|
+
const message = createBaseResourceUnit();
|
|
60
|
+
message.resource = object.resource !== undefined && object.resource !== null ? resources_1.Resources.fromPartial(object.resource) : undefined;
|
|
61
|
+
message.count = object.count ?? 0;
|
|
62
|
+
message.prices = object.prices?.map(e => coin_1.DecCoin.fromPartial(e)) || [];
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
fromAmino(object) {
|
|
66
|
+
const message = createBaseResourceUnit();
|
|
67
|
+
if (object.resource !== undefined && object.resource !== null) {
|
|
68
|
+
message.resource = resources_1.Resources.fromAmino(object.resource);
|
|
69
|
+
}
|
|
70
|
+
if (object.count !== undefined && object.count !== null) {
|
|
71
|
+
message.count = object.count;
|
|
72
|
+
}
|
|
73
|
+
message.prices = object.prices?.map(e => coin_1.DecCoin.fromAmino(e)) || [];
|
|
74
|
+
return message;
|
|
75
|
+
},
|
|
76
|
+
toAmino(message) {
|
|
77
|
+
const obj = {};
|
|
78
|
+
obj.resource = message.resource ? resources_1.Resources.toAmino(message.resource) : resources_1.Resources.toAmino(resources_1.Resources.fromPartial({}));
|
|
79
|
+
obj.count = message.count ?? 0;
|
|
80
|
+
if (message.prices) {
|
|
81
|
+
obj.prices = message.prices.map(e => e ? coin_1.DecCoin.toAmino(e) : undefined);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
obj.prices = message.prices;
|
|
85
|
+
}
|
|
86
|
+
return obj;
|
|
87
|
+
},
|
|
88
|
+
fromAminoMsg(object) {
|
|
89
|
+
return exports.ResourceUnit.fromAmino(object.value);
|
|
90
|
+
},
|
|
91
|
+
fromProtoMsg(message) {
|
|
92
|
+
return exports.ResourceUnit.decode(message.value);
|
|
93
|
+
},
|
|
94
|
+
toProto(message) {
|
|
95
|
+
return exports.ResourceUnit.encode(message).finish();
|
|
96
|
+
},
|
|
97
|
+
toProtoMsg(message) {
|
|
98
|
+
return {
|
|
99
|
+
typeUrl: "/akash.deployment.v1beta5.ResourceUnit",
|
|
100
|
+
value: exports.ResourceUnit.encode(message).finish()
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { MsgCreateDeployment,
|
|
1
|
+
import { MsgCreateDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg";
|
|
2
2
|
import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg";
|
|
3
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
3
4
|
export declare const AminoConverter: {
|
|
4
|
-
"/akash.deployment.
|
|
5
|
+
"/akash.deployment.v1beta5.MsgCreateDeployment": {
|
|
5
6
|
aminoType: string;
|
|
6
7
|
toAmino: (message: MsgCreateDeployment) => import("./deploymentmsg").MsgCreateDeploymentAmino;
|
|
7
8
|
fromAmino: (object: import("./deploymentmsg").MsgCreateDeploymentAmino) => MsgCreateDeployment;
|
|
8
9
|
};
|
|
9
|
-
"/akash.deployment.
|
|
10
|
-
aminoType: string;
|
|
11
|
-
toAmino: (message: MsgDepositDeployment) => import("./deploymentmsg").MsgDepositDeploymentAmino;
|
|
12
|
-
fromAmino: (object: import("./deploymentmsg").MsgDepositDeploymentAmino) => MsgDepositDeployment;
|
|
13
|
-
};
|
|
14
|
-
"/akash.deployment.v1beta3.MsgUpdateDeployment": {
|
|
10
|
+
"/akash.deployment.v1beta5.MsgUpdateDeployment": {
|
|
15
11
|
aminoType: string;
|
|
16
12
|
toAmino: (message: MsgUpdateDeployment) => import("./deploymentmsg").MsgUpdateDeploymentAmino;
|
|
17
13
|
fromAmino: (object: import("./deploymentmsg").MsgUpdateDeploymentAmino) => MsgUpdateDeployment;
|
|
18
14
|
};
|
|
19
|
-
"/akash.deployment.
|
|
15
|
+
"/akash.deployment.v1beta5.MsgCloseDeployment": {
|
|
20
16
|
aminoType: string;
|
|
21
17
|
toAmino: (message: MsgCloseDeployment) => import("./deploymentmsg").MsgCloseDeploymentAmino;
|
|
22
18
|
fromAmino: (object: import("./deploymentmsg").MsgCloseDeploymentAmino) => MsgCloseDeployment;
|
|
23
19
|
};
|
|
24
|
-
"/akash.deployment.
|
|
20
|
+
"/akash.deployment.v1beta5.MsgCloseGroup": {
|
|
25
21
|
aminoType: string;
|
|
26
22
|
toAmino: (message: MsgCloseGroup) => import("./groupmsg").MsgCloseGroupAmino;
|
|
27
23
|
fromAmino: (object: import("./groupmsg").MsgCloseGroupAmino) => MsgCloseGroup;
|
|
28
24
|
};
|
|
29
|
-
"/akash.deployment.
|
|
25
|
+
"/akash.deployment.v1beta5.MsgPauseGroup": {
|
|
30
26
|
aminoType: string;
|
|
31
27
|
toAmino: (message: MsgPauseGroup) => import("./groupmsg").MsgPauseGroupAmino;
|
|
32
28
|
fromAmino: (object: import("./groupmsg").MsgPauseGroupAmino) => MsgPauseGroup;
|
|
33
29
|
};
|
|
34
|
-
"/akash.deployment.
|
|
30
|
+
"/akash.deployment.v1beta5.MsgStartGroup": {
|
|
35
31
|
aminoType: string;
|
|
36
32
|
toAmino: (message: MsgStartGroup) => import("./groupmsg").MsgStartGroupAmino;
|
|
37
33
|
fromAmino: (object: import("./groupmsg").MsgStartGroupAmino) => MsgStartGroup;
|
|
38
34
|
};
|
|
35
|
+
"/akash.deployment.v1beta5.MsgUpdateParams": {
|
|
36
|
+
aminoType: string;
|
|
37
|
+
toAmino: (message: MsgUpdateParams) => import("./paramsmsg").MsgUpdateParamsAmino;
|
|
38
|
+
fromAmino: (object: import("./paramsmsg").MsgUpdateParamsAmino) => MsgUpdateParams;
|
|
39
|
+
};
|
|
39
40
|
};
|
|
@@ -4,40 +4,41 @@ exports.AminoConverter = void 0;
|
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const deploymentmsg_1 = require("./deploymentmsg");
|
|
6
6
|
const groupmsg_1 = require("./groupmsg");
|
|
7
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
7
8
|
exports.AminoConverter = {
|
|
8
|
-
"/akash.deployment.
|
|
9
|
-
aminoType: "/akash.deployment.
|
|
9
|
+
"/akash.deployment.v1beta5.MsgCreateDeployment": {
|
|
10
|
+
aminoType: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
10
11
|
toAmino: deploymentmsg_1.MsgCreateDeployment.toAmino,
|
|
11
12
|
fromAmino: deploymentmsg_1.MsgCreateDeployment.fromAmino
|
|
12
13
|
},
|
|
13
|
-
"/akash.deployment.
|
|
14
|
-
aminoType: "/akash.deployment.
|
|
15
|
-
toAmino: deploymentmsg_1.MsgDepositDeployment.toAmino,
|
|
16
|
-
fromAmino: deploymentmsg_1.MsgDepositDeployment.fromAmino
|
|
17
|
-
},
|
|
18
|
-
"/akash.deployment.v1beta3.MsgUpdateDeployment": {
|
|
19
|
-
aminoType: "/akash.deployment.v1beta3.MsgUpdateDeployment",
|
|
14
|
+
"/akash.deployment.v1beta5.MsgUpdateDeployment": {
|
|
15
|
+
aminoType: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
20
16
|
toAmino: deploymentmsg_1.MsgUpdateDeployment.toAmino,
|
|
21
17
|
fromAmino: deploymentmsg_1.MsgUpdateDeployment.fromAmino
|
|
22
18
|
},
|
|
23
|
-
"/akash.deployment.
|
|
24
|
-
aminoType: "/akash.deployment.
|
|
19
|
+
"/akash.deployment.v1beta5.MsgCloseDeployment": {
|
|
20
|
+
aminoType: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
25
21
|
toAmino: deploymentmsg_1.MsgCloseDeployment.toAmino,
|
|
26
22
|
fromAmino: deploymentmsg_1.MsgCloseDeployment.fromAmino
|
|
27
23
|
},
|
|
28
|
-
"/akash.deployment.
|
|
29
|
-
aminoType: "/akash.deployment.
|
|
24
|
+
"/akash.deployment.v1beta5.MsgCloseGroup": {
|
|
25
|
+
aminoType: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
30
26
|
toAmino: groupmsg_1.MsgCloseGroup.toAmino,
|
|
31
27
|
fromAmino: groupmsg_1.MsgCloseGroup.fromAmino
|
|
32
28
|
},
|
|
33
|
-
"/akash.deployment.
|
|
34
|
-
aminoType: "/akash.deployment.
|
|
29
|
+
"/akash.deployment.v1beta5.MsgPauseGroup": {
|
|
30
|
+
aminoType: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
35
31
|
toAmino: groupmsg_1.MsgPauseGroup.toAmino,
|
|
36
32
|
fromAmino: groupmsg_1.MsgPauseGroup.fromAmino
|
|
37
33
|
},
|
|
38
|
-
"/akash.deployment.
|
|
39
|
-
aminoType: "/akash.deployment.
|
|
34
|
+
"/akash.deployment.v1beta5.MsgStartGroup": {
|
|
35
|
+
aminoType: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
40
36
|
toAmino: groupmsg_1.MsgStartGroup.toAmino,
|
|
41
37
|
fromAmino: groupmsg_1.MsgStartGroup.fromAmino
|
|
38
|
+
},
|
|
39
|
+
"/akash.deployment.v1beta5.MsgUpdateParams": {
|
|
40
|
+
aminoType: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
41
|
+
toAmino: paramsmsg_1.MsgUpdateParams.toAmino,
|
|
42
|
+
fromAmino: paramsmsg_1.MsgUpdateParams.fromAmino
|
|
42
43
|
}
|
|
43
44
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
-
import { MsgCreateDeployment,
|
|
3
|
+
import { MsgCreateDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg";
|
|
4
4
|
import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg";
|
|
5
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
5
6
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
6
7
|
export declare const load: (protoRegistry: Registry) => void;
|
|
7
8
|
export declare const MessageComposer: {
|
|
@@ -10,10 +11,6 @@ export declare const MessageComposer: {
|
|
|
10
11
|
typeUrl: string;
|
|
11
12
|
value: Uint8Array<ArrayBufferLike>;
|
|
12
13
|
};
|
|
13
|
-
depositDeployment(value: MsgDepositDeployment): {
|
|
14
|
-
typeUrl: string;
|
|
15
|
-
value: Uint8Array<ArrayBufferLike>;
|
|
16
|
-
};
|
|
17
14
|
updateDeployment(value: MsgUpdateDeployment): {
|
|
18
15
|
typeUrl: string;
|
|
19
16
|
value: Uint8Array<ArrayBufferLike>;
|
|
@@ -34,16 +31,16 @@ export declare const MessageComposer: {
|
|
|
34
31
|
typeUrl: string;
|
|
35
32
|
value: Uint8Array<ArrayBufferLike>;
|
|
36
33
|
};
|
|
34
|
+
updateParams(value: MsgUpdateParams): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
37
|
+
};
|
|
37
38
|
};
|
|
38
39
|
withTypeUrl: {
|
|
39
40
|
createDeployment(value: MsgCreateDeployment): {
|
|
40
41
|
typeUrl: string;
|
|
41
42
|
value: MsgCreateDeployment;
|
|
42
43
|
};
|
|
43
|
-
depositDeployment(value: MsgDepositDeployment): {
|
|
44
|
-
typeUrl: string;
|
|
45
|
-
value: MsgDepositDeployment;
|
|
46
|
-
};
|
|
47
44
|
updateDeployment(value: MsgUpdateDeployment): {
|
|
48
45
|
typeUrl: string;
|
|
49
46
|
value: MsgUpdateDeployment;
|
|
@@ -64,16 +61,16 @@ export declare const MessageComposer: {
|
|
|
64
61
|
typeUrl: string;
|
|
65
62
|
value: MsgStartGroup;
|
|
66
63
|
};
|
|
64
|
+
updateParams(value: MsgUpdateParams): {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: MsgUpdateParams;
|
|
67
|
+
};
|
|
67
68
|
};
|
|
68
69
|
fromPartial: {
|
|
69
70
|
createDeployment(value: MsgCreateDeployment): {
|
|
70
71
|
typeUrl: string;
|
|
71
72
|
value: MsgCreateDeployment;
|
|
72
73
|
};
|
|
73
|
-
depositDeployment(value: MsgDepositDeployment): {
|
|
74
|
-
typeUrl: string;
|
|
75
|
-
value: MsgDepositDeployment;
|
|
76
|
-
};
|
|
77
74
|
updateDeployment(value: MsgUpdateDeployment): {
|
|
78
75
|
typeUrl: string;
|
|
79
76
|
value: MsgUpdateDeployment;
|
|
@@ -94,5 +91,9 @@ export declare const MessageComposer: {
|
|
|
94
91
|
typeUrl: string;
|
|
95
92
|
value: MsgStartGroup;
|
|
96
93
|
};
|
|
94
|
+
updateParams(value: MsgUpdateParams): {
|
|
95
|
+
typeUrl: string;
|
|
96
|
+
value: MsgUpdateParams;
|
|
97
|
+
};
|
|
97
98
|
};
|
|
98
99
|
};
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const deploymentmsg_1 = require("./deploymentmsg");
|
|
5
5
|
const groupmsg_1 = require("./groupmsg");
|
|
6
|
-
|
|
6
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
7
|
+
exports.registry = [["/akash.deployment.v1beta5.MsgCreateDeployment", deploymentmsg_1.MsgCreateDeployment], ["/akash.deployment.v1beta5.MsgUpdateDeployment", deploymentmsg_1.MsgUpdateDeployment], ["/akash.deployment.v1beta5.MsgCloseDeployment", deploymentmsg_1.MsgCloseDeployment], ["/akash.deployment.v1beta5.MsgCloseGroup", groupmsg_1.MsgCloseGroup], ["/akash.deployment.v1beta5.MsgPauseGroup", groupmsg_1.MsgPauseGroup], ["/akash.deployment.v1beta5.MsgStartGroup", groupmsg_1.MsgStartGroup], ["/akash.deployment.v1beta5.MsgUpdateParams", paramsmsg_1.MsgUpdateParams]];
|
|
7
8
|
const load = (protoRegistry) => {
|
|
8
9
|
exports.registry.forEach(([typeUrl, mod]) => {
|
|
9
10
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -14,87 +15,87 @@ exports.MessageComposer = {
|
|
|
14
15
|
encoded: {
|
|
15
16
|
createDeployment(value) {
|
|
16
17
|
return {
|
|
17
|
-
typeUrl: "/akash.deployment.
|
|
18
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
18
19
|
value: deploymentmsg_1.MsgCreateDeployment.encode(value).finish()
|
|
19
20
|
};
|
|
20
21
|
},
|
|
21
|
-
depositDeployment(value) {
|
|
22
|
-
return {
|
|
23
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
24
|
-
value: deploymentmsg_1.MsgDepositDeployment.encode(value).finish()
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
22
|
updateDeployment(value) {
|
|
28
23
|
return {
|
|
29
|
-
typeUrl: "/akash.deployment.
|
|
24
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
30
25
|
value: deploymentmsg_1.MsgUpdateDeployment.encode(value).finish()
|
|
31
26
|
};
|
|
32
27
|
},
|
|
33
28
|
closeDeployment(value) {
|
|
34
29
|
return {
|
|
35
|
-
typeUrl: "/akash.deployment.
|
|
30
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
36
31
|
value: deploymentmsg_1.MsgCloseDeployment.encode(value).finish()
|
|
37
32
|
};
|
|
38
33
|
},
|
|
39
34
|
closeGroup(value) {
|
|
40
35
|
return {
|
|
41
|
-
typeUrl: "/akash.deployment.
|
|
36
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
42
37
|
value: groupmsg_1.MsgCloseGroup.encode(value).finish()
|
|
43
38
|
};
|
|
44
39
|
},
|
|
45
40
|
pauseGroup(value) {
|
|
46
41
|
return {
|
|
47
|
-
typeUrl: "/akash.deployment.
|
|
42
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
48
43
|
value: groupmsg_1.MsgPauseGroup.encode(value).finish()
|
|
49
44
|
};
|
|
50
45
|
},
|
|
51
46
|
startGroup(value) {
|
|
52
47
|
return {
|
|
53
|
-
typeUrl: "/akash.deployment.
|
|
48
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
54
49
|
value: groupmsg_1.MsgStartGroup.encode(value).finish()
|
|
55
50
|
};
|
|
51
|
+
},
|
|
52
|
+
updateParams(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
55
|
+
value: paramsmsg_1.MsgUpdateParams.encode(value).finish()
|
|
56
|
+
};
|
|
56
57
|
}
|
|
57
58
|
},
|
|
58
59
|
withTypeUrl: {
|
|
59
60
|
createDeployment(value) {
|
|
60
61
|
return {
|
|
61
|
-
typeUrl: "/akash.deployment.
|
|
62
|
-
value
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
depositDeployment(value) {
|
|
66
|
-
return {
|
|
67
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
62
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
68
63
|
value
|
|
69
64
|
};
|
|
70
65
|
},
|
|
71
66
|
updateDeployment(value) {
|
|
72
67
|
return {
|
|
73
|
-
typeUrl: "/akash.deployment.
|
|
68
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
74
69
|
value
|
|
75
70
|
};
|
|
76
71
|
},
|
|
77
72
|
closeDeployment(value) {
|
|
78
73
|
return {
|
|
79
|
-
typeUrl: "/akash.deployment.
|
|
74
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
80
75
|
value
|
|
81
76
|
};
|
|
82
77
|
},
|
|
83
78
|
closeGroup(value) {
|
|
84
79
|
return {
|
|
85
|
-
typeUrl: "/akash.deployment.
|
|
80
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
86
81
|
value
|
|
87
82
|
};
|
|
88
83
|
},
|
|
89
84
|
pauseGroup(value) {
|
|
90
85
|
return {
|
|
91
|
-
typeUrl: "/akash.deployment.
|
|
86
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
92
87
|
value
|
|
93
88
|
};
|
|
94
89
|
},
|
|
95
90
|
startGroup(value) {
|
|
96
91
|
return {
|
|
97
|
-
typeUrl: "/akash.deployment.
|
|
92
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
93
|
+
value
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
updateParams(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
98
99
|
value
|
|
99
100
|
};
|
|
100
101
|
}
|
|
@@ -102,45 +103,45 @@ exports.MessageComposer = {
|
|
|
102
103
|
fromPartial: {
|
|
103
104
|
createDeployment(value) {
|
|
104
105
|
return {
|
|
105
|
-
typeUrl: "/akash.deployment.
|
|
106
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
106
107
|
value: deploymentmsg_1.MsgCreateDeployment.fromPartial(value)
|
|
107
108
|
};
|
|
108
109
|
},
|
|
109
|
-
depositDeployment(value) {
|
|
110
|
-
return {
|
|
111
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
112
|
-
value: deploymentmsg_1.MsgDepositDeployment.fromPartial(value)
|
|
113
|
-
};
|
|
114
|
-
},
|
|
115
110
|
updateDeployment(value) {
|
|
116
111
|
return {
|
|
117
|
-
typeUrl: "/akash.deployment.
|
|
112
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
118
113
|
value: deploymentmsg_1.MsgUpdateDeployment.fromPartial(value)
|
|
119
114
|
};
|
|
120
115
|
},
|
|
121
116
|
closeDeployment(value) {
|
|
122
117
|
return {
|
|
123
|
-
typeUrl: "/akash.deployment.
|
|
118
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
124
119
|
value: deploymentmsg_1.MsgCloseDeployment.fromPartial(value)
|
|
125
120
|
};
|
|
126
121
|
},
|
|
127
122
|
closeGroup(value) {
|
|
128
123
|
return {
|
|
129
|
-
typeUrl: "/akash.deployment.
|
|
124
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
130
125
|
value: groupmsg_1.MsgCloseGroup.fromPartial(value)
|
|
131
126
|
};
|
|
132
127
|
},
|
|
133
128
|
pauseGroup(value) {
|
|
134
129
|
return {
|
|
135
|
-
typeUrl: "/akash.deployment.
|
|
130
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
136
131
|
value: groupmsg_1.MsgPauseGroup.fromPartial(value)
|
|
137
132
|
};
|
|
138
133
|
},
|
|
139
134
|
startGroup(value) {
|
|
140
135
|
return {
|
|
141
|
-
typeUrl: "/akash.deployment.
|
|
136
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
142
137
|
value: groupmsg_1.MsgStartGroup.fromPartial(value)
|
|
143
138
|
};
|
|
139
|
+
},
|
|
140
|
+
updateParams(value) {
|
|
141
|
+
return {
|
|
142
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
143
|
+
value: paramsmsg_1.MsgUpdateParams.fromPartial(value)
|
|
144
|
+
};
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
};
|
|
@@ -1,32 +1,38 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
|
-
import { MsgCreateDeployment, MsgCreateDeploymentResponse,
|
|
2
|
+
import { MsgCreateDeployment, MsgCreateDeploymentResponse, MsgUpdateDeployment, MsgUpdateDeploymentResponse, MsgCloseDeployment, MsgCloseDeploymentResponse } from "./deploymentmsg";
|
|
3
3
|
import { MsgCloseGroup, MsgCloseGroupResponse, MsgPauseGroup, MsgPauseGroupResponse, MsgStartGroup, MsgStartGroupResponse } from "./groupmsg";
|
|
4
|
-
|
|
4
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
5
|
+
/** Msg defines the x/deployment Msg service. */
|
|
5
6
|
export interface Msg {
|
|
6
7
|
/** CreateDeployment defines a method to create new deployment given proper inputs. */
|
|
7
8
|
createDeployment(request: MsgCreateDeployment): Promise<MsgCreateDeploymentResponse>;
|
|
8
|
-
/** DepositDeployment deposits more funds into the deployment account */
|
|
9
|
-
depositDeployment(request: MsgDepositDeployment): Promise<MsgDepositDeploymentResponse>;
|
|
10
9
|
/** UpdateDeployment defines a method to update a deployment given proper inputs. */
|
|
11
10
|
updateDeployment(request: MsgUpdateDeployment): Promise<MsgUpdateDeploymentResponse>;
|
|
12
11
|
/** CloseDeployment defines a method to close a deployment given proper inputs. */
|
|
13
12
|
closeDeployment(request: MsgCloseDeployment): Promise<MsgCloseDeploymentResponse>;
|
|
14
13
|
/** CloseGroup defines a method to close a group of a deployment given proper inputs. */
|
|
15
14
|
closeGroup(request: MsgCloseGroup): Promise<MsgCloseGroupResponse>;
|
|
16
|
-
/** PauseGroup defines a method to
|
|
15
|
+
/** PauseGroup defines a method to pause a group of a deployment given proper inputs. */
|
|
17
16
|
pauseGroup(request: MsgPauseGroup): Promise<MsgPauseGroupResponse>;
|
|
18
|
-
/** StartGroup defines a method to
|
|
17
|
+
/** StartGroup defines a method to start a group of a deployment given proper inputs. */
|
|
19
18
|
startGroup(request: MsgStartGroup): Promise<MsgStartGroupResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* UpdateParams defines a governance operation for updating the x/deployment module
|
|
21
|
+
* parameters. The authority is hard-coded to the x/gov module account.
|
|
22
|
+
*
|
|
23
|
+
* Since: akash v1.0.0
|
|
24
|
+
*/
|
|
25
|
+
updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
20
26
|
}
|
|
21
27
|
export declare class MsgClientImpl implements Msg {
|
|
22
28
|
private readonly rpc;
|
|
23
29
|
constructor(rpc: TxRpc);
|
|
24
30
|
createDeployment: (request: MsgCreateDeployment) => Promise<MsgCreateDeploymentResponse>;
|
|
25
|
-
depositDeployment: (request: MsgDepositDeployment) => Promise<MsgDepositDeploymentResponse>;
|
|
26
31
|
updateDeployment: (request: MsgUpdateDeployment) => Promise<MsgUpdateDeploymentResponse>;
|
|
27
32
|
closeDeployment: (request: MsgCloseDeployment) => Promise<MsgCloseDeploymentResponse>;
|
|
28
33
|
closeGroup: (request: MsgCloseGroup) => Promise<MsgCloseGroupResponse>;
|
|
29
34
|
pauseGroup: (request: MsgPauseGroup) => Promise<MsgPauseGroupResponse>;
|
|
30
35
|
startGroup: (request: MsgStartGroup) => Promise<MsgStartGroupResponse>;
|
|
36
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
31
37
|
}
|
|
32
38
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -4,6 +4,7 @@ exports.createClientImpl = exports.MsgClientImpl = void 0;
|
|
|
4
4
|
const binary_1 = require("../../../binary");
|
|
5
5
|
const deploymentmsg_1 = require("./deploymentmsg");
|
|
6
6
|
const groupmsg_1 = require("./groupmsg");
|
|
7
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
7
8
|
class MsgClientImpl {
|
|
8
9
|
rpc;
|
|
9
10
|
constructor(rpc) {
|
|
@@ -12,45 +13,48 @@ class MsgClientImpl {
|
|
|
12
13
|
/* CreateDeployment defines a method to create new deployment given proper inputs. */
|
|
13
14
|
createDeployment = async (request) => {
|
|
14
15
|
const data = deploymentmsg_1.MsgCreateDeployment.encode(request).finish();
|
|
15
|
-
const promise = this.rpc.request("akash.deployment.
|
|
16
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CreateDeployment", data);
|
|
16
17
|
return promise.then(data => deploymentmsg_1.MsgCreateDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
18
|
};
|
|
18
|
-
/* DepositDeployment deposits more funds into the deployment account */
|
|
19
|
-
depositDeployment = async (request) => {
|
|
20
|
-
const data = deploymentmsg_1.MsgDepositDeployment.encode(request).finish();
|
|
21
|
-
const promise = this.rpc.request("akash.deployment.v1beta3.Msg", "DepositDeployment", data);
|
|
22
|
-
return promise.then(data => deploymentmsg_1.MsgDepositDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
|
-
};
|
|
24
19
|
/* UpdateDeployment defines a method to update a deployment given proper inputs. */
|
|
25
20
|
updateDeployment = async (request) => {
|
|
26
21
|
const data = deploymentmsg_1.MsgUpdateDeployment.encode(request).finish();
|
|
27
|
-
const promise = this.rpc.request("akash.deployment.
|
|
22
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "UpdateDeployment", data);
|
|
28
23
|
return promise.then(data => deploymentmsg_1.MsgUpdateDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
29
24
|
};
|
|
30
25
|
/* CloseDeployment defines a method to close a deployment given proper inputs. */
|
|
31
26
|
closeDeployment = async (request) => {
|
|
32
27
|
const data = deploymentmsg_1.MsgCloseDeployment.encode(request).finish();
|
|
33
|
-
const promise = this.rpc.request("akash.deployment.
|
|
28
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CloseDeployment", data);
|
|
34
29
|
return promise.then(data => deploymentmsg_1.MsgCloseDeploymentResponse.decode(new binary_1.BinaryReader(data)));
|
|
35
30
|
};
|
|
36
31
|
/* CloseGroup defines a method to close a group of a deployment given proper inputs. */
|
|
37
32
|
closeGroup = async (request) => {
|
|
38
33
|
const data = groupmsg_1.MsgCloseGroup.encode(request).finish();
|
|
39
|
-
const promise = this.rpc.request("akash.deployment.
|
|
34
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CloseGroup", data);
|
|
40
35
|
return promise.then(data => groupmsg_1.MsgCloseGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
41
36
|
};
|
|
42
|
-
/* PauseGroup defines a method to
|
|
37
|
+
/* PauseGroup defines a method to pause a group of a deployment given proper inputs. */
|
|
43
38
|
pauseGroup = async (request) => {
|
|
44
39
|
const data = groupmsg_1.MsgPauseGroup.encode(request).finish();
|
|
45
|
-
const promise = this.rpc.request("akash.deployment.
|
|
40
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "PauseGroup", data);
|
|
46
41
|
return promise.then(data => groupmsg_1.MsgPauseGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
47
42
|
};
|
|
48
|
-
/* StartGroup defines a method to
|
|
43
|
+
/* StartGroup defines a method to start a group of a deployment given proper inputs. */
|
|
49
44
|
startGroup = async (request) => {
|
|
50
45
|
const data = groupmsg_1.MsgStartGroup.encode(request).finish();
|
|
51
|
-
const promise = this.rpc.request("akash.deployment.
|
|
46
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "StartGroup", data);
|
|
52
47
|
return promise.then(data => groupmsg_1.MsgStartGroupResponse.decode(new binary_1.BinaryReader(data)));
|
|
53
48
|
};
|
|
49
|
+
/* UpdateParams defines a governance operation for updating the x/deployment module
|
|
50
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
51
|
+
|
|
52
|
+
Since: akash v1.0.0 */
|
|
53
|
+
updateParams = async (request) => {
|
|
54
|
+
const data = paramsmsg_1.MsgUpdateParams.encode(request).finish();
|
|
55
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "UpdateParams", data);
|
|
56
|
+
return promise.then(data => paramsmsg_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
57
|
+
};
|
|
54
58
|
}
|
|
55
59
|
exports.MsgClientImpl = MsgClientImpl;
|
|
56
60
|
const createClientImpl = (rpc) => {
|