@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
package/akash/lcd.js
CHANGED
|
@@ -45,24 +45,33 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
45
45
|
audit: {
|
|
46
46
|
v1: new (await Promise.resolve().then(() => __importStar(require("./audit/v1/query.lcd")))).LCDQueryClient({
|
|
47
47
|
requestClient
|
|
48
|
-
})
|
|
49
|
-
|
|
48
|
+
})
|
|
49
|
+
},
|
|
50
|
+
bme: {
|
|
51
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("./bme/v1/query.lcd")))).LCDQueryClient({
|
|
50
52
|
requestClient
|
|
51
53
|
})
|
|
52
54
|
},
|
|
53
55
|
cert: {
|
|
54
56
|
v1: new (await Promise.resolve().then(() => __importStar(require("./cert/v1/query.lcd")))).LCDQueryClient({
|
|
55
57
|
requestClient
|
|
56
|
-
}),
|
|
57
|
-
v1beta3: new (await Promise.resolve().then(() => __importStar(require("./cert/v1beta3/query.lcd")))).LCDQueryClient({
|
|
58
|
-
requestClient
|
|
59
58
|
})
|
|
60
59
|
},
|
|
61
60
|
deployment: {
|
|
62
|
-
|
|
61
|
+
v1beta4: new (await Promise.resolve().then(() => __importStar(require("./deployment/v1beta4/query.lcd")))).LCDQueryClient({
|
|
63
62
|
requestClient
|
|
64
63
|
}),
|
|
65
|
-
|
|
64
|
+
v1beta5: new (await Promise.resolve().then(() => __importStar(require("./deployment/v1beta5/query.lcd")))).LCDQueryClient({
|
|
65
|
+
requestClient
|
|
66
|
+
})
|
|
67
|
+
},
|
|
68
|
+
downtimedetector: {
|
|
69
|
+
v1beta1: new (await Promise.resolve().then(() => __importStar(require("./downtimedetector/v1beta1/query.lcd")))).LCDQueryClient({
|
|
70
|
+
requestClient
|
|
71
|
+
})
|
|
72
|
+
},
|
|
73
|
+
epochs: {
|
|
74
|
+
v1beta1: new (await Promise.resolve().then(() => __importStar(require("./epochs/v1beta1/query.lcd")))).LCDQueryClient({
|
|
66
75
|
requestClient
|
|
67
76
|
})
|
|
68
77
|
},
|
|
@@ -75,17 +84,22 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
75
84
|
})
|
|
76
85
|
},
|
|
77
86
|
market: {
|
|
78
|
-
|
|
87
|
+
v1beta5: new (await Promise.resolve().then(() => __importStar(require("./market/v1beta5/query.lcd")))).LCDQueryClient({
|
|
79
88
|
requestClient
|
|
80
89
|
}),
|
|
81
|
-
|
|
90
|
+
v2beta1: new (await Promise.resolve().then(() => __importStar(require("./market/v2beta1/query.lcd")))).LCDQueryClient({
|
|
82
91
|
requestClient
|
|
83
92
|
})
|
|
84
93
|
},
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
oracle: {
|
|
95
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("./oracle/v1/query.lcd")))).LCDQueryClient({
|
|
87
96
|
requestClient
|
|
88
97
|
}),
|
|
98
|
+
v2: new (await Promise.resolve().then(() => __importStar(require("./oracle/v2/query.lcd")))).LCDQueryClient({
|
|
99
|
+
requestClient
|
|
100
|
+
})
|
|
101
|
+
},
|
|
102
|
+
provider: {
|
|
89
103
|
v1beta4: new (await Promise.resolve().then(() => __importStar(require("./provider/v1beta4/query.lcd")))).LCDQueryClient({
|
|
90
104
|
requestClient
|
|
91
105
|
})
|
|
@@ -94,6 +108,11 @@ const createLCDClient = async ({ restEndpoint }) => {
|
|
|
94
108
|
v1: new (await Promise.resolve().then(() => __importStar(require("./take/v1/query.lcd")))).LCDQueryClient({
|
|
95
109
|
requestClient
|
|
96
110
|
})
|
|
111
|
+
},
|
|
112
|
+
wasm: {
|
|
113
|
+
v1: new (await Promise.resolve().then(() => __importStar(require("./wasm/v1/query.lcd")))).LCDQueryClient({
|
|
114
|
+
requestClient
|
|
115
|
+
})
|
|
97
116
|
}
|
|
98
117
|
},
|
|
99
118
|
cosmos: {
|
package/akash/market/v1/bid.d.ts
CHANGED
|
@@ -39,6 +39,10 @@ export interface BidID {
|
|
|
39
39
|
* "akash1..."
|
|
40
40
|
*/
|
|
41
41
|
provider: string;
|
|
42
|
+
/**
|
|
43
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
44
|
+
*/
|
|
45
|
+
bseq: number;
|
|
42
46
|
}
|
|
43
47
|
export interface BidIDProtoMsg {
|
|
44
48
|
typeUrl: "/akash.market.v1.BidID";
|
|
@@ -83,6 +87,10 @@ export interface BidIDAmino {
|
|
|
83
87
|
* "akash1..."
|
|
84
88
|
*/
|
|
85
89
|
provider: string;
|
|
90
|
+
/**
|
|
91
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
92
|
+
*/
|
|
93
|
+
bseq: number;
|
|
86
94
|
}
|
|
87
95
|
export interface BidIDAminoMsg {
|
|
88
96
|
type: "/akash.market.v1.BidID";
|
package/akash/market/v1/bid.js
CHANGED
|
@@ -9,7 +9,8 @@ function createBaseBidID() {
|
|
|
9
9
|
dseq: BigInt(0),
|
|
10
10
|
gseq: 0,
|
|
11
11
|
oseq: 0,
|
|
12
|
-
provider: ""
|
|
12
|
+
provider: "",
|
|
13
|
+
bseq: 0
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
@@ -37,6 +38,9 @@ exports.BidID = {
|
|
|
37
38
|
if (message.provider !== "") {
|
|
38
39
|
writer.uint32(42).string(message.provider);
|
|
39
40
|
}
|
|
41
|
+
if (message.bseq !== 0) {
|
|
42
|
+
writer.uint32(48).uint32(message.bseq);
|
|
43
|
+
}
|
|
40
44
|
return writer;
|
|
41
45
|
},
|
|
42
46
|
decode(input, length) {
|
|
@@ -61,6 +65,9 @@ exports.BidID = {
|
|
|
61
65
|
case 5:
|
|
62
66
|
message.provider = reader.string();
|
|
63
67
|
break;
|
|
68
|
+
case 6:
|
|
69
|
+
message.bseq = reader.uint32();
|
|
70
|
+
break;
|
|
64
71
|
default:
|
|
65
72
|
reader.skipType(tag & 7);
|
|
66
73
|
break;
|
|
@@ -75,6 +82,7 @@ exports.BidID = {
|
|
|
75
82
|
message.gseq = object.gseq ?? 0;
|
|
76
83
|
message.oseq = object.oseq ?? 0;
|
|
77
84
|
message.provider = object.provider ?? "";
|
|
85
|
+
message.bseq = object.bseq ?? 0;
|
|
78
86
|
return message;
|
|
79
87
|
},
|
|
80
88
|
fromAmino(object) {
|
|
@@ -94,6 +102,9 @@ exports.BidID = {
|
|
|
94
102
|
if (object.provider !== undefined && object.provider !== null) {
|
|
95
103
|
message.provider = object.provider;
|
|
96
104
|
}
|
|
105
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
106
|
+
message.bseq = object.bseq;
|
|
107
|
+
}
|
|
97
108
|
return message;
|
|
98
109
|
},
|
|
99
110
|
toAmino(message) {
|
|
@@ -103,6 +114,7 @@ exports.BidID = {
|
|
|
103
114
|
obj.gseq = message.gseq ?? 0;
|
|
104
115
|
obj.oseq = message.oseq ?? 0;
|
|
105
116
|
obj.provider = message.provider ?? "";
|
|
117
|
+
obj.bseq = message.bseq ?? 0;
|
|
106
118
|
return obj;
|
|
107
119
|
},
|
|
108
120
|
fromAminoMsg(object) {
|
|
@@ -2,6 +2,7 @@ import { OrderID, OrderIDAmino } from "./order";
|
|
|
2
2
|
import { BidID, BidIDAmino } from "./bid";
|
|
3
3
|
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { LeaseID, LeaseIDAmino } from "./lease";
|
|
5
|
+
import { LeaseClosedReason } from "./types";
|
|
5
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
7
|
import { DeepPartial } from "../../../helpers";
|
|
7
8
|
/**
|
|
@@ -202,6 +203,7 @@ export interface EventLeaseClosed {
|
|
|
202
203
|
* Id is the unique identifier of the Lease.
|
|
203
204
|
*/
|
|
204
205
|
id: LeaseID;
|
|
206
|
+
reason: LeaseClosedReason;
|
|
205
207
|
}
|
|
206
208
|
export interface EventLeaseClosedProtoMsg {
|
|
207
209
|
typeUrl: "/akash.market.v1.EventLeaseClosed";
|
|
@@ -219,11 +221,60 @@ export interface EventLeaseClosedAmino {
|
|
|
219
221
|
* Id is the unique identifier of the Lease.
|
|
220
222
|
*/
|
|
221
223
|
id: LeaseIDAmino;
|
|
224
|
+
reason: LeaseClosedReason;
|
|
222
225
|
}
|
|
223
226
|
export interface EventLeaseClosedAminoMsg {
|
|
224
227
|
type: "/akash.market.v1.EventLeaseClosed";
|
|
225
228
|
value: EventLeaseClosedAmino;
|
|
226
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease.
|
|
232
|
+
* @name EventLeaseReclaimStarted
|
|
233
|
+
* @package akash.market.v1
|
|
234
|
+
* @see proto type: akash.market.v1.EventLeaseReclaimStarted
|
|
235
|
+
*/
|
|
236
|
+
export interface EventLeaseReclaimStarted {
|
|
237
|
+
/**
|
|
238
|
+
* Id is the unique identifier of the Lease.
|
|
239
|
+
*/
|
|
240
|
+
id: LeaseID;
|
|
241
|
+
/**
|
|
242
|
+
* reason is the provider's stated reason for reclamation.
|
|
243
|
+
*/
|
|
244
|
+
reason: LeaseClosedReason;
|
|
245
|
+
/**
|
|
246
|
+
* deadline is the unix timestamp when the reclamation window expires.
|
|
247
|
+
*/
|
|
248
|
+
deadline: bigint;
|
|
249
|
+
}
|
|
250
|
+
export interface EventLeaseReclaimStartedProtoMsg {
|
|
251
|
+
typeUrl: "/akash.market.v1.EventLeaseReclaimStarted";
|
|
252
|
+
value: Uint8Array;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease.
|
|
256
|
+
* @name EventLeaseReclaimStartedAmino
|
|
257
|
+
* @package akash.market.v1
|
|
258
|
+
* @see proto type: akash.market.v1.EventLeaseReclaimStarted
|
|
259
|
+
*/
|
|
260
|
+
export interface EventLeaseReclaimStartedAmino {
|
|
261
|
+
/**
|
|
262
|
+
* Id is the unique identifier of the Lease.
|
|
263
|
+
*/
|
|
264
|
+
id: LeaseIDAmino;
|
|
265
|
+
/**
|
|
266
|
+
* reason is the provider's stated reason for reclamation.
|
|
267
|
+
*/
|
|
268
|
+
reason: LeaseClosedReason;
|
|
269
|
+
/**
|
|
270
|
+
* deadline is the unix timestamp when the reclamation window expires.
|
|
271
|
+
*/
|
|
272
|
+
deadline: string;
|
|
273
|
+
}
|
|
274
|
+
export interface EventLeaseReclaimStartedAminoMsg {
|
|
275
|
+
type: "/akash.market.v1.EventLeaseReclaimStarted";
|
|
276
|
+
value: EventLeaseReclaimStartedAmino;
|
|
277
|
+
}
|
|
227
278
|
/**
|
|
228
279
|
* EventOrderCreated is triggered when an order is created.
|
|
229
280
|
* It contains all the information required to identify an order.
|
|
@@ -338,3 +389,21 @@ export declare const EventLeaseClosed: {
|
|
|
338
389
|
toProto(message: EventLeaseClosed): Uint8Array;
|
|
339
390
|
toProtoMsg(message: EventLeaseClosed): EventLeaseClosedProtoMsg;
|
|
340
391
|
};
|
|
392
|
+
/**
|
|
393
|
+
* EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease.
|
|
394
|
+
* @name EventLeaseReclaimStarted
|
|
395
|
+
* @package akash.market.v1
|
|
396
|
+
* @see proto type: akash.market.v1.EventLeaseReclaimStarted
|
|
397
|
+
*/
|
|
398
|
+
export declare const EventLeaseReclaimStarted: {
|
|
399
|
+
typeUrl: string;
|
|
400
|
+
encode(message: EventLeaseReclaimStarted, writer?: BinaryWriter): BinaryWriter;
|
|
401
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventLeaseReclaimStarted;
|
|
402
|
+
fromPartial(object: DeepPartial<EventLeaseReclaimStarted>): EventLeaseReclaimStarted;
|
|
403
|
+
fromAmino(object: EventLeaseReclaimStartedAmino): EventLeaseReclaimStarted;
|
|
404
|
+
toAmino(message: EventLeaseReclaimStarted): EventLeaseReclaimStartedAmino;
|
|
405
|
+
fromAminoMsg(object: EventLeaseReclaimStartedAminoMsg): EventLeaseReclaimStarted;
|
|
406
|
+
fromProtoMsg(message: EventLeaseReclaimStartedProtoMsg): EventLeaseReclaimStarted;
|
|
407
|
+
toProto(message: EventLeaseReclaimStarted): Uint8Array;
|
|
408
|
+
toProtoMsg(message: EventLeaseReclaimStarted): EventLeaseReclaimStartedProtoMsg;
|
|
409
|
+
};
|
package/akash/market/v1/event.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventLeaseClosed = exports.EventLeaseCreated = exports.EventBidClosed = exports.EventBidCreated = exports.EventOrderClosed = exports.EventOrderCreated = void 0;
|
|
3
|
+
exports.EventLeaseReclaimStarted = exports.EventLeaseClosed = exports.EventLeaseCreated = exports.EventBidClosed = exports.EventBidCreated = exports.EventOrderClosed = exports.EventOrderCreated = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const order_1 = require("./order");
|
|
6
6
|
const bid_1 = require("./bid");
|
|
@@ -383,7 +383,8 @@ exports.EventLeaseCreated = {
|
|
|
383
383
|
};
|
|
384
384
|
function createBaseEventLeaseClosed() {
|
|
385
385
|
return {
|
|
386
|
-
id: lease_1.LeaseID.fromPartial({})
|
|
386
|
+
id: lease_1.LeaseID.fromPartial({}),
|
|
387
|
+
reason: 0
|
|
387
388
|
};
|
|
388
389
|
}
|
|
389
390
|
/**
|
|
@@ -399,6 +400,9 @@ exports.EventLeaseClosed = {
|
|
|
399
400
|
if (message.id !== undefined) {
|
|
400
401
|
lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
401
402
|
}
|
|
403
|
+
if (message.reason !== 0) {
|
|
404
|
+
writer.uint32(16).int32(message.reason);
|
|
405
|
+
}
|
|
402
406
|
return writer;
|
|
403
407
|
},
|
|
404
408
|
decode(input, length) {
|
|
@@ -411,6 +415,9 @@ exports.EventLeaseClosed = {
|
|
|
411
415
|
case 1:
|
|
412
416
|
message.id = lease_1.LeaseID.decode(reader, reader.uint32());
|
|
413
417
|
break;
|
|
418
|
+
case 2:
|
|
419
|
+
message.reason = reader.int32();
|
|
420
|
+
break;
|
|
414
421
|
default:
|
|
415
422
|
reader.skipType(tag & 7);
|
|
416
423
|
break;
|
|
@@ -421,6 +428,7 @@ exports.EventLeaseClosed = {
|
|
|
421
428
|
fromPartial(object) {
|
|
422
429
|
const message = createBaseEventLeaseClosed();
|
|
423
430
|
message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
|
|
431
|
+
message.reason = object.reason ?? 0;
|
|
424
432
|
return message;
|
|
425
433
|
},
|
|
426
434
|
fromAmino(object) {
|
|
@@ -428,11 +436,15 @@ exports.EventLeaseClosed = {
|
|
|
428
436
|
if (object.id !== undefined && object.id !== null) {
|
|
429
437
|
message.id = lease_1.LeaseID.fromAmino(object.id);
|
|
430
438
|
}
|
|
439
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
440
|
+
message.reason = object.reason;
|
|
441
|
+
}
|
|
431
442
|
return message;
|
|
432
443
|
},
|
|
433
444
|
toAmino(message) {
|
|
434
445
|
const obj = {};
|
|
435
446
|
obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
|
|
447
|
+
obj.reason = message.reason ?? 0;
|
|
436
448
|
return obj;
|
|
437
449
|
},
|
|
438
450
|
fromAminoMsg(object) {
|
|
@@ -451,3 +463,96 @@ exports.EventLeaseClosed = {
|
|
|
451
463
|
};
|
|
452
464
|
}
|
|
453
465
|
};
|
|
466
|
+
function createBaseEventLeaseReclaimStarted() {
|
|
467
|
+
return {
|
|
468
|
+
id: lease_1.LeaseID.fromPartial({}),
|
|
469
|
+
reason: 0,
|
|
470
|
+
deadline: BigInt(0)
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* EventLeaseReclaimStarted is triggered when a provider initiates reclamation on a lease.
|
|
475
|
+
* @name EventLeaseReclaimStarted
|
|
476
|
+
* @package akash.market.v1
|
|
477
|
+
* @see proto type: akash.market.v1.EventLeaseReclaimStarted
|
|
478
|
+
*/
|
|
479
|
+
exports.EventLeaseReclaimStarted = {
|
|
480
|
+
typeUrl: "/akash.market.v1.EventLeaseReclaimStarted",
|
|
481
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
482
|
+
if (message.id !== undefined) {
|
|
483
|
+
lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
484
|
+
}
|
|
485
|
+
if (message.reason !== 0) {
|
|
486
|
+
writer.uint32(16).int32(message.reason);
|
|
487
|
+
}
|
|
488
|
+
if (message.deadline !== BigInt(0)) {
|
|
489
|
+
writer.uint32(24).int64(message.deadline);
|
|
490
|
+
}
|
|
491
|
+
return writer;
|
|
492
|
+
},
|
|
493
|
+
decode(input, length) {
|
|
494
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
495
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
496
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
497
|
+
while (reader.pos < end) {
|
|
498
|
+
const tag = reader.uint32();
|
|
499
|
+
switch (tag >>> 3) {
|
|
500
|
+
case 1:
|
|
501
|
+
message.id = lease_1.LeaseID.decode(reader, reader.uint32());
|
|
502
|
+
break;
|
|
503
|
+
case 2:
|
|
504
|
+
message.reason = reader.int32();
|
|
505
|
+
break;
|
|
506
|
+
case 3:
|
|
507
|
+
message.deadline = reader.int64();
|
|
508
|
+
break;
|
|
509
|
+
default:
|
|
510
|
+
reader.skipType(tag & 7);
|
|
511
|
+
break;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
return message;
|
|
515
|
+
},
|
|
516
|
+
fromPartial(object) {
|
|
517
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
518
|
+
message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
|
|
519
|
+
message.reason = object.reason ?? 0;
|
|
520
|
+
message.deadline = object.deadline !== undefined && object.deadline !== null ? BigInt(object.deadline.toString()) : BigInt(0);
|
|
521
|
+
return message;
|
|
522
|
+
},
|
|
523
|
+
fromAmino(object) {
|
|
524
|
+
const message = createBaseEventLeaseReclaimStarted();
|
|
525
|
+
if (object.id !== undefined && object.id !== null) {
|
|
526
|
+
message.id = lease_1.LeaseID.fromAmino(object.id);
|
|
527
|
+
}
|
|
528
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
529
|
+
message.reason = object.reason;
|
|
530
|
+
}
|
|
531
|
+
if (object.deadline !== undefined && object.deadline !== null) {
|
|
532
|
+
message.deadline = BigInt(object.deadline);
|
|
533
|
+
}
|
|
534
|
+
return message;
|
|
535
|
+
},
|
|
536
|
+
toAmino(message) {
|
|
537
|
+
const obj = {};
|
|
538
|
+
obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
|
|
539
|
+
obj.reason = message.reason ?? 0;
|
|
540
|
+
obj.deadline = message.deadline ? message.deadline?.toString() : "0";
|
|
541
|
+
return obj;
|
|
542
|
+
},
|
|
543
|
+
fromAminoMsg(object) {
|
|
544
|
+
return exports.EventLeaseReclaimStarted.fromAmino(object.value);
|
|
545
|
+
},
|
|
546
|
+
fromProtoMsg(message) {
|
|
547
|
+
return exports.EventLeaseReclaimStarted.decode(message.value);
|
|
548
|
+
},
|
|
549
|
+
toProto(message) {
|
|
550
|
+
return exports.EventLeaseReclaimStarted.encode(message).finish();
|
|
551
|
+
},
|
|
552
|
+
toProtoMsg(message) {
|
|
553
|
+
return {
|
|
554
|
+
typeUrl: "/akash.market.v1.EventLeaseReclaimStarted",
|
|
555
|
+
value: exports.EventLeaseReclaimStarted.encode(message).finish()
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
};
|
|
@@ -42,6 +42,10 @@ export interface LeaseFilters {
|
|
|
42
42
|
* State represents the state of the lease.
|
|
43
43
|
*/
|
|
44
44
|
state: string;
|
|
45
|
+
/**
|
|
46
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
47
|
+
*/
|
|
48
|
+
bseq: number;
|
|
45
49
|
}
|
|
46
50
|
export interface LeaseFiltersProtoMsg {
|
|
47
51
|
typeUrl: "/akash.market.v1.LeaseFilters";
|
|
@@ -89,6 +93,10 @@ export interface LeaseFiltersAmino {
|
|
|
89
93
|
* State represents the state of the lease.
|
|
90
94
|
*/
|
|
91
95
|
state: string;
|
|
96
|
+
/**
|
|
97
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
98
|
+
*/
|
|
99
|
+
bseq: number;
|
|
92
100
|
}
|
|
93
101
|
export interface LeaseFiltersAminoMsg {
|
|
94
102
|
type: "/akash.market.v1.LeaseFilters";
|
|
@@ -10,7 +10,8 @@ function createBaseLeaseFilters() {
|
|
|
10
10
|
gseq: 0,
|
|
11
11
|
oseq: 0,
|
|
12
12
|
provider: "",
|
|
13
|
-
state: ""
|
|
13
|
+
state: "",
|
|
14
|
+
bseq: 0
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
@@ -40,6 +41,9 @@ exports.LeaseFilters = {
|
|
|
40
41
|
if (message.state !== "") {
|
|
41
42
|
writer.uint32(50).string(message.state);
|
|
42
43
|
}
|
|
44
|
+
if (message.bseq !== 0) {
|
|
45
|
+
writer.uint32(56).uint32(message.bseq);
|
|
46
|
+
}
|
|
43
47
|
return writer;
|
|
44
48
|
},
|
|
45
49
|
decode(input, length) {
|
|
@@ -67,6 +71,9 @@ exports.LeaseFilters = {
|
|
|
67
71
|
case 6:
|
|
68
72
|
message.state = reader.string();
|
|
69
73
|
break;
|
|
74
|
+
case 7:
|
|
75
|
+
message.bseq = reader.uint32();
|
|
76
|
+
break;
|
|
70
77
|
default:
|
|
71
78
|
reader.skipType(tag & 7);
|
|
72
79
|
break;
|
|
@@ -82,6 +89,7 @@ exports.LeaseFilters = {
|
|
|
82
89
|
message.oseq = object.oseq ?? 0;
|
|
83
90
|
message.provider = object.provider ?? "";
|
|
84
91
|
message.state = object.state ?? "";
|
|
92
|
+
message.bseq = object.bseq ?? 0;
|
|
85
93
|
return message;
|
|
86
94
|
},
|
|
87
95
|
fromAmino(object) {
|
|
@@ -104,6 +112,9 @@ exports.LeaseFilters = {
|
|
|
104
112
|
if (object.state !== undefined && object.state !== null) {
|
|
105
113
|
message.state = object.state;
|
|
106
114
|
}
|
|
115
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
116
|
+
message.bseq = object.bseq;
|
|
117
|
+
}
|
|
107
118
|
return message;
|
|
108
119
|
},
|
|
109
120
|
toAmino(message) {
|
|
@@ -114,6 +125,7 @@ exports.LeaseFilters = {
|
|
|
114
125
|
obj.oseq = message.oseq ?? 0;
|
|
115
126
|
obj.provider = message.provider ?? "";
|
|
116
127
|
obj.state = message.state ?? "";
|
|
128
|
+
obj.bseq = message.bseq ?? 0;
|
|
117
129
|
return obj;
|
|
118
130
|
},
|
|
119
131
|
fromAminoMsg(object) {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { LeaseClosedReason } from "./types";
|
|
3
|
+
import { Reclamation, ReclamationAmino } from "./reclamation";
|
|
2
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
5
|
import { DeepPartial } from "../../../helpers";
|
|
4
6
|
/** State is an enum which refers to state of lease. */
|
|
@@ -11,6 +13,8 @@ export declare enum Lease_State {
|
|
|
11
13
|
insufficient_funds = 2,
|
|
12
14
|
/** closed - LeaseClosed denotes state for lease closed. */
|
|
13
15
|
closed = 3,
|
|
16
|
+
/** reclaiming - LeaseReclaiming denotes a lease in reclamation (grace period before closure). */
|
|
17
|
+
reclaiming = 4,
|
|
14
18
|
UNRECOGNIZED = -1
|
|
15
19
|
}
|
|
16
20
|
export declare const Lease_StateAmino: typeof Lease_State;
|
|
@@ -54,6 +58,10 @@ export interface LeaseID {
|
|
|
54
58
|
* "akash1..."
|
|
55
59
|
*/
|
|
56
60
|
provider: string;
|
|
61
|
+
/**
|
|
62
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
63
|
+
*/
|
|
64
|
+
bseq: number;
|
|
57
65
|
}
|
|
58
66
|
export interface LeaseIDProtoMsg {
|
|
59
67
|
typeUrl: "/akash.market.v1.LeaseID";
|
|
@@ -97,6 +105,10 @@ export interface LeaseIDAmino {
|
|
|
97
105
|
* "akash1..."
|
|
98
106
|
*/
|
|
99
107
|
provider: string;
|
|
108
|
+
/**
|
|
109
|
+
* BSeq (bid sequence) distinguishes multiple bids associated with a single deployment from same provider.
|
|
110
|
+
*/
|
|
111
|
+
bseq: number;
|
|
100
112
|
}
|
|
101
113
|
export interface LeaseIDAminoMsg {
|
|
102
114
|
type: "/akash.market.v1.LeaseID";
|
|
@@ -132,6 +144,12 @@ export interface Lease {
|
|
|
132
144
|
* ClosedOn is the block height at which the Lease was closed.
|
|
133
145
|
*/
|
|
134
146
|
closedOn: bigint;
|
|
147
|
+
reason: LeaseClosedReason;
|
|
148
|
+
/**
|
|
149
|
+
* Reclamation holds reclamation configuration and state, if applicable.
|
|
150
|
+
* Nil if reclamation is not configured for this lease.
|
|
151
|
+
*/
|
|
152
|
+
reclamation?: Reclamation;
|
|
135
153
|
}
|
|
136
154
|
export interface LeaseProtoMsg {
|
|
137
155
|
typeUrl: "/akash.market.v1.Lease";
|
|
@@ -167,6 +185,12 @@ export interface LeaseAmino {
|
|
|
167
185
|
* ClosedOn is the block height at which the Lease was closed.
|
|
168
186
|
*/
|
|
169
187
|
closed_on: string;
|
|
188
|
+
reason: LeaseClosedReason;
|
|
189
|
+
/**
|
|
190
|
+
* Reclamation holds reclamation configuration and state, if applicable.
|
|
191
|
+
* Nil if reclamation is not configured for this lease.
|
|
192
|
+
*/
|
|
193
|
+
reclamation?: ReclamationAmino;
|
|
170
194
|
}
|
|
171
195
|
export interface LeaseAminoMsg {
|
|
172
196
|
type: "/akash.market.v1.Lease";
|