@sparkdreamnft/sparkdreamjs 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bundle.d.ts +5409 -3608
- package/akash/bundle.js +475 -306
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +84 -84
- package/akash/client.js +20 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +15 -5
- package/akash/lcd.js +26 -12
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +43 -26
- package/akash/rpc.query.js +19 -9
- package/akash/rpc.tx.d.ts +12 -5
- package/akash/rpc.tx.js +16 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bundle.js +475 -306
- package/esm/akash/client.js +20 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +26 -12
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +19 -9
- package/esm/akash/rpc.tx.js +16 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/sparkdream/commons/v1/genesis.js +128 -1
- package/esm/sparkdream/rep/v1/initiative.js +13 -1
- package/esm/sparkdream/rep/v1/params.js +37 -1
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17364 -17352
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/commons/v1/genesis.d.ts +114 -0
- package/sparkdream/commons/v1/genesis.js +129 -2
- package/sparkdream/rep/v1/initiative.d.ts +10 -0
- package/sparkdream/rep/v1/initiative.js +13 -1
- package/sparkdream/rep/v1/params.d.ts +36 -0
- package/sparkdream/rep/v1/params.js +37 -1
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/deployment/{v1beta3 → v1beta5}/service.d.ts +0 -0
- /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
package/akash/market/v1/lease.js
CHANGED
|
@@ -5,6 +5,7 @@ exports.lease_StateFromJSON = lease_StateFromJSON;
|
|
|
5
5
|
exports.lease_StateToJSON = lease_StateToJSON;
|
|
6
6
|
//@ts-nocheck
|
|
7
7
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
8
|
+
const reclamation_1 = require("./reclamation");
|
|
8
9
|
const binary_1 = require("../../../binary");
|
|
9
10
|
/** State is an enum which refers to state of lease. */
|
|
10
11
|
var Lease_State;
|
|
@@ -17,6 +18,8 @@ var Lease_State;
|
|
|
17
18
|
Lease_State[Lease_State["insufficient_funds"] = 2] = "insufficient_funds";
|
|
18
19
|
/** closed - LeaseClosed denotes state for lease closed. */
|
|
19
20
|
Lease_State[Lease_State["closed"] = 3] = "closed";
|
|
21
|
+
/** reclaiming - LeaseReclaiming denotes a lease in reclamation (grace period before closure). */
|
|
22
|
+
Lease_State[Lease_State["reclaiming"] = 4] = "reclaiming";
|
|
20
23
|
Lease_State[Lease_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
24
|
})(Lease_State || (exports.Lease_State = Lease_State = {}));
|
|
22
25
|
exports.Lease_StateAmino = Lease_State;
|
|
@@ -34,6 +37,9 @@ function lease_StateFromJSON(object) {
|
|
|
34
37
|
case 3:
|
|
35
38
|
case "closed":
|
|
36
39
|
return Lease_State.closed;
|
|
40
|
+
case 4:
|
|
41
|
+
case "reclaiming":
|
|
42
|
+
return Lease_State.reclaiming;
|
|
37
43
|
case -1:
|
|
38
44
|
case "UNRECOGNIZED":
|
|
39
45
|
default:
|
|
@@ -50,6 +56,8 @@ function lease_StateToJSON(object) {
|
|
|
50
56
|
return "insufficient_funds";
|
|
51
57
|
case Lease_State.closed:
|
|
52
58
|
return "closed";
|
|
59
|
+
case Lease_State.reclaiming:
|
|
60
|
+
return "reclaiming";
|
|
53
61
|
case Lease_State.UNRECOGNIZED:
|
|
54
62
|
default:
|
|
55
63
|
return "UNRECOGNIZED";
|
|
@@ -61,7 +69,8 @@ function createBaseLeaseID() {
|
|
|
61
69
|
dseq: BigInt(0),
|
|
62
70
|
gseq: 0,
|
|
63
71
|
oseq: 0,
|
|
64
|
-
provider: ""
|
|
72
|
+
provider: "",
|
|
73
|
+
bseq: 0
|
|
65
74
|
};
|
|
66
75
|
}
|
|
67
76
|
/**
|
|
@@ -88,6 +97,9 @@ exports.LeaseID = {
|
|
|
88
97
|
if (message.provider !== "") {
|
|
89
98
|
writer.uint32(42).string(message.provider);
|
|
90
99
|
}
|
|
100
|
+
if (message.bseq !== 0) {
|
|
101
|
+
writer.uint32(48).uint32(message.bseq);
|
|
102
|
+
}
|
|
91
103
|
return writer;
|
|
92
104
|
},
|
|
93
105
|
decode(input, length) {
|
|
@@ -112,6 +124,9 @@ exports.LeaseID = {
|
|
|
112
124
|
case 5:
|
|
113
125
|
message.provider = reader.string();
|
|
114
126
|
break;
|
|
127
|
+
case 6:
|
|
128
|
+
message.bseq = reader.uint32();
|
|
129
|
+
break;
|
|
115
130
|
default:
|
|
116
131
|
reader.skipType(tag & 7);
|
|
117
132
|
break;
|
|
@@ -126,6 +141,7 @@ exports.LeaseID = {
|
|
|
126
141
|
message.gseq = object.gseq ?? 0;
|
|
127
142
|
message.oseq = object.oseq ?? 0;
|
|
128
143
|
message.provider = object.provider ?? "";
|
|
144
|
+
message.bseq = object.bseq ?? 0;
|
|
129
145
|
return message;
|
|
130
146
|
},
|
|
131
147
|
fromAmino(object) {
|
|
@@ -145,6 +161,9 @@ exports.LeaseID = {
|
|
|
145
161
|
if (object.provider !== undefined && object.provider !== null) {
|
|
146
162
|
message.provider = object.provider;
|
|
147
163
|
}
|
|
164
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
165
|
+
message.bseq = object.bseq;
|
|
166
|
+
}
|
|
148
167
|
return message;
|
|
149
168
|
},
|
|
150
169
|
toAmino(message) {
|
|
@@ -154,6 +173,7 @@ exports.LeaseID = {
|
|
|
154
173
|
obj.gseq = message.gseq ?? 0;
|
|
155
174
|
obj.oseq = message.oseq ?? 0;
|
|
156
175
|
obj.provider = message.provider ?? "";
|
|
176
|
+
obj.bseq = message.bseq ?? 0;
|
|
157
177
|
return obj;
|
|
158
178
|
},
|
|
159
179
|
fromAminoMsg(object) {
|
|
@@ -178,7 +198,9 @@ function createBaseLease() {
|
|
|
178
198
|
state: 0,
|
|
179
199
|
price: coin_1.DecCoin.fromPartial({}),
|
|
180
200
|
createdAt: BigInt(0),
|
|
181
|
-
closedOn: BigInt(0)
|
|
201
|
+
closedOn: BigInt(0),
|
|
202
|
+
reason: 0,
|
|
203
|
+
reclamation: undefined
|
|
182
204
|
};
|
|
183
205
|
}
|
|
184
206
|
/**
|
|
@@ -208,6 +230,12 @@ exports.Lease = {
|
|
|
208
230
|
if (message.closedOn !== BigInt(0)) {
|
|
209
231
|
writer.uint32(40).int64(message.closedOn);
|
|
210
232
|
}
|
|
233
|
+
if (message.reason !== 0) {
|
|
234
|
+
writer.uint32(48).int32(message.reason);
|
|
235
|
+
}
|
|
236
|
+
if (message.reclamation !== undefined) {
|
|
237
|
+
reclamation_1.Reclamation.encode(message.reclamation, writer.uint32(58).fork()).ldelim();
|
|
238
|
+
}
|
|
211
239
|
return writer;
|
|
212
240
|
},
|
|
213
241
|
decode(input, length) {
|
|
@@ -232,6 +260,12 @@ exports.Lease = {
|
|
|
232
260
|
case 5:
|
|
233
261
|
message.closedOn = reader.int64();
|
|
234
262
|
break;
|
|
263
|
+
case 6:
|
|
264
|
+
message.reason = reader.int32();
|
|
265
|
+
break;
|
|
266
|
+
case 7:
|
|
267
|
+
message.reclamation = reclamation_1.Reclamation.decode(reader, reader.uint32());
|
|
268
|
+
break;
|
|
235
269
|
default:
|
|
236
270
|
reader.skipType(tag & 7);
|
|
237
271
|
break;
|
|
@@ -246,6 +280,8 @@ exports.Lease = {
|
|
|
246
280
|
message.price = object.price !== undefined && object.price !== null ? coin_1.DecCoin.fromPartial(object.price) : undefined;
|
|
247
281
|
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
248
282
|
message.closedOn = object.closedOn !== undefined && object.closedOn !== null ? BigInt(object.closedOn.toString()) : BigInt(0);
|
|
283
|
+
message.reason = object.reason ?? 0;
|
|
284
|
+
message.reclamation = object.reclamation !== undefined && object.reclamation !== null ? reclamation_1.Reclamation.fromPartial(object.reclamation) : undefined;
|
|
249
285
|
return message;
|
|
250
286
|
},
|
|
251
287
|
fromAmino(object) {
|
|
@@ -265,6 +301,12 @@ exports.Lease = {
|
|
|
265
301
|
if (object.closed_on !== undefined && object.closed_on !== null) {
|
|
266
302
|
message.closedOn = BigInt(object.closed_on);
|
|
267
303
|
}
|
|
304
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
305
|
+
message.reason = object.reason;
|
|
306
|
+
}
|
|
307
|
+
if (object.reclamation !== undefined && object.reclamation !== null) {
|
|
308
|
+
message.reclamation = reclamation_1.Reclamation.fromAmino(object.reclamation);
|
|
309
|
+
}
|
|
268
310
|
return message;
|
|
269
311
|
},
|
|
270
312
|
toAmino(message) {
|
|
@@ -274,6 +316,8 @@ exports.Lease = {
|
|
|
274
316
|
obj.price = message.price ? coin_1.DecCoin.toAmino(message.price) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
275
317
|
obj.created_at = message.createdAt ? message.createdAt?.toString() : "0";
|
|
276
318
|
obj.closed_on = message.closedOn ? message.closedOn?.toString() : "0";
|
|
319
|
+
obj.reason = message.reason ?? 0;
|
|
320
|
+
obj.reclamation = message.reclamation ? reclamation_1.Reclamation.toAmino(message.reclamation) : undefined;
|
|
277
321
|
return obj;
|
|
278
322
|
},
|
|
279
323
|
fromAminoMsg(object) {
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
2
|
+
import { LeaseClosedReason } from "./types";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* Reclamation defines the runtime reclamation state stored on a Lease.
|
|
7
|
+
* @name Reclamation
|
|
8
|
+
* @package akash.market.v1
|
|
9
|
+
* @see proto type: akash.market.v1.Reclamation
|
|
10
|
+
*/
|
|
11
|
+
export interface Reclamation {
|
|
12
|
+
/**
|
|
13
|
+
* window is the negotiated reclamation window duration (from the winning bid).
|
|
14
|
+
*/
|
|
15
|
+
window: Duration;
|
|
16
|
+
/**
|
|
17
|
+
* started_at is the block height at which reclamation was initiated.
|
|
18
|
+
* Zero means reclamation has not been started yet.
|
|
19
|
+
*/
|
|
20
|
+
startedAt: bigint;
|
|
21
|
+
/**
|
|
22
|
+
* deadline is the unix timestamp at which the reclamation window expires.
|
|
23
|
+
* Zero means reclamation has not been started yet.
|
|
24
|
+
*/
|
|
25
|
+
deadline: bigint;
|
|
26
|
+
/**
|
|
27
|
+
* reason is the provider's stated reason for reclamation.
|
|
28
|
+
*/
|
|
29
|
+
reason: LeaseClosedReason;
|
|
30
|
+
}
|
|
31
|
+
export interface ReclamationProtoMsg {
|
|
32
|
+
typeUrl: "/akash.market.v1.Reclamation";
|
|
33
|
+
value: Uint8Array;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Reclamation defines the runtime reclamation state stored on a Lease.
|
|
37
|
+
* @name ReclamationAmino
|
|
38
|
+
* @package akash.market.v1
|
|
39
|
+
* @see proto type: akash.market.v1.Reclamation
|
|
40
|
+
*/
|
|
41
|
+
export interface ReclamationAmino {
|
|
42
|
+
/**
|
|
43
|
+
* window is the negotiated reclamation window duration (from the winning bid).
|
|
44
|
+
*/
|
|
45
|
+
window: DurationAmino;
|
|
46
|
+
/**
|
|
47
|
+
* started_at is the block height at which reclamation was initiated.
|
|
48
|
+
* Zero means reclamation has not been started yet.
|
|
49
|
+
*/
|
|
50
|
+
started_at: string;
|
|
51
|
+
/**
|
|
52
|
+
* deadline is the unix timestamp at which the reclamation window expires.
|
|
53
|
+
* Zero means reclamation has not been started yet.
|
|
54
|
+
*/
|
|
55
|
+
deadline: string;
|
|
56
|
+
/**
|
|
57
|
+
* reason is the provider's stated reason for reclamation.
|
|
58
|
+
*/
|
|
59
|
+
reason: LeaseClosedReason;
|
|
60
|
+
}
|
|
61
|
+
export interface ReclamationAminoMsg {
|
|
62
|
+
type: "/akash.market.v1.Reclamation";
|
|
63
|
+
value: ReclamationAmino;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Reclamation defines the runtime reclamation state stored on a Lease.
|
|
67
|
+
* @name Reclamation
|
|
68
|
+
* @package akash.market.v1
|
|
69
|
+
* @see proto type: akash.market.v1.Reclamation
|
|
70
|
+
*/
|
|
71
|
+
export declare const Reclamation: {
|
|
72
|
+
typeUrl: string;
|
|
73
|
+
encode(message: Reclamation, writer?: BinaryWriter): BinaryWriter;
|
|
74
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Reclamation;
|
|
75
|
+
fromPartial(object: DeepPartial<Reclamation>): Reclamation;
|
|
76
|
+
fromAmino(object: ReclamationAmino): Reclamation;
|
|
77
|
+
toAmino(message: Reclamation): ReclamationAmino;
|
|
78
|
+
fromAminoMsg(object: ReclamationAminoMsg): Reclamation;
|
|
79
|
+
fromProtoMsg(message: ReclamationProtoMsg): Reclamation;
|
|
80
|
+
toProto(message: Reclamation): Uint8Array;
|
|
81
|
+
toProtoMsg(message: Reclamation): ReclamationProtoMsg;
|
|
82
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Reclamation = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const duration_1 = require("../../../google/protobuf/duration");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
function createBaseReclamation() {
|
|
8
|
+
return {
|
|
9
|
+
window: duration_1.Duration.fromPartial({}),
|
|
10
|
+
startedAt: BigInt(0),
|
|
11
|
+
deadline: BigInt(0),
|
|
12
|
+
reason: 0
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Reclamation defines the runtime reclamation state stored on a Lease.
|
|
17
|
+
* @name Reclamation
|
|
18
|
+
* @package akash.market.v1
|
|
19
|
+
* @see proto type: akash.market.v1.Reclamation
|
|
20
|
+
*/
|
|
21
|
+
exports.Reclamation = {
|
|
22
|
+
typeUrl: "/akash.market.v1.Reclamation",
|
|
23
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
24
|
+
if (message.window !== undefined) {
|
|
25
|
+
duration_1.Duration.encode(message.window, writer.uint32(10).fork()).ldelim();
|
|
26
|
+
}
|
|
27
|
+
if (message.startedAt !== BigInt(0)) {
|
|
28
|
+
writer.uint32(16).int64(message.startedAt);
|
|
29
|
+
}
|
|
30
|
+
if (message.deadline !== BigInt(0)) {
|
|
31
|
+
writer.uint32(24).int64(message.deadline);
|
|
32
|
+
}
|
|
33
|
+
if (message.reason !== 0) {
|
|
34
|
+
writer.uint32(32).int32(message.reason);
|
|
35
|
+
}
|
|
36
|
+
return writer;
|
|
37
|
+
},
|
|
38
|
+
decode(input, length) {
|
|
39
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
40
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
41
|
+
const message = createBaseReclamation();
|
|
42
|
+
while (reader.pos < end) {
|
|
43
|
+
const tag = reader.uint32();
|
|
44
|
+
switch (tag >>> 3) {
|
|
45
|
+
case 1:
|
|
46
|
+
message.window = duration_1.Duration.decode(reader, reader.uint32());
|
|
47
|
+
break;
|
|
48
|
+
case 2:
|
|
49
|
+
message.startedAt = reader.int64();
|
|
50
|
+
break;
|
|
51
|
+
case 3:
|
|
52
|
+
message.deadline = reader.int64();
|
|
53
|
+
break;
|
|
54
|
+
case 4:
|
|
55
|
+
message.reason = reader.int32();
|
|
56
|
+
break;
|
|
57
|
+
default:
|
|
58
|
+
reader.skipType(tag & 7);
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
fromPartial(object) {
|
|
65
|
+
const message = createBaseReclamation();
|
|
66
|
+
message.window = object.window !== undefined && object.window !== null ? duration_1.Duration.fromPartial(object.window) : undefined;
|
|
67
|
+
message.startedAt = object.startedAt !== undefined && object.startedAt !== null ? BigInt(object.startedAt.toString()) : BigInt(0);
|
|
68
|
+
message.deadline = object.deadline !== undefined && object.deadline !== null ? BigInt(object.deadline.toString()) : BigInt(0);
|
|
69
|
+
message.reason = object.reason ?? 0;
|
|
70
|
+
return message;
|
|
71
|
+
},
|
|
72
|
+
fromAmino(object) {
|
|
73
|
+
const message = createBaseReclamation();
|
|
74
|
+
if (object.window !== undefined && object.window !== null) {
|
|
75
|
+
message.window = duration_1.Duration.fromAmino(object.window);
|
|
76
|
+
}
|
|
77
|
+
if (object.started_at !== undefined && object.started_at !== null) {
|
|
78
|
+
message.startedAt = BigInt(object.started_at);
|
|
79
|
+
}
|
|
80
|
+
if (object.deadline !== undefined && object.deadline !== null) {
|
|
81
|
+
message.deadline = BigInt(object.deadline);
|
|
82
|
+
}
|
|
83
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
84
|
+
message.reason = object.reason;
|
|
85
|
+
}
|
|
86
|
+
return message;
|
|
87
|
+
},
|
|
88
|
+
toAmino(message) {
|
|
89
|
+
const obj = {};
|
|
90
|
+
obj.window = message.window ? duration_1.Duration.toAmino(message.window) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
91
|
+
obj.started_at = message.startedAt ? message.startedAt?.toString() : "0";
|
|
92
|
+
obj.deadline = message.deadline ? message.deadline?.toString() : "0";
|
|
93
|
+
obj.reason = message.reason ?? 0;
|
|
94
|
+
return obj;
|
|
95
|
+
},
|
|
96
|
+
fromAminoMsg(object) {
|
|
97
|
+
return exports.Reclamation.fromAmino(object.value);
|
|
98
|
+
},
|
|
99
|
+
fromProtoMsg(message) {
|
|
100
|
+
return exports.Reclamation.decode(message.value);
|
|
101
|
+
},
|
|
102
|
+
toProto(message) {
|
|
103
|
+
return exports.Reclamation.encode(message).finish();
|
|
104
|
+
},
|
|
105
|
+
toProtoMsg(message) {
|
|
106
|
+
return {
|
|
107
|
+
typeUrl: "/akash.market.v1.Reclamation",
|
|
108
|
+
value: exports.Reclamation.encode(message).finish()
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/** LeaseClosedReason indicates reason bid was closed */
|
|
2
|
+
export declare enum LeaseClosedReason {
|
|
3
|
+
/**
|
|
4
|
+
* lease_closed_invalid - LeaseClosedReasonInvalid represents the default zero value for LeaseClosedReason.
|
|
5
|
+
* This value indicates an uninitialized or invalid lease closure reason and should not
|
|
6
|
+
* be used
|
|
7
|
+
*/
|
|
8
|
+
lease_closed_invalid = 0,
|
|
9
|
+
/** lease_closed_owner - values between 1..9999 indicate owner‑initiated close */
|
|
10
|
+
lease_closed_owner = 1,
|
|
11
|
+
/**
|
|
12
|
+
* lease_closed_reason_unstable - values between 10000..19999 are indicating provider initiated close
|
|
13
|
+
* lease_closed_reason_unstable lease workloads have been unstable
|
|
14
|
+
*/
|
|
15
|
+
lease_closed_reason_unstable = 10000,
|
|
16
|
+
/** lease_closed_reason_decommission - lease_closed_reason_decommission provider is being decommissioned */
|
|
17
|
+
lease_closed_reason_decommission = 10001,
|
|
18
|
+
/** lease_closed_reason_unspecified - lease_closed_reason_unspecified provider did not specify reason */
|
|
19
|
+
lease_closed_reason_unspecified = 10002,
|
|
20
|
+
/** lease_closed_reason_manifest_timeout - lease_closed_reason_manifest_timeout provider closed leases due to manifest not received */
|
|
21
|
+
lease_closed_reason_manifest_timeout = 10003,
|
|
22
|
+
/** lease_closed_reason_insufficient_funds - values between 20000..29999 indicate network‑initiated close */
|
|
23
|
+
lease_closed_reason_insufficient_funds = 20000,
|
|
24
|
+
UNRECOGNIZED = -1
|
|
25
|
+
}
|
|
26
|
+
export declare const LeaseClosedReasonAmino: typeof LeaseClosedReason;
|
|
27
|
+
export declare function leaseClosedReasonFromJSON(object: any): LeaseClosedReason;
|
|
28
|
+
export declare function leaseClosedReasonToJSON(object: LeaseClosedReason): string;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LeaseClosedReasonAmino = exports.LeaseClosedReason = void 0;
|
|
4
|
+
exports.leaseClosedReasonFromJSON = leaseClosedReasonFromJSON;
|
|
5
|
+
exports.leaseClosedReasonToJSON = leaseClosedReasonToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
/** LeaseClosedReason indicates reason bid was closed */
|
|
8
|
+
var LeaseClosedReason;
|
|
9
|
+
(function (LeaseClosedReason) {
|
|
10
|
+
/**
|
|
11
|
+
* lease_closed_invalid - LeaseClosedReasonInvalid represents the default zero value for LeaseClosedReason.
|
|
12
|
+
* This value indicates an uninitialized or invalid lease closure reason and should not
|
|
13
|
+
* be used
|
|
14
|
+
*/
|
|
15
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_invalid"] = 0] = "lease_closed_invalid";
|
|
16
|
+
/** lease_closed_owner - values between 1..9999 indicate owner‑initiated close */
|
|
17
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_owner"] = 1] = "lease_closed_owner";
|
|
18
|
+
/**
|
|
19
|
+
* lease_closed_reason_unstable - values between 10000..19999 are indicating provider initiated close
|
|
20
|
+
* lease_closed_reason_unstable lease workloads have been unstable
|
|
21
|
+
*/
|
|
22
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_unstable"] = 10000] = "lease_closed_reason_unstable";
|
|
23
|
+
/** lease_closed_reason_decommission - lease_closed_reason_decommission provider is being decommissioned */
|
|
24
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_decommission"] = 10001] = "lease_closed_reason_decommission";
|
|
25
|
+
/** lease_closed_reason_unspecified - lease_closed_reason_unspecified provider did not specify reason */
|
|
26
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_unspecified"] = 10002] = "lease_closed_reason_unspecified";
|
|
27
|
+
/** lease_closed_reason_manifest_timeout - lease_closed_reason_manifest_timeout provider closed leases due to manifest not received */
|
|
28
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_manifest_timeout"] = 10003] = "lease_closed_reason_manifest_timeout";
|
|
29
|
+
/** lease_closed_reason_insufficient_funds - values between 20000..29999 indicate network‑initiated close */
|
|
30
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_insufficient_funds"] = 20000] = "lease_closed_reason_insufficient_funds";
|
|
31
|
+
LeaseClosedReason[LeaseClosedReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
32
|
+
})(LeaseClosedReason || (exports.LeaseClosedReason = LeaseClosedReason = {}));
|
|
33
|
+
exports.LeaseClosedReasonAmino = LeaseClosedReason;
|
|
34
|
+
function leaseClosedReasonFromJSON(object) {
|
|
35
|
+
switch (object) {
|
|
36
|
+
case 0:
|
|
37
|
+
case "lease_closed_invalid":
|
|
38
|
+
return LeaseClosedReason.lease_closed_invalid;
|
|
39
|
+
case 1:
|
|
40
|
+
case "lease_closed_owner":
|
|
41
|
+
return LeaseClosedReason.lease_closed_owner;
|
|
42
|
+
case 10000:
|
|
43
|
+
case "lease_closed_reason_unstable":
|
|
44
|
+
return LeaseClosedReason.lease_closed_reason_unstable;
|
|
45
|
+
case 10001:
|
|
46
|
+
case "lease_closed_reason_decommission":
|
|
47
|
+
return LeaseClosedReason.lease_closed_reason_decommission;
|
|
48
|
+
case 10002:
|
|
49
|
+
case "lease_closed_reason_unspecified":
|
|
50
|
+
return LeaseClosedReason.lease_closed_reason_unspecified;
|
|
51
|
+
case 10003:
|
|
52
|
+
case "lease_closed_reason_manifest_timeout":
|
|
53
|
+
return LeaseClosedReason.lease_closed_reason_manifest_timeout;
|
|
54
|
+
case 20000:
|
|
55
|
+
case "lease_closed_reason_insufficient_funds":
|
|
56
|
+
return LeaseClosedReason.lease_closed_reason_insufficient_funds;
|
|
57
|
+
case -1:
|
|
58
|
+
case "UNRECOGNIZED":
|
|
59
|
+
default:
|
|
60
|
+
return LeaseClosedReason.UNRECOGNIZED;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function leaseClosedReasonToJSON(object) {
|
|
64
|
+
switch (object) {
|
|
65
|
+
case LeaseClosedReason.lease_closed_invalid:
|
|
66
|
+
return "lease_closed_invalid";
|
|
67
|
+
case LeaseClosedReason.lease_closed_owner:
|
|
68
|
+
return "lease_closed_owner";
|
|
69
|
+
case LeaseClosedReason.lease_closed_reason_unstable:
|
|
70
|
+
return "lease_closed_reason_unstable";
|
|
71
|
+
case LeaseClosedReason.lease_closed_reason_decommission:
|
|
72
|
+
return "lease_closed_reason_decommission";
|
|
73
|
+
case LeaseClosedReason.lease_closed_reason_unspecified:
|
|
74
|
+
return "lease_closed_reason_unspecified";
|
|
75
|
+
case LeaseClosedReason.lease_closed_reason_manifest_timeout:
|
|
76
|
+
return "lease_closed_reason_manifest_timeout";
|
|
77
|
+
case LeaseClosedReason.lease_closed_reason_insufficient_funds:
|
|
78
|
+
return "lease_closed_reason_insufficient_funds";
|
|
79
|
+
case LeaseClosedReason.UNRECOGNIZED:
|
|
80
|
+
default:
|
|
81
|
+
return "UNRECOGNIZED";
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BidID, BidIDAmino } from "../v1/bid";
|
|
2
2
|
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
3
|
import { ResourceOffer, ResourceOfferAmino } from "./resourcesoffer";
|
|
4
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
4
5
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
6
|
import { DeepPartial } from "../../../helpers";
|
|
6
7
|
/** BidState is an enum which refers to state of bid. */
|
|
@@ -48,6 +49,10 @@ export interface Bid {
|
|
|
48
49
|
* ResourceOffer is a list of offers.
|
|
49
50
|
*/
|
|
50
51
|
resourcesOffer: ResourceOffer[];
|
|
52
|
+
/**
|
|
53
|
+
* reclamation_window is the reclamation window offered by this provider.
|
|
54
|
+
*/
|
|
55
|
+
reclamationWindow?: Duration;
|
|
51
56
|
}
|
|
52
57
|
export interface BidProtoMsg {
|
|
53
58
|
typeUrl: "/akash.market.v1beta5.Bid";
|
|
@@ -81,6 +86,10 @@ export interface BidAmino {
|
|
|
81
86
|
* ResourceOffer is a list of offers.
|
|
82
87
|
*/
|
|
83
88
|
resources_offer: ResourceOfferAmino[];
|
|
89
|
+
/**
|
|
90
|
+
* reclamation_window is the reclamation window offered by this provider.
|
|
91
|
+
*/
|
|
92
|
+
reclamation_window?: DurationAmino;
|
|
84
93
|
}
|
|
85
94
|
export interface BidAminoMsg {
|
|
86
95
|
type: "/akash.market.v1beta5.Bid";
|
|
@@ -7,6 +7,7 @@ exports.bid_StateToJSON = bid_StateToJSON;
|
|
|
7
7
|
const bid_1 = require("../v1/bid");
|
|
8
8
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
9
9
|
const resourcesoffer_1 = require("./resourcesoffer");
|
|
10
|
+
const duration_1 = require("../../../google/protobuf/duration");
|
|
10
11
|
const binary_1 = require("../../../binary");
|
|
11
12
|
/** BidState is an enum which refers to state of bid. */
|
|
12
13
|
var Bid_State;
|
|
@@ -70,7 +71,8 @@ function createBaseBid() {
|
|
|
70
71
|
state: 0,
|
|
71
72
|
price: coin_1.DecCoin.fromPartial({}),
|
|
72
73
|
createdAt: BigInt(0),
|
|
73
|
-
resourcesOffer: []
|
|
74
|
+
resourcesOffer: [],
|
|
75
|
+
reclamationWindow: undefined
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
/**
|
|
@@ -97,6 +99,9 @@ exports.Bid = {
|
|
|
97
99
|
for (const v of message.resourcesOffer) {
|
|
98
100
|
resourcesoffer_1.ResourceOffer.encode(v, writer.uint32(42).fork()).ldelim();
|
|
99
101
|
}
|
|
102
|
+
if (message.reclamationWindow !== undefined) {
|
|
103
|
+
duration_1.Duration.encode(message.reclamationWindow, writer.uint32(50).fork()).ldelim();
|
|
104
|
+
}
|
|
100
105
|
return writer;
|
|
101
106
|
},
|
|
102
107
|
decode(input, length) {
|
|
@@ -121,6 +126,9 @@ exports.Bid = {
|
|
|
121
126
|
case 5:
|
|
122
127
|
message.resourcesOffer.push(resourcesoffer_1.ResourceOffer.decode(reader, reader.uint32()));
|
|
123
128
|
break;
|
|
129
|
+
case 6:
|
|
130
|
+
message.reclamationWindow = duration_1.Duration.decode(reader, reader.uint32());
|
|
131
|
+
break;
|
|
124
132
|
default:
|
|
125
133
|
reader.skipType(tag & 7);
|
|
126
134
|
break;
|
|
@@ -135,6 +143,7 @@ exports.Bid = {
|
|
|
135
143
|
message.price = object.price !== undefined && object.price !== null ? coin_1.DecCoin.fromPartial(object.price) : undefined;
|
|
136
144
|
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
137
145
|
message.resourcesOffer = object.resourcesOffer?.map(e => resourcesoffer_1.ResourceOffer.fromPartial(e)) || [];
|
|
146
|
+
message.reclamationWindow = object.reclamationWindow !== undefined && object.reclamationWindow !== null ? duration_1.Duration.fromPartial(object.reclamationWindow) : undefined;
|
|
138
147
|
return message;
|
|
139
148
|
},
|
|
140
149
|
fromAmino(object) {
|
|
@@ -152,6 +161,9 @@ exports.Bid = {
|
|
|
152
161
|
message.createdAt = BigInt(object.created_at);
|
|
153
162
|
}
|
|
154
163
|
message.resourcesOffer = object.resources_offer?.map(e => resourcesoffer_1.ResourceOffer.fromAmino(e)) || [];
|
|
164
|
+
if (object.reclamation_window !== undefined && object.reclamation_window !== null) {
|
|
165
|
+
message.reclamationWindow = duration_1.Duration.fromAmino(object.reclamation_window);
|
|
166
|
+
}
|
|
155
167
|
return message;
|
|
156
168
|
},
|
|
157
169
|
toAmino(message) {
|
|
@@ -166,6 +178,7 @@ exports.Bid = {
|
|
|
166
178
|
else {
|
|
167
179
|
obj.resources_offer = message.resourcesOffer;
|
|
168
180
|
}
|
|
181
|
+
obj.reclamation_window = message.reclamationWindow ? duration_1.Duration.toAmino(message.reclamationWindow) : undefined;
|
|
169
182
|
return obj;
|
|
170
183
|
},
|
|
171
184
|
fromAminoMsg(object) {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { OrderID, OrderIDAmino } from "../v1/order";
|
|
2
|
-
import { DecCoin, DecCoinAmino, Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
-
import { ResourceOffer, ResourceOfferAmino } from "./resourcesoffer";
|
|
4
1
|
import { BidID, BidIDAmino } from "../v1/bid";
|
|
2
|
+
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Deposit, DepositAmino } from "../../base/deposit/v1/deposit";
|
|
4
|
+
import { ResourceOffer, ResourceOfferAmino } from "./resourcesoffer";
|
|
5
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
6
|
+
import { LeaseClosedReason } from "../v1/types";
|
|
5
7
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
8
|
import { DeepPartial } from "../../../helpers";
|
|
7
9
|
/**
|
|
@@ -11,18 +13,7 @@ import { DeepPartial } from "../../../helpers";
|
|
|
11
13
|
* @see proto type: akash.market.v1beta5.MsgCreateBid
|
|
12
14
|
*/
|
|
13
15
|
export interface MsgCreateBid {
|
|
14
|
-
|
|
15
|
-
* OrderId is the unique identifier for the order.
|
|
16
|
-
*/
|
|
17
|
-
orderId: OrderID;
|
|
18
|
-
/**
|
|
19
|
-
* Provider is the account bech32 address of the provider making the bid.
|
|
20
|
-
* It is a string representing a valid account bech32 address.
|
|
21
|
-
*
|
|
22
|
-
* Example:
|
|
23
|
-
* "akash1..."
|
|
24
|
-
*/
|
|
25
|
-
provider: string;
|
|
16
|
+
id: BidID;
|
|
26
17
|
/**
|
|
27
18
|
* Price holds the pricing stated on the Bid.
|
|
28
19
|
*/
|
|
@@ -30,11 +21,17 @@ export interface MsgCreateBid {
|
|
|
30
21
|
/**
|
|
31
22
|
* Deposit holds the amount of coins to deposit.
|
|
32
23
|
*/
|
|
33
|
-
deposit:
|
|
24
|
+
deposit: Deposit;
|
|
34
25
|
/**
|
|
35
26
|
* ResourceOffer is a list of resource offers.
|
|
36
27
|
*/
|
|
37
28
|
resourcesOffer: ResourceOffer[];
|
|
29
|
+
/**
|
|
30
|
+
* reclamation_window is the reclamation window duration the provider offers.
|
|
31
|
+
* If the order requires reclamation, this must be >= the order's min_window.
|
|
32
|
+
* Nil means the provider does not offer reclamation on this bid.
|
|
33
|
+
*/
|
|
34
|
+
reclamationWindow?: Duration;
|
|
38
35
|
}
|
|
39
36
|
export interface MsgCreateBidProtoMsg {
|
|
40
37
|
typeUrl: "/akash.market.v1beta5.MsgCreateBid";
|
|
@@ -47,18 +44,7 @@ export interface MsgCreateBidProtoMsg {
|
|
|
47
44
|
* @see proto type: akash.market.v1beta5.MsgCreateBid
|
|
48
45
|
*/
|
|
49
46
|
export interface MsgCreateBidAmino {
|
|
50
|
-
|
|
51
|
-
* OrderId is the unique identifier for the order.
|
|
52
|
-
*/
|
|
53
|
-
order_id: OrderIDAmino;
|
|
54
|
-
/**
|
|
55
|
-
* Provider is the account bech32 address of the provider making the bid.
|
|
56
|
-
* It is a string representing a valid account bech32 address.
|
|
57
|
-
*
|
|
58
|
-
* Example:
|
|
59
|
-
* "akash1..."
|
|
60
|
-
*/
|
|
61
|
-
provider: string;
|
|
47
|
+
id: BidIDAmino;
|
|
62
48
|
/**
|
|
63
49
|
* Price holds the pricing stated on the Bid.
|
|
64
50
|
*/
|
|
@@ -66,11 +52,17 @@ export interface MsgCreateBidAmino {
|
|
|
66
52
|
/**
|
|
67
53
|
* Deposit holds the amount of coins to deposit.
|
|
68
54
|
*/
|
|
69
|
-
deposit:
|
|
55
|
+
deposit: DepositAmino;
|
|
70
56
|
/**
|
|
71
57
|
* ResourceOffer is a list of resource offers.
|
|
72
58
|
*/
|
|
73
59
|
resources_offer: ResourceOfferAmino[];
|
|
60
|
+
/**
|
|
61
|
+
* reclamation_window is the reclamation window duration the provider offers.
|
|
62
|
+
* If the order requires reclamation, this must be >= the order's min_window.
|
|
63
|
+
* Nil means the provider does not offer reclamation on this bid.
|
|
64
|
+
*/
|
|
65
|
+
reclamation_window?: DurationAmino;
|
|
74
66
|
}
|
|
75
67
|
export interface MsgCreateBidAminoMsg {
|
|
76
68
|
type: "/akash.market.v1beta5.MsgCreateBid";
|
|
@@ -111,6 +103,7 @@ export interface MsgCloseBid {
|
|
|
111
103
|
* Id is the unique identifier of the Bid.
|
|
112
104
|
*/
|
|
113
105
|
id: BidID;
|
|
106
|
+
reason: LeaseClosedReason;
|
|
114
107
|
}
|
|
115
108
|
export interface MsgCloseBidProtoMsg {
|
|
116
109
|
typeUrl: "/akash.market.v1beta5.MsgCloseBid";
|
|
@@ -127,6 +120,7 @@ export interface MsgCloseBidAmino {
|
|
|
127
120
|
* Id is the unique identifier of the Bid.
|
|
128
121
|
*/
|
|
129
122
|
id: BidIDAmino;
|
|
123
|
+
reason: LeaseClosedReason;
|
|
130
124
|
}
|
|
131
125
|
export interface MsgCloseBidAminoMsg {
|
|
132
126
|
type: "/akash.market.v1beta5.MsgCloseBid";
|