@sparkdreamnft/sparkdreamjs 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bundle.d.ts +5409 -3608
- package/akash/bundle.js +475 -306
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +84 -84
- package/akash/client.js +20 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +15 -5
- package/akash/lcd.js +26 -12
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +43 -26
- package/akash/rpc.query.js +19 -9
- package/akash/rpc.tx.d.ts +12 -5
- package/akash/rpc.tx.js +16 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bundle.js +475 -306
- package/esm/akash/client.js +20 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +26 -12
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +19 -9
- package/esm/akash/rpc.tx.js +16 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/deployment/{v1beta3 → v1beta5}/service.d.ts +0 -0
- /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MsgCloseLeaseResponse = exports.MsgCloseLease = exports.MsgWithdrawLeaseResponse = exports.MsgWithdrawLease = exports.MsgCreateLeaseResponse = exports.MsgCreateLease = void 0;
|
|
3
|
+
exports.MsgLeaseStartReclaimResponse = exports.MsgLeaseStartReclaim = exports.MsgCloseLeaseResponse = exports.MsgCloseLease = exports.MsgWithdrawLeaseResponse = exports.MsgWithdrawLease = exports.MsgCreateLeaseResponse = exports.MsgCreateLease = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const bid_1 = require("../v1/bid");
|
|
6
6
|
const lease_1 = require("../v1/lease");
|
|
@@ -132,7 +132,7 @@ exports.MsgCreateLeaseResponse = {
|
|
|
132
132
|
};
|
|
133
133
|
function createBaseMsgWithdrawLease() {
|
|
134
134
|
return {
|
|
135
|
-
|
|
135
|
+
id: lease_1.LeaseID.fromPartial({})
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
@@ -144,8 +144,8 @@ function createBaseMsgWithdrawLease() {
|
|
|
144
144
|
exports.MsgWithdrawLease = {
|
|
145
145
|
typeUrl: "/akash.market.v1beta5.MsgWithdrawLease",
|
|
146
146
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
147
|
-
if (message.
|
|
148
|
-
lease_1.LeaseID.encode(message.
|
|
147
|
+
if (message.id !== undefined) {
|
|
148
|
+
lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
149
149
|
}
|
|
150
150
|
return writer;
|
|
151
151
|
},
|
|
@@ -157,7 +157,7 @@ exports.MsgWithdrawLease = {
|
|
|
157
157
|
const tag = reader.uint32();
|
|
158
158
|
switch (tag >>> 3) {
|
|
159
159
|
case 1:
|
|
160
|
-
message.
|
|
160
|
+
message.id = lease_1.LeaseID.decode(reader, reader.uint32());
|
|
161
161
|
break;
|
|
162
162
|
default:
|
|
163
163
|
reader.skipType(tag & 7);
|
|
@@ -168,19 +168,19 @@ exports.MsgWithdrawLease = {
|
|
|
168
168
|
},
|
|
169
169
|
fromPartial(object) {
|
|
170
170
|
const message = createBaseMsgWithdrawLease();
|
|
171
|
-
message.
|
|
171
|
+
message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
|
|
172
172
|
return message;
|
|
173
173
|
},
|
|
174
174
|
fromAmino(object) {
|
|
175
175
|
const message = createBaseMsgWithdrawLease();
|
|
176
|
-
if (object.
|
|
177
|
-
message.
|
|
176
|
+
if (object.id !== undefined && object.id !== null) {
|
|
177
|
+
message.id = lease_1.LeaseID.fromAmino(object.id);
|
|
178
178
|
}
|
|
179
179
|
return message;
|
|
180
180
|
},
|
|
181
181
|
toAmino(message) {
|
|
182
182
|
const obj = {};
|
|
183
|
-
obj.
|
|
183
|
+
obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
|
|
184
184
|
return obj;
|
|
185
185
|
},
|
|
186
186
|
fromAminoMsg(object) {
|
|
@@ -257,7 +257,8 @@ exports.MsgWithdrawLeaseResponse = {
|
|
|
257
257
|
};
|
|
258
258
|
function createBaseMsgCloseLease() {
|
|
259
259
|
return {
|
|
260
|
-
|
|
260
|
+
id: lease_1.LeaseID.fromPartial({}),
|
|
261
|
+
reason: 0
|
|
261
262
|
};
|
|
262
263
|
}
|
|
263
264
|
/**
|
|
@@ -269,8 +270,11 @@ function createBaseMsgCloseLease() {
|
|
|
269
270
|
exports.MsgCloseLease = {
|
|
270
271
|
typeUrl: "/akash.market.v1beta5.MsgCloseLease",
|
|
271
272
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
272
|
-
if (message.
|
|
273
|
-
lease_1.LeaseID.encode(message.
|
|
273
|
+
if (message.id !== undefined) {
|
|
274
|
+
lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
275
|
+
}
|
|
276
|
+
if (message.reason !== 0) {
|
|
277
|
+
writer.uint32(16).int32(message.reason);
|
|
274
278
|
}
|
|
275
279
|
return writer;
|
|
276
280
|
},
|
|
@@ -282,7 +286,10 @@ exports.MsgCloseLease = {
|
|
|
282
286
|
const tag = reader.uint32();
|
|
283
287
|
switch (tag >>> 3) {
|
|
284
288
|
case 1:
|
|
285
|
-
message.
|
|
289
|
+
message.id = lease_1.LeaseID.decode(reader, reader.uint32());
|
|
290
|
+
break;
|
|
291
|
+
case 2:
|
|
292
|
+
message.reason = reader.int32();
|
|
286
293
|
break;
|
|
287
294
|
default:
|
|
288
295
|
reader.skipType(tag & 7);
|
|
@@ -293,19 +300,24 @@ exports.MsgCloseLease = {
|
|
|
293
300
|
},
|
|
294
301
|
fromPartial(object) {
|
|
295
302
|
const message = createBaseMsgCloseLease();
|
|
296
|
-
message.
|
|
303
|
+
message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
|
|
304
|
+
message.reason = object.reason ?? 0;
|
|
297
305
|
return message;
|
|
298
306
|
},
|
|
299
307
|
fromAmino(object) {
|
|
300
308
|
const message = createBaseMsgCloseLease();
|
|
301
|
-
if (object.
|
|
302
|
-
message.
|
|
309
|
+
if (object.id !== undefined && object.id !== null) {
|
|
310
|
+
message.id = lease_1.LeaseID.fromAmino(object.id);
|
|
311
|
+
}
|
|
312
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
313
|
+
message.reason = object.reason;
|
|
303
314
|
}
|
|
304
315
|
return message;
|
|
305
316
|
},
|
|
306
317
|
toAmino(message) {
|
|
307
318
|
const obj = {};
|
|
308
|
-
obj.
|
|
319
|
+
obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
|
|
320
|
+
obj.reason = message.reason ?? 0;
|
|
309
321
|
return obj;
|
|
310
322
|
},
|
|
311
323
|
fromAminoMsg(object) {
|
|
@@ -380,3 +392,140 @@ exports.MsgCloseLeaseResponse = {
|
|
|
380
392
|
};
|
|
381
393
|
}
|
|
382
394
|
};
|
|
395
|
+
function createBaseMsgLeaseStartReclaim() {
|
|
396
|
+
return {
|
|
397
|
+
id: lease_1.LeaseID.fromPartial({}),
|
|
398
|
+
reason: 0
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* MsgLeaseStartReclaim is sent by the provider to initiate reclamation on an active lease.
|
|
403
|
+
* @name MsgLeaseStartReclaim
|
|
404
|
+
* @package akash.market.v1beta5
|
|
405
|
+
* @see proto type: akash.market.v1beta5.MsgLeaseStartReclaim
|
|
406
|
+
*/
|
|
407
|
+
exports.MsgLeaseStartReclaim = {
|
|
408
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
409
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
410
|
+
if (message.id !== undefined) {
|
|
411
|
+
lease_1.LeaseID.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
412
|
+
}
|
|
413
|
+
if (message.reason !== 0) {
|
|
414
|
+
writer.uint32(16).int32(message.reason);
|
|
415
|
+
}
|
|
416
|
+
return writer;
|
|
417
|
+
},
|
|
418
|
+
decode(input, length) {
|
|
419
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
420
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
421
|
+
const message = createBaseMsgLeaseStartReclaim();
|
|
422
|
+
while (reader.pos < end) {
|
|
423
|
+
const tag = reader.uint32();
|
|
424
|
+
switch (tag >>> 3) {
|
|
425
|
+
case 1:
|
|
426
|
+
message.id = lease_1.LeaseID.decode(reader, reader.uint32());
|
|
427
|
+
break;
|
|
428
|
+
case 2:
|
|
429
|
+
message.reason = reader.int32();
|
|
430
|
+
break;
|
|
431
|
+
default:
|
|
432
|
+
reader.skipType(tag & 7);
|
|
433
|
+
break;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
return message;
|
|
437
|
+
},
|
|
438
|
+
fromPartial(object) {
|
|
439
|
+
const message = createBaseMsgLeaseStartReclaim();
|
|
440
|
+
message.id = object.id !== undefined && object.id !== null ? lease_1.LeaseID.fromPartial(object.id) : undefined;
|
|
441
|
+
message.reason = object.reason ?? 0;
|
|
442
|
+
return message;
|
|
443
|
+
},
|
|
444
|
+
fromAmino(object) {
|
|
445
|
+
const message = createBaseMsgLeaseStartReclaim();
|
|
446
|
+
if (object.id !== undefined && object.id !== null) {
|
|
447
|
+
message.id = lease_1.LeaseID.fromAmino(object.id);
|
|
448
|
+
}
|
|
449
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
450
|
+
message.reason = object.reason;
|
|
451
|
+
}
|
|
452
|
+
return message;
|
|
453
|
+
},
|
|
454
|
+
toAmino(message) {
|
|
455
|
+
const obj = {};
|
|
456
|
+
obj.id = message.id ? lease_1.LeaseID.toAmino(message.id) : lease_1.LeaseID.toAmino(lease_1.LeaseID.fromPartial({}));
|
|
457
|
+
obj.reason = message.reason ?? 0;
|
|
458
|
+
return obj;
|
|
459
|
+
},
|
|
460
|
+
fromAminoMsg(object) {
|
|
461
|
+
return exports.MsgLeaseStartReclaim.fromAmino(object.value);
|
|
462
|
+
},
|
|
463
|
+
fromProtoMsg(message) {
|
|
464
|
+
return exports.MsgLeaseStartReclaim.decode(message.value);
|
|
465
|
+
},
|
|
466
|
+
toProto(message) {
|
|
467
|
+
return exports.MsgLeaseStartReclaim.encode(message).finish();
|
|
468
|
+
},
|
|
469
|
+
toProtoMsg(message) {
|
|
470
|
+
return {
|
|
471
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
472
|
+
value: exports.MsgLeaseStartReclaim.encode(message).finish()
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
function createBaseMsgLeaseStartReclaimResponse() {
|
|
477
|
+
return {};
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* MsgLeaseStartReclaimResponse is the response from starting lease reclamation.
|
|
481
|
+
* @name MsgLeaseStartReclaimResponse
|
|
482
|
+
* @package akash.market.v1beta5
|
|
483
|
+
* @see proto type: akash.market.v1beta5.MsgLeaseStartReclaimResponse
|
|
484
|
+
*/
|
|
485
|
+
exports.MsgLeaseStartReclaimResponse = {
|
|
486
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaimResponse",
|
|
487
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
488
|
+
return writer;
|
|
489
|
+
},
|
|
490
|
+
decode(input, length) {
|
|
491
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
492
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
493
|
+
const message = createBaseMsgLeaseStartReclaimResponse();
|
|
494
|
+
while (reader.pos < end) {
|
|
495
|
+
const tag = reader.uint32();
|
|
496
|
+
switch (tag >>> 3) {
|
|
497
|
+
default:
|
|
498
|
+
reader.skipType(tag & 7);
|
|
499
|
+
break;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
return message;
|
|
503
|
+
},
|
|
504
|
+
fromPartial(_) {
|
|
505
|
+
const message = createBaseMsgLeaseStartReclaimResponse();
|
|
506
|
+
return message;
|
|
507
|
+
},
|
|
508
|
+
fromAmino(_) {
|
|
509
|
+
const message = createBaseMsgLeaseStartReclaimResponse();
|
|
510
|
+
return message;
|
|
511
|
+
},
|
|
512
|
+
toAmino(_) {
|
|
513
|
+
const obj = {};
|
|
514
|
+
return obj;
|
|
515
|
+
},
|
|
516
|
+
fromAminoMsg(object) {
|
|
517
|
+
return exports.MsgLeaseStartReclaimResponse.fromAmino(object.value);
|
|
518
|
+
},
|
|
519
|
+
fromProtoMsg(message) {
|
|
520
|
+
return exports.MsgLeaseStartReclaimResponse.decode(message.value);
|
|
521
|
+
},
|
|
522
|
+
toProto(message) {
|
|
523
|
+
return exports.MsgLeaseStartReclaimResponse.encode(message).finish();
|
|
524
|
+
},
|
|
525
|
+
toProtoMsg(message) {
|
|
526
|
+
return {
|
|
527
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaimResponse",
|
|
528
|
+
value: exports.MsgLeaseStartReclaimResponse.encode(message).finish()
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OrderID, OrderIDAmino } from "../v1/order";
|
|
2
2
|
import { GroupSpec, GroupSpecAmino } from "../../deployment/v1beta4/groupspec";
|
|
3
|
+
import { DeploymentReclamation, DeploymentReclamationAmino } from "../../deployment/v1/deployment";
|
|
3
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
5
|
import { DeepPartial } from "../../../helpers";
|
|
5
6
|
/** State is an enum which refers to state of order. */
|
|
@@ -31,6 +32,11 @@ export interface Order {
|
|
|
31
32
|
state: Order_State;
|
|
32
33
|
spec: GroupSpec;
|
|
33
34
|
createdAt: bigint;
|
|
35
|
+
/**
|
|
36
|
+
* reclamation is the deployment-level reclamation requirement, propagated to the order.
|
|
37
|
+
* Nil means the deployment does not require reclamation.
|
|
38
|
+
*/
|
|
39
|
+
reclamation?: DeploymentReclamation;
|
|
34
40
|
}
|
|
35
41
|
export interface OrderProtoMsg {
|
|
36
42
|
typeUrl: "/akash.market.v1beta5.Order";
|
|
@@ -50,6 +56,11 @@ export interface OrderAmino {
|
|
|
50
56
|
state: Order_State;
|
|
51
57
|
spec: GroupSpecAmino;
|
|
52
58
|
created_at?: string;
|
|
59
|
+
/**
|
|
60
|
+
* reclamation is the deployment-level reclamation requirement, propagated to the order.
|
|
61
|
+
* Nil means the deployment does not require reclamation.
|
|
62
|
+
*/
|
|
63
|
+
reclamation?: DeploymentReclamationAmino;
|
|
53
64
|
}
|
|
54
65
|
export interface OrderAminoMsg {
|
|
55
66
|
type: "/akash.market.v1beta5.Order";
|
|
@@ -6,6 +6,7 @@ exports.order_StateToJSON = order_StateToJSON;
|
|
|
6
6
|
//@ts-nocheck
|
|
7
7
|
const order_1 = require("../v1/order");
|
|
8
8
|
const groupspec_1 = require("../../deployment/v1beta4/groupspec");
|
|
9
|
+
const deployment_1 = require("../../deployment/v1/deployment");
|
|
9
10
|
const binary_1 = require("../../../binary");
|
|
10
11
|
/** State is an enum which refers to state of order. */
|
|
11
12
|
var Order_State;
|
|
@@ -61,7 +62,8 @@ function createBaseOrder() {
|
|
|
61
62
|
id: order_1.OrderID.fromPartial({}),
|
|
62
63
|
state: 0,
|
|
63
64
|
spec: groupspec_1.GroupSpec.fromPartial({}),
|
|
64
|
-
createdAt: BigInt(0)
|
|
65
|
+
createdAt: BigInt(0),
|
|
66
|
+
reclamation: undefined
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
/**
|
|
@@ -85,6 +87,9 @@ exports.Order = {
|
|
|
85
87
|
if (message.createdAt !== BigInt(0)) {
|
|
86
88
|
writer.uint32(32).int64(message.createdAt);
|
|
87
89
|
}
|
|
90
|
+
if (message.reclamation !== undefined) {
|
|
91
|
+
deployment_1.DeploymentReclamation.encode(message.reclamation, writer.uint32(42).fork()).ldelim();
|
|
92
|
+
}
|
|
88
93
|
return writer;
|
|
89
94
|
},
|
|
90
95
|
decode(input, length) {
|
|
@@ -106,6 +111,9 @@ exports.Order = {
|
|
|
106
111
|
case 4:
|
|
107
112
|
message.createdAt = reader.int64();
|
|
108
113
|
break;
|
|
114
|
+
case 5:
|
|
115
|
+
message.reclamation = deployment_1.DeploymentReclamation.decode(reader, reader.uint32());
|
|
116
|
+
break;
|
|
109
117
|
default:
|
|
110
118
|
reader.skipType(tag & 7);
|
|
111
119
|
break;
|
|
@@ -119,6 +127,7 @@ exports.Order = {
|
|
|
119
127
|
message.state = object.state ?? 0;
|
|
120
128
|
message.spec = object.spec !== undefined && object.spec !== null ? groupspec_1.GroupSpec.fromPartial(object.spec) : undefined;
|
|
121
129
|
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? BigInt(object.createdAt.toString()) : BigInt(0);
|
|
130
|
+
message.reclamation = object.reclamation !== undefined && object.reclamation !== null ? deployment_1.DeploymentReclamation.fromPartial(object.reclamation) : undefined;
|
|
122
131
|
return message;
|
|
123
132
|
},
|
|
124
133
|
fromAmino(object) {
|
|
@@ -135,6 +144,9 @@ exports.Order = {
|
|
|
135
144
|
if (object.created_at !== undefined && object.created_at !== null) {
|
|
136
145
|
message.createdAt = BigInt(object.created_at);
|
|
137
146
|
}
|
|
147
|
+
if (object.reclamation !== undefined && object.reclamation !== null) {
|
|
148
|
+
message.reclamation = deployment_1.DeploymentReclamation.fromAmino(object.reclamation);
|
|
149
|
+
}
|
|
138
150
|
return message;
|
|
139
151
|
},
|
|
140
152
|
toAmino(message) {
|
|
@@ -143,6 +155,7 @@ exports.Order = {
|
|
|
143
155
|
obj.state = message.state ?? 0;
|
|
144
156
|
obj.spec = message.spec ? groupspec_1.GroupSpec.toAmino(message.spec) : groupspec_1.GroupSpec.toAmino(groupspec_1.GroupSpec.fromPartial({}));
|
|
145
157
|
obj.created_at = message.createdAt !== BigInt(0) ? message.createdAt?.toString() : undefined;
|
|
158
|
+
obj.reclamation = message.reclamation ? deployment_1.DeploymentReclamation.toAmino(message.reclamation) : undefined;
|
|
146
159
|
return obj;
|
|
147
160
|
},
|
|
148
161
|
fromAminoMsg(object) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
2
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
4
|
import { DeepPartial } from "../../../helpers";
|
|
4
5
|
/**
|
|
@@ -10,12 +11,25 @@ import { DeepPartial } from "../../../helpers";
|
|
|
10
11
|
export interface Params {
|
|
11
12
|
/**
|
|
12
13
|
* BidMinDeposit is a parameter for the minimum deposit on a Bid.
|
|
14
|
+
* Deprecated: use BidMinDeposits
|
|
13
15
|
*/
|
|
14
16
|
bidMinDeposit: Coin;
|
|
15
17
|
/**
|
|
16
18
|
* OrderMaxBids is a parameter for the maximum number of bids in an order.
|
|
17
19
|
*/
|
|
18
20
|
orderMaxBids: number;
|
|
21
|
+
/**
|
|
22
|
+
* BidMinDeposits is a parameter for the minimum deposits per denom on a Bid.
|
|
23
|
+
*/
|
|
24
|
+
bidMinDeposits: Coin[];
|
|
25
|
+
/**
|
|
26
|
+
* min_reclamation_window is the minimum reclamation window duration allowed.
|
|
27
|
+
*/
|
|
28
|
+
minReclamationWindow: Duration;
|
|
29
|
+
/**
|
|
30
|
+
* max_reclamation_window is the maximum reclamation window duration allowed.
|
|
31
|
+
*/
|
|
32
|
+
maxReclamationWindow: Duration;
|
|
19
33
|
}
|
|
20
34
|
export interface ParamsProtoMsg {
|
|
21
35
|
typeUrl: "/akash.market.v1beta5.Params";
|
|
@@ -30,12 +44,25 @@ export interface ParamsProtoMsg {
|
|
|
30
44
|
export interface ParamsAmino {
|
|
31
45
|
/**
|
|
32
46
|
* BidMinDeposit is a parameter for the minimum deposit on a Bid.
|
|
47
|
+
* Deprecated: use BidMinDeposits
|
|
33
48
|
*/
|
|
34
49
|
bid_min_deposit: CoinAmino;
|
|
35
50
|
/**
|
|
36
51
|
* OrderMaxBids is a parameter for the maximum number of bids in an order.
|
|
37
52
|
*/
|
|
38
53
|
order_max_bids: number;
|
|
54
|
+
/**
|
|
55
|
+
* BidMinDeposits is a parameter for the minimum deposits per denom on a Bid.
|
|
56
|
+
*/
|
|
57
|
+
bid_min_deposits: CoinAmino[];
|
|
58
|
+
/**
|
|
59
|
+
* min_reclamation_window is the minimum reclamation window duration allowed.
|
|
60
|
+
*/
|
|
61
|
+
min_reclamation_window: DurationAmino;
|
|
62
|
+
/**
|
|
63
|
+
* max_reclamation_window is the maximum reclamation window duration allowed.
|
|
64
|
+
*/
|
|
65
|
+
max_reclamation_window: DurationAmino;
|
|
39
66
|
}
|
|
40
67
|
export interface ParamsAminoMsg {
|
|
41
68
|
type: "/akash.market.v1beta5.Params";
|
|
@@ -3,11 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Params = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
6
|
+
const duration_1 = require("../../../google/protobuf/duration");
|
|
6
7
|
const binary_1 = require("../../../binary");
|
|
7
8
|
function createBaseParams() {
|
|
8
9
|
return {
|
|
9
10
|
bidMinDeposit: coin_1.Coin.fromPartial({}),
|
|
10
|
-
orderMaxBids: 0
|
|
11
|
+
orderMaxBids: 0,
|
|
12
|
+
bidMinDeposits: [],
|
|
13
|
+
minReclamationWindow: duration_1.Duration.fromPartial({}),
|
|
14
|
+
maxReclamationWindow: duration_1.Duration.fromPartial({})
|
|
11
15
|
};
|
|
12
16
|
}
|
|
13
17
|
/**
|
|
@@ -25,6 +29,15 @@ exports.Params = {
|
|
|
25
29
|
if (message.orderMaxBids !== 0) {
|
|
26
30
|
writer.uint32(16).uint32(message.orderMaxBids);
|
|
27
31
|
}
|
|
32
|
+
for (const v of message.bidMinDeposits) {
|
|
33
|
+
coin_1.Coin.encode(v, writer.uint32(26).fork()).ldelim();
|
|
34
|
+
}
|
|
35
|
+
if (message.minReclamationWindow !== undefined) {
|
|
36
|
+
duration_1.Duration.encode(message.minReclamationWindow, writer.uint32(34).fork()).ldelim();
|
|
37
|
+
}
|
|
38
|
+
if (message.maxReclamationWindow !== undefined) {
|
|
39
|
+
duration_1.Duration.encode(message.maxReclamationWindow, writer.uint32(42).fork()).ldelim();
|
|
40
|
+
}
|
|
28
41
|
return writer;
|
|
29
42
|
},
|
|
30
43
|
decode(input, length) {
|
|
@@ -40,6 +53,15 @@ exports.Params = {
|
|
|
40
53
|
case 2:
|
|
41
54
|
message.orderMaxBids = reader.uint32();
|
|
42
55
|
break;
|
|
56
|
+
case 3:
|
|
57
|
+
message.bidMinDeposits.push(coin_1.Coin.decode(reader, reader.uint32()));
|
|
58
|
+
break;
|
|
59
|
+
case 4:
|
|
60
|
+
message.minReclamationWindow = duration_1.Duration.decode(reader, reader.uint32());
|
|
61
|
+
break;
|
|
62
|
+
case 5:
|
|
63
|
+
message.maxReclamationWindow = duration_1.Duration.decode(reader, reader.uint32());
|
|
64
|
+
break;
|
|
43
65
|
default:
|
|
44
66
|
reader.skipType(tag & 7);
|
|
45
67
|
break;
|
|
@@ -51,6 +73,9 @@ exports.Params = {
|
|
|
51
73
|
const message = createBaseParams();
|
|
52
74
|
message.bidMinDeposit = object.bidMinDeposit !== undefined && object.bidMinDeposit !== null ? coin_1.Coin.fromPartial(object.bidMinDeposit) : undefined;
|
|
53
75
|
message.orderMaxBids = object.orderMaxBids ?? 0;
|
|
76
|
+
message.bidMinDeposits = object.bidMinDeposits?.map(e => coin_1.Coin.fromPartial(e)) || [];
|
|
77
|
+
message.minReclamationWindow = object.minReclamationWindow !== undefined && object.minReclamationWindow !== null ? duration_1.Duration.fromPartial(object.minReclamationWindow) : undefined;
|
|
78
|
+
message.maxReclamationWindow = object.maxReclamationWindow !== undefined && object.maxReclamationWindow !== null ? duration_1.Duration.fromPartial(object.maxReclamationWindow) : undefined;
|
|
54
79
|
return message;
|
|
55
80
|
},
|
|
56
81
|
fromAmino(object) {
|
|
@@ -61,12 +86,27 @@ exports.Params = {
|
|
|
61
86
|
if (object.order_max_bids !== undefined && object.order_max_bids !== null) {
|
|
62
87
|
message.orderMaxBids = object.order_max_bids;
|
|
63
88
|
}
|
|
89
|
+
message.bidMinDeposits = object.bid_min_deposits?.map(e => coin_1.Coin.fromAmino(e)) || [];
|
|
90
|
+
if (object.min_reclamation_window !== undefined && object.min_reclamation_window !== null) {
|
|
91
|
+
message.minReclamationWindow = duration_1.Duration.fromAmino(object.min_reclamation_window);
|
|
92
|
+
}
|
|
93
|
+
if (object.max_reclamation_window !== undefined && object.max_reclamation_window !== null) {
|
|
94
|
+
message.maxReclamationWindow = duration_1.Duration.fromAmino(object.max_reclamation_window);
|
|
95
|
+
}
|
|
64
96
|
return message;
|
|
65
97
|
},
|
|
66
98
|
toAmino(message) {
|
|
67
99
|
const obj = {};
|
|
68
100
|
obj.bid_min_deposit = message.bidMinDeposit ? coin_1.Coin.toAmino(message.bidMinDeposit) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
69
101
|
obj.order_max_bids = message.orderMaxBids ?? 0;
|
|
102
|
+
if (message.bidMinDeposits) {
|
|
103
|
+
obj.bid_min_deposits = message.bidMinDeposits.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
obj.bid_min_deposits = message.bidMinDeposits;
|
|
107
|
+
}
|
|
108
|
+
obj.min_reclamation_window = message.minReclamationWindow ? duration_1.Duration.toAmino(message.minReclamationWindow) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
109
|
+
obj.max_reclamation_window = message.maxReclamationWindow ? duration_1.Duration.toAmino(message.maxReclamationWindow) : duration_1.Duration.toAmino(duration_1.Duration.fromPartial({}));
|
|
70
110
|
return obj;
|
|
71
111
|
},
|
|
72
112
|
fromAminoMsg(object) {
|
|
@@ -6,8 +6,8 @@ import { LeaseFilters, LeaseFiltersAmino } from "../v1/filters";
|
|
|
6
6
|
import { LeaseID, LeaseIDAmino, Lease, LeaseAmino } from "../v1/lease";
|
|
7
7
|
import { Order, OrderAmino } from "./order";
|
|
8
8
|
import { Bid, BidAmino } from "./bid";
|
|
9
|
-
import { Account, AccountAmino } from "../../escrow/v1/account";
|
|
10
|
-
import {
|
|
9
|
+
import { Account, AccountAmino } from "../../escrow/types/v1/account";
|
|
10
|
+
import { Payment, PaymentAmino } from "../../escrow/types/v1/payment";
|
|
11
11
|
import { Params, ParamsAmino } from "./params";
|
|
12
12
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
13
13
|
import { DeepPartial } from "../../../helpers";
|
|
@@ -23,7 +23,7 @@ export interface QueryOrdersRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
filters: OrderFilters;
|
|
25
25
|
/**
|
|
26
|
-
* Pagination is used to paginate request.
|
|
26
|
+
* Pagination is used to paginate the request.
|
|
27
27
|
*/
|
|
28
28
|
pagination?: PageRequest;
|
|
29
29
|
}
|
|
@@ -43,7 +43,7 @@ export interface QueryOrdersRequestAmino {
|
|
|
43
43
|
*/
|
|
44
44
|
filters?: OrderFiltersAmino;
|
|
45
45
|
/**
|
|
46
|
-
* Pagination is used to paginate request.
|
|
46
|
+
* Pagination is used to paginate the request.
|
|
47
47
|
*/
|
|
48
48
|
pagination?: PageRequestAmino;
|
|
49
49
|
}
|
|
@@ -167,7 +167,7 @@ export interface QueryBidsRequest {
|
|
|
167
167
|
*/
|
|
168
168
|
filters: BidFilters;
|
|
169
169
|
/**
|
|
170
|
-
* Pagination is used to paginate request.
|
|
170
|
+
* Pagination is used to paginate the request.
|
|
171
171
|
*/
|
|
172
172
|
pagination?: PageRequest;
|
|
173
173
|
}
|
|
@@ -187,7 +187,7 @@ export interface QueryBidsRequestAmino {
|
|
|
187
187
|
*/
|
|
188
188
|
filters?: BidFiltersAmino;
|
|
189
189
|
/**
|
|
190
|
-
* Pagination is used to paginate request.
|
|
190
|
+
* Pagination is used to paginate the request.
|
|
191
191
|
*/
|
|
192
192
|
pagination?: PageRequestAmino;
|
|
193
193
|
}
|
|
@@ -319,7 +319,7 @@ export interface QueryLeasesRequest {
|
|
|
319
319
|
*/
|
|
320
320
|
filters: LeaseFilters;
|
|
321
321
|
/**
|
|
322
|
-
* Pagination is used to paginate request.
|
|
322
|
+
* Pagination is used to paginate the request.
|
|
323
323
|
*/
|
|
324
324
|
pagination?: PageRequest;
|
|
325
325
|
}
|
|
@@ -339,7 +339,7 @@ export interface QueryLeasesRequestAmino {
|
|
|
339
339
|
*/
|
|
340
340
|
filters?: LeaseFiltersAmino;
|
|
341
341
|
/**
|
|
342
|
-
* Pagination is used to paginate request.
|
|
342
|
+
* Pagination is used to paginate the request.
|
|
343
343
|
*/
|
|
344
344
|
pagination?: PageRequestAmino;
|
|
345
345
|
}
|
|
@@ -433,7 +433,7 @@ export interface QueryLeaseResponse {
|
|
|
433
433
|
/**
|
|
434
434
|
* EscrowPayment holds information about the Lease's fractional payment.
|
|
435
435
|
*/
|
|
436
|
-
escrowPayment:
|
|
436
|
+
escrowPayment: Payment;
|
|
437
437
|
}
|
|
438
438
|
export interface QueryLeaseResponseProtoMsg {
|
|
439
439
|
typeUrl: "/akash.market.v1beta5.QueryLeaseResponse";
|
|
@@ -453,7 +453,7 @@ export interface QueryLeaseResponseAmino {
|
|
|
453
453
|
/**
|
|
454
454
|
* EscrowPayment holds information about the Lease's fractional payment.
|
|
455
455
|
*/
|
|
456
|
-
escrow_payment?:
|
|
456
|
+
escrow_payment?: PaymentAmino;
|
|
457
457
|
}
|
|
458
458
|
export interface QueryLeaseResponseAminoMsg {
|
|
459
459
|
type: "/akash.market.v1beta5.QueryLeaseResponse";
|
|
@@ -10,8 +10,8 @@ const filters_2 = require("../v1/filters");
|
|
|
10
10
|
const lease_1 = require("../v1/lease");
|
|
11
11
|
const order_2 = require("./order");
|
|
12
12
|
const bid_2 = require("./bid");
|
|
13
|
-
const account_1 = require("../../escrow/v1/account");
|
|
14
|
-
const
|
|
13
|
+
const account_1 = require("../../escrow/types/v1/account");
|
|
14
|
+
const payment_1 = require("../../escrow/types/v1/payment");
|
|
15
15
|
const params_1 = require("./params");
|
|
16
16
|
const binary_1 = require("../../../binary");
|
|
17
17
|
function createBaseQueryOrdersRequest() {
|
|
@@ -869,7 +869,7 @@ exports.QueryLeaseRequest = {
|
|
|
869
869
|
function createBaseQueryLeaseResponse() {
|
|
870
870
|
return {
|
|
871
871
|
lease: lease_1.Lease.fromPartial({}),
|
|
872
|
-
escrowPayment:
|
|
872
|
+
escrowPayment: payment_1.Payment.fromPartial({})
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
/**
|
|
@@ -885,7 +885,7 @@ exports.QueryLeaseResponse = {
|
|
|
885
885
|
lease_1.Lease.encode(message.lease, writer.uint32(10).fork()).ldelim();
|
|
886
886
|
}
|
|
887
887
|
if (message.escrowPayment !== undefined) {
|
|
888
|
-
|
|
888
|
+
payment_1.Payment.encode(message.escrowPayment, writer.uint32(18).fork()).ldelim();
|
|
889
889
|
}
|
|
890
890
|
return writer;
|
|
891
891
|
},
|
|
@@ -900,7 +900,7 @@ exports.QueryLeaseResponse = {
|
|
|
900
900
|
message.lease = lease_1.Lease.decode(reader, reader.uint32());
|
|
901
901
|
break;
|
|
902
902
|
case 2:
|
|
903
|
-
message.escrowPayment =
|
|
903
|
+
message.escrowPayment = payment_1.Payment.decode(reader, reader.uint32());
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
906
|
reader.skipType(tag & 7);
|
|
@@ -912,7 +912,7 @@ exports.QueryLeaseResponse = {
|
|
|
912
912
|
fromPartial(object) {
|
|
913
913
|
const message = createBaseQueryLeaseResponse();
|
|
914
914
|
message.lease = object.lease !== undefined && object.lease !== null ? lease_1.Lease.fromPartial(object.lease) : undefined;
|
|
915
|
-
message.escrowPayment = object.escrowPayment !== undefined && object.escrowPayment !== null ?
|
|
915
|
+
message.escrowPayment = object.escrowPayment !== undefined && object.escrowPayment !== null ? payment_1.Payment.fromPartial(object.escrowPayment) : undefined;
|
|
916
916
|
return message;
|
|
917
917
|
},
|
|
918
918
|
fromAmino(object) {
|
|
@@ -921,14 +921,14 @@ exports.QueryLeaseResponse = {
|
|
|
921
921
|
message.lease = lease_1.Lease.fromAmino(object.lease);
|
|
922
922
|
}
|
|
923
923
|
if (object.escrow_payment !== undefined && object.escrow_payment !== null) {
|
|
924
|
-
message.escrowPayment =
|
|
924
|
+
message.escrowPayment = payment_1.Payment.fromAmino(object.escrow_payment);
|
|
925
925
|
}
|
|
926
926
|
return message;
|
|
927
927
|
},
|
|
928
928
|
toAmino(message) {
|
|
929
929
|
const obj = {};
|
|
930
930
|
obj.lease = message.lease ? lease_1.Lease.toAmino(message.lease) : undefined;
|
|
931
|
-
obj.escrow_payment = message.escrowPayment ?
|
|
931
|
+
obj.escrow_payment = message.escrowPayment ? payment_1.Payment.toAmino(message.escrowPayment) : undefined;
|
|
932
932
|
return obj;
|
|
933
933
|
},
|
|
934
934
|
fromAminoMsg(object) {
|
|
@@ -83,7 +83,7 @@ class LCDQueryClient {
|
|
|
83
83
|
const endpoint = `akash/market/v1beta5/leases/info`;
|
|
84
84
|
return await this.req.get(endpoint, options);
|
|
85
85
|
};
|
|
86
|
-
/* Params returns the total set of
|
|
86
|
+
/* Params returns the total set of market parameters. */
|
|
87
87
|
params = async (_params = {}) => {
|
|
88
88
|
const endpoint = `akash/market/v1beta5/params`;
|
|
89
89
|
return await this.req.get(endpoint);
|
|
@@ -15,7 +15,7 @@ export interface Query {
|
|
|
15
15
|
leases(request: QueryLeasesRequest): Promise<QueryLeasesResponse>;
|
|
16
16
|
/** Lease queries lease details. */
|
|
17
17
|
lease(request: QueryLeaseRequest): Promise<QueryLeaseResponse>;
|
|
18
|
-
/** Params returns the total set of
|
|
18
|
+
/** Params returns the total set of market parameters. */
|
|
19
19
|
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
20
20
|
}
|
|
21
21
|
export declare class QueryClientImpl implements Query {
|
|
@@ -45,7 +45,7 @@ class QueryClientImpl {
|
|
|
45
45
|
const promise = this.rpc.request("akash.market.v1beta5.Query", "Lease", data);
|
|
46
46
|
return promise.then(data => query_1.QueryLeaseResponse.decode(new binary_1.BinaryReader(data)));
|
|
47
47
|
};
|
|
48
|
-
/* Params returns the total set of
|
|
48
|
+
/* Params returns the total set of market parameters. */
|
|
49
49
|
params = async (request = {}) => {
|
|
50
50
|
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
51
51
|
const promise = this.rpc.request("akash.market.v1beta5.Query", "Params", data);
|