@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
|
@@ -7,7 +7,8 @@ function createBaseLeaseFilters() {
|
|
|
7
7
|
gseq: 0,
|
|
8
8
|
oseq: 0,
|
|
9
9
|
provider: "",
|
|
10
|
-
state: ""
|
|
10
|
+
state: "",
|
|
11
|
+
bseq: 0
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
@@ -37,6 +38,9 @@ export const LeaseFilters = {
|
|
|
37
38
|
if (message.state !== "") {
|
|
38
39
|
writer.uint32(50).string(message.state);
|
|
39
40
|
}
|
|
41
|
+
if (message.bseq !== 0) {
|
|
42
|
+
writer.uint32(56).uint32(message.bseq);
|
|
43
|
+
}
|
|
40
44
|
return writer;
|
|
41
45
|
},
|
|
42
46
|
decode(input, length) {
|
|
@@ -64,6 +68,9 @@ export const LeaseFilters = {
|
|
|
64
68
|
case 6:
|
|
65
69
|
message.state = reader.string();
|
|
66
70
|
break;
|
|
71
|
+
case 7:
|
|
72
|
+
message.bseq = reader.uint32();
|
|
73
|
+
break;
|
|
67
74
|
default:
|
|
68
75
|
reader.skipType(tag & 7);
|
|
69
76
|
break;
|
|
@@ -79,6 +86,7 @@ export const LeaseFilters = {
|
|
|
79
86
|
message.oseq = object.oseq ?? 0;
|
|
80
87
|
message.provider = object.provider ?? "";
|
|
81
88
|
message.state = object.state ?? "";
|
|
89
|
+
message.bseq = object.bseq ?? 0;
|
|
82
90
|
return message;
|
|
83
91
|
},
|
|
84
92
|
fromAmino(object) {
|
|
@@ -101,6 +109,9 @@ export const LeaseFilters = {
|
|
|
101
109
|
if (object.state !== undefined && object.state !== null) {
|
|
102
110
|
message.state = object.state;
|
|
103
111
|
}
|
|
112
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
113
|
+
message.bseq = object.bseq;
|
|
114
|
+
}
|
|
104
115
|
return message;
|
|
105
116
|
},
|
|
106
117
|
toAmino(message) {
|
|
@@ -111,6 +122,7 @@ export const LeaseFilters = {
|
|
|
111
122
|
obj.oseq = message.oseq ?? 0;
|
|
112
123
|
obj.provider = message.provider ?? "";
|
|
113
124
|
obj.state = message.state ?? "";
|
|
125
|
+
obj.bseq = message.bseq ?? 0;
|
|
114
126
|
return obj;
|
|
115
127
|
},
|
|
116
128
|
fromAminoMsg(object) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Reclamation } from "./reclamation";
|
|
3
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
5
|
/** State is an enum which refers to state of lease. */
|
|
5
6
|
export var Lease_State;
|
|
@@ -12,6 +13,8 @@ export var Lease_State;
|
|
|
12
13
|
Lease_State[Lease_State["insufficient_funds"] = 2] = "insufficient_funds";
|
|
13
14
|
/** closed - LeaseClosed denotes state for lease closed. */
|
|
14
15
|
Lease_State[Lease_State["closed"] = 3] = "closed";
|
|
16
|
+
/** reclaiming - LeaseReclaiming denotes a lease in reclamation (grace period before closure). */
|
|
17
|
+
Lease_State[Lease_State["reclaiming"] = 4] = "reclaiming";
|
|
15
18
|
Lease_State[Lease_State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
16
19
|
})(Lease_State || (Lease_State = {}));
|
|
17
20
|
export const Lease_StateAmino = Lease_State;
|
|
@@ -29,6 +32,9 @@ export function lease_StateFromJSON(object) {
|
|
|
29
32
|
case 3:
|
|
30
33
|
case "closed":
|
|
31
34
|
return Lease_State.closed;
|
|
35
|
+
case 4:
|
|
36
|
+
case "reclaiming":
|
|
37
|
+
return Lease_State.reclaiming;
|
|
32
38
|
case -1:
|
|
33
39
|
case "UNRECOGNIZED":
|
|
34
40
|
default:
|
|
@@ -45,6 +51,8 @@ export function lease_StateToJSON(object) {
|
|
|
45
51
|
return "insufficient_funds";
|
|
46
52
|
case Lease_State.closed:
|
|
47
53
|
return "closed";
|
|
54
|
+
case Lease_State.reclaiming:
|
|
55
|
+
return "reclaiming";
|
|
48
56
|
case Lease_State.UNRECOGNIZED:
|
|
49
57
|
default:
|
|
50
58
|
return "UNRECOGNIZED";
|
|
@@ -56,7 +64,8 @@ function createBaseLeaseID() {
|
|
|
56
64
|
dseq: BigInt(0),
|
|
57
65
|
gseq: 0,
|
|
58
66
|
oseq: 0,
|
|
59
|
-
provider: ""
|
|
67
|
+
provider: "",
|
|
68
|
+
bseq: 0
|
|
60
69
|
};
|
|
61
70
|
}
|
|
62
71
|
/**
|
|
@@ -83,6 +92,9 @@ export const LeaseID = {
|
|
|
83
92
|
if (message.provider !== "") {
|
|
84
93
|
writer.uint32(42).string(message.provider);
|
|
85
94
|
}
|
|
95
|
+
if (message.bseq !== 0) {
|
|
96
|
+
writer.uint32(48).uint32(message.bseq);
|
|
97
|
+
}
|
|
86
98
|
return writer;
|
|
87
99
|
},
|
|
88
100
|
decode(input, length) {
|
|
@@ -107,6 +119,9 @@ export const LeaseID = {
|
|
|
107
119
|
case 5:
|
|
108
120
|
message.provider = reader.string();
|
|
109
121
|
break;
|
|
122
|
+
case 6:
|
|
123
|
+
message.bseq = reader.uint32();
|
|
124
|
+
break;
|
|
110
125
|
default:
|
|
111
126
|
reader.skipType(tag & 7);
|
|
112
127
|
break;
|
|
@@ -121,6 +136,7 @@ export const LeaseID = {
|
|
|
121
136
|
message.gseq = object.gseq ?? 0;
|
|
122
137
|
message.oseq = object.oseq ?? 0;
|
|
123
138
|
message.provider = object.provider ?? "";
|
|
139
|
+
message.bseq = object.bseq ?? 0;
|
|
124
140
|
return message;
|
|
125
141
|
},
|
|
126
142
|
fromAmino(object) {
|
|
@@ -140,6 +156,9 @@ export const LeaseID = {
|
|
|
140
156
|
if (object.provider !== undefined && object.provider !== null) {
|
|
141
157
|
message.provider = object.provider;
|
|
142
158
|
}
|
|
159
|
+
if (object.bseq !== undefined && object.bseq !== null) {
|
|
160
|
+
message.bseq = object.bseq;
|
|
161
|
+
}
|
|
143
162
|
return message;
|
|
144
163
|
},
|
|
145
164
|
toAmino(message) {
|
|
@@ -149,6 +168,7 @@ export const LeaseID = {
|
|
|
149
168
|
obj.gseq = message.gseq ?? 0;
|
|
150
169
|
obj.oseq = message.oseq ?? 0;
|
|
151
170
|
obj.provider = message.provider ?? "";
|
|
171
|
+
obj.bseq = message.bseq ?? 0;
|
|
152
172
|
return obj;
|
|
153
173
|
},
|
|
154
174
|
fromAminoMsg(object) {
|
|
@@ -173,7 +193,9 @@ function createBaseLease() {
|
|
|
173
193
|
state: 0,
|
|
174
194
|
price: DecCoin.fromPartial({}),
|
|
175
195
|
createdAt: BigInt(0),
|
|
176
|
-
closedOn: BigInt(0)
|
|
196
|
+
closedOn: BigInt(0),
|
|
197
|
+
reason: 0,
|
|
198
|
+
reclamation: undefined
|
|
177
199
|
};
|
|
178
200
|
}
|
|
179
201
|
/**
|
|
@@ -203,6 +225,12 @@ export const Lease = {
|
|
|
203
225
|
if (message.closedOn !== BigInt(0)) {
|
|
204
226
|
writer.uint32(40).int64(message.closedOn);
|
|
205
227
|
}
|
|
228
|
+
if (message.reason !== 0) {
|
|
229
|
+
writer.uint32(48).int32(message.reason);
|
|
230
|
+
}
|
|
231
|
+
if (message.reclamation !== undefined) {
|
|
232
|
+
Reclamation.encode(message.reclamation, writer.uint32(58).fork()).ldelim();
|
|
233
|
+
}
|
|
206
234
|
return writer;
|
|
207
235
|
},
|
|
208
236
|
decode(input, length) {
|
|
@@ -227,6 +255,12 @@ export const Lease = {
|
|
|
227
255
|
case 5:
|
|
228
256
|
message.closedOn = reader.int64();
|
|
229
257
|
break;
|
|
258
|
+
case 6:
|
|
259
|
+
message.reason = reader.int32();
|
|
260
|
+
break;
|
|
261
|
+
case 7:
|
|
262
|
+
message.reclamation = Reclamation.decode(reader, reader.uint32());
|
|
263
|
+
break;
|
|
230
264
|
default:
|
|
231
265
|
reader.skipType(tag & 7);
|
|
232
266
|
break;
|
|
@@ -241,6 +275,8 @@ export const Lease = {
|
|
|
241
275
|
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
242
276
|
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
243
277
|
message.closedOn = object.closedOn !== undefined && object.closedOn !== null ? BigInt(object.closedOn.toString()) : BigInt(0);
|
|
278
|
+
message.reason = object.reason ?? 0;
|
|
279
|
+
message.reclamation = object.reclamation !== undefined && object.reclamation !== null ? Reclamation.fromPartial(object.reclamation) : undefined;
|
|
244
280
|
return message;
|
|
245
281
|
},
|
|
246
282
|
fromAmino(object) {
|
|
@@ -260,6 +296,12 @@ export const Lease = {
|
|
|
260
296
|
if (object.closed_on !== undefined && object.closed_on !== null) {
|
|
261
297
|
message.closedOn = BigInt(object.closed_on);
|
|
262
298
|
}
|
|
299
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
300
|
+
message.reason = object.reason;
|
|
301
|
+
}
|
|
302
|
+
if (object.reclamation !== undefined && object.reclamation !== null) {
|
|
303
|
+
message.reclamation = Reclamation.fromAmino(object.reclamation);
|
|
304
|
+
}
|
|
263
305
|
return message;
|
|
264
306
|
},
|
|
265
307
|
toAmino(message) {
|
|
@@ -269,6 +311,8 @@ export const Lease = {
|
|
|
269
311
|
obj.price = message.price ? DecCoin.toAmino(message.price) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
270
312
|
obj.created_at = message.createdAt ? message.createdAt?.toString() : "0";
|
|
271
313
|
obj.closed_on = message.closedOn ? message.closedOn?.toString() : "0";
|
|
314
|
+
obj.reason = message.reason ?? 0;
|
|
315
|
+
obj.reclamation = message.reclamation ? Reclamation.toAmino(message.reclamation) : undefined;
|
|
272
316
|
return obj;
|
|
273
317
|
},
|
|
274
318
|
fromAminoMsg(object) {
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Duration } from "../../../google/protobuf/duration";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseReclamation() {
|
|
5
|
+
return {
|
|
6
|
+
window: Duration.fromPartial({}),
|
|
7
|
+
startedAt: BigInt(0),
|
|
8
|
+
deadline: BigInt(0),
|
|
9
|
+
reason: 0
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Reclamation defines the runtime reclamation state stored on a Lease.
|
|
14
|
+
* @name Reclamation
|
|
15
|
+
* @package akash.market.v1
|
|
16
|
+
* @see proto type: akash.market.v1.Reclamation
|
|
17
|
+
*/
|
|
18
|
+
export const Reclamation = {
|
|
19
|
+
typeUrl: "/akash.market.v1.Reclamation",
|
|
20
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
21
|
+
if (message.window !== undefined) {
|
|
22
|
+
Duration.encode(message.window, writer.uint32(10).fork()).ldelim();
|
|
23
|
+
}
|
|
24
|
+
if (message.startedAt !== BigInt(0)) {
|
|
25
|
+
writer.uint32(16).int64(message.startedAt);
|
|
26
|
+
}
|
|
27
|
+
if (message.deadline !== BigInt(0)) {
|
|
28
|
+
writer.uint32(24).int64(message.deadline);
|
|
29
|
+
}
|
|
30
|
+
if (message.reason !== 0) {
|
|
31
|
+
writer.uint32(32).int32(message.reason);
|
|
32
|
+
}
|
|
33
|
+
return writer;
|
|
34
|
+
},
|
|
35
|
+
decode(input, length) {
|
|
36
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBaseReclamation();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
message.window = Duration.decode(reader, reader.uint32());
|
|
44
|
+
break;
|
|
45
|
+
case 2:
|
|
46
|
+
message.startedAt = reader.int64();
|
|
47
|
+
break;
|
|
48
|
+
case 3:
|
|
49
|
+
message.deadline = reader.int64();
|
|
50
|
+
break;
|
|
51
|
+
case 4:
|
|
52
|
+
message.reason = reader.int32();
|
|
53
|
+
break;
|
|
54
|
+
default:
|
|
55
|
+
reader.skipType(tag & 7);
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
fromPartial(object) {
|
|
62
|
+
const message = createBaseReclamation();
|
|
63
|
+
message.window = object.window !== undefined && object.window !== null ? Duration.fromPartial(object.window) : undefined;
|
|
64
|
+
message.startedAt = object.startedAt !== undefined && object.startedAt !== null ? BigInt(object.startedAt.toString()) : BigInt(0);
|
|
65
|
+
message.deadline = object.deadline !== undefined && object.deadline !== null ? BigInt(object.deadline.toString()) : BigInt(0);
|
|
66
|
+
message.reason = object.reason ?? 0;
|
|
67
|
+
return message;
|
|
68
|
+
},
|
|
69
|
+
fromAmino(object) {
|
|
70
|
+
const message = createBaseReclamation();
|
|
71
|
+
if (object.window !== undefined && object.window !== null) {
|
|
72
|
+
message.window = Duration.fromAmino(object.window);
|
|
73
|
+
}
|
|
74
|
+
if (object.started_at !== undefined && object.started_at !== null) {
|
|
75
|
+
message.startedAt = BigInt(object.started_at);
|
|
76
|
+
}
|
|
77
|
+
if (object.deadline !== undefined && object.deadline !== null) {
|
|
78
|
+
message.deadline = BigInt(object.deadline);
|
|
79
|
+
}
|
|
80
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
81
|
+
message.reason = object.reason;
|
|
82
|
+
}
|
|
83
|
+
return message;
|
|
84
|
+
},
|
|
85
|
+
toAmino(message) {
|
|
86
|
+
const obj = {};
|
|
87
|
+
obj.window = message.window ? Duration.toAmino(message.window) : Duration.toAmino(Duration.fromPartial({}));
|
|
88
|
+
obj.started_at = message.startedAt ? message.startedAt?.toString() : "0";
|
|
89
|
+
obj.deadline = message.deadline ? message.deadline?.toString() : "0";
|
|
90
|
+
obj.reason = message.reason ?? 0;
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
fromAminoMsg(object) {
|
|
94
|
+
return Reclamation.fromAmino(object.value);
|
|
95
|
+
},
|
|
96
|
+
fromProtoMsg(message) {
|
|
97
|
+
return Reclamation.decode(message.value);
|
|
98
|
+
},
|
|
99
|
+
toProto(message) {
|
|
100
|
+
return Reclamation.encode(message).finish();
|
|
101
|
+
},
|
|
102
|
+
toProtoMsg(message) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/akash.market.v1.Reclamation",
|
|
105
|
+
value: Reclamation.encode(message).finish()
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
/** LeaseClosedReason indicates reason bid was closed */
|
|
3
|
+
export var LeaseClosedReason;
|
|
4
|
+
(function (LeaseClosedReason) {
|
|
5
|
+
/**
|
|
6
|
+
* lease_closed_invalid - LeaseClosedReasonInvalid represents the default zero value for LeaseClosedReason.
|
|
7
|
+
* This value indicates an uninitialized or invalid lease closure reason and should not
|
|
8
|
+
* be used
|
|
9
|
+
*/
|
|
10
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_invalid"] = 0] = "lease_closed_invalid";
|
|
11
|
+
/** lease_closed_owner - values between 1..9999 indicate owner‑initiated close */
|
|
12
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_owner"] = 1] = "lease_closed_owner";
|
|
13
|
+
/**
|
|
14
|
+
* lease_closed_reason_unstable - values between 10000..19999 are indicating provider initiated close
|
|
15
|
+
* lease_closed_reason_unstable lease workloads have been unstable
|
|
16
|
+
*/
|
|
17
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_unstable"] = 10000] = "lease_closed_reason_unstable";
|
|
18
|
+
/** lease_closed_reason_decommission - lease_closed_reason_decommission provider is being decommissioned */
|
|
19
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_decommission"] = 10001] = "lease_closed_reason_decommission";
|
|
20
|
+
/** lease_closed_reason_unspecified - lease_closed_reason_unspecified provider did not specify reason */
|
|
21
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_unspecified"] = 10002] = "lease_closed_reason_unspecified";
|
|
22
|
+
/** lease_closed_reason_manifest_timeout - lease_closed_reason_manifest_timeout provider closed leases due to manifest not received */
|
|
23
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_manifest_timeout"] = 10003] = "lease_closed_reason_manifest_timeout";
|
|
24
|
+
/** lease_closed_reason_insufficient_funds - values between 20000..29999 indicate network‑initiated close */
|
|
25
|
+
LeaseClosedReason[LeaseClosedReason["lease_closed_reason_insufficient_funds"] = 20000] = "lease_closed_reason_insufficient_funds";
|
|
26
|
+
LeaseClosedReason[LeaseClosedReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
27
|
+
})(LeaseClosedReason || (LeaseClosedReason = {}));
|
|
28
|
+
export const LeaseClosedReasonAmino = LeaseClosedReason;
|
|
29
|
+
export function leaseClosedReasonFromJSON(object) {
|
|
30
|
+
switch (object) {
|
|
31
|
+
case 0:
|
|
32
|
+
case "lease_closed_invalid":
|
|
33
|
+
return LeaseClosedReason.lease_closed_invalid;
|
|
34
|
+
case 1:
|
|
35
|
+
case "lease_closed_owner":
|
|
36
|
+
return LeaseClosedReason.lease_closed_owner;
|
|
37
|
+
case 10000:
|
|
38
|
+
case "lease_closed_reason_unstable":
|
|
39
|
+
return LeaseClosedReason.lease_closed_reason_unstable;
|
|
40
|
+
case 10001:
|
|
41
|
+
case "lease_closed_reason_decommission":
|
|
42
|
+
return LeaseClosedReason.lease_closed_reason_decommission;
|
|
43
|
+
case 10002:
|
|
44
|
+
case "lease_closed_reason_unspecified":
|
|
45
|
+
return LeaseClosedReason.lease_closed_reason_unspecified;
|
|
46
|
+
case 10003:
|
|
47
|
+
case "lease_closed_reason_manifest_timeout":
|
|
48
|
+
return LeaseClosedReason.lease_closed_reason_manifest_timeout;
|
|
49
|
+
case 20000:
|
|
50
|
+
case "lease_closed_reason_insufficient_funds":
|
|
51
|
+
return LeaseClosedReason.lease_closed_reason_insufficient_funds;
|
|
52
|
+
case -1:
|
|
53
|
+
case "UNRECOGNIZED":
|
|
54
|
+
default:
|
|
55
|
+
return LeaseClosedReason.UNRECOGNIZED;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export function leaseClosedReasonToJSON(object) {
|
|
59
|
+
switch (object) {
|
|
60
|
+
case LeaseClosedReason.lease_closed_invalid:
|
|
61
|
+
return "lease_closed_invalid";
|
|
62
|
+
case LeaseClosedReason.lease_closed_owner:
|
|
63
|
+
return "lease_closed_owner";
|
|
64
|
+
case LeaseClosedReason.lease_closed_reason_unstable:
|
|
65
|
+
return "lease_closed_reason_unstable";
|
|
66
|
+
case LeaseClosedReason.lease_closed_reason_decommission:
|
|
67
|
+
return "lease_closed_reason_decommission";
|
|
68
|
+
case LeaseClosedReason.lease_closed_reason_unspecified:
|
|
69
|
+
return "lease_closed_reason_unspecified";
|
|
70
|
+
case LeaseClosedReason.lease_closed_reason_manifest_timeout:
|
|
71
|
+
return "lease_closed_reason_manifest_timeout";
|
|
72
|
+
case LeaseClosedReason.lease_closed_reason_insufficient_funds:
|
|
73
|
+
return "lease_closed_reason_insufficient_funds";
|
|
74
|
+
case LeaseClosedReason.UNRECOGNIZED:
|
|
75
|
+
default:
|
|
76
|
+
return "UNRECOGNIZED";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { BidID } from "../v1/bid";
|
|
3
3
|
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
import { ResourceOffer } from "./resourcesoffer";
|
|
5
|
+
import { Duration } from "../../../google/protobuf/duration";
|
|
5
6
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
7
|
/** BidState is an enum which refers to state of bid. */
|
|
7
8
|
export var Bid_State;
|
|
@@ -65,7 +66,8 @@ function createBaseBid() {
|
|
|
65
66
|
state: 0,
|
|
66
67
|
price: DecCoin.fromPartial({}),
|
|
67
68
|
createdAt: BigInt(0),
|
|
68
|
-
resourcesOffer: []
|
|
69
|
+
resourcesOffer: [],
|
|
70
|
+
reclamationWindow: undefined
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
/**
|
|
@@ -92,6 +94,9 @@ export const Bid = {
|
|
|
92
94
|
for (const v of message.resourcesOffer) {
|
|
93
95
|
ResourceOffer.encode(v, writer.uint32(42).fork()).ldelim();
|
|
94
96
|
}
|
|
97
|
+
if (message.reclamationWindow !== undefined) {
|
|
98
|
+
Duration.encode(message.reclamationWindow, writer.uint32(50).fork()).ldelim();
|
|
99
|
+
}
|
|
95
100
|
return writer;
|
|
96
101
|
},
|
|
97
102
|
decode(input, length) {
|
|
@@ -116,6 +121,9 @@ export const Bid = {
|
|
|
116
121
|
case 5:
|
|
117
122
|
message.resourcesOffer.push(ResourceOffer.decode(reader, reader.uint32()));
|
|
118
123
|
break;
|
|
124
|
+
case 6:
|
|
125
|
+
message.reclamationWindow = Duration.decode(reader, reader.uint32());
|
|
126
|
+
break;
|
|
119
127
|
default:
|
|
120
128
|
reader.skipType(tag & 7);
|
|
121
129
|
break;
|
|
@@ -130,6 +138,7 @@ export const Bid = {
|
|
|
130
138
|
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
131
139
|
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
132
140
|
message.resourcesOffer = object.resourcesOffer?.map(e => ResourceOffer.fromPartial(e)) || [];
|
|
141
|
+
message.reclamationWindow = object.reclamationWindow !== undefined && object.reclamationWindow !== null ? Duration.fromPartial(object.reclamationWindow) : undefined;
|
|
133
142
|
return message;
|
|
134
143
|
},
|
|
135
144
|
fromAmino(object) {
|
|
@@ -147,6 +156,9 @@ export const Bid = {
|
|
|
147
156
|
message.createdAt = BigInt(object.created_at);
|
|
148
157
|
}
|
|
149
158
|
message.resourcesOffer = object.resources_offer?.map(e => ResourceOffer.fromAmino(e)) || [];
|
|
159
|
+
if (object.reclamation_window !== undefined && object.reclamation_window !== null) {
|
|
160
|
+
message.reclamationWindow = Duration.fromAmino(object.reclamation_window);
|
|
161
|
+
}
|
|
150
162
|
return message;
|
|
151
163
|
},
|
|
152
164
|
toAmino(message) {
|
|
@@ -161,6 +173,7 @@ export const Bid = {
|
|
|
161
173
|
else {
|
|
162
174
|
obj.resources_offer = message.resourcesOffer;
|
|
163
175
|
}
|
|
176
|
+
obj.reclamation_window = message.reclamationWindow ? Duration.toAmino(message.reclamationWindow) : undefined;
|
|
164
177
|
return obj;
|
|
165
178
|
},
|
|
166
179
|
fromAminoMsg(object) {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
-
import { OrderID } from "../v1/order";
|
|
3
|
-
import { DecCoin, Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
|
-
import { ResourceOffer } from "./resourcesoffer";
|
|
5
2
|
import { BidID } from "../v1/bid";
|
|
3
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
|
+
import { Deposit } from "../../base/deposit/v1/deposit";
|
|
5
|
+
import { ResourceOffer } from "./resourcesoffer";
|
|
6
|
+
import { Duration } from "../../../google/protobuf/duration";
|
|
6
7
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
8
|
function createBaseMsgCreateBid() {
|
|
8
9
|
return {
|
|
9
|
-
|
|
10
|
-
provider: "",
|
|
10
|
+
id: BidID.fromPartial({}),
|
|
11
11
|
price: DecCoin.fromPartial({}),
|
|
12
|
-
deposit:
|
|
13
|
-
resourcesOffer: []
|
|
12
|
+
deposit: Deposit.fromPartial({}),
|
|
13
|
+
resourcesOffer: [],
|
|
14
|
+
reclamationWindow: undefined
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
@@ -22,20 +23,20 @@ function createBaseMsgCreateBid() {
|
|
|
22
23
|
export const MsgCreateBid = {
|
|
23
24
|
typeUrl: "/akash.market.v1beta5.MsgCreateBid",
|
|
24
25
|
encode(message, writer = BinaryWriter.create()) {
|
|
25
|
-
if (message.
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
if (message.provider !== "") {
|
|
29
|
-
writer.uint32(18).string(message.provider);
|
|
26
|
+
if (message.id !== undefined) {
|
|
27
|
+
BidID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
30
28
|
}
|
|
31
29
|
if (message.price !== undefined) {
|
|
32
|
-
DecCoin.encode(message.price, writer.uint32(
|
|
30
|
+
DecCoin.encode(message.price, writer.uint32(18).fork()).ldelim();
|
|
33
31
|
}
|
|
34
32
|
if (message.deposit !== undefined) {
|
|
35
|
-
|
|
33
|
+
Deposit.encode(message.deposit, writer.uint32(26).fork()).ldelim();
|
|
36
34
|
}
|
|
37
35
|
for (const v of message.resourcesOffer) {
|
|
38
|
-
ResourceOffer.encode(v, writer.uint32(
|
|
36
|
+
ResourceOffer.encode(v, writer.uint32(34).fork()).ldelim();
|
|
37
|
+
}
|
|
38
|
+
if (message.reclamationWindow !== undefined) {
|
|
39
|
+
Duration.encode(message.reclamationWindow, writer.uint32(42).fork()).ldelim();
|
|
39
40
|
}
|
|
40
41
|
return writer;
|
|
41
42
|
},
|
|
@@ -47,19 +48,19 @@ export const MsgCreateBid = {
|
|
|
47
48
|
const tag = reader.uint32();
|
|
48
49
|
switch (tag >>> 3) {
|
|
49
50
|
case 1:
|
|
50
|
-
message.
|
|
51
|
+
message.id = BidID.decode(reader, reader.uint32());
|
|
51
52
|
break;
|
|
52
53
|
case 2:
|
|
53
|
-
message.
|
|
54
|
+
message.price = DecCoin.decode(reader, reader.uint32());
|
|
54
55
|
break;
|
|
55
56
|
case 3:
|
|
56
|
-
message.
|
|
57
|
+
message.deposit = Deposit.decode(reader, reader.uint32());
|
|
57
58
|
break;
|
|
58
59
|
case 4:
|
|
59
|
-
message.
|
|
60
|
+
message.resourcesOffer.push(ResourceOffer.decode(reader, reader.uint32()));
|
|
60
61
|
break;
|
|
61
62
|
case 5:
|
|
62
|
-
message.
|
|
63
|
+
message.reclamationWindow = Duration.decode(reader, reader.uint32());
|
|
63
64
|
break;
|
|
64
65
|
default:
|
|
65
66
|
reader.skipType(tag & 7);
|
|
@@ -70,42 +71,42 @@ export const MsgCreateBid = {
|
|
|
70
71
|
},
|
|
71
72
|
fromPartial(object) {
|
|
72
73
|
const message = createBaseMsgCreateBid();
|
|
73
|
-
message.
|
|
74
|
-
message.provider = object.provider ?? "";
|
|
74
|
+
message.id = object.id !== undefined && object.id !== null ? BidID.fromPartial(object.id) : undefined;
|
|
75
75
|
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
76
|
-
message.deposit = object.deposit !== undefined && object.deposit !== null ?
|
|
76
|
+
message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined;
|
|
77
77
|
message.resourcesOffer = object.resourcesOffer?.map(e => ResourceOffer.fromPartial(e)) || [];
|
|
78
|
+
message.reclamationWindow = object.reclamationWindow !== undefined && object.reclamationWindow !== null ? Duration.fromPartial(object.reclamationWindow) : undefined;
|
|
78
79
|
return message;
|
|
79
80
|
},
|
|
80
81
|
fromAmino(object) {
|
|
81
82
|
const message = createBaseMsgCreateBid();
|
|
82
|
-
if (object.
|
|
83
|
-
message.
|
|
84
|
-
}
|
|
85
|
-
if (object.provider !== undefined && object.provider !== null) {
|
|
86
|
-
message.provider = object.provider;
|
|
83
|
+
if (object.id !== undefined && object.id !== null) {
|
|
84
|
+
message.id = BidID.fromAmino(object.id);
|
|
87
85
|
}
|
|
88
86
|
if (object.price !== undefined && object.price !== null) {
|
|
89
87
|
message.price = DecCoin.fromAmino(object.price);
|
|
90
88
|
}
|
|
91
89
|
if (object.deposit !== undefined && object.deposit !== null) {
|
|
92
|
-
message.deposit =
|
|
90
|
+
message.deposit = Deposit.fromAmino(object.deposit);
|
|
93
91
|
}
|
|
94
92
|
message.resourcesOffer = object.resources_offer?.map(e => ResourceOffer.fromAmino(e)) || [];
|
|
93
|
+
if (object.reclamation_window !== undefined && object.reclamation_window !== null) {
|
|
94
|
+
message.reclamationWindow = Duration.fromAmino(object.reclamation_window);
|
|
95
|
+
}
|
|
95
96
|
return message;
|
|
96
97
|
},
|
|
97
98
|
toAmino(message) {
|
|
98
99
|
const obj = {};
|
|
99
|
-
obj.
|
|
100
|
-
obj.provider = message.provider ?? "";
|
|
100
|
+
obj.id = message.id ? BidID.toAmino(message.id) : BidID.toAmino(BidID.fromPartial({}));
|
|
101
101
|
obj.price = message.price ? DecCoin.toAmino(message.price) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
102
|
-
obj.deposit = message.deposit ?
|
|
102
|
+
obj.deposit = message.deposit ? Deposit.toAmino(message.deposit) : Deposit.toAmino(Deposit.fromPartial({}));
|
|
103
103
|
if (message.resourcesOffer) {
|
|
104
104
|
obj.resources_offer = message.resourcesOffer.map(e => e ? ResourceOffer.toAmino(e) : undefined);
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
107
|
obj.resources_offer = message.resourcesOffer;
|
|
108
108
|
}
|
|
109
|
+
obj.reclamation_window = message.reclamationWindow ? Duration.toAmino(message.reclamationWindow) : undefined;
|
|
109
110
|
return obj;
|
|
110
111
|
},
|
|
111
112
|
fromAminoMsg(object) {
|
|
@@ -182,7 +183,8 @@ export const MsgCreateBidResponse = {
|
|
|
182
183
|
};
|
|
183
184
|
function createBaseMsgCloseBid() {
|
|
184
185
|
return {
|
|
185
|
-
id: BidID.fromPartial({})
|
|
186
|
+
id: BidID.fromPartial({}),
|
|
187
|
+
reason: 0
|
|
186
188
|
};
|
|
187
189
|
}
|
|
188
190
|
/**
|
|
@@ -197,6 +199,9 @@ export const MsgCloseBid = {
|
|
|
197
199
|
if (message.id !== undefined) {
|
|
198
200
|
BidID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
199
201
|
}
|
|
202
|
+
if (message.reason !== 0) {
|
|
203
|
+
writer.uint32(16).int32(message.reason);
|
|
204
|
+
}
|
|
200
205
|
return writer;
|
|
201
206
|
},
|
|
202
207
|
decode(input, length) {
|
|
@@ -209,6 +214,9 @@ export const MsgCloseBid = {
|
|
|
209
214
|
case 1:
|
|
210
215
|
message.id = BidID.decode(reader, reader.uint32());
|
|
211
216
|
break;
|
|
217
|
+
case 2:
|
|
218
|
+
message.reason = reader.int32();
|
|
219
|
+
break;
|
|
212
220
|
default:
|
|
213
221
|
reader.skipType(tag & 7);
|
|
214
222
|
break;
|
|
@@ -219,6 +227,7 @@ export const MsgCloseBid = {
|
|
|
219
227
|
fromPartial(object) {
|
|
220
228
|
const message = createBaseMsgCloseBid();
|
|
221
229
|
message.id = object.id !== undefined && object.id !== null ? BidID.fromPartial(object.id) : undefined;
|
|
230
|
+
message.reason = object.reason ?? 0;
|
|
222
231
|
return message;
|
|
223
232
|
},
|
|
224
233
|
fromAmino(object) {
|
|
@@ -226,11 +235,15 @@ export const MsgCloseBid = {
|
|
|
226
235
|
if (object.id !== undefined && object.id !== null) {
|
|
227
236
|
message.id = BidID.fromAmino(object.id);
|
|
228
237
|
}
|
|
238
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
239
|
+
message.reason = object.reason;
|
|
240
|
+
}
|
|
229
241
|
return message;
|
|
230
242
|
},
|
|
231
243
|
toAmino(message) {
|
|
232
244
|
const obj = {};
|
|
233
245
|
obj.id = message.id ? BidID.toAmino(message.id) : BidID.toAmino(BidID.fromPartial({}));
|
|
246
|
+
obj.reason = message.reason ?? 0;
|
|
234
247
|
return obj;
|
|
235
248
|
},
|
|
236
249
|
fromAminoMsg(object) {
|