@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,6 +1,7 @@
|
|
|
1
|
-
import { MsgCreateDeployment,
|
|
1
|
+
import { MsgCreateDeployment, MsgUpdateDeployment, MsgCloseDeployment } from "./deploymentmsg";
|
|
2
2
|
import { MsgCloseGroup, MsgPauseGroup, MsgStartGroup } from "./groupmsg";
|
|
3
|
-
|
|
3
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
4
|
+
export const registry = [["/akash.deployment.v1beta5.MsgCreateDeployment", MsgCreateDeployment], ["/akash.deployment.v1beta5.MsgUpdateDeployment", MsgUpdateDeployment], ["/akash.deployment.v1beta5.MsgCloseDeployment", MsgCloseDeployment], ["/akash.deployment.v1beta5.MsgCloseGroup", MsgCloseGroup], ["/akash.deployment.v1beta5.MsgPauseGroup", MsgPauseGroup], ["/akash.deployment.v1beta5.MsgStartGroup", MsgStartGroup], ["/akash.deployment.v1beta5.MsgUpdateParams", MsgUpdateParams]];
|
|
4
5
|
export const load = (protoRegistry) => {
|
|
5
6
|
registry.forEach(([typeUrl, mod]) => {
|
|
6
7
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -10,87 +11,87 @@ export const MessageComposer = {
|
|
|
10
11
|
encoded: {
|
|
11
12
|
createDeployment(value) {
|
|
12
13
|
return {
|
|
13
|
-
typeUrl: "/akash.deployment.
|
|
14
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
14
15
|
value: MsgCreateDeployment.encode(value).finish()
|
|
15
16
|
};
|
|
16
17
|
},
|
|
17
|
-
depositDeployment(value) {
|
|
18
|
-
return {
|
|
19
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
20
|
-
value: MsgDepositDeployment.encode(value).finish()
|
|
21
|
-
};
|
|
22
|
-
},
|
|
23
18
|
updateDeployment(value) {
|
|
24
19
|
return {
|
|
25
|
-
typeUrl: "/akash.deployment.
|
|
20
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
26
21
|
value: MsgUpdateDeployment.encode(value).finish()
|
|
27
22
|
};
|
|
28
23
|
},
|
|
29
24
|
closeDeployment(value) {
|
|
30
25
|
return {
|
|
31
|
-
typeUrl: "/akash.deployment.
|
|
26
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
32
27
|
value: MsgCloseDeployment.encode(value).finish()
|
|
33
28
|
};
|
|
34
29
|
},
|
|
35
30
|
closeGroup(value) {
|
|
36
31
|
return {
|
|
37
|
-
typeUrl: "/akash.deployment.
|
|
32
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
38
33
|
value: MsgCloseGroup.encode(value).finish()
|
|
39
34
|
};
|
|
40
35
|
},
|
|
41
36
|
pauseGroup(value) {
|
|
42
37
|
return {
|
|
43
|
-
typeUrl: "/akash.deployment.
|
|
38
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
44
39
|
value: MsgPauseGroup.encode(value).finish()
|
|
45
40
|
};
|
|
46
41
|
},
|
|
47
42
|
startGroup(value) {
|
|
48
43
|
return {
|
|
49
|
-
typeUrl: "/akash.deployment.
|
|
44
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
50
45
|
value: MsgStartGroup.encode(value).finish()
|
|
51
46
|
};
|
|
47
|
+
},
|
|
48
|
+
updateParams(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
51
|
+
value: MsgUpdateParams.encode(value).finish()
|
|
52
|
+
};
|
|
52
53
|
}
|
|
53
54
|
},
|
|
54
55
|
withTypeUrl: {
|
|
55
56
|
createDeployment(value) {
|
|
56
57
|
return {
|
|
57
|
-
typeUrl: "/akash.deployment.
|
|
58
|
-
value
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
depositDeployment(value) {
|
|
62
|
-
return {
|
|
63
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
58
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
64
59
|
value
|
|
65
60
|
};
|
|
66
61
|
},
|
|
67
62
|
updateDeployment(value) {
|
|
68
63
|
return {
|
|
69
|
-
typeUrl: "/akash.deployment.
|
|
64
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
70
65
|
value
|
|
71
66
|
};
|
|
72
67
|
},
|
|
73
68
|
closeDeployment(value) {
|
|
74
69
|
return {
|
|
75
|
-
typeUrl: "/akash.deployment.
|
|
70
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
76
71
|
value
|
|
77
72
|
};
|
|
78
73
|
},
|
|
79
74
|
closeGroup(value) {
|
|
80
75
|
return {
|
|
81
|
-
typeUrl: "/akash.deployment.
|
|
76
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
82
77
|
value
|
|
83
78
|
};
|
|
84
79
|
},
|
|
85
80
|
pauseGroup(value) {
|
|
86
81
|
return {
|
|
87
|
-
typeUrl: "/akash.deployment.
|
|
82
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
88
83
|
value
|
|
89
84
|
};
|
|
90
85
|
},
|
|
91
86
|
startGroup(value) {
|
|
92
87
|
return {
|
|
93
|
-
typeUrl: "/akash.deployment.
|
|
88
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
89
|
+
value
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
updateParams(value) {
|
|
93
|
+
return {
|
|
94
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
94
95
|
value
|
|
95
96
|
};
|
|
96
97
|
}
|
|
@@ -98,45 +99,45 @@ export const MessageComposer = {
|
|
|
98
99
|
fromPartial: {
|
|
99
100
|
createDeployment(value) {
|
|
100
101
|
return {
|
|
101
|
-
typeUrl: "/akash.deployment.
|
|
102
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCreateDeployment",
|
|
102
103
|
value: MsgCreateDeployment.fromPartial(value)
|
|
103
104
|
};
|
|
104
105
|
},
|
|
105
|
-
depositDeployment(value) {
|
|
106
|
-
return {
|
|
107
|
-
typeUrl: "/akash.deployment.v1beta3.MsgDepositDeployment",
|
|
108
|
-
value: MsgDepositDeployment.fromPartial(value)
|
|
109
|
-
};
|
|
110
|
-
},
|
|
111
106
|
updateDeployment(value) {
|
|
112
107
|
return {
|
|
113
|
-
typeUrl: "/akash.deployment.
|
|
108
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateDeployment",
|
|
114
109
|
value: MsgUpdateDeployment.fromPartial(value)
|
|
115
110
|
};
|
|
116
111
|
},
|
|
117
112
|
closeDeployment(value) {
|
|
118
113
|
return {
|
|
119
|
-
typeUrl: "/akash.deployment.
|
|
114
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseDeployment",
|
|
120
115
|
value: MsgCloseDeployment.fromPartial(value)
|
|
121
116
|
};
|
|
122
117
|
},
|
|
123
118
|
closeGroup(value) {
|
|
124
119
|
return {
|
|
125
|
-
typeUrl: "/akash.deployment.
|
|
120
|
+
typeUrl: "/akash.deployment.v1beta5.MsgCloseGroup",
|
|
126
121
|
value: MsgCloseGroup.fromPartial(value)
|
|
127
122
|
};
|
|
128
123
|
},
|
|
129
124
|
pauseGroup(value) {
|
|
130
125
|
return {
|
|
131
|
-
typeUrl: "/akash.deployment.
|
|
126
|
+
typeUrl: "/akash.deployment.v1beta5.MsgPauseGroup",
|
|
132
127
|
value: MsgPauseGroup.fromPartial(value)
|
|
133
128
|
};
|
|
134
129
|
},
|
|
135
130
|
startGroup(value) {
|
|
136
131
|
return {
|
|
137
|
-
typeUrl: "/akash.deployment.
|
|
132
|
+
typeUrl: "/akash.deployment.v1beta5.MsgStartGroup",
|
|
138
133
|
value: MsgStartGroup.fromPartial(value)
|
|
139
134
|
};
|
|
135
|
+
},
|
|
136
|
+
updateParams(value) {
|
|
137
|
+
return {
|
|
138
|
+
typeUrl: "/akash.deployment.v1beta5.MsgUpdateParams",
|
|
139
|
+
value: MsgUpdateParams.fromPartial(value)
|
|
140
|
+
};
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgCreateDeployment, MsgCreateDeploymentResponse,
|
|
2
|
+
import { MsgCreateDeployment, MsgCreateDeploymentResponse, MsgUpdateDeployment, MsgUpdateDeploymentResponse, MsgCloseDeployment, MsgCloseDeploymentResponse } from "./deploymentmsg";
|
|
3
3
|
import { MsgCloseGroup, MsgCloseGroupResponse, MsgPauseGroup, MsgPauseGroupResponse, MsgStartGroup, MsgStartGroupResponse } from "./groupmsg";
|
|
4
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
4
5
|
export class MsgClientImpl {
|
|
5
6
|
rpc;
|
|
6
7
|
constructor(rpc) {
|
|
@@ -9,45 +10,48 @@ export class MsgClientImpl {
|
|
|
9
10
|
/* CreateDeployment defines a method to create new deployment given proper inputs. */
|
|
10
11
|
createDeployment = async (request) => {
|
|
11
12
|
const data = MsgCreateDeployment.encode(request).finish();
|
|
12
|
-
const promise = this.rpc.request("akash.deployment.
|
|
13
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CreateDeployment", data);
|
|
13
14
|
return promise.then(data => MsgCreateDeploymentResponse.decode(new BinaryReader(data)));
|
|
14
15
|
};
|
|
15
|
-
/* DepositDeployment deposits more funds into the deployment account */
|
|
16
|
-
depositDeployment = async (request) => {
|
|
17
|
-
const data = MsgDepositDeployment.encode(request).finish();
|
|
18
|
-
const promise = this.rpc.request("akash.deployment.v1beta3.Msg", "DepositDeployment", data);
|
|
19
|
-
return promise.then(data => MsgDepositDeploymentResponse.decode(new BinaryReader(data)));
|
|
20
|
-
};
|
|
21
16
|
/* UpdateDeployment defines a method to update a deployment given proper inputs. */
|
|
22
17
|
updateDeployment = async (request) => {
|
|
23
18
|
const data = MsgUpdateDeployment.encode(request).finish();
|
|
24
|
-
const promise = this.rpc.request("akash.deployment.
|
|
19
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "UpdateDeployment", data);
|
|
25
20
|
return promise.then(data => MsgUpdateDeploymentResponse.decode(new BinaryReader(data)));
|
|
26
21
|
};
|
|
27
22
|
/* CloseDeployment defines a method to close a deployment given proper inputs. */
|
|
28
23
|
closeDeployment = async (request) => {
|
|
29
24
|
const data = MsgCloseDeployment.encode(request).finish();
|
|
30
|
-
const promise = this.rpc.request("akash.deployment.
|
|
25
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CloseDeployment", data);
|
|
31
26
|
return promise.then(data => MsgCloseDeploymentResponse.decode(new BinaryReader(data)));
|
|
32
27
|
};
|
|
33
28
|
/* CloseGroup defines a method to close a group of a deployment given proper inputs. */
|
|
34
29
|
closeGroup = async (request) => {
|
|
35
30
|
const data = MsgCloseGroup.encode(request).finish();
|
|
36
|
-
const promise = this.rpc.request("akash.deployment.
|
|
31
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "CloseGroup", data);
|
|
37
32
|
return promise.then(data => MsgCloseGroupResponse.decode(new BinaryReader(data)));
|
|
38
33
|
};
|
|
39
|
-
/* PauseGroup defines a method to
|
|
34
|
+
/* PauseGroup defines a method to pause a group of a deployment given proper inputs. */
|
|
40
35
|
pauseGroup = async (request) => {
|
|
41
36
|
const data = MsgPauseGroup.encode(request).finish();
|
|
42
|
-
const promise = this.rpc.request("akash.deployment.
|
|
37
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "PauseGroup", data);
|
|
43
38
|
return promise.then(data => MsgPauseGroupResponse.decode(new BinaryReader(data)));
|
|
44
39
|
};
|
|
45
|
-
/* StartGroup defines a method to
|
|
40
|
+
/* StartGroup defines a method to start a group of a deployment given proper inputs. */
|
|
46
41
|
startGroup = async (request) => {
|
|
47
42
|
const data = MsgStartGroup.encode(request).finish();
|
|
48
|
-
const promise = this.rpc.request("akash.deployment.
|
|
43
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "StartGroup", data);
|
|
49
44
|
return promise.then(data => MsgStartGroupResponse.decode(new BinaryReader(data)));
|
|
50
45
|
};
|
|
46
|
+
/* UpdateParams defines a governance operation for updating the x/deployment module
|
|
47
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
48
|
+
|
|
49
|
+
Since: akash v1.0.0 */
|
|
50
|
+
updateParams = async (request) => {
|
|
51
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
52
|
+
const promise = this.rpc.request("akash.deployment.v1beta5.Msg", "UpdateParams", data);
|
|
53
|
+
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
54
|
+
};
|
|
51
55
|
}
|
|
52
56
|
export const createClientImpl = (rpc) => {
|
|
53
57
|
return new MsgClientImpl(rpc);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { ClientInfo } from "./client_info";
|
|
2
|
+
import { ClientInfo, VersionInfo } from "./client_info";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
function createBaseAkash() {
|
|
5
5
|
return {
|
|
6
|
-
clientInfo:
|
|
6
|
+
clientInfo: ClientInfo.fromPartial({}),
|
|
7
|
+
supportedVersions: [],
|
|
8
|
+
chainId: "",
|
|
9
|
+
nodeVersion: "",
|
|
10
|
+
minClientVersion: ""
|
|
7
11
|
};
|
|
8
12
|
}
|
|
9
13
|
/**
|
|
@@ -18,6 +22,18 @@ export const Akash = {
|
|
|
18
22
|
if (message.clientInfo !== undefined) {
|
|
19
23
|
ClientInfo.encode(message.clientInfo, writer.uint32(10).fork()).ldelim();
|
|
20
24
|
}
|
|
25
|
+
for (const v of message.supportedVersions) {
|
|
26
|
+
VersionInfo.encode(v, writer.uint32(18).fork()).ldelim();
|
|
27
|
+
}
|
|
28
|
+
if (message.chainId !== "") {
|
|
29
|
+
writer.uint32(26).string(message.chainId);
|
|
30
|
+
}
|
|
31
|
+
if (message.nodeVersion !== "") {
|
|
32
|
+
writer.uint32(34).string(message.nodeVersion);
|
|
33
|
+
}
|
|
34
|
+
if (message.minClientVersion !== "") {
|
|
35
|
+
writer.uint32(42).string(message.minClientVersion);
|
|
36
|
+
}
|
|
21
37
|
return writer;
|
|
22
38
|
},
|
|
23
39
|
decode(input, length) {
|
|
@@ -30,6 +46,18 @@ export const Akash = {
|
|
|
30
46
|
case 1:
|
|
31
47
|
message.clientInfo = ClientInfo.decode(reader, reader.uint32());
|
|
32
48
|
break;
|
|
49
|
+
case 2:
|
|
50
|
+
message.supportedVersions.push(VersionInfo.decode(reader, reader.uint32()));
|
|
51
|
+
break;
|
|
52
|
+
case 3:
|
|
53
|
+
message.chainId = reader.string();
|
|
54
|
+
break;
|
|
55
|
+
case 4:
|
|
56
|
+
message.nodeVersion = reader.string();
|
|
57
|
+
break;
|
|
58
|
+
case 5:
|
|
59
|
+
message.minClientVersion = reader.string();
|
|
60
|
+
break;
|
|
33
61
|
default:
|
|
34
62
|
reader.skipType(tag & 7);
|
|
35
63
|
break;
|
|
@@ -40,6 +68,10 @@ export const Akash = {
|
|
|
40
68
|
fromPartial(object) {
|
|
41
69
|
const message = createBaseAkash();
|
|
42
70
|
message.clientInfo = object.clientInfo !== undefined && object.clientInfo !== null ? ClientInfo.fromPartial(object.clientInfo) : undefined;
|
|
71
|
+
message.supportedVersions = object.supportedVersions?.map(e => VersionInfo.fromPartial(e)) || [];
|
|
72
|
+
message.chainId = object.chainId ?? "";
|
|
73
|
+
message.nodeVersion = object.nodeVersion ?? "";
|
|
74
|
+
message.minClientVersion = object.minClientVersion ?? "";
|
|
43
75
|
return message;
|
|
44
76
|
},
|
|
45
77
|
fromAmino(object) {
|
|
@@ -47,11 +79,30 @@ export const Akash = {
|
|
|
47
79
|
if (object.client_info !== undefined && object.client_info !== null) {
|
|
48
80
|
message.clientInfo = ClientInfo.fromAmino(object.client_info);
|
|
49
81
|
}
|
|
82
|
+
message.supportedVersions = object.supported_versions?.map(e => VersionInfo.fromAmino(e)) || [];
|
|
83
|
+
if (object.chain_id !== undefined && object.chain_id !== null) {
|
|
84
|
+
message.chainId = object.chain_id;
|
|
85
|
+
}
|
|
86
|
+
if (object.node_version !== undefined && object.node_version !== null) {
|
|
87
|
+
message.nodeVersion = object.node_version;
|
|
88
|
+
}
|
|
89
|
+
if (object.min_client_version !== undefined && object.min_client_version !== null) {
|
|
90
|
+
message.minClientVersion = object.min_client_version;
|
|
91
|
+
}
|
|
50
92
|
return message;
|
|
51
93
|
},
|
|
52
94
|
toAmino(message) {
|
|
53
95
|
const obj = {};
|
|
54
96
|
obj.client_info = message.clientInfo ? ClientInfo.toAmino(message.clientInfo) : ClientInfo.toAmino(ClientInfo.fromPartial({}));
|
|
97
|
+
if (message.supportedVersions) {
|
|
98
|
+
obj.supported_versions = message.supportedVersions.map(e => e ? VersionInfo.toAmino(e) : undefined);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
obj.supported_versions = message.supportedVersions;
|
|
102
|
+
}
|
|
103
|
+
obj.chain_id = message.chainId ?? "";
|
|
104
|
+
obj.node_version = message.nodeVersion ?? "";
|
|
105
|
+
obj.min_client_version = message.minClientVersion ?? "";
|
|
55
106
|
return obj;
|
|
56
107
|
},
|
|
57
108
|
fromAminoMsg(object) {
|
|
@@ -69,3 +69,183 @@ export const ClientInfo = {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
+
function createBaseModuleVersion() {
|
|
73
|
+
return {
|
|
74
|
+
module: "",
|
|
75
|
+
version: ""
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* ModuleVersion describes a single module and its API version.
|
|
80
|
+
* @name ModuleVersion
|
|
81
|
+
* @package akash.discovery.v1
|
|
82
|
+
* @see proto type: akash.discovery.v1.ModuleVersion
|
|
83
|
+
*/
|
|
84
|
+
export const ModuleVersion = {
|
|
85
|
+
typeUrl: "/akash.discovery.v1.ModuleVersion",
|
|
86
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
87
|
+
if (message.module !== "") {
|
|
88
|
+
writer.uint32(10).string(message.module);
|
|
89
|
+
}
|
|
90
|
+
if (message.version !== "") {
|
|
91
|
+
writer.uint32(18).string(message.version);
|
|
92
|
+
}
|
|
93
|
+
return writer;
|
|
94
|
+
},
|
|
95
|
+
decode(input, length) {
|
|
96
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
97
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
98
|
+
const message = createBaseModuleVersion();
|
|
99
|
+
while (reader.pos < end) {
|
|
100
|
+
const tag = reader.uint32();
|
|
101
|
+
switch (tag >>> 3) {
|
|
102
|
+
case 1:
|
|
103
|
+
message.module = reader.string();
|
|
104
|
+
break;
|
|
105
|
+
case 2:
|
|
106
|
+
message.version = reader.string();
|
|
107
|
+
break;
|
|
108
|
+
default:
|
|
109
|
+
reader.skipType(tag & 7);
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return message;
|
|
114
|
+
},
|
|
115
|
+
fromPartial(object) {
|
|
116
|
+
const message = createBaseModuleVersion();
|
|
117
|
+
message.module = object.module ?? "";
|
|
118
|
+
message.version = object.version ?? "";
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromAmino(object) {
|
|
122
|
+
const message = createBaseModuleVersion();
|
|
123
|
+
if (object.module !== undefined && object.module !== null) {
|
|
124
|
+
message.module = object.module;
|
|
125
|
+
}
|
|
126
|
+
if (object.version !== undefined && object.version !== null) {
|
|
127
|
+
message.version = object.version;
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
toAmino(message) {
|
|
132
|
+
const obj = {};
|
|
133
|
+
obj.module = message.module ?? "";
|
|
134
|
+
obj.version = message.version ?? "";
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
fromAminoMsg(object) {
|
|
138
|
+
return ModuleVersion.fromAmino(object.value);
|
|
139
|
+
},
|
|
140
|
+
fromProtoMsg(message) {
|
|
141
|
+
return ModuleVersion.decode(message.value);
|
|
142
|
+
},
|
|
143
|
+
toProto(message) {
|
|
144
|
+
return ModuleVersion.encode(message).finish();
|
|
145
|
+
},
|
|
146
|
+
toProtoMsg(message) {
|
|
147
|
+
return {
|
|
148
|
+
typeUrl: "/akash.discovery.v1.ModuleVersion",
|
|
149
|
+
value: ModuleVersion.encode(message).finish()
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
function createBaseVersionInfo() {
|
|
154
|
+
return {
|
|
155
|
+
apiVersion: "",
|
|
156
|
+
modules: [],
|
|
157
|
+
features: []
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* VersionInfo describes a complete API version and its metadata.
|
|
162
|
+
* @name VersionInfo
|
|
163
|
+
* @package akash.discovery.v1
|
|
164
|
+
* @see proto type: akash.discovery.v1.VersionInfo
|
|
165
|
+
*/
|
|
166
|
+
export const VersionInfo = {
|
|
167
|
+
typeUrl: "/akash.discovery.v1.VersionInfo",
|
|
168
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
169
|
+
if (message.apiVersion !== "") {
|
|
170
|
+
writer.uint32(10).string(message.apiVersion);
|
|
171
|
+
}
|
|
172
|
+
for (const v of message.modules) {
|
|
173
|
+
ModuleVersion.encode(v, writer.uint32(18).fork()).ldelim();
|
|
174
|
+
}
|
|
175
|
+
for (const v of message.features) {
|
|
176
|
+
writer.uint32(26).string(v);
|
|
177
|
+
}
|
|
178
|
+
return writer;
|
|
179
|
+
},
|
|
180
|
+
decode(input, length) {
|
|
181
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
182
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
183
|
+
const message = createBaseVersionInfo();
|
|
184
|
+
while (reader.pos < end) {
|
|
185
|
+
const tag = reader.uint32();
|
|
186
|
+
switch (tag >>> 3) {
|
|
187
|
+
case 1:
|
|
188
|
+
message.apiVersion = reader.string();
|
|
189
|
+
break;
|
|
190
|
+
case 2:
|
|
191
|
+
message.modules.push(ModuleVersion.decode(reader, reader.uint32()));
|
|
192
|
+
break;
|
|
193
|
+
case 3:
|
|
194
|
+
message.features.push(reader.string());
|
|
195
|
+
break;
|
|
196
|
+
default:
|
|
197
|
+
reader.skipType(tag & 7);
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return message;
|
|
202
|
+
},
|
|
203
|
+
fromPartial(object) {
|
|
204
|
+
const message = createBaseVersionInfo();
|
|
205
|
+
message.apiVersion = object.apiVersion ?? "";
|
|
206
|
+
message.modules = object.modules?.map(e => ModuleVersion.fromPartial(e)) || [];
|
|
207
|
+
message.features = object.features?.map(e => e) || [];
|
|
208
|
+
return message;
|
|
209
|
+
},
|
|
210
|
+
fromAmino(object) {
|
|
211
|
+
const message = createBaseVersionInfo();
|
|
212
|
+
if (object.api_version !== undefined && object.api_version !== null) {
|
|
213
|
+
message.apiVersion = object.api_version;
|
|
214
|
+
}
|
|
215
|
+
message.modules = object.modules?.map(e => ModuleVersion.fromAmino(e)) || [];
|
|
216
|
+
message.features = object.features?.map(e => e) || [];
|
|
217
|
+
return message;
|
|
218
|
+
},
|
|
219
|
+
toAmino(message) {
|
|
220
|
+
const obj = {};
|
|
221
|
+
obj.api_version = message.apiVersion ?? "";
|
|
222
|
+
if (message.modules) {
|
|
223
|
+
obj.modules = message.modules.map(e => e ? ModuleVersion.toAmino(e) : undefined);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
obj.modules = message.modules;
|
|
227
|
+
}
|
|
228
|
+
if (message.features) {
|
|
229
|
+
obj.features = message.features.map(e => e);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
obj.features = message.features;
|
|
233
|
+
}
|
|
234
|
+
return obj;
|
|
235
|
+
},
|
|
236
|
+
fromAminoMsg(object) {
|
|
237
|
+
return VersionInfo.fromAmino(object.value);
|
|
238
|
+
},
|
|
239
|
+
fromProtoMsg(message) {
|
|
240
|
+
return VersionInfo.decode(message.value);
|
|
241
|
+
},
|
|
242
|
+
toProto(message) {
|
|
243
|
+
return VersionInfo.encode(message).finish();
|
|
244
|
+
},
|
|
245
|
+
toProtoMsg(message) {
|
|
246
|
+
return {
|
|
247
|
+
typeUrl: "/akash.discovery.v1.VersionInfo",
|
|
248
|
+
value: VersionInfo.encode(message).finish()
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Akash } from "./akash";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseGetInfoRequest() {
|
|
5
|
+
return {};
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* GetInfoRequest is the request type for the Discovery/GetInfo RPC method.
|
|
9
|
+
* @name GetInfoRequest
|
|
10
|
+
* @package akash.discovery.v1
|
|
11
|
+
* @see proto type: akash.discovery.v1.GetInfoRequest
|
|
12
|
+
*/
|
|
13
|
+
export const GetInfoRequest = {
|
|
14
|
+
typeUrl: "/akash.discovery.v1.GetInfoRequest",
|
|
15
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
16
|
+
return writer;
|
|
17
|
+
},
|
|
18
|
+
decode(input, length) {
|
|
19
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
20
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
+
const message = createBaseGetInfoRequest();
|
|
22
|
+
while (reader.pos < end) {
|
|
23
|
+
const tag = reader.uint32();
|
|
24
|
+
switch (tag >>> 3) {
|
|
25
|
+
default:
|
|
26
|
+
reader.skipType(tag & 7);
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return message;
|
|
31
|
+
},
|
|
32
|
+
fromPartial(_) {
|
|
33
|
+
const message = createBaseGetInfoRequest();
|
|
34
|
+
return message;
|
|
35
|
+
},
|
|
36
|
+
fromAmino(_) {
|
|
37
|
+
const message = createBaseGetInfoRequest();
|
|
38
|
+
return message;
|
|
39
|
+
},
|
|
40
|
+
toAmino(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
fromAminoMsg(object) {
|
|
45
|
+
return GetInfoRequest.fromAmino(object.value);
|
|
46
|
+
},
|
|
47
|
+
fromProtoMsg(message) {
|
|
48
|
+
return GetInfoRequest.decode(message.value);
|
|
49
|
+
},
|
|
50
|
+
toProto(message) {
|
|
51
|
+
return GetInfoRequest.encode(message).finish();
|
|
52
|
+
},
|
|
53
|
+
toProtoMsg(message) {
|
|
54
|
+
return {
|
|
55
|
+
typeUrl: "/akash.discovery.v1.GetInfoRequest",
|
|
56
|
+
value: GetInfoRequest.encode(message).finish()
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
function createBaseGetInfoResponse() {
|
|
61
|
+
return {
|
|
62
|
+
info: undefined
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* GetInfoResponse is the response type for the Discovery/GetInfo RPC method.
|
|
67
|
+
* @name GetInfoResponse
|
|
68
|
+
* @package akash.discovery.v1
|
|
69
|
+
* @see proto type: akash.discovery.v1.GetInfoResponse
|
|
70
|
+
*/
|
|
71
|
+
export const GetInfoResponse = {
|
|
72
|
+
typeUrl: "/akash.discovery.v1.GetInfoResponse",
|
|
73
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
74
|
+
if (message.info !== undefined) {
|
|
75
|
+
Akash.encode(message.info, writer.uint32(10).fork()).ldelim();
|
|
76
|
+
}
|
|
77
|
+
return writer;
|
|
78
|
+
},
|
|
79
|
+
decode(input, length) {
|
|
80
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
81
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
+
const message = createBaseGetInfoResponse();
|
|
83
|
+
while (reader.pos < end) {
|
|
84
|
+
const tag = reader.uint32();
|
|
85
|
+
switch (tag >>> 3) {
|
|
86
|
+
case 1:
|
|
87
|
+
message.info = Akash.decode(reader, reader.uint32());
|
|
88
|
+
break;
|
|
89
|
+
default:
|
|
90
|
+
reader.skipType(tag & 7);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseGetInfoResponse();
|
|
98
|
+
message.info = object.info !== undefined && object.info !== null ? Akash.fromPartial(object.info) : undefined;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
fromAmino(object) {
|
|
102
|
+
const message = createBaseGetInfoResponse();
|
|
103
|
+
if (object.info !== undefined && object.info !== null) {
|
|
104
|
+
message.info = Akash.fromAmino(object.info);
|
|
105
|
+
}
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
toAmino(message) {
|
|
109
|
+
const obj = {};
|
|
110
|
+
obj.info = message.info ? Akash.toAmino(message.info) : undefined;
|
|
111
|
+
return obj;
|
|
112
|
+
},
|
|
113
|
+
fromAminoMsg(object) {
|
|
114
|
+
return GetInfoResponse.fromAmino(object.value);
|
|
115
|
+
},
|
|
116
|
+
fromProtoMsg(message) {
|
|
117
|
+
return GetInfoResponse.decode(message.value);
|
|
118
|
+
},
|
|
119
|
+
toProto(message) {
|
|
120
|
+
return GetInfoResponse.encode(message).finish();
|
|
121
|
+
},
|
|
122
|
+
toProtoMsg(message) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/akash.discovery.v1.GetInfoResponse",
|
|
125
|
+
value: GetInfoResponse.encode(message).finish()
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
};
|