@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,10 +1,314 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
2
3
|
import { Resources } from "../../base/resources/v1beta4/resources";
|
|
3
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
+
function createBaseStorageOfferPrice() {
|
|
6
|
+
return {
|
|
7
|
+
name: "",
|
|
8
|
+
price: undefined
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* StorageOfferPrice represents the price a provider is offering for a specific
|
|
13
|
+
* class of persistent storage. Providers may offer multiple storage classes
|
|
14
|
+
* (e.g., SSD, HDD, NVMe), each identified by name and priced independently.
|
|
15
|
+
* This type is used as a repeated field within OfferPrices to express
|
|
16
|
+
* per-class storage pricing in a bid.
|
|
17
|
+
* @name StorageOfferPrice
|
|
18
|
+
* @package akash.market.v1beta5
|
|
19
|
+
* @see proto type: akash.market.v1beta5.StorageOfferPrice
|
|
20
|
+
*/
|
|
21
|
+
export const StorageOfferPrice = {
|
|
22
|
+
typeUrl: "/akash.market.v1beta5.StorageOfferPrice",
|
|
23
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
24
|
+
if (message.name !== "") {
|
|
25
|
+
writer.uint32(10).string(message.name);
|
|
26
|
+
}
|
|
27
|
+
if (message.price !== undefined) {
|
|
28
|
+
DecCoin.encode(message.price, writer.uint32(18).fork()).ldelim();
|
|
29
|
+
}
|
|
30
|
+
return writer;
|
|
31
|
+
},
|
|
32
|
+
decode(input, length) {
|
|
33
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
34
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
+
const message = createBaseStorageOfferPrice();
|
|
36
|
+
while (reader.pos < end) {
|
|
37
|
+
const tag = reader.uint32();
|
|
38
|
+
switch (tag >>> 3) {
|
|
39
|
+
case 1:
|
|
40
|
+
message.name = reader.string();
|
|
41
|
+
break;
|
|
42
|
+
case 2:
|
|
43
|
+
message.price = DecCoin.decode(reader, reader.uint32());
|
|
44
|
+
break;
|
|
45
|
+
default:
|
|
46
|
+
reader.skipType(tag & 7);
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
fromPartial(object) {
|
|
53
|
+
const message = createBaseStorageOfferPrice();
|
|
54
|
+
message.name = object.name ?? "";
|
|
55
|
+
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
56
|
+
return message;
|
|
57
|
+
},
|
|
58
|
+
fromAmino(object) {
|
|
59
|
+
const message = createBaseStorageOfferPrice();
|
|
60
|
+
if (object.name !== undefined && object.name !== null) {
|
|
61
|
+
message.name = object.name;
|
|
62
|
+
}
|
|
63
|
+
if (object.price !== undefined && object.price !== null) {
|
|
64
|
+
message.price = DecCoin.fromAmino(object.price);
|
|
65
|
+
}
|
|
66
|
+
return message;
|
|
67
|
+
},
|
|
68
|
+
toAmino(message) {
|
|
69
|
+
const obj = {};
|
|
70
|
+
obj.name = message.name ?? "";
|
|
71
|
+
obj.price = message.price ? DecCoin.toAmino(message.price) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
72
|
+
return obj;
|
|
73
|
+
},
|
|
74
|
+
fromAminoMsg(object) {
|
|
75
|
+
return StorageOfferPrice.fromAmino(object.value);
|
|
76
|
+
},
|
|
77
|
+
fromProtoMsg(message) {
|
|
78
|
+
return StorageOfferPrice.decode(message.value);
|
|
79
|
+
},
|
|
80
|
+
toProto(message) {
|
|
81
|
+
return StorageOfferPrice.encode(message).finish();
|
|
82
|
+
},
|
|
83
|
+
toProtoMsg(message) {
|
|
84
|
+
return {
|
|
85
|
+
typeUrl: "/akash.market.v1beta5.StorageOfferPrice",
|
|
86
|
+
value: StorageOfferPrice.encode(message).finish()
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
function createBaseEndpointOfferPrice() {
|
|
91
|
+
return {
|
|
92
|
+
kind: 0,
|
|
93
|
+
price: undefined
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* EndpointOfferPrice represents the price a provider is offering for a specific
|
|
98
|
+
* kind of network endpoint. Providers may price each endpoint kind differently
|
|
99
|
+
* (e.g., a leased IP may cost more than a shared HTTP ingress). This type is
|
|
100
|
+
* used as a repeated field within OfferPrices to express per-kind endpoint
|
|
101
|
+
* pricing in a bid.
|
|
102
|
+
* @name EndpointOfferPrice
|
|
103
|
+
* @package akash.market.v1beta5
|
|
104
|
+
* @see proto type: akash.market.v1beta5.EndpointOfferPrice
|
|
105
|
+
*/
|
|
106
|
+
export const EndpointOfferPrice = {
|
|
107
|
+
typeUrl: "/akash.market.v1beta5.EndpointOfferPrice",
|
|
108
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
109
|
+
if (message.kind !== 0) {
|
|
110
|
+
writer.uint32(8).int32(message.kind);
|
|
111
|
+
}
|
|
112
|
+
if (message.price !== undefined) {
|
|
113
|
+
DecCoin.encode(message.price, writer.uint32(18).fork()).ldelim();
|
|
114
|
+
}
|
|
115
|
+
return writer;
|
|
116
|
+
},
|
|
117
|
+
decode(input, length) {
|
|
118
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
119
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
120
|
+
const message = createBaseEndpointOfferPrice();
|
|
121
|
+
while (reader.pos < end) {
|
|
122
|
+
const tag = reader.uint32();
|
|
123
|
+
switch (tag >>> 3) {
|
|
124
|
+
case 1:
|
|
125
|
+
message.kind = reader.int32();
|
|
126
|
+
break;
|
|
127
|
+
case 2:
|
|
128
|
+
message.price = DecCoin.decode(reader, reader.uint32());
|
|
129
|
+
break;
|
|
130
|
+
default:
|
|
131
|
+
reader.skipType(tag & 7);
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return message;
|
|
136
|
+
},
|
|
137
|
+
fromPartial(object) {
|
|
138
|
+
const message = createBaseEndpointOfferPrice();
|
|
139
|
+
message.kind = object.kind ?? 0;
|
|
140
|
+
message.price = object.price !== undefined && object.price !== null ? DecCoin.fromPartial(object.price) : undefined;
|
|
141
|
+
return message;
|
|
142
|
+
},
|
|
143
|
+
fromAmino(object) {
|
|
144
|
+
const message = createBaseEndpointOfferPrice();
|
|
145
|
+
if (object.kind !== undefined && object.kind !== null) {
|
|
146
|
+
message.kind = object.kind;
|
|
147
|
+
}
|
|
148
|
+
if (object.price !== undefined && object.price !== null) {
|
|
149
|
+
message.price = DecCoin.fromAmino(object.price);
|
|
150
|
+
}
|
|
151
|
+
return message;
|
|
152
|
+
},
|
|
153
|
+
toAmino(message) {
|
|
154
|
+
const obj = {};
|
|
155
|
+
obj.kind = message.kind ?? 0;
|
|
156
|
+
obj.price = message.price ? DecCoin.toAmino(message.price) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
157
|
+
return obj;
|
|
158
|
+
},
|
|
159
|
+
fromAminoMsg(object) {
|
|
160
|
+
return EndpointOfferPrice.fromAmino(object.value);
|
|
161
|
+
},
|
|
162
|
+
fromProtoMsg(message) {
|
|
163
|
+
return EndpointOfferPrice.decode(message.value);
|
|
164
|
+
},
|
|
165
|
+
toProto(message) {
|
|
166
|
+
return EndpointOfferPrice.encode(message).finish();
|
|
167
|
+
},
|
|
168
|
+
toProtoMsg(message) {
|
|
169
|
+
return {
|
|
170
|
+
typeUrl: "/akash.market.v1beta5.EndpointOfferPrice",
|
|
171
|
+
value: EndpointOfferPrice.encode(message).finish()
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
function createBaseOfferPrices() {
|
|
176
|
+
return {
|
|
177
|
+
cpu: undefined,
|
|
178
|
+
memory: undefined,
|
|
179
|
+
storage: [],
|
|
180
|
+
gpu: undefined,
|
|
181
|
+
endpoints: []
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* OfferPrices contains the complete pricing breakdown that a provider includes
|
|
186
|
+
* in a bid for a deployment resource group. Each field represents the price for
|
|
187
|
+
* a specific compute resource type. All price fields use DecCoin (decimal coin)
|
|
188
|
+
* to support fractional pricing denominated in any supported token.
|
|
189
|
+
*
|
|
190
|
+
* This message is embedded as a nullable field on ResourceOffer, which in turn
|
|
191
|
+
* is carried by Bid and MsgCreateBid messages. A nil OfferPrices on a
|
|
192
|
+
* ResourceOffer indicates that no per-resource pricing was specified.
|
|
193
|
+
*
|
|
194
|
+
* Field 1 is reserved for backward compatibility with a previously removed field.
|
|
195
|
+
* @name OfferPrices
|
|
196
|
+
* @package akash.market.v1beta5
|
|
197
|
+
* @see proto type: akash.market.v1beta5.OfferPrices
|
|
198
|
+
*/
|
|
199
|
+
export const OfferPrices = {
|
|
200
|
+
typeUrl: "/akash.market.v1beta5.OfferPrices",
|
|
201
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
202
|
+
if (message.cpu !== undefined) {
|
|
203
|
+
DecCoin.encode(message.cpu, writer.uint32(18).fork()).ldelim();
|
|
204
|
+
}
|
|
205
|
+
if (message.memory !== undefined) {
|
|
206
|
+
DecCoin.encode(message.memory, writer.uint32(26).fork()).ldelim();
|
|
207
|
+
}
|
|
208
|
+
for (const v of message.storage) {
|
|
209
|
+
StorageOfferPrice.encode(v, writer.uint32(34).fork()).ldelim();
|
|
210
|
+
}
|
|
211
|
+
if (message.gpu !== undefined) {
|
|
212
|
+
DecCoin.encode(message.gpu, writer.uint32(42).fork()).ldelim();
|
|
213
|
+
}
|
|
214
|
+
for (const v of message.endpoints) {
|
|
215
|
+
EndpointOfferPrice.encode(v, writer.uint32(50).fork()).ldelim();
|
|
216
|
+
}
|
|
217
|
+
return writer;
|
|
218
|
+
},
|
|
219
|
+
decode(input, length) {
|
|
220
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
221
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
222
|
+
const message = createBaseOfferPrices();
|
|
223
|
+
while (reader.pos < end) {
|
|
224
|
+
const tag = reader.uint32();
|
|
225
|
+
switch (tag >>> 3) {
|
|
226
|
+
case 2:
|
|
227
|
+
message.cpu = DecCoin.decode(reader, reader.uint32());
|
|
228
|
+
break;
|
|
229
|
+
case 3:
|
|
230
|
+
message.memory = DecCoin.decode(reader, reader.uint32());
|
|
231
|
+
break;
|
|
232
|
+
case 4:
|
|
233
|
+
message.storage.push(StorageOfferPrice.decode(reader, reader.uint32()));
|
|
234
|
+
break;
|
|
235
|
+
case 5:
|
|
236
|
+
message.gpu = DecCoin.decode(reader, reader.uint32());
|
|
237
|
+
break;
|
|
238
|
+
case 6:
|
|
239
|
+
message.endpoints.push(EndpointOfferPrice.decode(reader, reader.uint32()));
|
|
240
|
+
break;
|
|
241
|
+
default:
|
|
242
|
+
reader.skipType(tag & 7);
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return message;
|
|
247
|
+
},
|
|
248
|
+
fromPartial(object) {
|
|
249
|
+
const message = createBaseOfferPrices();
|
|
250
|
+
message.cpu = object.cpu !== undefined && object.cpu !== null ? DecCoin.fromPartial(object.cpu) : undefined;
|
|
251
|
+
message.memory = object.memory !== undefined && object.memory !== null ? DecCoin.fromPartial(object.memory) : undefined;
|
|
252
|
+
message.storage = object.storage?.map(e => StorageOfferPrice.fromPartial(e)) || [];
|
|
253
|
+
message.gpu = object.gpu !== undefined && object.gpu !== null ? DecCoin.fromPartial(object.gpu) : undefined;
|
|
254
|
+
message.endpoints = object.endpoints?.map(e => EndpointOfferPrice.fromPartial(e)) || [];
|
|
255
|
+
return message;
|
|
256
|
+
},
|
|
257
|
+
fromAmino(object) {
|
|
258
|
+
const message = createBaseOfferPrices();
|
|
259
|
+
if (object.cpu !== undefined && object.cpu !== null) {
|
|
260
|
+
message.cpu = DecCoin.fromAmino(object.cpu);
|
|
261
|
+
}
|
|
262
|
+
if (object.memory !== undefined && object.memory !== null) {
|
|
263
|
+
message.memory = DecCoin.fromAmino(object.memory);
|
|
264
|
+
}
|
|
265
|
+
message.storage = object.storage?.map(e => StorageOfferPrice.fromAmino(e)) || [];
|
|
266
|
+
if (object.gpu !== undefined && object.gpu !== null) {
|
|
267
|
+
message.gpu = DecCoin.fromAmino(object.gpu);
|
|
268
|
+
}
|
|
269
|
+
message.endpoints = object.endpoints?.map(e => EndpointOfferPrice.fromAmino(e)) || [];
|
|
270
|
+
return message;
|
|
271
|
+
},
|
|
272
|
+
toAmino(message) {
|
|
273
|
+
const obj = {};
|
|
274
|
+
obj.cpu = message.cpu ? DecCoin.toAmino(message.cpu) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
275
|
+
obj.memory = message.memory ? DecCoin.toAmino(message.memory) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
276
|
+
if (message.storage) {
|
|
277
|
+
obj.storage = message.storage.map(e => e ? StorageOfferPrice.toAmino(e) : undefined);
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
obj.storage = message.storage;
|
|
281
|
+
}
|
|
282
|
+
obj.gpu = message.gpu ? DecCoin.toAmino(message.gpu) : DecCoin.toAmino(DecCoin.fromPartial({}));
|
|
283
|
+
if (message.endpoints) {
|
|
284
|
+
obj.endpoints = message.endpoints.map(e => e ? EndpointOfferPrice.toAmino(e) : undefined);
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
obj.endpoints = message.endpoints;
|
|
288
|
+
}
|
|
289
|
+
return obj;
|
|
290
|
+
},
|
|
291
|
+
fromAminoMsg(object) {
|
|
292
|
+
return OfferPrices.fromAmino(object.value);
|
|
293
|
+
},
|
|
294
|
+
fromProtoMsg(message) {
|
|
295
|
+
return OfferPrices.decode(message.value);
|
|
296
|
+
},
|
|
297
|
+
toProto(message) {
|
|
298
|
+
return OfferPrices.encode(message).finish();
|
|
299
|
+
},
|
|
300
|
+
toProtoMsg(message) {
|
|
301
|
+
return {
|
|
302
|
+
typeUrl: "/akash.market.v1beta5.OfferPrices",
|
|
303
|
+
value: OfferPrices.encode(message).finish()
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
};
|
|
4
307
|
function createBaseResourceOffer() {
|
|
5
308
|
return {
|
|
6
309
|
resources: Resources.fromPartial({}),
|
|
7
|
-
count: 0
|
|
310
|
+
count: 0,
|
|
311
|
+
prices: undefined
|
|
8
312
|
};
|
|
9
313
|
}
|
|
10
314
|
/**
|
|
@@ -23,6 +327,9 @@ export const ResourceOffer = {
|
|
|
23
327
|
if (message.count !== 0) {
|
|
24
328
|
writer.uint32(16).uint32(message.count);
|
|
25
329
|
}
|
|
330
|
+
if (message.prices !== undefined) {
|
|
331
|
+
OfferPrices.encode(message.prices, writer.uint32(26).fork()).ldelim();
|
|
332
|
+
}
|
|
26
333
|
return writer;
|
|
27
334
|
},
|
|
28
335
|
decode(input, length) {
|
|
@@ -38,6 +345,9 @@ export const ResourceOffer = {
|
|
|
38
345
|
case 2:
|
|
39
346
|
message.count = reader.uint32();
|
|
40
347
|
break;
|
|
348
|
+
case 3:
|
|
349
|
+
message.prices = OfferPrices.decode(reader, reader.uint32());
|
|
350
|
+
break;
|
|
41
351
|
default:
|
|
42
352
|
reader.skipType(tag & 7);
|
|
43
353
|
break;
|
|
@@ -49,6 +359,7 @@ export const ResourceOffer = {
|
|
|
49
359
|
const message = createBaseResourceOffer();
|
|
50
360
|
message.resources = object.resources !== undefined && object.resources !== null ? Resources.fromPartial(object.resources) : undefined;
|
|
51
361
|
message.count = object.count ?? 0;
|
|
362
|
+
message.prices = object.prices !== undefined && object.prices !== null ? OfferPrices.fromPartial(object.prices) : undefined;
|
|
52
363
|
return message;
|
|
53
364
|
},
|
|
54
365
|
fromAmino(object) {
|
|
@@ -59,12 +370,16 @@ export const ResourceOffer = {
|
|
|
59
370
|
if (object.count !== undefined && object.count !== null) {
|
|
60
371
|
message.count = object.count;
|
|
61
372
|
}
|
|
373
|
+
if (object.prices !== undefined && object.prices !== null) {
|
|
374
|
+
message.prices = OfferPrices.fromAmino(object.prices);
|
|
375
|
+
}
|
|
62
376
|
return message;
|
|
63
377
|
},
|
|
64
378
|
toAmino(message) {
|
|
65
379
|
const obj = {};
|
|
66
380
|
obj.resources = message.resources ? Resources.toAmino(message.resources) : Resources.toAmino(Resources.fromPartial({}));
|
|
67
381
|
obj.count = message.count ?? 0;
|
|
382
|
+
obj.prices = message.prices ? OfferPrices.toAmino(message.prices) : OfferPrices.toAmino(OfferPrices.fromPartial({}));
|
|
68
383
|
return obj;
|
|
69
384
|
},
|
|
70
385
|
fromAminoMsg(object) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
3
|
-
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
3
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease, MsgLeaseStartReclaim } from "./leasemsg";
|
|
4
4
|
import { MsgUpdateParams } from "./paramsmsg";
|
|
5
5
|
export const AminoConverter = {
|
|
6
6
|
"/akash.market.v1beta5.MsgCreateBid": {
|
|
@@ -28,6 +28,11 @@ export const AminoConverter = {
|
|
|
28
28
|
toAmino: MsgCloseLease.toAmino,
|
|
29
29
|
fromAmino: MsgCloseLease.fromAmino
|
|
30
30
|
},
|
|
31
|
+
"/akash.market.v1beta5.MsgLeaseStartReclaim": {
|
|
32
|
+
aminoType: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
33
|
+
toAmino: MsgLeaseStartReclaim.toAmino,
|
|
34
|
+
fromAmino: MsgLeaseStartReclaim.fromAmino
|
|
35
|
+
},
|
|
31
36
|
"/akash.market.v1beta5.MsgUpdateParams": {
|
|
32
37
|
aminoType: "/akash.market.v1beta5.MsgUpdateParams",
|
|
33
38
|
toAmino: MsgUpdateParams.toAmino,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MsgCreateBid, MsgCloseBid } from "./bidmsg";
|
|
2
|
-
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease } from "./leasemsg";
|
|
2
|
+
import { MsgWithdrawLease, MsgCreateLease, MsgCloseLease, MsgLeaseStartReclaim } from "./leasemsg";
|
|
3
3
|
import { MsgUpdateParams } from "./paramsmsg";
|
|
4
|
-
export const registry = [["/akash.market.v1beta5.MsgCreateBid", MsgCreateBid], ["/akash.market.v1beta5.MsgCloseBid", MsgCloseBid], ["/akash.market.v1beta5.MsgWithdrawLease", MsgWithdrawLease], ["/akash.market.v1beta5.MsgCreateLease", MsgCreateLease], ["/akash.market.v1beta5.MsgCloseLease", MsgCloseLease], ["/akash.market.v1beta5.MsgUpdateParams", MsgUpdateParams]];
|
|
4
|
+
export const registry = [["/akash.market.v1beta5.MsgCreateBid", MsgCreateBid], ["/akash.market.v1beta5.MsgCloseBid", MsgCloseBid], ["/akash.market.v1beta5.MsgWithdrawLease", MsgWithdrawLease], ["/akash.market.v1beta5.MsgCreateLease", MsgCreateLease], ["/akash.market.v1beta5.MsgCloseLease", MsgCloseLease], ["/akash.market.v1beta5.MsgLeaseStartReclaim", MsgLeaseStartReclaim], ["/akash.market.v1beta5.MsgUpdateParams", MsgUpdateParams]];
|
|
5
5
|
export const load = (protoRegistry) => {
|
|
6
6
|
registry.forEach(([typeUrl, mod]) => {
|
|
7
7
|
protoRegistry.register(typeUrl, mod);
|
|
@@ -39,6 +39,12 @@ export const MessageComposer = {
|
|
|
39
39
|
value: MsgCloseLease.encode(value).finish()
|
|
40
40
|
};
|
|
41
41
|
},
|
|
42
|
+
leaseStartReclaim(value) {
|
|
43
|
+
return {
|
|
44
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
45
|
+
value: MsgLeaseStartReclaim.encode(value).finish()
|
|
46
|
+
};
|
|
47
|
+
},
|
|
42
48
|
updateParams(value) {
|
|
43
49
|
return {
|
|
44
50
|
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
@@ -77,6 +83,12 @@ export const MessageComposer = {
|
|
|
77
83
|
value
|
|
78
84
|
};
|
|
79
85
|
},
|
|
86
|
+
leaseStartReclaim(value) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
89
|
+
value
|
|
90
|
+
};
|
|
91
|
+
},
|
|
80
92
|
updateParams(value) {
|
|
81
93
|
return {
|
|
82
94
|
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
@@ -115,6 +127,12 @@ export const MessageComposer = {
|
|
|
115
127
|
value: MsgCloseLease.fromPartial(value)
|
|
116
128
|
};
|
|
117
129
|
},
|
|
130
|
+
leaseStartReclaim(value) {
|
|
131
|
+
return {
|
|
132
|
+
typeUrl: "/akash.market.v1beta5.MsgLeaseStartReclaim",
|
|
133
|
+
value: MsgLeaseStartReclaim.fromPartial(value)
|
|
134
|
+
};
|
|
135
|
+
},
|
|
118
136
|
updateParams(value) {
|
|
119
137
|
return {
|
|
120
138
|
typeUrl: "/akash.market.v1beta5.MsgUpdateParams",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader } from "../../../binary";
|
|
2
2
|
import { MsgCreateBid, MsgCreateBidResponse, MsgCloseBid, MsgCloseBidResponse } from "./bidmsg";
|
|
3
|
-
import { MsgWithdrawLease, MsgWithdrawLeaseResponse, MsgCreateLease, MsgCreateLeaseResponse, MsgCloseLease, MsgCloseLeaseResponse } from "./leasemsg";
|
|
3
|
+
import { MsgWithdrawLease, MsgWithdrawLeaseResponse, MsgCreateLease, MsgCreateLeaseResponse, MsgCloseLease, MsgCloseLeaseResponse, MsgLeaseStartReclaim, MsgLeaseStartReclaimResponse } from "./leasemsg";
|
|
4
4
|
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
5
5
|
export class MsgClientImpl {
|
|
6
6
|
rpc;
|
|
@@ -37,6 +37,12 @@ export class MsgClientImpl {
|
|
|
37
37
|
const promise = this.rpc.request("akash.market.v1beta5.Msg", "CloseLease", data);
|
|
38
38
|
return promise.then(data => MsgCloseLeaseResponse.decode(new BinaryReader(data)));
|
|
39
39
|
};
|
|
40
|
+
/* LeaseStartReclaim initiates the reclamation window on an active lease. */
|
|
41
|
+
leaseStartReclaim = async (request) => {
|
|
42
|
+
const data = MsgLeaseStartReclaim.encode(request).finish();
|
|
43
|
+
const promise = this.rpc.request("akash.market.v1beta5.Msg", "LeaseStartReclaim", data);
|
|
44
|
+
return promise.then(data => MsgLeaseStartReclaimResponse.decode(new BinaryReader(data)));
|
|
45
|
+
};
|
|
40
46
|
/* UpdateParams defines a governance operation for updating the x/market module
|
|
41
47
|
parameters. The authority is hard-coded to the x/gov module account.
|
|
42
48
|
|