@sparkdreamnft/sparkdreamjs 0.0.30 → 0.0.32
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/bundle.d.ts +5409 -3608
- package/akash/bundle.js +475 -306
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +84 -84
- package/akash/client.js +20 -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.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 +15 -5
- package/akash/lcd.js +26 -12
- 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.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 +43 -26
- package/akash/rpc.query.js +19 -9
- package/akash/rpc.tx.d.ts +12 -5
- package/akash/rpc.tx.js +16 -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/bundle.js +475 -306
- package/esm/akash/client.js +20 -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 +26 -12
- 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 +19 -9
- package/esm/akash/rpc.tx.js +16 -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/sparkdream/commons/v1/genesis.js +128 -1
- package/esm/sparkdream/rep/v1/initiative.js +13 -1
- package/esm/sparkdream/rep/v1/params.js +37 -1
- 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 +17364 -17352
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/commons/v1/genesis.d.ts +114 -0
- package/sparkdream/commons/v1/genesis.js +129 -2
- package/sparkdream/rep/v1/initiative.d.ts +10 -0
- package/sparkdream/rep/v1/initiative.js +13 -1
- package/sparkdream/rep/v1/params.d.ts +36 -0
- package/sparkdream/rep/v1/params.js +37 -1
- 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 → v1beta5}/service.d.ts +0 -0
- /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query";
|
|
2
|
+
import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
@@ -11,4 +11,5 @@ export declare class LCDQueryClient {
|
|
|
11
11
|
bid: (params: QueryBidRequest) => Promise<QueryBidResponse>;
|
|
12
12
|
leases: (params: QueryLeasesRequest) => Promise<QueryLeasesResponse>;
|
|
13
13
|
lease: (params: QueryLeaseRequest) => Promise<QueryLeaseResponse>;
|
|
14
|
+
params: (_params?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
14
15
|
}
|
|
@@ -8,7 +8,7 @@ class LCDQueryClient {
|
|
|
8
8
|
constructor({ requestClient }) {
|
|
9
9
|
this.req = requestClient;
|
|
10
10
|
}
|
|
11
|
-
/* Orders queries orders with filters */
|
|
11
|
+
/* Orders queries orders with filters. */
|
|
12
12
|
orders = async (params) => {
|
|
13
13
|
const options = {
|
|
14
14
|
params: {}
|
|
@@ -19,10 +19,10 @@ class LCDQueryClient {
|
|
|
19
19
|
if (typeof params?.pagination !== "undefined") {
|
|
20
20
|
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
21
21
|
}
|
|
22
|
-
const endpoint = `akash/market/
|
|
22
|
+
const endpoint = `akash/market/v2beta1/orders/list`;
|
|
23
23
|
return await this.req.get(endpoint, options);
|
|
24
24
|
};
|
|
25
|
-
/* Order queries order details */
|
|
25
|
+
/* Order queries order details. */
|
|
26
26
|
order = async (params) => {
|
|
27
27
|
const options = {
|
|
28
28
|
params: {}
|
|
@@ -30,10 +30,10 @@ class LCDQueryClient {
|
|
|
30
30
|
if (typeof params?.id !== "undefined") {
|
|
31
31
|
options.params.id = params.id;
|
|
32
32
|
}
|
|
33
|
-
const endpoint = `akash/market/
|
|
33
|
+
const endpoint = `akash/market/v2beta1/orders/info`;
|
|
34
34
|
return await this.req.get(endpoint, options);
|
|
35
35
|
};
|
|
36
|
-
/* Bids queries bids with filters */
|
|
36
|
+
/* Bids queries bids with filters. */
|
|
37
37
|
bids = async (params) => {
|
|
38
38
|
const options = {
|
|
39
39
|
params: {}
|
|
@@ -44,10 +44,10 @@ class LCDQueryClient {
|
|
|
44
44
|
if (typeof params?.pagination !== "undefined") {
|
|
45
45
|
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
46
46
|
}
|
|
47
|
-
const endpoint = `akash/market/
|
|
47
|
+
const endpoint = `akash/market/v2beta1/bids/list`;
|
|
48
48
|
return await this.req.get(endpoint, options);
|
|
49
49
|
};
|
|
50
|
-
/* Bid queries bid details */
|
|
50
|
+
/* Bid queries bid details. */
|
|
51
51
|
bid = async (params) => {
|
|
52
52
|
const options = {
|
|
53
53
|
params: {}
|
|
@@ -55,10 +55,10 @@ class LCDQueryClient {
|
|
|
55
55
|
if (typeof params?.id !== "undefined") {
|
|
56
56
|
options.params.id = params.id;
|
|
57
57
|
}
|
|
58
|
-
const endpoint = `akash/market/
|
|
58
|
+
const endpoint = `akash/market/v2beta1/bids/info`;
|
|
59
59
|
return await this.req.get(endpoint, options);
|
|
60
60
|
};
|
|
61
|
-
/* Leases queries leases with filters */
|
|
61
|
+
/* Leases queries leases with filters. */
|
|
62
62
|
leases = async (params) => {
|
|
63
63
|
const options = {
|
|
64
64
|
params: {}
|
|
@@ -69,10 +69,10 @@ class LCDQueryClient {
|
|
|
69
69
|
if (typeof params?.pagination !== "undefined") {
|
|
70
70
|
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
71
71
|
}
|
|
72
|
-
const endpoint = `akash/market/
|
|
72
|
+
const endpoint = `akash/market/v2beta1/leases/list`;
|
|
73
73
|
return await this.req.get(endpoint, options);
|
|
74
74
|
};
|
|
75
|
-
/* Lease queries lease details */
|
|
75
|
+
/* Lease queries lease details. */
|
|
76
76
|
lease = async (params) => {
|
|
77
77
|
const options = {
|
|
78
78
|
params: {}
|
|
@@ -80,8 +80,13 @@ class LCDQueryClient {
|
|
|
80
80
|
if (typeof params?.id !== "undefined") {
|
|
81
81
|
options.params.id = params.id;
|
|
82
82
|
}
|
|
83
|
-
const endpoint = `akash/market/
|
|
83
|
+
const endpoint = `akash/market/v2beta1/leases/info`;
|
|
84
84
|
return await this.req.get(endpoint, options);
|
|
85
85
|
};
|
|
86
|
+
/* Params returns the total set of market parameters. */
|
|
87
|
+
params = async (_params = {}) => {
|
|
88
|
+
const endpoint = `akash/market/v2beta1/params`;
|
|
89
|
+
return await this.req.get(endpoint);
|
|
90
|
+
};
|
|
86
91
|
}
|
|
87
92
|
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { TxRpc } from "../../../types";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse } from "./query";
|
|
4
|
-
/** Query defines the gRPC querier service */
|
|
3
|
+
import { QueryOrdersRequest, QueryOrdersResponse, QueryOrderRequest, QueryOrderResponse, QueryBidsRequest, QueryBidsResponse, QueryBidRequest, QueryBidResponse, QueryLeasesRequest, QueryLeasesResponse, QueryLeaseRequest, QueryLeaseResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service for the market package. */
|
|
5
5
|
export interface Query {
|
|
6
|
-
/** Orders queries orders with filters */
|
|
6
|
+
/** Orders queries orders with filters. */
|
|
7
7
|
orders(request: QueryOrdersRequest): Promise<QueryOrdersResponse>;
|
|
8
|
-
/** Order queries order details */
|
|
8
|
+
/** Order queries order details. */
|
|
9
9
|
order(request: QueryOrderRequest): Promise<QueryOrderResponse>;
|
|
10
|
-
/** Bids queries bids with filters */
|
|
10
|
+
/** Bids queries bids with filters. */
|
|
11
11
|
bids(request: QueryBidsRequest): Promise<QueryBidsResponse>;
|
|
12
|
-
/** Bid queries bid details */
|
|
12
|
+
/** Bid queries bid details. */
|
|
13
13
|
bid(request: QueryBidRequest): Promise<QueryBidResponse>;
|
|
14
|
-
/** Leases queries leases with filters */
|
|
14
|
+
/** Leases queries leases with filters. */
|
|
15
15
|
leases(request: QueryLeasesRequest): Promise<QueryLeasesResponse>;
|
|
16
|
-
/** Lease queries lease details */
|
|
16
|
+
/** Lease queries lease details. */
|
|
17
17
|
lease(request: QueryLeaseRequest): Promise<QueryLeaseResponse>;
|
|
18
|
+
/** Params returns the total set of market parameters. */
|
|
19
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
18
20
|
}
|
|
19
21
|
export declare class QueryClientImpl implements Query {
|
|
20
22
|
private readonly rpc;
|
|
@@ -25,6 +27,7 @@ export declare class QueryClientImpl implements Query {
|
|
|
25
27
|
bid: (request: QueryBidRequest) => Promise<QueryBidResponse>;
|
|
26
28
|
leases: (request: QueryLeasesRequest) => Promise<QueryLeasesResponse>;
|
|
27
29
|
lease: (request: QueryLeaseRequest) => Promise<QueryLeaseResponse>;
|
|
30
|
+
params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
28
31
|
}
|
|
29
32
|
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
30
33
|
orders(request: QueryOrdersRequest): Promise<QueryOrdersResponse>;
|
|
@@ -33,4 +36,5 @@ export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
|
33
36
|
bid(request: QueryBidRequest): Promise<QueryBidResponse>;
|
|
34
37
|
leases(request: QueryLeasesRequest): Promise<QueryLeasesResponse>;
|
|
35
38
|
lease(request: QueryLeaseRequest): Promise<QueryLeaseResponse>;
|
|
39
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
36
40
|
};
|
|
@@ -9,42 +9,48 @@ class QueryClientImpl {
|
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
11
|
}
|
|
12
|
-
/* Orders queries orders with filters */
|
|
12
|
+
/* Orders queries orders with filters. */
|
|
13
13
|
orders = async (request) => {
|
|
14
14
|
const data = query_1.QueryOrdersRequest.encode(request).finish();
|
|
15
|
-
const promise = this.rpc.request("akash.market.
|
|
15
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Orders", data);
|
|
16
16
|
return promise.then(data => query_1.QueryOrdersResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
17
|
};
|
|
18
|
-
/* Order queries order details */
|
|
18
|
+
/* Order queries order details. */
|
|
19
19
|
order = async (request) => {
|
|
20
20
|
const data = query_1.QueryOrderRequest.encode(request).finish();
|
|
21
|
-
const promise = this.rpc.request("akash.market.
|
|
21
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Order", data);
|
|
22
22
|
return promise.then(data => query_1.QueryOrderResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
23
|
};
|
|
24
|
-
/* Bids queries bids with filters */
|
|
24
|
+
/* Bids queries bids with filters. */
|
|
25
25
|
bids = async (request) => {
|
|
26
26
|
const data = query_1.QueryBidsRequest.encode(request).finish();
|
|
27
|
-
const promise = this.rpc.request("akash.market.
|
|
27
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Bids", data);
|
|
28
28
|
return promise.then(data => query_1.QueryBidsResponse.decode(new binary_1.BinaryReader(data)));
|
|
29
29
|
};
|
|
30
|
-
/* Bid queries bid details */
|
|
30
|
+
/* Bid queries bid details. */
|
|
31
31
|
bid = async (request) => {
|
|
32
32
|
const data = query_1.QueryBidRequest.encode(request).finish();
|
|
33
|
-
const promise = this.rpc.request("akash.market.
|
|
33
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Bid", data);
|
|
34
34
|
return promise.then(data => query_1.QueryBidResponse.decode(new binary_1.BinaryReader(data)));
|
|
35
35
|
};
|
|
36
|
-
/* Leases queries leases with filters */
|
|
36
|
+
/* Leases queries leases with filters. */
|
|
37
37
|
leases = async (request) => {
|
|
38
38
|
const data = query_1.QueryLeasesRequest.encode(request).finish();
|
|
39
|
-
const promise = this.rpc.request("akash.market.
|
|
39
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Leases", data);
|
|
40
40
|
return promise.then(data => query_1.QueryLeasesResponse.decode(new binary_1.BinaryReader(data)));
|
|
41
41
|
};
|
|
42
|
-
/* Lease queries lease details */
|
|
42
|
+
/* Lease queries lease details. */
|
|
43
43
|
lease = async (request) => {
|
|
44
44
|
const data = query_1.QueryLeaseRequest.encode(request).finish();
|
|
45
|
-
const promise = this.rpc.request("akash.market.
|
|
45
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Lease", data);
|
|
46
46
|
return promise.then(data => query_1.QueryLeaseResponse.decode(new binary_1.BinaryReader(data)));
|
|
47
47
|
};
|
|
48
|
+
/* Params returns the total set of market parameters. */
|
|
49
|
+
params = async (request = {}) => {
|
|
50
|
+
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
51
|
+
const promise = this.rpc.request("akash.market.v2beta1.Query", "Params", data);
|
|
52
|
+
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
53
|
+
};
|
|
48
54
|
}
|
|
49
55
|
exports.QueryClientImpl = QueryClientImpl;
|
|
50
56
|
const createRpcQueryExtension = (base) => {
|
|
@@ -68,6 +74,9 @@ const createRpcQueryExtension = (base) => {
|
|
|
68
74
|
},
|
|
69
75
|
lease(request) {
|
|
70
76
|
return queryService.lease(request);
|
|
77
|
+
},
|
|
78
|
+
params(request) {
|
|
79
|
+
return queryService.params(request);
|
|
71
80
|
}
|
|
72
81
|
};
|
|
73
82
|
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Resources, ResourcesAmino } from "../../base/resources/v1beta4/resources";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* ResourceOffer describes resources that provider is offering
|
|
6
|
+
* for deployment.
|
|
7
|
+
* @name ResourceOffer
|
|
8
|
+
* @package akash.market.v2beta1
|
|
9
|
+
* @see proto type: akash.market.v2beta1.ResourceOffer
|
|
10
|
+
*/
|
|
11
|
+
export interface ResourceOffer {
|
|
12
|
+
/**
|
|
13
|
+
* Resources holds information about bid resources.
|
|
14
|
+
*/
|
|
15
|
+
resources: Resources;
|
|
16
|
+
/**
|
|
17
|
+
* Count is the number of resources.
|
|
18
|
+
*/
|
|
19
|
+
count: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ResourceOfferProtoMsg {
|
|
22
|
+
typeUrl: "/akash.market.v2beta1.ResourceOffer";
|
|
23
|
+
value: Uint8Array;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* ResourceOffer describes resources that provider is offering
|
|
27
|
+
* for deployment.
|
|
28
|
+
* @name ResourceOfferAmino
|
|
29
|
+
* @package akash.market.v2beta1
|
|
30
|
+
* @see proto type: akash.market.v2beta1.ResourceOffer
|
|
31
|
+
*/
|
|
32
|
+
export interface ResourceOfferAmino {
|
|
33
|
+
/**
|
|
34
|
+
* Resources holds information about bid resources.
|
|
35
|
+
*/
|
|
36
|
+
resources: ResourcesAmino;
|
|
37
|
+
/**
|
|
38
|
+
* Count is the number of resources.
|
|
39
|
+
*/
|
|
40
|
+
count: number;
|
|
41
|
+
}
|
|
42
|
+
export interface ResourceOfferAminoMsg {
|
|
43
|
+
type: "/akash.market.v2beta1.ResourceOffer";
|
|
44
|
+
value: ResourceOfferAmino;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* ResourceOffer describes resources that provider is offering
|
|
48
|
+
* for deployment.
|
|
49
|
+
* @name ResourceOffer
|
|
50
|
+
* @package akash.market.v2beta1
|
|
51
|
+
* @see proto type: akash.market.v2beta1.ResourceOffer
|
|
52
|
+
*/
|
|
53
|
+
export declare const ResourceOffer: {
|
|
54
|
+
typeUrl: string;
|
|
55
|
+
encode(message: ResourceOffer, writer?: BinaryWriter): BinaryWriter;
|
|
56
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ResourceOffer;
|
|
57
|
+
fromPartial(object: DeepPartial<ResourceOffer>): ResourceOffer;
|
|
58
|
+
fromAmino(object: ResourceOfferAmino): ResourceOffer;
|
|
59
|
+
toAmino(message: ResourceOffer): ResourceOfferAmino;
|
|
60
|
+
fromAminoMsg(object: ResourceOfferAminoMsg): ResourceOffer;
|
|
61
|
+
fromProtoMsg(message: ResourceOfferProtoMsg): ResourceOffer;
|
|
62
|
+
toProto(message: ResourceOffer): Uint8Array;
|
|
63
|
+
toProtoMsg(message: ResourceOffer): ResourceOfferProtoMsg;
|
|
64
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceOffer = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const resources_1 = require("../../base/resources/v1beta4/resources");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
function createBaseResourceOffer() {
|
|
8
|
+
return {
|
|
9
|
+
resources: resources_1.Resources.fromPartial({}),
|
|
10
|
+
count: 0
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* ResourceOffer describes resources that provider is offering
|
|
15
|
+
* for deployment.
|
|
16
|
+
* @name ResourceOffer
|
|
17
|
+
* @package akash.market.v2beta1
|
|
18
|
+
* @see proto type: akash.market.v2beta1.ResourceOffer
|
|
19
|
+
*/
|
|
20
|
+
exports.ResourceOffer = {
|
|
21
|
+
typeUrl: "/akash.market.v2beta1.ResourceOffer",
|
|
22
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
|
+
if (message.resources !== undefined) {
|
|
24
|
+
resources_1.Resources.encode(message.resources, writer.uint32(10).fork()).ldelim();
|
|
25
|
+
}
|
|
26
|
+
if (message.count !== 0) {
|
|
27
|
+
writer.uint32(16).uint32(message.count);
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseResourceOffer();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
message.resources = resources_1.Resources.decode(reader, reader.uint32());
|
|
40
|
+
break;
|
|
41
|
+
case 2:
|
|
42
|
+
message.count = reader.uint32();
|
|
43
|
+
break;
|
|
44
|
+
default:
|
|
45
|
+
reader.skipType(tag & 7);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
fromPartial(object) {
|
|
52
|
+
const message = createBaseResourceOffer();
|
|
53
|
+
message.resources = object.resources !== undefined && object.resources !== null ? resources_1.Resources.fromPartial(object.resources) : undefined;
|
|
54
|
+
message.count = object.count ?? 0;
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromAmino(object) {
|
|
58
|
+
const message = createBaseResourceOffer();
|
|
59
|
+
if (object.resources !== undefined && object.resources !== null) {
|
|
60
|
+
message.resources = resources_1.Resources.fromAmino(object.resources);
|
|
61
|
+
}
|
|
62
|
+
if (object.count !== undefined && object.count !== null) {
|
|
63
|
+
message.count = object.count;
|
|
64
|
+
}
|
|
65
|
+
return message;
|
|
66
|
+
},
|
|
67
|
+
toAmino(message) {
|
|
68
|
+
const obj = {};
|
|
69
|
+
obj.resources = message.resources ? resources_1.Resources.toAmino(message.resources) : resources_1.Resources.toAmino(resources_1.Resources.fromPartial({}));
|
|
70
|
+
obj.count = message.count ?? 0;
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
fromAminoMsg(object) {
|
|
74
|
+
return exports.ResourceOffer.fromAmino(object.value);
|
|
75
|
+
},
|
|
76
|
+
fromProtoMsg(message) {
|
|
77
|
+
return exports.ResourceOffer.decode(message.value);
|
|
78
|
+
},
|
|
79
|
+
toProto(message) {
|
|
80
|
+
return exports.ResourceOffer.encode(message).finish();
|
|
81
|
+
},
|
|
82
|
+
toProtoMsg(message) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/akash.market.v2beta1.ResourceOffer",
|
|
85
|
+
value: exports.ResourceOffer.encode(message).finish()
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
2
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
3
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
4
|
+
export declare const AminoConverter: {
|
|
5
|
+
"/akash.market.v2beta1.MsgCreateBid": {
|
|
6
|
+
aminoType: string;
|
|
7
|
+
toAmino: (message: MsgCreateBid) => import("./bidmsg").MsgCreateBidAmino;
|
|
8
|
+
fromAmino: (object: import("./bidmsg").MsgCreateBidAmino) => MsgCreateBid;
|
|
9
|
+
};
|
|
10
|
+
"/akash.market.v2beta1.MsgCloseBid": {
|
|
11
|
+
aminoType: string;
|
|
12
|
+
toAmino: (message: MsgCloseBid) => import("./bidmsg").MsgCloseBidAmino;
|
|
13
|
+
fromAmino: (object: import("./bidmsg").MsgCloseBidAmino) => MsgCloseBid;
|
|
14
|
+
};
|
|
15
|
+
"/akash.market.v2beta1.MsgWithdrawLease": {
|
|
16
|
+
aminoType: string;
|
|
17
|
+
toAmino: (message: MsgWithdrawLease) => import("./leasemsg").MsgWithdrawLeaseAmino;
|
|
18
|
+
fromAmino: (object: import("./leasemsg").MsgWithdrawLeaseAmino) => MsgWithdrawLease;
|
|
19
|
+
};
|
|
20
|
+
"/akash.market.v2beta1.MsgCreateLease": {
|
|
21
|
+
aminoType: string;
|
|
22
|
+
toAmino: (message: MsgCreateLease) => import("./leasemsg").MsgCreateLeaseAmino;
|
|
23
|
+
fromAmino: (object: import("./leasemsg").MsgCreateLeaseAmino) => MsgCreateLease;
|
|
24
|
+
};
|
|
25
|
+
"/akash.market.v2beta1.MsgCloseLease": {
|
|
26
|
+
aminoType: string;
|
|
27
|
+
toAmino: (message: MsgCloseLease) => import("./leasemsg").MsgCloseLeaseAmino;
|
|
28
|
+
fromAmino: (object: import("./leasemsg").MsgCloseLeaseAmino) => MsgCloseLease;
|
|
29
|
+
};
|
|
30
|
+
"/akash.market.v2beta1.MsgUpdateParams": {
|
|
31
|
+
aminoType: string;
|
|
32
|
+
toAmino: (message: MsgUpdateParams) => import("./paramsmsg").MsgUpdateParamsAmino;
|
|
33
|
+
fromAmino: (object: import("./paramsmsg").MsgUpdateParamsAmino) => MsgUpdateParams;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AminoConverter = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const bidmsg_1 = require("./bidmsg");
|
|
6
|
+
const leasemsg_1 = require("./leasemsg");
|
|
7
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
8
|
+
exports.AminoConverter = {
|
|
9
|
+
"/akash.market.v2beta1.MsgCreateBid": {
|
|
10
|
+
aminoType: "/akash.market.v2beta1.MsgCreateBid",
|
|
11
|
+
toAmino: bidmsg_1.MsgCreateBid.toAmino,
|
|
12
|
+
fromAmino: bidmsg_1.MsgCreateBid.fromAmino
|
|
13
|
+
},
|
|
14
|
+
"/akash.market.v2beta1.MsgCloseBid": {
|
|
15
|
+
aminoType: "/akash.market.v2beta1.MsgCloseBid",
|
|
16
|
+
toAmino: bidmsg_1.MsgCloseBid.toAmino,
|
|
17
|
+
fromAmino: bidmsg_1.MsgCloseBid.fromAmino
|
|
18
|
+
},
|
|
19
|
+
"/akash.market.v2beta1.MsgWithdrawLease": {
|
|
20
|
+
aminoType: "/akash.market.v2beta1.MsgWithdrawLease",
|
|
21
|
+
toAmino: leasemsg_1.MsgWithdrawLease.toAmino,
|
|
22
|
+
fromAmino: leasemsg_1.MsgWithdrawLease.fromAmino
|
|
23
|
+
},
|
|
24
|
+
"/akash.market.v2beta1.MsgCreateLease": {
|
|
25
|
+
aminoType: "/akash.market.v2beta1.MsgCreateLease",
|
|
26
|
+
toAmino: leasemsg_1.MsgCreateLease.toAmino,
|
|
27
|
+
fromAmino: leasemsg_1.MsgCreateLease.fromAmino
|
|
28
|
+
},
|
|
29
|
+
"/akash.market.v2beta1.MsgCloseLease": {
|
|
30
|
+
aminoType: "/akash.market.v2beta1.MsgCloseLease",
|
|
31
|
+
toAmino: leasemsg_1.MsgCloseLease.toAmino,
|
|
32
|
+
fromAmino: leasemsg_1.MsgCloseLease.fromAmino
|
|
33
|
+
},
|
|
34
|
+
"/akash.market.v2beta1.MsgUpdateParams": {
|
|
35
|
+
aminoType: "/akash.market.v2beta1.MsgUpdateParams",
|
|
36
|
+
toAmino: paramsmsg_1.MsgUpdateParams.toAmino,
|
|
37
|
+
fromAmino: paramsmsg_1.MsgUpdateParams.fromAmino
|
|
38
|
+
}
|
|
39
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MsgCreateBid, MsgCloseBid } from "./bid";
|
|
2
|
-
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./lease";
|
|
3
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
4
2
|
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
4
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
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: {
|
|
@@ -26,6 +27,10 @@ export declare const MessageComposer: {
|
|
|
26
27
|
typeUrl: string;
|
|
27
28
|
value: Uint8Array<ArrayBufferLike>;
|
|
28
29
|
};
|
|
30
|
+
updateParams(value: MsgUpdateParams): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
33
|
+
};
|
|
29
34
|
};
|
|
30
35
|
withTypeUrl: {
|
|
31
36
|
createBid(value: MsgCreateBid): {
|
|
@@ -48,6 +53,10 @@ export declare const MessageComposer: {
|
|
|
48
53
|
typeUrl: string;
|
|
49
54
|
value: MsgCloseLease;
|
|
50
55
|
};
|
|
56
|
+
updateParams(value: MsgUpdateParams): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgUpdateParams;
|
|
59
|
+
};
|
|
51
60
|
};
|
|
52
61
|
fromPartial: {
|
|
53
62
|
createBid(value: MsgCreateBid): {
|
|
@@ -70,5 +79,9 @@ export declare const MessageComposer: {
|
|
|
70
79
|
typeUrl: string;
|
|
71
80
|
value: MsgCloseLease;
|
|
72
81
|
};
|
|
82
|
+
updateParams(value: MsgUpdateParams): {
|
|
83
|
+
typeUrl: string;
|
|
84
|
+
value: MsgUpdateParams;
|
|
85
|
+
};
|
|
73
86
|
};
|
|
74
87
|
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
|
+
const bidmsg_1 = require("./bidmsg");
|
|
5
|
+
const leasemsg_1 = require("./leasemsg");
|
|
6
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
7
|
+
exports.registry = [["/akash.market.v2beta1.MsgCreateBid", bidmsg_1.MsgCreateBid], ["/akash.market.v2beta1.MsgCloseBid", bidmsg_1.MsgCloseBid], ["/akash.market.v2beta1.MsgWithdrawLease", leasemsg_1.MsgWithdrawLease], ["/akash.market.v2beta1.MsgCreateLease", leasemsg_1.MsgCreateLease], ["/akash.market.v2beta1.MsgCloseLease", leasemsg_1.MsgCloseLease], ["/akash.market.v2beta1.MsgUpdateParams", paramsmsg_1.MsgUpdateParams]];
|
|
8
|
+
const load = (protoRegistry) => {
|
|
9
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
10
|
+
protoRegistry.register(typeUrl, mod);
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
exports.load = load;
|
|
14
|
+
exports.MessageComposer = {
|
|
15
|
+
encoded: {
|
|
16
|
+
createBid(value) {
|
|
17
|
+
return {
|
|
18
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateBid",
|
|
19
|
+
value: bidmsg_1.MsgCreateBid.encode(value).finish()
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
closeBid(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseBid",
|
|
25
|
+
value: bidmsg_1.MsgCloseBid.encode(value).finish()
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
withdrawLease(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/akash.market.v2beta1.MsgWithdrawLease",
|
|
31
|
+
value: leasemsg_1.MsgWithdrawLease.encode(value).finish()
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
createLease(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateLease",
|
|
37
|
+
value: leasemsg_1.MsgCreateLease.encode(value).finish()
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
closeLease(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseLease",
|
|
43
|
+
value: leasemsg_1.MsgCloseLease.encode(value).finish()
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
updateParams(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/akash.market.v2beta1.MsgUpdateParams",
|
|
49
|
+
value: paramsmsg_1.MsgUpdateParams.encode(value).finish()
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
withTypeUrl: {
|
|
54
|
+
createBid(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateBid",
|
|
57
|
+
value
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
closeBid(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseBid",
|
|
63
|
+
value
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
withdrawLease(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/akash.market.v2beta1.MsgWithdrawLease",
|
|
69
|
+
value
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
createLease(value) {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateLease",
|
|
75
|
+
value
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
closeLease(value) {
|
|
79
|
+
return {
|
|
80
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseLease",
|
|
81
|
+
value
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
updateParams(value) {
|
|
85
|
+
return {
|
|
86
|
+
typeUrl: "/akash.market.v2beta1.MsgUpdateParams",
|
|
87
|
+
value
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
fromPartial: {
|
|
92
|
+
createBid(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateBid",
|
|
95
|
+
value: bidmsg_1.MsgCreateBid.fromPartial(value)
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
closeBid(value) {
|
|
99
|
+
return {
|
|
100
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseBid",
|
|
101
|
+
value: bidmsg_1.MsgCloseBid.fromPartial(value)
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
withdrawLease(value) {
|
|
105
|
+
return {
|
|
106
|
+
typeUrl: "/akash.market.v2beta1.MsgWithdrawLease",
|
|
107
|
+
value: leasemsg_1.MsgWithdrawLease.fromPartial(value)
|
|
108
|
+
};
|
|
109
|
+
},
|
|
110
|
+
createLease(value) {
|
|
111
|
+
return {
|
|
112
|
+
typeUrl: "/akash.market.v2beta1.MsgCreateLease",
|
|
113
|
+
value: leasemsg_1.MsgCreateLease.fromPartial(value)
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
closeLease(value) {
|
|
117
|
+
return {
|
|
118
|
+
typeUrl: "/akash.market.v2beta1.MsgCloseLease",
|
|
119
|
+
value: leasemsg_1.MsgCloseLease.fromPartial(value)
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
updateParams(value) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/akash.market.v2beta1.MsgUpdateParams",
|
|
125
|
+
value: paramsmsg_1.MsgUpdateParams.fromPartial(value)
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MsgCreateBid, MsgCreateBidResponse, MsgCloseBid, MsgCloseBidResponse } from "./bid";
|
|
2
|
-
import { MsgWithdrawLease, MsgWithdrawLeaseResponse, MsgCreateLease, MsgCreateLeaseResponse, MsgCloseLease, MsgCloseLeaseResponse } from "./lease";
|
|
3
1
|
import { TxRpc } from "../../../types";
|
|
4
|
-
|
|
2
|
+
import { MsgCreateBid, MsgCreateBidResponse, MsgCloseBid, MsgCloseBidResponse } from "./bidmsg";
|
|
3
|
+
import { MsgWithdrawLease, MsgWithdrawLeaseResponse, MsgCreateLease, MsgCreateLeaseResponse, MsgCloseLease, MsgCloseLeaseResponse } from "./leasemsg";
|
|
4
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
5
|
+
/** Msg defines the market Msg service. */
|
|
5
6
|
export interface Msg {
|
|
6
7
|
/** CreateBid defines a method to create a bid given proper inputs. */
|
|
7
8
|
createBid(request: MsgCreateBid): Promise<MsgCreateBidResponse>;
|
|
@@ -13,6 +14,13 @@ export interface Msg {
|
|
|
13
14
|
createLease(request: MsgCreateLease): Promise<MsgCreateLeaseResponse>;
|
|
14
15
|
/** CloseLease defines a method to close an order given proper inputs. */
|
|
15
16
|
closeLease(request: MsgCloseLease): Promise<MsgCloseLeaseResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* UpdateParams defines a governance operation for updating the x/market module
|
|
19
|
+
* parameters. The authority is hard-coded to the x/gov module account.
|
|
20
|
+
*
|
|
21
|
+
* Since: akash v1.0.0
|
|
22
|
+
*/
|
|
23
|
+
updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
16
24
|
}
|
|
17
25
|
export declare class MsgClientImpl implements Msg {
|
|
18
26
|
private readonly rpc;
|
|
@@ -22,5 +30,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
22
30
|
withdrawLease: (request: MsgWithdrawLease) => Promise<MsgWithdrawLeaseResponse>;
|
|
23
31
|
createLease: (request: MsgCreateLease) => Promise<MsgCreateLeaseResponse>;
|
|
24
32
|
closeLease: (request: MsgCloseLease) => Promise<MsgCloseLeaseResponse>;
|
|
33
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
25
34
|
}
|
|
26
35
|
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|