@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,218 @@
|
|
|
1
|
+
import { DecCoin, DecCoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { Endpoint_Kind } from "../../base/resources/v1beta4/endpoint";
|
|
1
3
|
import { Resources, ResourcesAmino } from "../../base/resources/v1beta4/resources";
|
|
2
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
5
|
import { DeepPartial } from "../../../helpers";
|
|
6
|
+
/**
|
|
7
|
+
* StorageOfferPrice represents the price a provider is offering for a specific
|
|
8
|
+
* class of persistent storage. Providers may offer multiple storage classes
|
|
9
|
+
* (e.g., SSD, HDD, NVMe), each identified by name and priced independently.
|
|
10
|
+
* This type is used as a repeated field within OfferPrices to express
|
|
11
|
+
* per-class storage pricing in a bid.
|
|
12
|
+
* @name StorageOfferPrice
|
|
13
|
+
* @package akash.market.v1beta5
|
|
14
|
+
* @see proto type: akash.market.v1beta5.StorageOfferPrice
|
|
15
|
+
*/
|
|
16
|
+
export interface StorageOfferPrice {
|
|
17
|
+
/**
|
|
18
|
+
* Name holds an arbitrary name for the storage class (e.g., "default", "ssd", "hdd").
|
|
19
|
+
* This must match a storage class name from the corresponding resource specification.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Price is the offered price per unit of this storage class, expressed as a
|
|
24
|
+
* DecCoin (decimal coin) to allow fractional pricing. When nil, no explicit
|
|
25
|
+
* price is set for this storage class.
|
|
26
|
+
*/
|
|
27
|
+
price?: DecCoin;
|
|
28
|
+
}
|
|
29
|
+
export interface StorageOfferPriceProtoMsg {
|
|
30
|
+
typeUrl: "/akash.market.v1beta5.StorageOfferPrice";
|
|
31
|
+
value: Uint8Array;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* StorageOfferPrice represents the price a provider is offering for a specific
|
|
35
|
+
* class of persistent storage. Providers may offer multiple storage classes
|
|
36
|
+
* (e.g., SSD, HDD, NVMe), each identified by name and priced independently.
|
|
37
|
+
* This type is used as a repeated field within OfferPrices to express
|
|
38
|
+
* per-class storage pricing in a bid.
|
|
39
|
+
* @name StorageOfferPriceAmino
|
|
40
|
+
* @package akash.market.v1beta5
|
|
41
|
+
* @see proto type: akash.market.v1beta5.StorageOfferPrice
|
|
42
|
+
*/
|
|
43
|
+
export interface StorageOfferPriceAmino {
|
|
44
|
+
/**
|
|
45
|
+
* Name holds an arbitrary name for the storage class (e.g., "default", "ssd", "hdd").
|
|
46
|
+
* This must match a storage class name from the corresponding resource specification.
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Price is the offered price per unit of this storage class, expressed as a
|
|
51
|
+
* DecCoin (decimal coin) to allow fractional pricing. When nil, no explicit
|
|
52
|
+
* price is set for this storage class.
|
|
53
|
+
*/
|
|
54
|
+
price: DecCoinAmino;
|
|
55
|
+
}
|
|
56
|
+
export interface StorageOfferPriceAminoMsg {
|
|
57
|
+
type: "/akash.market.v1beta5.StorageOfferPrice";
|
|
58
|
+
value: StorageOfferPriceAmino;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* EndpointOfferPrice represents the price a provider is offering for a specific
|
|
62
|
+
* kind of network endpoint. Providers may price each endpoint kind differently
|
|
63
|
+
* (e.g., a leased IP may cost more than a shared HTTP ingress). This type is
|
|
64
|
+
* used as a repeated field within OfferPrices to express per-kind endpoint
|
|
65
|
+
* pricing in a bid.
|
|
66
|
+
* @name EndpointOfferPrice
|
|
67
|
+
* @package akash.market.v1beta5
|
|
68
|
+
* @see proto type: akash.market.v1beta5.EndpointOfferPrice
|
|
69
|
+
*/
|
|
70
|
+
export interface EndpointOfferPrice {
|
|
71
|
+
/**
|
|
72
|
+
* Kind specifies the type of network endpoint being priced. Possible values:
|
|
73
|
+
* - SHARED_HTTP (0): A Kubernetes Ingress endpoint.
|
|
74
|
+
* - RANDOM_PORT (1): A Kubernetes NodePort endpoint.
|
|
75
|
+
* - LEASED_IP (2): A dedicated leased IP endpoint.
|
|
76
|
+
*/
|
|
77
|
+
kind: Endpoint_Kind;
|
|
78
|
+
/**
|
|
79
|
+
* Price is the offered price per unit of this endpoint kind, expressed as a
|
|
80
|
+
* DecCoin (decimal coin) to allow fractional pricing. When nil, no explicit
|
|
81
|
+
* price is set for this endpoint kind.
|
|
82
|
+
*/
|
|
83
|
+
price?: DecCoin;
|
|
84
|
+
}
|
|
85
|
+
export interface EndpointOfferPriceProtoMsg {
|
|
86
|
+
typeUrl: "/akash.market.v1beta5.EndpointOfferPrice";
|
|
87
|
+
value: Uint8Array;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* EndpointOfferPrice represents the price a provider is offering for a specific
|
|
91
|
+
* kind of network endpoint. Providers may price each endpoint kind differently
|
|
92
|
+
* (e.g., a leased IP may cost more than a shared HTTP ingress). This type is
|
|
93
|
+
* used as a repeated field within OfferPrices to express per-kind endpoint
|
|
94
|
+
* pricing in a bid.
|
|
95
|
+
* @name EndpointOfferPriceAmino
|
|
96
|
+
* @package akash.market.v1beta5
|
|
97
|
+
* @see proto type: akash.market.v1beta5.EndpointOfferPrice
|
|
98
|
+
*/
|
|
99
|
+
export interface EndpointOfferPriceAmino {
|
|
100
|
+
/**
|
|
101
|
+
* Kind specifies the type of network endpoint being priced. Possible values:
|
|
102
|
+
* - SHARED_HTTP (0): A Kubernetes Ingress endpoint.
|
|
103
|
+
* - RANDOM_PORT (1): A Kubernetes NodePort endpoint.
|
|
104
|
+
* - LEASED_IP (2): A dedicated leased IP endpoint.
|
|
105
|
+
*/
|
|
106
|
+
kind: Endpoint_Kind;
|
|
107
|
+
/**
|
|
108
|
+
* Price is the offered price per unit of this endpoint kind, expressed as a
|
|
109
|
+
* DecCoin (decimal coin) to allow fractional pricing. When nil, no explicit
|
|
110
|
+
* price is set for this endpoint kind.
|
|
111
|
+
*/
|
|
112
|
+
price: DecCoinAmino;
|
|
113
|
+
}
|
|
114
|
+
export interface EndpointOfferPriceAminoMsg {
|
|
115
|
+
type: "/akash.market.v1beta5.EndpointOfferPrice";
|
|
116
|
+
value: EndpointOfferPriceAmino;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* OfferPrices contains the complete pricing breakdown that a provider includes
|
|
120
|
+
* in a bid for a deployment resource group. Each field represents the price for
|
|
121
|
+
* a specific compute resource type. All price fields use DecCoin (decimal coin)
|
|
122
|
+
* to support fractional pricing denominated in any supported token.
|
|
123
|
+
*
|
|
124
|
+
* This message is embedded as a nullable field on ResourceOffer, which in turn
|
|
125
|
+
* is carried by Bid and MsgCreateBid messages. A nil OfferPrices on a
|
|
126
|
+
* ResourceOffer indicates that no per-resource pricing was specified.
|
|
127
|
+
*
|
|
128
|
+
* Field 1 is reserved for backward compatibility with a previously removed field.
|
|
129
|
+
* @name OfferPrices
|
|
130
|
+
* @package akash.market.v1beta5
|
|
131
|
+
* @see proto type: akash.market.v1beta5.OfferPrices
|
|
132
|
+
*/
|
|
133
|
+
export interface OfferPrices {
|
|
134
|
+
/**
|
|
135
|
+
* Cpu is the offered price for CPU resources. When nil, no explicit
|
|
136
|
+
* CPU price is set.
|
|
137
|
+
*/
|
|
138
|
+
cpu?: DecCoin;
|
|
139
|
+
/**
|
|
140
|
+
* Memory is the offered price for memory resources. When nil, no explicit
|
|
141
|
+
* memory price is set.
|
|
142
|
+
*/
|
|
143
|
+
memory?: DecCoin;
|
|
144
|
+
/**
|
|
145
|
+
* Storage is a list of per-class storage prices. Each entry corresponds to a
|
|
146
|
+
* named storage class (e.g., "default", "ssd") and its associated price.
|
|
147
|
+
* Multiple entries allow providers to price different storage tiers independently.
|
|
148
|
+
*/
|
|
149
|
+
storage: StorageOfferPrice[];
|
|
150
|
+
/**
|
|
151
|
+
* Gpu is the offered price for GPU resources. When nil, no explicit
|
|
152
|
+
* GPU price is set.
|
|
153
|
+
*/
|
|
154
|
+
gpu?: DecCoin;
|
|
155
|
+
/**
|
|
156
|
+
* Endpoints is a list of per-kind endpoint prices. Each entry corresponds to
|
|
157
|
+
* a network endpoint kind (SHARED_HTTP, RANDOM_PORT, or LEASED_IP) and its
|
|
158
|
+
* associated price. Multiple entries allow providers to price different
|
|
159
|
+
* endpoint types independently.
|
|
160
|
+
*/
|
|
161
|
+
endpoints: EndpointOfferPrice[];
|
|
162
|
+
}
|
|
163
|
+
export interface OfferPricesProtoMsg {
|
|
164
|
+
typeUrl: "/akash.market.v1beta5.OfferPrices";
|
|
165
|
+
value: Uint8Array;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* OfferPrices contains the complete pricing breakdown that a provider includes
|
|
169
|
+
* in a bid for a deployment resource group. Each field represents the price for
|
|
170
|
+
* a specific compute resource type. All price fields use DecCoin (decimal coin)
|
|
171
|
+
* to support fractional pricing denominated in any supported token.
|
|
172
|
+
*
|
|
173
|
+
* This message is embedded as a nullable field on ResourceOffer, which in turn
|
|
174
|
+
* is carried by Bid and MsgCreateBid messages. A nil OfferPrices on a
|
|
175
|
+
* ResourceOffer indicates that no per-resource pricing was specified.
|
|
176
|
+
*
|
|
177
|
+
* Field 1 is reserved for backward compatibility with a previously removed field.
|
|
178
|
+
* @name OfferPricesAmino
|
|
179
|
+
* @package akash.market.v1beta5
|
|
180
|
+
* @see proto type: akash.market.v1beta5.OfferPrices
|
|
181
|
+
*/
|
|
182
|
+
export interface OfferPricesAmino {
|
|
183
|
+
/**
|
|
184
|
+
* Cpu is the offered price for CPU resources. When nil, no explicit
|
|
185
|
+
* CPU price is set.
|
|
186
|
+
*/
|
|
187
|
+
cpu: DecCoinAmino;
|
|
188
|
+
/**
|
|
189
|
+
* Memory is the offered price for memory resources. When nil, no explicit
|
|
190
|
+
* memory price is set.
|
|
191
|
+
*/
|
|
192
|
+
memory: DecCoinAmino;
|
|
193
|
+
/**
|
|
194
|
+
* Storage is a list of per-class storage prices. Each entry corresponds to a
|
|
195
|
+
* named storage class (e.g., "default", "ssd") and its associated price.
|
|
196
|
+
* Multiple entries allow providers to price different storage tiers independently.
|
|
197
|
+
*/
|
|
198
|
+
storage: StorageOfferPriceAmino[];
|
|
199
|
+
/**
|
|
200
|
+
* Gpu is the offered price for GPU resources. When nil, no explicit
|
|
201
|
+
* GPU price is set.
|
|
202
|
+
*/
|
|
203
|
+
gpu: DecCoinAmino;
|
|
204
|
+
/**
|
|
205
|
+
* Endpoints is a list of per-kind endpoint prices. Each entry corresponds to
|
|
206
|
+
* a network endpoint kind (SHARED_HTTP, RANDOM_PORT, or LEASED_IP) and its
|
|
207
|
+
* associated price. Multiple entries allow providers to price different
|
|
208
|
+
* endpoint types independently.
|
|
209
|
+
*/
|
|
210
|
+
endpoints: EndpointOfferPriceAmino[];
|
|
211
|
+
}
|
|
212
|
+
export interface OfferPricesAminoMsg {
|
|
213
|
+
type: "/akash.market.v1beta5.OfferPrices";
|
|
214
|
+
value: OfferPricesAmino;
|
|
215
|
+
}
|
|
4
216
|
/**
|
|
5
217
|
* ResourceOffer describes resources that provider is offering
|
|
6
218
|
* for deployment.
|
|
@@ -17,6 +229,10 @@ export interface ResourceOffer {
|
|
|
17
229
|
* Count is the number of resources.
|
|
18
230
|
*/
|
|
19
231
|
count: number;
|
|
232
|
+
/**
|
|
233
|
+
* Prices contains per-resource pricing details (CPU, memory, storage, GPU, endpoints) for this offer.
|
|
234
|
+
*/
|
|
235
|
+
prices?: OfferPrices;
|
|
20
236
|
}
|
|
21
237
|
export interface ResourceOfferProtoMsg {
|
|
22
238
|
typeUrl: "/akash.market.v1beta5.ResourceOffer";
|
|
@@ -38,11 +254,86 @@ export interface ResourceOfferAmino {
|
|
|
38
254
|
* Count is the number of resources.
|
|
39
255
|
*/
|
|
40
256
|
count: number;
|
|
257
|
+
/**
|
|
258
|
+
* Prices contains per-resource pricing details (CPU, memory, storage, GPU, endpoints) for this offer.
|
|
259
|
+
*/
|
|
260
|
+
prices: OfferPricesAmino;
|
|
41
261
|
}
|
|
42
262
|
export interface ResourceOfferAminoMsg {
|
|
43
263
|
type: "/akash.market.v1beta5.ResourceOffer";
|
|
44
264
|
value: ResourceOfferAmino;
|
|
45
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* StorageOfferPrice represents the price a provider is offering for a specific
|
|
268
|
+
* class of persistent storage. Providers may offer multiple storage classes
|
|
269
|
+
* (e.g., SSD, HDD, NVMe), each identified by name and priced independently.
|
|
270
|
+
* This type is used as a repeated field within OfferPrices to express
|
|
271
|
+
* per-class storage pricing in a bid.
|
|
272
|
+
* @name StorageOfferPrice
|
|
273
|
+
* @package akash.market.v1beta5
|
|
274
|
+
* @see proto type: akash.market.v1beta5.StorageOfferPrice
|
|
275
|
+
*/
|
|
276
|
+
export declare const StorageOfferPrice: {
|
|
277
|
+
typeUrl: string;
|
|
278
|
+
encode(message: StorageOfferPrice, writer?: BinaryWriter): BinaryWriter;
|
|
279
|
+
decode(input: BinaryReader | Uint8Array, length?: number): StorageOfferPrice;
|
|
280
|
+
fromPartial(object: DeepPartial<StorageOfferPrice>): StorageOfferPrice;
|
|
281
|
+
fromAmino(object: StorageOfferPriceAmino): StorageOfferPrice;
|
|
282
|
+
toAmino(message: StorageOfferPrice): StorageOfferPriceAmino;
|
|
283
|
+
fromAminoMsg(object: StorageOfferPriceAminoMsg): StorageOfferPrice;
|
|
284
|
+
fromProtoMsg(message: StorageOfferPriceProtoMsg): StorageOfferPrice;
|
|
285
|
+
toProto(message: StorageOfferPrice): Uint8Array;
|
|
286
|
+
toProtoMsg(message: StorageOfferPrice): StorageOfferPriceProtoMsg;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* EndpointOfferPrice represents the price a provider is offering for a specific
|
|
290
|
+
* kind of network endpoint. Providers may price each endpoint kind differently
|
|
291
|
+
* (e.g., a leased IP may cost more than a shared HTTP ingress). This type is
|
|
292
|
+
* used as a repeated field within OfferPrices to express per-kind endpoint
|
|
293
|
+
* pricing in a bid.
|
|
294
|
+
* @name EndpointOfferPrice
|
|
295
|
+
* @package akash.market.v1beta5
|
|
296
|
+
* @see proto type: akash.market.v1beta5.EndpointOfferPrice
|
|
297
|
+
*/
|
|
298
|
+
export declare const EndpointOfferPrice: {
|
|
299
|
+
typeUrl: string;
|
|
300
|
+
encode(message: EndpointOfferPrice, writer?: BinaryWriter): BinaryWriter;
|
|
301
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EndpointOfferPrice;
|
|
302
|
+
fromPartial(object: DeepPartial<EndpointOfferPrice>): EndpointOfferPrice;
|
|
303
|
+
fromAmino(object: EndpointOfferPriceAmino): EndpointOfferPrice;
|
|
304
|
+
toAmino(message: EndpointOfferPrice): EndpointOfferPriceAmino;
|
|
305
|
+
fromAminoMsg(object: EndpointOfferPriceAminoMsg): EndpointOfferPrice;
|
|
306
|
+
fromProtoMsg(message: EndpointOfferPriceProtoMsg): EndpointOfferPrice;
|
|
307
|
+
toProto(message: EndpointOfferPrice): Uint8Array;
|
|
308
|
+
toProtoMsg(message: EndpointOfferPrice): EndpointOfferPriceProtoMsg;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* OfferPrices contains the complete pricing breakdown that a provider includes
|
|
312
|
+
* in a bid for a deployment resource group. Each field represents the price for
|
|
313
|
+
* a specific compute resource type. All price fields use DecCoin (decimal coin)
|
|
314
|
+
* to support fractional pricing denominated in any supported token.
|
|
315
|
+
*
|
|
316
|
+
* This message is embedded as a nullable field on ResourceOffer, which in turn
|
|
317
|
+
* is carried by Bid and MsgCreateBid messages. A nil OfferPrices on a
|
|
318
|
+
* ResourceOffer indicates that no per-resource pricing was specified.
|
|
319
|
+
*
|
|
320
|
+
* Field 1 is reserved for backward compatibility with a previously removed field.
|
|
321
|
+
* @name OfferPrices
|
|
322
|
+
* @package akash.market.v1beta5
|
|
323
|
+
* @see proto type: akash.market.v1beta5.OfferPrices
|
|
324
|
+
*/
|
|
325
|
+
export declare const OfferPrices: {
|
|
326
|
+
typeUrl: string;
|
|
327
|
+
encode(message: OfferPrices, writer?: BinaryWriter): BinaryWriter;
|
|
328
|
+
decode(input: BinaryReader | Uint8Array, length?: number): OfferPrices;
|
|
329
|
+
fromPartial(object: DeepPartial<OfferPrices>): OfferPrices;
|
|
330
|
+
fromAmino(object: OfferPricesAmino): OfferPrices;
|
|
331
|
+
toAmino(message: OfferPrices): OfferPricesAmino;
|
|
332
|
+
fromAminoMsg(object: OfferPricesAminoMsg): OfferPrices;
|
|
333
|
+
fromProtoMsg(message: OfferPricesProtoMsg): OfferPrices;
|
|
334
|
+
toProto(message: OfferPrices): Uint8Array;
|
|
335
|
+
toProtoMsg(message: OfferPrices): OfferPricesProtoMsg;
|
|
336
|
+
};
|
|
46
337
|
/**
|
|
47
338
|
* ResourceOffer describes resources that provider is offering
|
|
48
339
|
* for deployment.
|
|
@@ -1,13 +1,317 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceOffer = void 0;
|
|
3
|
+
exports.ResourceOffer = exports.OfferPrices = exports.EndpointOfferPrice = exports.StorageOfferPrice = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
5
6
|
const resources_1 = require("../../base/resources/v1beta4/resources");
|
|
6
7
|
const binary_1 = require("../../../binary");
|
|
8
|
+
function createBaseStorageOfferPrice() {
|
|
9
|
+
return {
|
|
10
|
+
name: "",
|
|
11
|
+
price: undefined
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* StorageOfferPrice represents the price a provider is offering for a specific
|
|
16
|
+
* class of persistent storage. Providers may offer multiple storage classes
|
|
17
|
+
* (e.g., SSD, HDD, NVMe), each identified by name and priced independently.
|
|
18
|
+
* This type is used as a repeated field within OfferPrices to express
|
|
19
|
+
* per-class storage pricing in a bid.
|
|
20
|
+
* @name StorageOfferPrice
|
|
21
|
+
* @package akash.market.v1beta5
|
|
22
|
+
* @see proto type: akash.market.v1beta5.StorageOfferPrice
|
|
23
|
+
*/
|
|
24
|
+
exports.StorageOfferPrice = {
|
|
25
|
+
typeUrl: "/akash.market.v1beta5.StorageOfferPrice",
|
|
26
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
27
|
+
if (message.name !== "") {
|
|
28
|
+
writer.uint32(10).string(message.name);
|
|
29
|
+
}
|
|
30
|
+
if (message.price !== undefined) {
|
|
31
|
+
coin_1.DecCoin.encode(message.price, writer.uint32(18).fork()).ldelim();
|
|
32
|
+
}
|
|
33
|
+
return writer;
|
|
34
|
+
},
|
|
35
|
+
decode(input, length) {
|
|
36
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
37
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
38
|
+
const message = createBaseStorageOfferPrice();
|
|
39
|
+
while (reader.pos < end) {
|
|
40
|
+
const tag = reader.uint32();
|
|
41
|
+
switch (tag >>> 3) {
|
|
42
|
+
case 1:
|
|
43
|
+
message.name = reader.string();
|
|
44
|
+
break;
|
|
45
|
+
case 2:
|
|
46
|
+
message.price = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
reader.skipType(tag & 7);
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromPartial(object) {
|
|
56
|
+
const message = createBaseStorageOfferPrice();
|
|
57
|
+
message.name = object.name ?? "";
|
|
58
|
+
message.price = object.price !== undefined && object.price !== null ? coin_1.DecCoin.fromPartial(object.price) : undefined;
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
fromAmino(object) {
|
|
62
|
+
const message = createBaseStorageOfferPrice();
|
|
63
|
+
if (object.name !== undefined && object.name !== null) {
|
|
64
|
+
message.name = object.name;
|
|
65
|
+
}
|
|
66
|
+
if (object.price !== undefined && object.price !== null) {
|
|
67
|
+
message.price = coin_1.DecCoin.fromAmino(object.price);
|
|
68
|
+
}
|
|
69
|
+
return message;
|
|
70
|
+
},
|
|
71
|
+
toAmino(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
obj.name = message.name ?? "";
|
|
74
|
+
obj.price = message.price ? coin_1.DecCoin.toAmino(message.price) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
75
|
+
return obj;
|
|
76
|
+
},
|
|
77
|
+
fromAminoMsg(object) {
|
|
78
|
+
return exports.StorageOfferPrice.fromAmino(object.value);
|
|
79
|
+
},
|
|
80
|
+
fromProtoMsg(message) {
|
|
81
|
+
return exports.StorageOfferPrice.decode(message.value);
|
|
82
|
+
},
|
|
83
|
+
toProto(message) {
|
|
84
|
+
return exports.StorageOfferPrice.encode(message).finish();
|
|
85
|
+
},
|
|
86
|
+
toProtoMsg(message) {
|
|
87
|
+
return {
|
|
88
|
+
typeUrl: "/akash.market.v1beta5.StorageOfferPrice",
|
|
89
|
+
value: exports.StorageOfferPrice.encode(message).finish()
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
function createBaseEndpointOfferPrice() {
|
|
94
|
+
return {
|
|
95
|
+
kind: 0,
|
|
96
|
+
price: undefined
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* EndpointOfferPrice represents the price a provider is offering for a specific
|
|
101
|
+
* kind of network endpoint. Providers may price each endpoint kind differently
|
|
102
|
+
* (e.g., a leased IP may cost more than a shared HTTP ingress). This type is
|
|
103
|
+
* used as a repeated field within OfferPrices to express per-kind endpoint
|
|
104
|
+
* pricing in a bid.
|
|
105
|
+
* @name EndpointOfferPrice
|
|
106
|
+
* @package akash.market.v1beta5
|
|
107
|
+
* @see proto type: akash.market.v1beta5.EndpointOfferPrice
|
|
108
|
+
*/
|
|
109
|
+
exports.EndpointOfferPrice = {
|
|
110
|
+
typeUrl: "/akash.market.v1beta5.EndpointOfferPrice",
|
|
111
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
112
|
+
if (message.kind !== 0) {
|
|
113
|
+
writer.uint32(8).int32(message.kind);
|
|
114
|
+
}
|
|
115
|
+
if (message.price !== undefined) {
|
|
116
|
+
coin_1.DecCoin.encode(message.price, writer.uint32(18).fork()).ldelim();
|
|
117
|
+
}
|
|
118
|
+
return writer;
|
|
119
|
+
},
|
|
120
|
+
decode(input, length) {
|
|
121
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
122
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
123
|
+
const message = createBaseEndpointOfferPrice();
|
|
124
|
+
while (reader.pos < end) {
|
|
125
|
+
const tag = reader.uint32();
|
|
126
|
+
switch (tag >>> 3) {
|
|
127
|
+
case 1:
|
|
128
|
+
message.kind = reader.int32();
|
|
129
|
+
break;
|
|
130
|
+
case 2:
|
|
131
|
+
message.price = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
132
|
+
break;
|
|
133
|
+
default:
|
|
134
|
+
reader.skipType(tag & 7);
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return message;
|
|
139
|
+
},
|
|
140
|
+
fromPartial(object) {
|
|
141
|
+
const message = createBaseEndpointOfferPrice();
|
|
142
|
+
message.kind = object.kind ?? 0;
|
|
143
|
+
message.price = object.price !== undefined && object.price !== null ? coin_1.DecCoin.fromPartial(object.price) : undefined;
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
fromAmino(object) {
|
|
147
|
+
const message = createBaseEndpointOfferPrice();
|
|
148
|
+
if (object.kind !== undefined && object.kind !== null) {
|
|
149
|
+
message.kind = object.kind;
|
|
150
|
+
}
|
|
151
|
+
if (object.price !== undefined && object.price !== null) {
|
|
152
|
+
message.price = coin_1.DecCoin.fromAmino(object.price);
|
|
153
|
+
}
|
|
154
|
+
return message;
|
|
155
|
+
},
|
|
156
|
+
toAmino(message) {
|
|
157
|
+
const obj = {};
|
|
158
|
+
obj.kind = message.kind ?? 0;
|
|
159
|
+
obj.price = message.price ? coin_1.DecCoin.toAmino(message.price) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
160
|
+
return obj;
|
|
161
|
+
},
|
|
162
|
+
fromAminoMsg(object) {
|
|
163
|
+
return exports.EndpointOfferPrice.fromAmino(object.value);
|
|
164
|
+
},
|
|
165
|
+
fromProtoMsg(message) {
|
|
166
|
+
return exports.EndpointOfferPrice.decode(message.value);
|
|
167
|
+
},
|
|
168
|
+
toProto(message) {
|
|
169
|
+
return exports.EndpointOfferPrice.encode(message).finish();
|
|
170
|
+
},
|
|
171
|
+
toProtoMsg(message) {
|
|
172
|
+
return {
|
|
173
|
+
typeUrl: "/akash.market.v1beta5.EndpointOfferPrice",
|
|
174
|
+
value: exports.EndpointOfferPrice.encode(message).finish()
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
function createBaseOfferPrices() {
|
|
179
|
+
return {
|
|
180
|
+
cpu: undefined,
|
|
181
|
+
memory: undefined,
|
|
182
|
+
storage: [],
|
|
183
|
+
gpu: undefined,
|
|
184
|
+
endpoints: []
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* OfferPrices contains the complete pricing breakdown that a provider includes
|
|
189
|
+
* in a bid for a deployment resource group. Each field represents the price for
|
|
190
|
+
* a specific compute resource type. All price fields use DecCoin (decimal coin)
|
|
191
|
+
* to support fractional pricing denominated in any supported token.
|
|
192
|
+
*
|
|
193
|
+
* This message is embedded as a nullable field on ResourceOffer, which in turn
|
|
194
|
+
* is carried by Bid and MsgCreateBid messages. A nil OfferPrices on a
|
|
195
|
+
* ResourceOffer indicates that no per-resource pricing was specified.
|
|
196
|
+
*
|
|
197
|
+
* Field 1 is reserved for backward compatibility with a previously removed field.
|
|
198
|
+
* @name OfferPrices
|
|
199
|
+
* @package akash.market.v1beta5
|
|
200
|
+
* @see proto type: akash.market.v1beta5.OfferPrices
|
|
201
|
+
*/
|
|
202
|
+
exports.OfferPrices = {
|
|
203
|
+
typeUrl: "/akash.market.v1beta5.OfferPrices",
|
|
204
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
205
|
+
if (message.cpu !== undefined) {
|
|
206
|
+
coin_1.DecCoin.encode(message.cpu, writer.uint32(18).fork()).ldelim();
|
|
207
|
+
}
|
|
208
|
+
if (message.memory !== undefined) {
|
|
209
|
+
coin_1.DecCoin.encode(message.memory, writer.uint32(26).fork()).ldelim();
|
|
210
|
+
}
|
|
211
|
+
for (const v of message.storage) {
|
|
212
|
+
exports.StorageOfferPrice.encode(v, writer.uint32(34).fork()).ldelim();
|
|
213
|
+
}
|
|
214
|
+
if (message.gpu !== undefined) {
|
|
215
|
+
coin_1.DecCoin.encode(message.gpu, writer.uint32(42).fork()).ldelim();
|
|
216
|
+
}
|
|
217
|
+
for (const v of message.endpoints) {
|
|
218
|
+
exports.EndpointOfferPrice.encode(v, writer.uint32(50).fork()).ldelim();
|
|
219
|
+
}
|
|
220
|
+
return writer;
|
|
221
|
+
},
|
|
222
|
+
decode(input, length) {
|
|
223
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
224
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
225
|
+
const message = createBaseOfferPrices();
|
|
226
|
+
while (reader.pos < end) {
|
|
227
|
+
const tag = reader.uint32();
|
|
228
|
+
switch (tag >>> 3) {
|
|
229
|
+
case 2:
|
|
230
|
+
message.cpu = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
231
|
+
break;
|
|
232
|
+
case 3:
|
|
233
|
+
message.memory = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
234
|
+
break;
|
|
235
|
+
case 4:
|
|
236
|
+
message.storage.push(exports.StorageOfferPrice.decode(reader, reader.uint32()));
|
|
237
|
+
break;
|
|
238
|
+
case 5:
|
|
239
|
+
message.gpu = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
240
|
+
break;
|
|
241
|
+
case 6:
|
|
242
|
+
message.endpoints.push(exports.EndpointOfferPrice.decode(reader, reader.uint32()));
|
|
243
|
+
break;
|
|
244
|
+
default:
|
|
245
|
+
reader.skipType(tag & 7);
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
return message;
|
|
250
|
+
},
|
|
251
|
+
fromPartial(object) {
|
|
252
|
+
const message = createBaseOfferPrices();
|
|
253
|
+
message.cpu = object.cpu !== undefined && object.cpu !== null ? coin_1.DecCoin.fromPartial(object.cpu) : undefined;
|
|
254
|
+
message.memory = object.memory !== undefined && object.memory !== null ? coin_1.DecCoin.fromPartial(object.memory) : undefined;
|
|
255
|
+
message.storage = object.storage?.map(e => exports.StorageOfferPrice.fromPartial(e)) || [];
|
|
256
|
+
message.gpu = object.gpu !== undefined && object.gpu !== null ? coin_1.DecCoin.fromPartial(object.gpu) : undefined;
|
|
257
|
+
message.endpoints = object.endpoints?.map(e => exports.EndpointOfferPrice.fromPartial(e)) || [];
|
|
258
|
+
return message;
|
|
259
|
+
},
|
|
260
|
+
fromAmino(object) {
|
|
261
|
+
const message = createBaseOfferPrices();
|
|
262
|
+
if (object.cpu !== undefined && object.cpu !== null) {
|
|
263
|
+
message.cpu = coin_1.DecCoin.fromAmino(object.cpu);
|
|
264
|
+
}
|
|
265
|
+
if (object.memory !== undefined && object.memory !== null) {
|
|
266
|
+
message.memory = coin_1.DecCoin.fromAmino(object.memory);
|
|
267
|
+
}
|
|
268
|
+
message.storage = object.storage?.map(e => exports.StorageOfferPrice.fromAmino(e)) || [];
|
|
269
|
+
if (object.gpu !== undefined && object.gpu !== null) {
|
|
270
|
+
message.gpu = coin_1.DecCoin.fromAmino(object.gpu);
|
|
271
|
+
}
|
|
272
|
+
message.endpoints = object.endpoints?.map(e => exports.EndpointOfferPrice.fromAmino(e)) || [];
|
|
273
|
+
return message;
|
|
274
|
+
},
|
|
275
|
+
toAmino(message) {
|
|
276
|
+
const obj = {};
|
|
277
|
+
obj.cpu = message.cpu ? coin_1.DecCoin.toAmino(message.cpu) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
278
|
+
obj.memory = message.memory ? coin_1.DecCoin.toAmino(message.memory) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
279
|
+
if (message.storage) {
|
|
280
|
+
obj.storage = message.storage.map(e => e ? exports.StorageOfferPrice.toAmino(e) : undefined);
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
obj.storage = message.storage;
|
|
284
|
+
}
|
|
285
|
+
obj.gpu = message.gpu ? coin_1.DecCoin.toAmino(message.gpu) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
286
|
+
if (message.endpoints) {
|
|
287
|
+
obj.endpoints = message.endpoints.map(e => e ? exports.EndpointOfferPrice.toAmino(e) : undefined);
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
obj.endpoints = message.endpoints;
|
|
291
|
+
}
|
|
292
|
+
return obj;
|
|
293
|
+
},
|
|
294
|
+
fromAminoMsg(object) {
|
|
295
|
+
return exports.OfferPrices.fromAmino(object.value);
|
|
296
|
+
},
|
|
297
|
+
fromProtoMsg(message) {
|
|
298
|
+
return exports.OfferPrices.decode(message.value);
|
|
299
|
+
},
|
|
300
|
+
toProto(message) {
|
|
301
|
+
return exports.OfferPrices.encode(message).finish();
|
|
302
|
+
},
|
|
303
|
+
toProtoMsg(message) {
|
|
304
|
+
return {
|
|
305
|
+
typeUrl: "/akash.market.v1beta5.OfferPrices",
|
|
306
|
+
value: exports.OfferPrices.encode(message).finish()
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
};
|
|
7
310
|
function createBaseResourceOffer() {
|
|
8
311
|
return {
|
|
9
312
|
resources: resources_1.Resources.fromPartial({}),
|
|
10
|
-
count: 0
|
|
313
|
+
count: 0,
|
|
314
|
+
prices: undefined
|
|
11
315
|
};
|
|
12
316
|
}
|
|
13
317
|
/**
|
|
@@ -26,6 +330,9 @@ exports.ResourceOffer = {
|
|
|
26
330
|
if (message.count !== 0) {
|
|
27
331
|
writer.uint32(16).uint32(message.count);
|
|
28
332
|
}
|
|
333
|
+
if (message.prices !== undefined) {
|
|
334
|
+
exports.OfferPrices.encode(message.prices, writer.uint32(26).fork()).ldelim();
|
|
335
|
+
}
|
|
29
336
|
return writer;
|
|
30
337
|
},
|
|
31
338
|
decode(input, length) {
|
|
@@ -41,6 +348,9 @@ exports.ResourceOffer = {
|
|
|
41
348
|
case 2:
|
|
42
349
|
message.count = reader.uint32();
|
|
43
350
|
break;
|
|
351
|
+
case 3:
|
|
352
|
+
message.prices = exports.OfferPrices.decode(reader, reader.uint32());
|
|
353
|
+
break;
|
|
44
354
|
default:
|
|
45
355
|
reader.skipType(tag & 7);
|
|
46
356
|
break;
|
|
@@ -52,6 +362,7 @@ exports.ResourceOffer = {
|
|
|
52
362
|
const message = createBaseResourceOffer();
|
|
53
363
|
message.resources = object.resources !== undefined && object.resources !== null ? resources_1.Resources.fromPartial(object.resources) : undefined;
|
|
54
364
|
message.count = object.count ?? 0;
|
|
365
|
+
message.prices = object.prices !== undefined && object.prices !== null ? exports.OfferPrices.fromPartial(object.prices) : undefined;
|
|
55
366
|
return message;
|
|
56
367
|
},
|
|
57
368
|
fromAmino(object) {
|
|
@@ -62,12 +373,16 @@ exports.ResourceOffer = {
|
|
|
62
373
|
if (object.count !== undefined && object.count !== null) {
|
|
63
374
|
message.count = object.count;
|
|
64
375
|
}
|
|
376
|
+
if (object.prices !== undefined && object.prices !== null) {
|
|
377
|
+
message.prices = exports.OfferPrices.fromAmino(object.prices);
|
|
378
|
+
}
|
|
65
379
|
return message;
|
|
66
380
|
},
|
|
67
381
|
toAmino(message) {
|
|
68
382
|
const obj = {};
|
|
69
383
|
obj.resources = message.resources ? resources_1.Resources.toAmino(message.resources) : resources_1.Resources.toAmino(resources_1.Resources.fromPartial({}));
|
|
70
384
|
obj.count = message.count ?? 0;
|
|
385
|
+
obj.prices = message.prices ? exports.OfferPrices.toAmino(message.prices) : exports.OfferPrices.toAmino(exports.OfferPrices.fromPartial({}));
|
|
71
386
|
return obj;
|
|
72
387
|
},
|
|
73
388
|
fromAminoMsg(object) {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
4
|
export declare const AminoConverter: {
|
|
5
5
|
"/akash.market.v1beta5.MsgCreateBid": {
|
|
@@ -27,6 +27,11 @@ export declare const AminoConverter: {
|
|
|
27
27
|
toAmino: (message: MsgCloseLease) => import("./leasemsg").MsgCloseLeaseAmino;
|
|
28
28
|
fromAmino: (object: import("./leasemsg").MsgCloseLeaseAmino) => MsgCloseLease;
|
|
29
29
|
};
|
|
30
|
+
"/akash.market.v1beta5.MsgLeaseStartReclaim": {
|
|
31
|
+
aminoType: string;
|
|
32
|
+
toAmino: (message: MsgLeaseStartReclaim) => import("./leasemsg").MsgLeaseStartReclaimAmino;
|
|
33
|
+
fromAmino: (object: import("./leasemsg").MsgLeaseStartReclaimAmino) => MsgLeaseStartReclaim;
|
|
34
|
+
};
|
|
30
35
|
"/akash.market.v1beta5.MsgUpdateParams": {
|
|
31
36
|
aminoType: string;
|
|
32
37
|
toAmino: (message: MsgUpdateParams) => import("./paramsmsg").MsgUpdateParamsAmino;
|