@sparkdreamnft/sparkdreamjs 0.0.30 → 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/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/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 → 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,9 +1,11 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { DeploymentFilters
|
|
2
|
+
import { DeploymentFilters } from "./filters";
|
|
3
3
|
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
-
import {
|
|
4
|
+
import { DeploymentID, Deployment } from "../v1/deployment";
|
|
5
|
+
import { GroupID } from "../v1/group";
|
|
5
6
|
import { Group } from "./group";
|
|
6
|
-
import { Account } from "../../escrow/
|
|
7
|
+
import { Account } from "../../escrow/types/v1/account";
|
|
8
|
+
import { Params } from "./params";
|
|
7
9
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
8
10
|
function createBaseQueryDeploymentsRequest() {
|
|
9
11
|
return {
|
|
@@ -12,13 +14,13 @@ function createBaseQueryDeploymentsRequest() {
|
|
|
12
14
|
};
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
* QueryDeploymentsRequest is request type for the Query/Deployments RPC method
|
|
17
|
+
* QueryDeploymentsRequest is request type for the Query/Deployments RPC method.
|
|
16
18
|
* @name QueryDeploymentsRequest
|
|
17
|
-
* @package akash.deployment.
|
|
18
|
-
* @see proto type: akash.deployment.
|
|
19
|
+
* @package akash.deployment.v1beta5
|
|
20
|
+
* @see proto type: akash.deployment.v1beta5.QueryDeploymentsRequest
|
|
19
21
|
*/
|
|
20
22
|
export const QueryDeploymentsRequest = {
|
|
21
|
-
typeUrl: "/akash.deployment.
|
|
23
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentsRequest",
|
|
22
24
|
encode(message, writer = BinaryWriter.create()) {
|
|
23
25
|
if (message.filters !== undefined) {
|
|
24
26
|
DeploymentFilters.encode(message.filters, writer.uint32(10).fork()).ldelim();
|
|
@@ -81,7 +83,7 @@ export const QueryDeploymentsRequest = {
|
|
|
81
83
|
},
|
|
82
84
|
toProtoMsg(message) {
|
|
83
85
|
return {
|
|
84
|
-
typeUrl: "/akash.deployment.
|
|
86
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentsRequest",
|
|
85
87
|
value: QueryDeploymentsRequest.encode(message).finish()
|
|
86
88
|
};
|
|
87
89
|
}
|
|
@@ -95,11 +97,11 @@ function createBaseQueryDeploymentsResponse() {
|
|
|
95
97
|
/**
|
|
96
98
|
* QueryDeploymentsResponse is response type for the Query/Deployments RPC method
|
|
97
99
|
* @name QueryDeploymentsResponse
|
|
98
|
-
* @package akash.deployment.
|
|
99
|
-
* @see proto type: akash.deployment.
|
|
100
|
+
* @package akash.deployment.v1beta5
|
|
101
|
+
* @see proto type: akash.deployment.v1beta5.QueryDeploymentsResponse
|
|
100
102
|
*/
|
|
101
103
|
export const QueryDeploymentsResponse = {
|
|
102
|
-
typeUrl: "/akash.deployment.
|
|
104
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentsResponse",
|
|
103
105
|
encode(message, writer = BinaryWriter.create()) {
|
|
104
106
|
for (const v of message.deployments) {
|
|
105
107
|
QueryDeploymentResponse.encode(v, writer.uint32(10).fork()).ldelim();
|
|
@@ -165,7 +167,7 @@ export const QueryDeploymentsResponse = {
|
|
|
165
167
|
},
|
|
166
168
|
toProtoMsg(message) {
|
|
167
169
|
return {
|
|
168
|
-
typeUrl: "/akash.deployment.
|
|
170
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentsResponse",
|
|
169
171
|
value: QueryDeploymentsResponse.encode(message).finish()
|
|
170
172
|
};
|
|
171
173
|
}
|
|
@@ -176,13 +178,13 @@ function createBaseQueryDeploymentRequest() {
|
|
|
176
178
|
};
|
|
177
179
|
}
|
|
178
180
|
/**
|
|
179
|
-
* QueryDeploymentRequest is request type for the Query/Deployment RPC method
|
|
181
|
+
* QueryDeploymentRequest is request type for the Query/Deployment RPC method.
|
|
180
182
|
* @name QueryDeploymentRequest
|
|
181
|
-
* @package akash.deployment.
|
|
182
|
-
* @see proto type: akash.deployment.
|
|
183
|
+
* @package akash.deployment.v1beta5
|
|
184
|
+
* @see proto type: akash.deployment.v1beta5.QueryDeploymentRequest
|
|
183
185
|
*/
|
|
184
186
|
export const QueryDeploymentRequest = {
|
|
185
|
-
typeUrl: "/akash.deployment.
|
|
187
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentRequest",
|
|
186
188
|
encode(message, writer = BinaryWriter.create()) {
|
|
187
189
|
if (message.id !== undefined) {
|
|
188
190
|
DeploymentID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
@@ -234,7 +236,7 @@ export const QueryDeploymentRequest = {
|
|
|
234
236
|
},
|
|
235
237
|
toProtoMsg(message) {
|
|
236
238
|
return {
|
|
237
|
-
typeUrl: "/akash.deployment.
|
|
239
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentRequest",
|
|
238
240
|
value: QueryDeploymentRequest.encode(message).finish()
|
|
239
241
|
};
|
|
240
242
|
}
|
|
@@ -249,11 +251,11 @@ function createBaseQueryDeploymentResponse() {
|
|
|
249
251
|
/**
|
|
250
252
|
* QueryDeploymentResponse is response type for the Query/Deployment RPC method
|
|
251
253
|
* @name QueryDeploymentResponse
|
|
252
|
-
* @package akash.deployment.
|
|
253
|
-
* @see proto type: akash.deployment.
|
|
254
|
+
* @package akash.deployment.v1beta5
|
|
255
|
+
* @see proto type: akash.deployment.v1beta5.QueryDeploymentResponse
|
|
254
256
|
*/
|
|
255
257
|
export const QueryDeploymentResponse = {
|
|
256
|
-
typeUrl: "/akash.deployment.
|
|
258
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentResponse",
|
|
257
259
|
encode(message, writer = BinaryWriter.create()) {
|
|
258
260
|
if (message.deployment !== undefined) {
|
|
259
261
|
Deployment.encode(message.deployment, writer.uint32(10).fork()).ldelim();
|
|
@@ -330,7 +332,7 @@ export const QueryDeploymentResponse = {
|
|
|
330
332
|
},
|
|
331
333
|
toProtoMsg(message) {
|
|
332
334
|
return {
|
|
333
|
-
typeUrl: "/akash.deployment.
|
|
335
|
+
typeUrl: "/akash.deployment.v1beta5.QueryDeploymentResponse",
|
|
334
336
|
value: QueryDeploymentResponse.encode(message).finish()
|
|
335
337
|
};
|
|
336
338
|
}
|
|
@@ -341,13 +343,13 @@ function createBaseQueryGroupRequest() {
|
|
|
341
343
|
};
|
|
342
344
|
}
|
|
343
345
|
/**
|
|
344
|
-
* QueryGroupRequest is request type for the Query/Group RPC method
|
|
346
|
+
* QueryGroupRequest is request type for the Query/Group RPC method.
|
|
345
347
|
* @name QueryGroupRequest
|
|
346
|
-
* @package akash.deployment.
|
|
347
|
-
* @see proto type: akash.deployment.
|
|
348
|
+
* @package akash.deployment.v1beta5
|
|
349
|
+
* @see proto type: akash.deployment.v1beta5.QueryGroupRequest
|
|
348
350
|
*/
|
|
349
351
|
export const QueryGroupRequest = {
|
|
350
|
-
typeUrl: "/akash.deployment.
|
|
352
|
+
typeUrl: "/akash.deployment.v1beta5.QueryGroupRequest",
|
|
351
353
|
encode(message, writer = BinaryWriter.create()) {
|
|
352
354
|
if (message.id !== undefined) {
|
|
353
355
|
GroupID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
@@ -399,7 +401,7 @@ export const QueryGroupRequest = {
|
|
|
399
401
|
},
|
|
400
402
|
toProtoMsg(message) {
|
|
401
403
|
return {
|
|
402
|
-
typeUrl: "/akash.deployment.
|
|
404
|
+
typeUrl: "/akash.deployment.v1beta5.QueryGroupRequest",
|
|
403
405
|
value: QueryGroupRequest.encode(message).finish()
|
|
404
406
|
};
|
|
405
407
|
}
|
|
@@ -410,13 +412,13 @@ function createBaseQueryGroupResponse() {
|
|
|
410
412
|
};
|
|
411
413
|
}
|
|
412
414
|
/**
|
|
413
|
-
* QueryGroupResponse is response type for the Query/Group RPC method
|
|
415
|
+
* QueryGroupResponse is response type for the Query/Group RPC method.
|
|
414
416
|
* @name QueryGroupResponse
|
|
415
|
-
* @package akash.deployment.
|
|
416
|
-
* @see proto type: akash.deployment.
|
|
417
|
+
* @package akash.deployment.v1beta5
|
|
418
|
+
* @see proto type: akash.deployment.v1beta5.QueryGroupResponse
|
|
417
419
|
*/
|
|
418
420
|
export const QueryGroupResponse = {
|
|
419
|
-
typeUrl: "/akash.deployment.
|
|
421
|
+
typeUrl: "/akash.deployment.v1beta5.QueryGroupResponse",
|
|
420
422
|
encode(message, writer = BinaryWriter.create()) {
|
|
421
423
|
if (message.group !== undefined) {
|
|
422
424
|
Group.encode(message.group, writer.uint32(10).fork()).ldelim();
|
|
@@ -468,8 +470,133 @@ export const QueryGroupResponse = {
|
|
|
468
470
|
},
|
|
469
471
|
toProtoMsg(message) {
|
|
470
472
|
return {
|
|
471
|
-
typeUrl: "/akash.deployment.
|
|
473
|
+
typeUrl: "/akash.deployment.v1beta5.QueryGroupResponse",
|
|
472
474
|
value: QueryGroupResponse.encode(message).finish()
|
|
473
475
|
};
|
|
474
476
|
}
|
|
475
477
|
};
|
|
478
|
+
function createBaseQueryParamsRequest() {
|
|
479
|
+
return {};
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
483
|
+
* @name QueryParamsRequest
|
|
484
|
+
* @package akash.deployment.v1beta5
|
|
485
|
+
* @see proto type: akash.deployment.v1beta5.QueryParamsRequest
|
|
486
|
+
*/
|
|
487
|
+
export const QueryParamsRequest = {
|
|
488
|
+
typeUrl: "/akash.deployment.v1beta5.QueryParamsRequest",
|
|
489
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
490
|
+
return writer;
|
|
491
|
+
},
|
|
492
|
+
decode(input, length) {
|
|
493
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
494
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
495
|
+
const message = createBaseQueryParamsRequest();
|
|
496
|
+
while (reader.pos < end) {
|
|
497
|
+
const tag = reader.uint32();
|
|
498
|
+
switch (tag >>> 3) {
|
|
499
|
+
default:
|
|
500
|
+
reader.skipType(tag & 7);
|
|
501
|
+
break;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
return message;
|
|
505
|
+
},
|
|
506
|
+
fromPartial(_) {
|
|
507
|
+
const message = createBaseQueryParamsRequest();
|
|
508
|
+
return message;
|
|
509
|
+
},
|
|
510
|
+
fromAmino(_) {
|
|
511
|
+
const message = createBaseQueryParamsRequest();
|
|
512
|
+
return message;
|
|
513
|
+
},
|
|
514
|
+
toAmino(_) {
|
|
515
|
+
const obj = {};
|
|
516
|
+
return obj;
|
|
517
|
+
},
|
|
518
|
+
fromAminoMsg(object) {
|
|
519
|
+
return QueryParamsRequest.fromAmino(object.value);
|
|
520
|
+
},
|
|
521
|
+
fromProtoMsg(message) {
|
|
522
|
+
return QueryParamsRequest.decode(message.value);
|
|
523
|
+
},
|
|
524
|
+
toProto(message) {
|
|
525
|
+
return QueryParamsRequest.encode(message).finish();
|
|
526
|
+
},
|
|
527
|
+
toProtoMsg(message) {
|
|
528
|
+
return {
|
|
529
|
+
typeUrl: "/akash.deployment.v1beta5.QueryParamsRequest",
|
|
530
|
+
value: QueryParamsRequest.encode(message).finish()
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
function createBaseQueryParamsResponse() {
|
|
535
|
+
return {
|
|
536
|
+
params: Params.fromPartial({})
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
541
|
+
* @name QueryParamsResponse
|
|
542
|
+
* @package akash.deployment.v1beta5
|
|
543
|
+
* @see proto type: akash.deployment.v1beta5.QueryParamsResponse
|
|
544
|
+
*/
|
|
545
|
+
export const QueryParamsResponse = {
|
|
546
|
+
typeUrl: "/akash.deployment.v1beta5.QueryParamsResponse",
|
|
547
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
548
|
+
if (message.params !== undefined) {
|
|
549
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
550
|
+
}
|
|
551
|
+
return writer;
|
|
552
|
+
},
|
|
553
|
+
decode(input, length) {
|
|
554
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
555
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
556
|
+
const message = createBaseQueryParamsResponse();
|
|
557
|
+
while (reader.pos < end) {
|
|
558
|
+
const tag = reader.uint32();
|
|
559
|
+
switch (tag >>> 3) {
|
|
560
|
+
case 1:
|
|
561
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
562
|
+
break;
|
|
563
|
+
default:
|
|
564
|
+
reader.skipType(tag & 7);
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
return message;
|
|
569
|
+
},
|
|
570
|
+
fromPartial(object) {
|
|
571
|
+
const message = createBaseQueryParamsResponse();
|
|
572
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
573
|
+
return message;
|
|
574
|
+
},
|
|
575
|
+
fromAmino(object) {
|
|
576
|
+
const message = createBaseQueryParamsResponse();
|
|
577
|
+
if (object.params !== undefined && object.params !== null) {
|
|
578
|
+
message.params = Params.fromAmino(object.params);
|
|
579
|
+
}
|
|
580
|
+
return message;
|
|
581
|
+
},
|
|
582
|
+
toAmino(message) {
|
|
583
|
+
const obj = {};
|
|
584
|
+
obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
|
|
585
|
+
return obj;
|
|
586
|
+
},
|
|
587
|
+
fromAminoMsg(object) {
|
|
588
|
+
return QueryParamsResponse.fromAmino(object.value);
|
|
589
|
+
},
|
|
590
|
+
fromProtoMsg(message) {
|
|
591
|
+
return QueryParamsResponse.decode(message.value);
|
|
592
|
+
},
|
|
593
|
+
toProto(message) {
|
|
594
|
+
return QueryParamsResponse.encode(message).finish();
|
|
595
|
+
},
|
|
596
|
+
toProtoMsg(message) {
|
|
597
|
+
return {
|
|
598
|
+
typeUrl: "/akash.deployment.v1beta5.QueryParamsResponse",
|
|
599
|
+
value: QueryParamsResponse.encode(message).finish()
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
};
|
|
@@ -5,7 +5,7 @@ export class LCDQueryClient {
|
|
|
5
5
|
constructor({ requestClient }) {
|
|
6
6
|
this.req = requestClient;
|
|
7
7
|
}
|
|
8
|
-
/* Deployments queries deployments */
|
|
8
|
+
/* Deployments queries deployments. */
|
|
9
9
|
deployments = async (params) => {
|
|
10
10
|
const options = {
|
|
11
11
|
params: {}
|
|
@@ -16,10 +16,10 @@ export class LCDQueryClient {
|
|
|
16
16
|
if (typeof params?.pagination !== "undefined") {
|
|
17
17
|
setPaginationParams(options, params.pagination);
|
|
18
18
|
}
|
|
19
|
-
const endpoint = `akash/deployment/
|
|
19
|
+
const endpoint = `akash/deployment/v1beta5/deployments/list`;
|
|
20
20
|
return await this.req.get(endpoint, options);
|
|
21
21
|
};
|
|
22
|
-
/* Deployment queries deployment details */
|
|
22
|
+
/* Deployment queries deployment details. */
|
|
23
23
|
deployment = async (params) => {
|
|
24
24
|
const options = {
|
|
25
25
|
params: {}
|
|
@@ -27,10 +27,10 @@ export class LCDQueryClient {
|
|
|
27
27
|
if (typeof params?.id !== "undefined") {
|
|
28
28
|
options.params.id = params.id;
|
|
29
29
|
}
|
|
30
|
-
const endpoint = `akash/deployment/
|
|
30
|
+
const endpoint = `akash/deployment/v1beta5/deployments/info`;
|
|
31
31
|
return await this.req.get(endpoint, options);
|
|
32
32
|
};
|
|
33
|
-
/* Group queries group details */
|
|
33
|
+
/* Group queries group details. */
|
|
34
34
|
group = async (params) => {
|
|
35
35
|
const options = {
|
|
36
36
|
params: {}
|
|
@@ -38,7 +38,12 @@ export class LCDQueryClient {
|
|
|
38
38
|
if (typeof params?.id !== "undefined") {
|
|
39
39
|
options.params.id = params.id;
|
|
40
40
|
}
|
|
41
|
-
const endpoint = `akash/deployment/
|
|
41
|
+
const endpoint = `akash/deployment/v1beta5/groups/info`;
|
|
42
42
|
return await this.req.get(endpoint, options);
|
|
43
43
|
};
|
|
44
|
+
/* Params returns the total set of deployment parameters. */
|
|
45
|
+
params = async (_params = {}) => {
|
|
46
|
+
const endpoint = `akash/deployment/v1beta5/params`;
|
|
47
|
+
return await this.req.get(endpoint);
|
|
48
|
+
};
|
|
44
49
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse } from "./query";
|
|
3
|
+
import { QueryDeploymentsRequest, QueryDeploymentsResponse, QueryDeploymentRequest, QueryDeploymentResponse, QueryGroupRequest, QueryGroupResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
4
|
export class QueryClientImpl {
|
|
5
5
|
rpc;
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
8
|
}
|
|
9
|
-
/* Deployments queries deployments */
|
|
9
|
+
/* Deployments queries deployments. */
|
|
10
10
|
deployments = async (request) => {
|
|
11
11
|
const data = QueryDeploymentsRequest.encode(request).finish();
|
|
12
|
-
const promise = this.rpc.request("akash.deployment.
|
|
12
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Query", "Deployments", data);
|
|
13
13
|
return promise.then(data => QueryDeploymentsResponse.decode(new BinaryReader(data)));
|
|
14
14
|
};
|
|
15
|
-
/* Deployment queries deployment details */
|
|
15
|
+
/* Deployment queries deployment details. */
|
|
16
16
|
deployment = async (request) => {
|
|
17
17
|
const data = QueryDeploymentRequest.encode(request).finish();
|
|
18
|
-
const promise = this.rpc.request("akash.deployment.
|
|
18
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Query", "Deployment", data);
|
|
19
19
|
return promise.then(data => QueryDeploymentResponse.decode(new BinaryReader(data)));
|
|
20
20
|
};
|
|
21
|
-
/* Group queries group details */
|
|
21
|
+
/* Group queries group details. */
|
|
22
22
|
group = async (request) => {
|
|
23
23
|
const data = QueryGroupRequest.encode(request).finish();
|
|
24
|
-
const promise = this.rpc.request("akash.deployment.
|
|
24
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Query", "Group", data);
|
|
25
25
|
return promise.then(data => QueryGroupResponse.decode(new BinaryReader(data)));
|
|
26
26
|
};
|
|
27
|
+
/* Params returns the total set of deployment parameters. */
|
|
28
|
+
params = async (request = {}) => {
|
|
29
|
+
const data = QueryParamsRequest.encode(request).finish();
|
|
30
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Query", "Params", data);
|
|
31
|
+
return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data)));
|
|
32
|
+
};
|
|
27
33
|
}
|
|
28
34
|
export const createRpcQueryExtension = (base) => {
|
|
29
35
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -37,6 +43,9 @@ export const createRpcQueryExtension = (base) => {
|
|
|
37
43
|
},
|
|
38
44
|
group(request) {
|
|
39
45
|
return queryService.group(request);
|
|
46
|
+
},
|
|
47
|
+
params(request) {
|
|
48
|
+
return queryService.params(request);
|
|
40
49
|
}
|
|
41
50
|
};
|
|
42
51
|
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Resources } from "../../base/resources/v1beta4/resources";
|
|
3
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
function createBaseResourceUnit() {
|
|
6
|
+
return {
|
|
7
|
+
resource: Resources.fromPartial({}),
|
|
8
|
+
count: 0,
|
|
9
|
+
prices: []
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* ResourceUnit extends Resources and adds Count along with the Price.
|
|
14
|
+
* @name ResourceUnit
|
|
15
|
+
* @package akash.deployment.v1beta5
|
|
16
|
+
* @see proto type: akash.deployment.v1beta5.ResourceUnit
|
|
17
|
+
*/
|
|
18
|
+
export const ResourceUnit = {
|
|
19
|
+
typeUrl: "/akash.deployment.v1beta5.ResourceUnit",
|
|
20
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
21
|
+
if (message.resource !== undefined) {
|
|
22
|
+
Resources.encode(message.resource, writer.uint32(10).fork()).ldelim();
|
|
23
|
+
}
|
|
24
|
+
if (message.count !== 0) {
|
|
25
|
+
writer.uint32(16).uint32(message.count);
|
|
26
|
+
}
|
|
27
|
+
for (const v of message.prices) {
|
|
28
|
+
DecCoin.encode(v, writer.uint32(26).fork()).ldelim();
|
|
29
|
+
}
|
|
30
|
+
return writer;
|
|
31
|
+
},
|
|
32
|
+
decode(input, length) {
|
|
33
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
34
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
+
const message = createBaseResourceUnit();
|
|
36
|
+
while (reader.pos < end) {
|
|
37
|
+
const tag = reader.uint32();
|
|
38
|
+
switch (tag >>> 3) {
|
|
39
|
+
case 1:
|
|
40
|
+
message.resource = Resources.decode(reader, reader.uint32());
|
|
41
|
+
break;
|
|
42
|
+
case 2:
|
|
43
|
+
message.count = reader.uint32();
|
|
44
|
+
break;
|
|
45
|
+
case 3:
|
|
46
|
+
message.prices.push(DecCoin.decode(reader, reader.uint32()));
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
reader.skipType(tag & 7);
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromPartial(object) {
|
|
56
|
+
const message = createBaseResourceUnit();
|
|
57
|
+
message.resource = object.resource !== undefined && object.resource !== null ? Resources.fromPartial(object.resource) : undefined;
|
|
58
|
+
message.count = object.count ?? 0;
|
|
59
|
+
message.prices = object.prices?.map(e => DecCoin.fromPartial(e)) || [];
|
|
60
|
+
return message;
|
|
61
|
+
},
|
|
62
|
+
fromAmino(object) {
|
|
63
|
+
const message = createBaseResourceUnit();
|
|
64
|
+
if (object.resource !== undefined && object.resource !== null) {
|
|
65
|
+
message.resource = Resources.fromAmino(object.resource);
|
|
66
|
+
}
|
|
67
|
+
if (object.count !== undefined && object.count !== null) {
|
|
68
|
+
message.count = object.count;
|
|
69
|
+
}
|
|
70
|
+
message.prices = object.prices?.map(e => DecCoin.fromAmino(e)) || [];
|
|
71
|
+
return message;
|
|
72
|
+
},
|
|
73
|
+
toAmino(message) {
|
|
74
|
+
const obj = {};
|
|
75
|
+
obj.resource = message.resource ? Resources.toAmino(message.resource) : Resources.toAmino(Resources.fromPartial({}));
|
|
76
|
+
obj.count = message.count ?? 0;
|
|
77
|
+
if (message.prices) {
|
|
78
|
+
obj.prices = message.prices.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
obj.prices = message.prices;
|
|
82
|
+
}
|
|
83
|
+
return obj;
|
|
84
|
+
},
|
|
85
|
+
fromAminoMsg(object) {
|
|
86
|
+
return ResourceUnit.fromAmino(object.value);
|
|
87
|
+
},
|
|
88
|
+
fromProtoMsg(message) {
|
|
89
|
+
return ResourceUnit.decode(message.value);
|
|
90
|
+
},
|
|
91
|
+
toProto(message) {
|
|
92
|
+
return ResourceUnit.encode(message).finish();
|
|
93
|
+
},
|
|
94
|
+
toProtoMsg(message) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/akash.deployment.v1beta5.ResourceUnit",
|
|
97
|
+
value: ResourceUnit.encode(message).finish()
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgCreateDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg";
|
|
3
|
+
import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg";
|
|
4
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
5
|
+
export const AminoConverter = {
|
|
6
|
+
"/akash.deployment.v1beta5.MsgCreateDeployment": {
|
|
7
|
+
aminoType: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
8
|
+
toAmino: MsgCreateDeployment.toAmino,
|
|
9
|
+
fromAmino: MsgCreateDeployment.fromAmino
|
|
10
|
+
},
|
|
11
|
+
"/akash.deployment.v1beta5.MsgUpdateDeployment": {
|
|
12
|
+
aminoType: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
13
|
+
toAmino: MsgUpdateDeployment.toAmino,
|
|
14
|
+
fromAmino: MsgUpdateDeployment.fromAmino
|
|
15
|
+
},
|
|
16
|
+
"/akash.deployment.v1beta5.MsgCloseDeployment": {
|
|
17
|
+
aminoType: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
18
|
+
toAmino: MsgCloseDeployment.toAmino,
|
|
19
|
+
fromAmino: MsgCloseDeployment.fromAmino
|
|
20
|
+
},
|
|
21
|
+
"/akash.deployment.v1beta5.MsgCloseGroup": {
|
|
22
|
+
aminoType: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
23
|
+
toAmino: MsgCloseGroup.toAmino,
|
|
24
|
+
fromAmino: MsgCloseGroup.fromAmino
|
|
25
|
+
},
|
|
26
|
+
"/akash.deployment.v1beta5.MsgPauseGroup": {
|
|
27
|
+
aminoType: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
28
|
+
toAmino: MsgPauseGroup.toAmino,
|
|
29
|
+
fromAmino: MsgPauseGroup.fromAmino
|
|
30
|
+
},
|
|
31
|
+
"/akash.deployment.v1beta5.MsgStartGroup": {
|
|
32
|
+
aminoType: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
33
|
+
toAmino: MsgStartGroup.toAmino,
|
|
34
|
+
fromAmino: MsgStartGroup.fromAmino
|
|
35
|
+
},
|
|
36
|
+
"/akash.deployment.v1beta5.MsgUpdateParams": {
|
|
37
|
+
aminoType: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
38
|
+
toAmino: MsgUpdateParams.toAmino,
|
|
39
|
+
fromAmino: MsgUpdateParams.fromAmino
|
|
40
|
+
}
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|