@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +5593 -3155
- package/akash/bundle.js +499 -299
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +105 -80
- package/akash/client.js +23 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.js +2 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +18 -5
- package/akash/lcd.js +30 -11
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.d.ts +1 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +50 -25
- package/akash/rpc.query.js +22 -9
- package/akash/rpc.tx.d.ts +15 -5
- package/akash/rpc.tx.js +19 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +499 -299
- package/esm/akash/client.js +23 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +30 -11
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +22 -9
- package/esm/akash/rpc.tx.js +19 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/{deployment/v1beta3 → bme/v1}/service.d.ts +0 -0
- /package/akash/{deployment/v1beta3 → bme/v1}/service.js +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/escrow/v1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/market/v2beta1/service.d.ts} +0 -0
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
-
import { Account } from "
|
|
4
|
-
import {
|
|
3
|
+
import { Account } from "../types/v1/account";
|
|
4
|
+
import { Payment } from "../types/v1/payment";
|
|
5
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
6
|
function createBaseQueryAccountsRequest() {
|
|
7
7
|
return {
|
|
8
|
-
scope: "",
|
|
9
|
-
xid: "",
|
|
10
|
-
owner: "",
|
|
11
8
|
state: "",
|
|
9
|
+
xid: "",
|
|
12
10
|
pagination: undefined
|
|
13
11
|
};
|
|
14
12
|
}
|
|
@@ -21,18 +19,12 @@ function createBaseQueryAccountsRequest() {
|
|
|
21
19
|
export const QueryAccountsRequest = {
|
|
22
20
|
typeUrl: "/akash.escrow.v1.QueryAccountsRequest",
|
|
23
21
|
encode(message, writer = BinaryWriter.create()) {
|
|
24
|
-
if (message.
|
|
25
|
-
writer.uint32(10).string(message.
|
|
22
|
+
if (message.state !== "") {
|
|
23
|
+
writer.uint32(10).string(message.state);
|
|
26
24
|
}
|
|
27
25
|
if (message.xid !== "") {
|
|
28
26
|
writer.uint32(18).string(message.xid);
|
|
29
27
|
}
|
|
30
|
-
if (message.owner !== "") {
|
|
31
|
-
writer.uint32(26).string(message.owner);
|
|
32
|
-
}
|
|
33
|
-
if (message.state !== "") {
|
|
34
|
-
writer.uint32(34).string(message.state);
|
|
35
|
-
}
|
|
36
28
|
if (message.pagination !== undefined) {
|
|
37
29
|
PageRequest.encode(message.pagination, writer.uint32(42).fork()).ldelim();
|
|
38
30
|
}
|
|
@@ -46,17 +38,11 @@ export const QueryAccountsRequest = {
|
|
|
46
38
|
const tag = reader.uint32();
|
|
47
39
|
switch (tag >>> 3) {
|
|
48
40
|
case 1:
|
|
49
|
-
message.
|
|
41
|
+
message.state = reader.string();
|
|
50
42
|
break;
|
|
51
43
|
case 2:
|
|
52
44
|
message.xid = reader.string();
|
|
53
45
|
break;
|
|
54
|
-
case 3:
|
|
55
|
-
message.owner = reader.string();
|
|
56
|
-
break;
|
|
57
|
-
case 4:
|
|
58
|
-
message.state = reader.string();
|
|
59
|
-
break;
|
|
60
46
|
case 5:
|
|
61
47
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
62
48
|
break;
|
|
@@ -69,27 +55,19 @@ export const QueryAccountsRequest = {
|
|
|
69
55
|
},
|
|
70
56
|
fromPartial(object) {
|
|
71
57
|
const message = createBaseQueryAccountsRequest();
|
|
72
|
-
message.scope = object.scope ?? "";
|
|
73
|
-
message.xid = object.xid ?? "";
|
|
74
|
-
message.owner = object.owner ?? "";
|
|
75
58
|
message.state = object.state ?? "";
|
|
59
|
+
message.xid = object.xid ?? "";
|
|
76
60
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
77
61
|
return message;
|
|
78
62
|
},
|
|
79
63
|
fromAmino(object) {
|
|
80
64
|
const message = createBaseQueryAccountsRequest();
|
|
81
|
-
if (object.
|
|
82
|
-
message.
|
|
65
|
+
if (object.state !== undefined && object.state !== null) {
|
|
66
|
+
message.state = object.state;
|
|
83
67
|
}
|
|
84
68
|
if (object.xid !== undefined && object.xid !== null) {
|
|
85
69
|
message.xid = object.xid;
|
|
86
70
|
}
|
|
87
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
88
|
-
message.owner = object.owner;
|
|
89
|
-
}
|
|
90
|
-
if (object.state !== undefined && object.state !== null) {
|
|
91
|
-
message.state = object.state;
|
|
92
|
-
}
|
|
93
71
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
94
72
|
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
95
73
|
}
|
|
@@ -97,10 +75,8 @@ export const QueryAccountsRequest = {
|
|
|
97
75
|
},
|
|
98
76
|
toAmino(message) {
|
|
99
77
|
const obj = {};
|
|
100
|
-
obj.scope = message.scope === "" ? undefined : message.scope;
|
|
101
|
-
obj.xid = message.xid === "" ? undefined : message.xid;
|
|
102
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
103
78
|
obj.state = message.state === "" ? undefined : message.state;
|
|
79
|
+
obj.xid = message.xid ?? "";
|
|
104
80
|
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
105
81
|
return obj;
|
|
106
82
|
},
|
|
@@ -206,11 +182,8 @@ export const QueryAccountsResponse = {
|
|
|
206
182
|
};
|
|
207
183
|
function createBaseQueryPaymentsRequest() {
|
|
208
184
|
return {
|
|
209
|
-
scope: "",
|
|
210
|
-
xid: "",
|
|
211
|
-
id: "",
|
|
212
|
-
owner: "",
|
|
213
185
|
state: "",
|
|
186
|
+
xid: "",
|
|
214
187
|
pagination: undefined
|
|
215
188
|
};
|
|
216
189
|
}
|
|
@@ -223,21 +196,12 @@ function createBaseQueryPaymentsRequest() {
|
|
|
223
196
|
export const QueryPaymentsRequest = {
|
|
224
197
|
typeUrl: "/akash.escrow.v1.QueryPaymentsRequest",
|
|
225
198
|
encode(message, writer = BinaryWriter.create()) {
|
|
226
|
-
if (message.
|
|
227
|
-
writer.uint32(10).string(message.
|
|
199
|
+
if (message.state !== "") {
|
|
200
|
+
writer.uint32(10).string(message.state);
|
|
228
201
|
}
|
|
229
202
|
if (message.xid !== "") {
|
|
230
203
|
writer.uint32(18).string(message.xid);
|
|
231
204
|
}
|
|
232
|
-
if (message.id !== "") {
|
|
233
|
-
writer.uint32(26).string(message.id);
|
|
234
|
-
}
|
|
235
|
-
if (message.owner !== "") {
|
|
236
|
-
writer.uint32(34).string(message.owner);
|
|
237
|
-
}
|
|
238
|
-
if (message.state !== "") {
|
|
239
|
-
writer.uint32(42).string(message.state);
|
|
240
|
-
}
|
|
241
205
|
if (message.pagination !== undefined) {
|
|
242
206
|
PageRequest.encode(message.pagination, writer.uint32(50).fork()).ldelim();
|
|
243
207
|
}
|
|
@@ -251,20 +215,11 @@ export const QueryPaymentsRequest = {
|
|
|
251
215
|
const tag = reader.uint32();
|
|
252
216
|
switch (tag >>> 3) {
|
|
253
217
|
case 1:
|
|
254
|
-
message.
|
|
218
|
+
message.state = reader.string();
|
|
255
219
|
break;
|
|
256
220
|
case 2:
|
|
257
221
|
message.xid = reader.string();
|
|
258
222
|
break;
|
|
259
|
-
case 3:
|
|
260
|
-
message.id = reader.string();
|
|
261
|
-
break;
|
|
262
|
-
case 4:
|
|
263
|
-
message.owner = reader.string();
|
|
264
|
-
break;
|
|
265
|
-
case 5:
|
|
266
|
-
message.state = reader.string();
|
|
267
|
-
break;
|
|
268
223
|
case 6:
|
|
269
224
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
270
225
|
break;
|
|
@@ -277,31 +232,19 @@ export const QueryPaymentsRequest = {
|
|
|
277
232
|
},
|
|
278
233
|
fromPartial(object) {
|
|
279
234
|
const message = createBaseQueryPaymentsRequest();
|
|
280
|
-
message.scope = object.scope ?? "";
|
|
281
|
-
message.xid = object.xid ?? "";
|
|
282
|
-
message.id = object.id ?? "";
|
|
283
|
-
message.owner = object.owner ?? "";
|
|
284
235
|
message.state = object.state ?? "";
|
|
236
|
+
message.xid = object.xid ?? "";
|
|
285
237
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
286
238
|
return message;
|
|
287
239
|
},
|
|
288
240
|
fromAmino(object) {
|
|
289
241
|
const message = createBaseQueryPaymentsRequest();
|
|
290
|
-
if (object.
|
|
291
|
-
message.
|
|
242
|
+
if (object.state !== undefined && object.state !== null) {
|
|
243
|
+
message.state = object.state;
|
|
292
244
|
}
|
|
293
245
|
if (object.xid !== undefined && object.xid !== null) {
|
|
294
246
|
message.xid = object.xid;
|
|
295
247
|
}
|
|
296
|
-
if (object.id !== undefined && object.id !== null) {
|
|
297
|
-
message.id = object.id;
|
|
298
|
-
}
|
|
299
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
300
|
-
message.owner = object.owner;
|
|
301
|
-
}
|
|
302
|
-
if (object.state !== undefined && object.state !== null) {
|
|
303
|
-
message.state = object.state;
|
|
304
|
-
}
|
|
305
248
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
306
249
|
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
307
250
|
}
|
|
@@ -309,11 +252,8 @@ export const QueryPaymentsRequest = {
|
|
|
309
252
|
},
|
|
310
253
|
toAmino(message) {
|
|
311
254
|
const obj = {};
|
|
312
|
-
obj.scope = message.scope === "" ? undefined : message.scope;
|
|
313
|
-
obj.xid = message.xid === "" ? undefined : message.xid;
|
|
314
|
-
obj.id = message.id === "" ? undefined : message.id;
|
|
315
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
316
255
|
obj.state = message.state === "" ? undefined : message.state;
|
|
256
|
+
obj.xid = message.xid ?? "";
|
|
317
257
|
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
318
258
|
return obj;
|
|
319
259
|
},
|
|
@@ -349,7 +289,7 @@ export const QueryPaymentsResponse = {
|
|
|
349
289
|
typeUrl: "/akash.escrow.v1.QueryPaymentsResponse",
|
|
350
290
|
encode(message, writer = BinaryWriter.create()) {
|
|
351
291
|
for (const v of message.payments) {
|
|
352
|
-
|
|
292
|
+
Payment.encode(v, writer.uint32(10).fork()).ldelim();
|
|
353
293
|
}
|
|
354
294
|
if (message.pagination !== undefined) {
|
|
355
295
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
@@ -364,7 +304,7 @@ export const QueryPaymentsResponse = {
|
|
|
364
304
|
const tag = reader.uint32();
|
|
365
305
|
switch (tag >>> 3) {
|
|
366
306
|
case 1:
|
|
367
|
-
message.payments.push(
|
|
307
|
+
message.payments.push(Payment.decode(reader, reader.uint32()));
|
|
368
308
|
break;
|
|
369
309
|
case 2:
|
|
370
310
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
@@ -378,13 +318,13 @@ export const QueryPaymentsResponse = {
|
|
|
378
318
|
},
|
|
379
319
|
fromPartial(object) {
|
|
380
320
|
const message = createBaseQueryPaymentsResponse();
|
|
381
|
-
message.payments = object.payments?.map(e =>
|
|
321
|
+
message.payments = object.payments?.map(e => Payment.fromPartial(e)) || [];
|
|
382
322
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
383
323
|
return message;
|
|
384
324
|
},
|
|
385
325
|
fromAmino(object) {
|
|
386
326
|
const message = createBaseQueryPaymentsResponse();
|
|
387
|
-
message.payments = object.payments?.map(e =>
|
|
327
|
+
message.payments = object.payments?.map(e => Payment.fromAmino(e)) || [];
|
|
388
328
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
389
329
|
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
390
330
|
}
|
|
@@ -393,7 +333,7 @@ export const QueryPaymentsResponse = {
|
|
|
393
333
|
toAmino(message) {
|
|
394
334
|
const obj = {};
|
|
395
335
|
if (message.payments) {
|
|
396
|
-
obj.payments = message.payments.map(e => e ?
|
|
336
|
+
obj.payments = message.payments.map(e => e ? Payment.toAmino(e) : undefined);
|
|
397
337
|
}
|
|
398
338
|
else {
|
|
399
339
|
obj.payments = message.payments;
|
|
@@ -12,22 +12,16 @@ export class LCDQueryClient {
|
|
|
12
12
|
const options = {
|
|
13
13
|
params: {}
|
|
14
14
|
};
|
|
15
|
-
if (typeof params?.
|
|
16
|
-
options.params.
|
|
15
|
+
if (typeof params?.state !== "undefined") {
|
|
16
|
+
options.params.state = params.state;
|
|
17
17
|
}
|
|
18
18
|
if (typeof params?.xid !== "undefined") {
|
|
19
19
|
options.params.xid = params.xid;
|
|
20
20
|
}
|
|
21
|
-
if (typeof params?.owner !== "undefined") {
|
|
22
|
-
options.params.owner = params.owner;
|
|
23
|
-
}
|
|
24
|
-
if (typeof params?.state !== "undefined") {
|
|
25
|
-
options.params.state = params.state;
|
|
26
|
-
}
|
|
27
21
|
if (typeof params?.pagination !== "undefined") {
|
|
28
22
|
setPaginationParams(options, params.pagination);
|
|
29
23
|
}
|
|
30
|
-
const endpoint = `akash/escrow/v1/types/accounts
|
|
24
|
+
const endpoint = `akash/escrow/v1/types/accounts`;
|
|
31
25
|
return await this.req.get(endpoint, options);
|
|
32
26
|
};
|
|
33
27
|
/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
@@ -37,25 +31,16 @@ export class LCDQueryClient {
|
|
|
37
31
|
const options = {
|
|
38
32
|
params: {}
|
|
39
33
|
};
|
|
40
|
-
if (typeof params?.
|
|
41
|
-
options.params.
|
|
34
|
+
if (typeof params?.state !== "undefined") {
|
|
35
|
+
options.params.state = params.state;
|
|
42
36
|
}
|
|
43
37
|
if (typeof params?.xid !== "undefined") {
|
|
44
38
|
options.params.xid = params.xid;
|
|
45
39
|
}
|
|
46
|
-
if (typeof params?.id !== "undefined") {
|
|
47
|
-
options.params.id = params.id;
|
|
48
|
-
}
|
|
49
|
-
if (typeof params?.owner !== "undefined") {
|
|
50
|
-
options.params.owner = params.owner;
|
|
51
|
-
}
|
|
52
|
-
if (typeof params?.state !== "undefined") {
|
|
53
|
-
options.params.state = params.state;
|
|
54
|
-
}
|
|
55
40
|
if (typeof params?.pagination !== "undefined") {
|
|
56
41
|
setPaginationParams(options, params.pagination);
|
|
57
42
|
}
|
|
58
|
-
const endpoint = `akash/escrow/v1/types/payments
|
|
43
|
+
const endpoint = `akash/escrow/v1/types/payments`;
|
|
59
44
|
return await this.req.get(endpoint, options);
|
|
60
45
|
};
|
|
61
46
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { MsgAccountDeposit } from "./msg";
|
|
3
|
+
export const AminoConverter = {
|
|
4
|
+
"/akash.escrow.v1.MsgAccountDeposit": {
|
|
5
|
+
aminoType: "/akash.escrow.v1.MsgAccountDeposit",
|
|
6
|
+
toAmino: MsgAccountDeposit.toAmino,
|
|
7
|
+
fromAmino: MsgAccountDeposit.fromAmino
|
|
8
|
+
}
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { MsgAccountDeposit } from "./msg";
|
|
2
|
+
export const registry = [["/akash.escrow.v1.MsgAccountDeposit", MsgAccountDeposit]];
|
|
3
|
+
export const load = (protoRegistry) => {
|
|
4
|
+
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
+
protoRegistry.register(typeUrl, mod);
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
export const MessageComposer = {
|
|
9
|
+
encoded: {
|
|
10
|
+
accountDeposit(value) {
|
|
11
|
+
return {
|
|
12
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
13
|
+
value: MsgAccountDeposit.encode(value).finish()
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
withTypeUrl: {
|
|
18
|
+
accountDeposit(value) {
|
|
19
|
+
return {
|
|
20
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
21
|
+
value
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
fromPartial: {
|
|
26
|
+
accountDeposit(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
29
|
+
value: MsgAccountDeposit.fromPartial(value)
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { MsgAccountDeposit, MsgAccountDepositResponse } from "./msg";
|
|
3
|
+
export class MsgClientImpl {
|
|
4
|
+
rpc;
|
|
5
|
+
constructor(rpc) {
|
|
6
|
+
this.rpc = rpc;
|
|
7
|
+
}
|
|
8
|
+
/* AccountDeposit deposits more funds into the escrow account. */
|
|
9
|
+
accountDeposit = async (request) => {
|
|
10
|
+
const data = MsgAccountDeposit.encode(request).finish();
|
|
11
|
+
const promise = this.rpc.request("akash.escrow.v1.Msg", "AccountDeposit", data);
|
|
12
|
+
return promise.then(data => MsgAccountDepositResponse.decode(new BinaryReader(data)));
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export const createClientImpl = (rpc) => {
|
|
16
|
+
return new MsgClientImpl(rpc);
|
|
17
|
+
};
|
package/esm/akash/lcd.js
CHANGED
|
@@ -9,24 +9,33 @@ export const createLCDClient = async ({ restEndpoint }) => {
|
|
|
9
9
|
audit: {
|
|
10
10
|
v1: new (await import("./audit/v1/query.lcd")).LCDQueryClient({
|
|
11
11
|
requestClient
|
|
12
|
-
})
|
|
13
|
-
|
|
12
|
+
})
|
|
13
|
+
},
|
|
14
|
+
bme: {
|
|
15
|
+
v1: new (await import("./bme/v1/query.lcd")).LCDQueryClient({
|
|
14
16
|
requestClient
|
|
15
17
|
})
|
|
16
18
|
},
|
|
17
19
|
cert: {
|
|
18
20
|
v1: new (await import("./cert/v1/query.lcd")).LCDQueryClient({
|
|
19
21
|
requestClient
|
|
20
|
-
}),
|
|
21
|
-
v1beta3: new (await import("./cert/v1beta3/query.lcd")).LCDQueryClient({
|
|
22
|
-
requestClient
|
|
23
22
|
})
|
|
24
23
|
},
|
|
25
24
|
deployment: {
|
|
26
|
-
|
|
25
|
+
v1beta4: new (await import("./deployment/v1beta4/query.lcd")).LCDQueryClient({
|
|
27
26
|
requestClient
|
|
28
27
|
}),
|
|
29
|
-
|
|
28
|
+
v1beta5: new (await import("./deployment/v1beta5/query.lcd")).LCDQueryClient({
|
|
29
|
+
requestClient
|
|
30
|
+
})
|
|
31
|
+
},
|
|
32
|
+
downtimedetector: {
|
|
33
|
+
v1beta1: new (await import("./downtimedetector/v1beta1/query.lcd")).LCDQueryClient({
|
|
34
|
+
requestClient
|
|
35
|
+
})
|
|
36
|
+
},
|
|
37
|
+
epochs: {
|
|
38
|
+
v1beta1: new (await import("./epochs/v1beta1/query.lcd")).LCDQueryClient({
|
|
30
39
|
requestClient
|
|
31
40
|
})
|
|
32
41
|
},
|
|
@@ -39,17 +48,22 @@ export const createLCDClient = async ({ restEndpoint }) => {
|
|
|
39
48
|
})
|
|
40
49
|
},
|
|
41
50
|
market: {
|
|
42
|
-
|
|
51
|
+
v1beta5: new (await import("./market/v1beta5/query.lcd")).LCDQueryClient({
|
|
43
52
|
requestClient
|
|
44
53
|
}),
|
|
45
|
-
|
|
54
|
+
v2beta1: new (await import("./market/v2beta1/query.lcd")).LCDQueryClient({
|
|
46
55
|
requestClient
|
|
47
56
|
})
|
|
48
57
|
},
|
|
49
|
-
|
|
50
|
-
|
|
58
|
+
oracle: {
|
|
59
|
+
v1: new (await import("./oracle/v1/query.lcd")).LCDQueryClient({
|
|
51
60
|
requestClient
|
|
52
61
|
}),
|
|
62
|
+
v2: new (await import("./oracle/v2/query.lcd")).LCDQueryClient({
|
|
63
|
+
requestClient
|
|
64
|
+
})
|
|
65
|
+
},
|
|
66
|
+
provider: {
|
|
53
67
|
v1beta4: new (await import("./provider/v1beta4/query.lcd")).LCDQueryClient({
|
|
54
68
|
requestClient
|
|
55
69
|
})
|
|
@@ -58,6 +72,11 @@ export const createLCDClient = async ({ restEndpoint }) => {
|
|
|
58
72
|
v1: new (await import("./take/v1/query.lcd")).LCDQueryClient({
|
|
59
73
|
requestClient
|
|
60
74
|
})
|
|
75
|
+
},
|
|
76
|
+
wasm: {
|
|
77
|
+
v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({
|
|
78
|
+
requestClient
|
|
79
|
+
})
|
|
61
80
|
}
|
|
62
81
|
},
|
|
63
82
|
cosmos: {
|
|
@@ -6,7 +6,8 @@ function createBaseBidID() {
|
|
|
6
6
|
dseq: BigInt(0),
|
|
7
7
|
gseq: 0,
|
|
8
8
|
oseq: 0,
|
|
9
|
-
provider: ""
|
|
9
|
+
provider: "",
|
|
10
|
+
bseq: 0
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
@@ -34,6 +35,9 @@ export const BidID = {
|
|
|
34
35
|
if (message.provider !== "") {
|
|
35
36
|
writer.uint32(42).string(message.provider);
|
|
36
37
|
}
|
|
38
|
+
if (message.bseq !== 0) {
|
|
39
|
+
writer.uint32(48).uint32(message.bseq);
|
|
40
|
+
}
|
|
37
41
|
return writer;
|
|
38
42
|
},
|
|
39
43
|
decode(input, length) {
|
|
@@ -58,6 +62,9 @@ export const BidID = {
|
|
|
58
62
|
case 5:
|
|
59
63
|
message.provider = reader.string();
|
|
60
64
|
break;
|
|
65
|
+
case 6:
|
|
66
|
+
message.bseq = reader.uint32();
|
|
67
|
+
break;
|
|
61
68
|
default:
|
|
62
69
|
reader.skipType(tag & 7);
|
|
63
70
|
break;
|
|
@@ -72,6 +79,7 @@ export const BidID = {
|
|
|
72
79
|
message.gseq = object.gseq ?? 0;
|
|
73
80
|
message.oseq = object.oseq ?? 0;
|
|
74
81
|
message.provider = object.provider ?? "";
|
|
82
|
+
message.bseq = object.bseq ?? 0;
|
|
75
83
|
return message;
|
|
76
84
|
},
|
|
77
85
|
fromAmino(object) {
|
|
@@ -91,6 +99,9 @@ export const BidID = {
|
|
|
91
99
|
if (object.provider !== undefined && object.provider !== null) {
|
|
92
100
|
message.provider = object.provider;
|
|
93
101
|
}
|
|
102
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
103
|
+
message.bseq = object.bseq;
|
|
104
|
+
}
|
|
94
105
|
return message;
|
|
95
106
|
},
|
|
96
107
|
toAmino(message) {
|
|
@@ -100,6 +111,7 @@ export const BidID = {
|
|
|
100
111
|
obj.gseq = message.gseq ?? 0;
|
|
101
112
|
obj.oseq = message.oseq ?? 0;
|
|
102
113
|
obj.provider = message.provider ?? "";
|
|
114
|
+
obj.bseq = message.bseq ?? 0;
|
|
103
115
|
return obj;
|
|
104
116
|
},
|
|
105
117
|
fromAminoMsg(object) {
|
|
@@ -380,7 +380,8 @@ export const EventLeaseCreated = {
|
|
|
380
380
|
};
|
|
381
381
|
function createBaseEventLeaseClosed() {
|
|
382
382
|
return {
|
|
383
|
-
id: LeaseID.fromPartial({})
|
|
383
|
+
id: LeaseID.fromPartial({}),
|
|
384
|
+
reason: 0
|
|
384
385
|
};
|
|
385
386
|
}
|
|
386
387
|
/**
|
|
@@ -396,6 +397,9 @@ export const EventLeaseClosed = {
|
|
|
396
397
|
if (message.id !== undefined) {
|
|
397
398
|
LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
398
399
|
}
|
|
400
|
+
if (message.reason !== 0) {
|
|
401
|
+
writer.uint32(16).int32(message.reason);
|
|
402
|
+
}
|
|
399
403
|
return writer;
|
|
400
404
|
},
|
|
401
405
|
decode(input, length) {
|
|
@@ -408,6 +412,9 @@ export const EventLeaseClosed = {
|
|
|
408
412
|
case 1:
|
|
409
413
|
message.id = LeaseID.decode(reader, reader.uint32());
|
|
410
414
|
break;
|
|
415
|
+
case 2:
|
|
416
|
+
message.reason = reader.int32();
|
|
417
|
+
break;
|
|
411
418
|
default:
|
|
412
419
|
reader.skipType(tag & 7);
|
|
413
420
|
break;
|
|
@@ -418,6 +425,7 @@ export const EventLeaseClosed = {
|
|
|
418
425
|
fromPartial(object) {
|
|
419
426
|
const message = createBaseEventLeaseClosed();
|
|
420
427
|
message.id = object.id !== undefined && object.id !== null ? LeaseID.fromPartial(object.id) : undefined;
|
|
428
|
+
message.reason = object.reason ?? 0;
|
|
421
429
|
return message;
|
|
422
430
|
},
|
|
423
431
|
fromAmino(object) {
|
|
@@ -425,11 +433,15 @@ export const EventLeaseClosed = {
|
|
|
425
433
|
if (object.id !== undefined && object.id !== null) {
|
|
426
434
|
message.id = LeaseID.fromAmino(object.id);
|
|
427
435
|
}
|
|
436
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
437
|
+
message.reason = object.reason;
|
|
438
|
+
}
|
|
428
439
|
return message;
|
|
429
440
|
},
|
|
430
441
|
toAmino(message) {
|
|
431
442
|
const obj = {};
|
|
432
443
|
obj.id = message.id ? LeaseID.toAmino(message.id) : LeaseID.toAmino(LeaseID.fromPartial({}));
|
|
444
|
+
obj.reason = message.reason ?? 0;
|
|
433
445
|
return obj;
|
|
434
446
|
},
|
|
435
447
|
fromAminoMsg(object) {
|
|
@@ -448,3 +460,96 @@ export const EventLeaseClosed = {
|
|
|
448
460
|
};
|
|
449
461
|
}
|
|
450
462
|
};
|
|
463
|
+
function createBaseEventLeaseReclaimStarted() {
|
|
464
|
+
return {
|
|
465
|
+
id: LeaseID.fromPartial({}),
|
|
466
|
+
reason: 0,
|
|
467
|
+
deadline: BigInt(0)
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease.
|
|
472
|
+
* @name EventLeaseReclaimStarted
|
|
473
|
+
* @package akash.market.v1
|
|
474
|
+
* @see proto type: akash.market.v1.EventLeaseReclaimStarted
|
|
475
|
+
*/
|
|
476
|
+
export const EventLeaseReclaimStarted = {
|
|
477
|
+
typeUrl: "/akash.market.v1.EventLeaseReclaimStarted",
|
|
478
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
479
|
+
if (message.id !== undefined) {
|
|
480
|
+
LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
481
|
+
}
|
|
482
|
+
if (message.reason !== 0) {
|
|
483
|
+
writer.uint32(16).int32(message.reason);
|
|
484
|
+
}
|
|
485
|
+
if (message.deadline !== BigInt(0)) {
|
|
486
|
+
writer.uint32(24).int64(message.deadline);
|
|
487
|
+
}
|
|
488
|
+
return writer;
|
|
489
|
+
},
|
|
490
|
+
decode(input, length) {
|
|
491
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
492
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
493
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
494
|
+
while (reader.pos < end) {
|
|
495
|
+
const tag = reader.uint32();
|
|
496
|
+
switch (tag >>> 3) {
|
|
497
|
+
case 1:
|
|
498
|
+
message.id = LeaseID.decode(reader, reader.uint32());
|
|
499
|
+
break;
|
|
500
|
+
case 2:
|
|
501
|
+
message.reason = reader.int32();
|
|
502
|
+
break;
|
|
503
|
+
case 3:
|
|
504
|
+
message.deadline = reader.int64();
|
|
505
|
+
break;
|
|
506
|
+
default:
|
|
507
|
+
reader.skipType(tag & 7);
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return message;
|
|
512
|
+
},
|
|
513
|
+
fromPartial(object) {
|
|
514
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
515
|
+
message.id = object.id !== undefined && object.id !== null ? LeaseID.fromPartial(object.id) : undefined;
|
|
516
|
+
message.reason = object.reason ?? 0;
|
|
517
|
+
message.deadline = object.deadline !== undefined && object.deadline !== null ? BigInt(object.deadline.toString()) : BigInt(0);
|
|
518
|
+
return message;
|
|
519
|
+
},
|
|
520
|
+
fromAmino(object) {
|
|
521
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
522
|
+
if (object.id !== undefined && object.id !== null) {
|
|
523
|
+
message.id = LeaseID.fromAmino(object.id);
|
|
524
|
+
}
|
|
525
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
526
|
+
message.reason = object.reason;
|
|
527
|
+
}
|
|
528
|
+
if (object.deadline !== undefined && object.deadline !== null) {
|
|
529
|
+
message.deadline = BigInt(object.deadline);
|
|
530
|
+
}
|
|
531
|
+
return message;
|
|
532
|
+
},
|
|
533
|
+
toAmino(message) {
|
|
534
|
+
const obj = {};
|
|
535
|
+
obj.id = message.id ? LeaseID.toAmino(message.id) : LeaseID.toAmino(LeaseID.fromPartial({}));
|
|
536
|
+
obj.reason = message.reason ?? 0;
|
|
537
|
+
obj.deadline = message.deadline ? message.deadline?.toString() : "0";
|
|
538
|
+
return obj;
|
|
539
|
+
},
|
|
540
|
+
fromAminoMsg(object) {
|
|
541
|
+
return EventLeaseReclaimStarted.fromAmino(object.value);
|
|
542
|
+
},
|
|
543
|
+
fromProtoMsg(message) {
|
|
544
|
+
return EventLeaseReclaimStarted.decode(message.value);
|
|
545
|
+
},
|
|
546
|
+
toProto(message) {
|
|
547
|
+
return EventLeaseReclaimStarted.encode(message).finish();
|
|
548
|
+
},
|
|
549
|
+
toProtoMsg(message) {
|
|
550
|
+
return {
|
|
551
|
+
typeUrl: "/akash.market.v1.EventLeaseReclaimStarted",
|
|
552
|
+
value: EventLeaseReclaimStarted.encode(message).finish()
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
};
|