@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,4 +1,4 @@
|
|
|
1
|
-
import { ClientInfo, ClientInfoAmino } from "./client_info";
|
|
1
|
+
import { ClientInfo, ClientInfoAmino, VersionInfo, VersionInfoAmino } from "./client_info";
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
3
|
import { DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
@@ -10,8 +10,26 @@ import { DeepPartial } from "../../../helpers";
|
|
|
10
10
|
export interface Akash {
|
|
11
11
|
/**
|
|
12
12
|
* ClientInfo holds information about the client.
|
|
13
|
+
* Kept for backward compatibility. New clients should use supported_versions.
|
|
13
14
|
*/
|
|
14
|
-
clientInfo
|
|
15
|
+
clientInfo: ClientInfo;
|
|
16
|
+
/**
|
|
17
|
+
* SupportedVersions lists all API versions the node supports.
|
|
18
|
+
* Clients should pick the best match from this list.
|
|
19
|
+
*/
|
|
20
|
+
supportedVersions: VersionInfo[];
|
|
21
|
+
/**
|
|
22
|
+
* ChainID is the identifier of the blockchain network.
|
|
23
|
+
*/
|
|
24
|
+
chainId: string;
|
|
25
|
+
/**
|
|
26
|
+
* NodeVersion is the software version of the node.
|
|
27
|
+
*/
|
|
28
|
+
nodeVersion: string;
|
|
29
|
+
/**
|
|
30
|
+
* MinClientVersion is the minimum client version the node accepts.
|
|
31
|
+
*/
|
|
32
|
+
minClientVersion: string;
|
|
15
33
|
}
|
|
16
34
|
export interface AkashProtoMsg {
|
|
17
35
|
typeUrl: "/akash.discovery.v1.Akash";
|
|
@@ -26,8 +44,26 @@ export interface AkashProtoMsg {
|
|
|
26
44
|
export interface AkashAmino {
|
|
27
45
|
/**
|
|
28
46
|
* ClientInfo holds information about the client.
|
|
47
|
+
* Kept for backward compatibility. New clients should use supported_versions.
|
|
29
48
|
*/
|
|
30
49
|
client_info: ClientInfoAmino;
|
|
50
|
+
/**
|
|
51
|
+
* SupportedVersions lists all API versions the node supports.
|
|
52
|
+
* Clients should pick the best match from this list.
|
|
53
|
+
*/
|
|
54
|
+
supported_versions: VersionInfoAmino[];
|
|
55
|
+
/**
|
|
56
|
+
* ChainID is the identifier of the blockchain network.
|
|
57
|
+
*/
|
|
58
|
+
chain_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* NodeVersion is the software version of the node.
|
|
61
|
+
*/
|
|
62
|
+
node_version: string;
|
|
63
|
+
/**
|
|
64
|
+
* MinClientVersion is the minimum client version the node accepts.
|
|
65
|
+
*/
|
|
66
|
+
min_client_version: string;
|
|
31
67
|
}
|
|
32
68
|
export interface AkashAminoMsg {
|
|
33
69
|
type: "/akash.discovery.v1.Akash";
|
|
@@ -6,7 +6,11 @@ const client_info_1 = require("./client_info");
|
|
|
6
6
|
const binary_1 = require("../../../binary");
|
|
7
7
|
function createBaseAkash() {
|
|
8
8
|
return {
|
|
9
|
-
clientInfo:
|
|
9
|
+
clientInfo: client_info_1.ClientInfo.fromPartial({}),
|
|
10
|
+
supportedVersions: [],
|
|
11
|
+
chainId: "",
|
|
12
|
+
nodeVersion: "",
|
|
13
|
+
minClientVersion: ""
|
|
10
14
|
};
|
|
11
15
|
}
|
|
12
16
|
/**
|
|
@@ -21,6 +25,18 @@ exports.Akash = {
|
|
|
21
25
|
if (message.clientInfo !== undefined) {
|
|
22
26
|
client_info_1.ClientInfo.encode(message.clientInfo, writer.uint32(10).fork()).ldelim();
|
|
23
27
|
}
|
|
28
|
+
for (const v of message.supportedVersions) {
|
|
29
|
+
client_info_1.VersionInfo.encode(v, writer.uint32(18).fork()).ldelim();
|
|
30
|
+
}
|
|
31
|
+
if (message.chainId !== "") {
|
|
32
|
+
writer.uint32(26).string(message.chainId);
|
|
33
|
+
}
|
|
34
|
+
if (message.nodeVersion !== "") {
|
|
35
|
+
writer.uint32(34).string(message.nodeVersion);
|
|
36
|
+
}
|
|
37
|
+
if (message.minClientVersion !== "") {
|
|
38
|
+
writer.uint32(42).string(message.minClientVersion);
|
|
39
|
+
}
|
|
24
40
|
return writer;
|
|
25
41
|
},
|
|
26
42
|
decode(input, length) {
|
|
@@ -33,6 +49,18 @@ exports.Akash = {
|
|
|
33
49
|
case 1:
|
|
34
50
|
message.clientInfo = client_info_1.ClientInfo.decode(reader, reader.uint32());
|
|
35
51
|
break;
|
|
52
|
+
case 2:
|
|
53
|
+
message.supportedVersions.push(client_info_1.VersionInfo.decode(reader, reader.uint32()));
|
|
54
|
+
break;
|
|
55
|
+
case 3:
|
|
56
|
+
message.chainId = reader.string();
|
|
57
|
+
break;
|
|
58
|
+
case 4:
|
|
59
|
+
message.nodeVersion = reader.string();
|
|
60
|
+
break;
|
|
61
|
+
case 5:
|
|
62
|
+
message.minClientVersion = reader.string();
|
|
63
|
+
break;
|
|
36
64
|
default:
|
|
37
65
|
reader.skipType(tag & 7);
|
|
38
66
|
break;
|
|
@@ -43,6 +71,10 @@ exports.Akash = {
|
|
|
43
71
|
fromPartial(object) {
|
|
44
72
|
const message = createBaseAkash();
|
|
45
73
|
message.clientInfo = object.clientInfo !== undefined && object.clientInfo !== null ? client_info_1.ClientInfo.fromPartial(object.clientInfo) : undefined;
|
|
74
|
+
message.supportedVersions = object.supportedVersions?.map(e => client_info_1.VersionInfo.fromPartial(e)) || [];
|
|
75
|
+
message.chainId = object.chainId ?? "";
|
|
76
|
+
message.nodeVersion = object.nodeVersion ?? "";
|
|
77
|
+
message.minClientVersion = object.minClientVersion ?? "";
|
|
46
78
|
return message;
|
|
47
79
|
},
|
|
48
80
|
fromAmino(object) {
|
|
@@ -50,11 +82,30 @@ exports.Akash = {
|
|
|
50
82
|
if (object.client_info !== undefined && object.client_info !== null) {
|
|
51
83
|
message.clientInfo = client_info_1.ClientInfo.fromAmino(object.client_info);
|
|
52
84
|
}
|
|
85
|
+
message.supportedVersions = object.supported_versions?.map(e => client_info_1.VersionInfo.fromAmino(e)) || [];
|
|
86
|
+
if (object.chain_id !== undefined && object.chain_id !== null) {
|
|
87
|
+
message.chainId = object.chain_id;
|
|
88
|
+
}
|
|
89
|
+
if (object.node_version !== undefined && object.node_version !== null) {
|
|
90
|
+
message.nodeVersion = object.node_version;
|
|
91
|
+
}
|
|
92
|
+
if (object.min_client_version !== undefined && object.min_client_version !== null) {
|
|
93
|
+
message.minClientVersion = object.min_client_version;
|
|
94
|
+
}
|
|
53
95
|
return message;
|
|
54
96
|
},
|
|
55
97
|
toAmino(message) {
|
|
56
98
|
const obj = {};
|
|
57
99
|
obj.client_info = message.clientInfo ? client_info_1.ClientInfo.toAmino(message.clientInfo) : client_info_1.ClientInfo.toAmino(client_info_1.ClientInfo.fromPartial({}));
|
|
100
|
+
if (message.supportedVersions) {
|
|
101
|
+
obj.supported_versions = message.supportedVersions.map(e => e ? client_info_1.VersionInfo.toAmino(e) : undefined);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
obj.supported_versions = message.supportedVersions;
|
|
105
|
+
}
|
|
106
|
+
obj.chain_id = message.chainId ?? "";
|
|
107
|
+
obj.node_version = message.nodeVersion ?? "";
|
|
108
|
+
obj.min_client_version = message.minClientVersion ?? "";
|
|
58
109
|
return obj;
|
|
59
110
|
},
|
|
60
111
|
fromAminoMsg(object) {
|
|
@@ -32,6 +32,94 @@ export interface ClientInfoAminoMsg {
|
|
|
32
32
|
type: "/akash.discovery.v1.ClientInfo";
|
|
33
33
|
value: ClientInfoAmino;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* ModuleVersion describes a single module and its API version.
|
|
37
|
+
* @name ModuleVersion
|
|
38
|
+
* @package akash.discovery.v1
|
|
39
|
+
* @see proto type: akash.discovery.v1.ModuleVersion
|
|
40
|
+
*/
|
|
41
|
+
export interface ModuleVersion {
|
|
42
|
+
/**
|
|
43
|
+
* Module is the name of the module (e.g., "deployment", "market", "oracle").
|
|
44
|
+
*/
|
|
45
|
+
module: string;
|
|
46
|
+
/**
|
|
47
|
+
* Version is the API version of the module (e.g., "v1beta4", "v1beta5", "v2").
|
|
48
|
+
*/
|
|
49
|
+
version: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ModuleVersionProtoMsg {
|
|
52
|
+
typeUrl: "/akash.discovery.v1.ModuleVersion";
|
|
53
|
+
value: Uint8Array;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* ModuleVersion describes a single module and its API version.
|
|
57
|
+
* @name ModuleVersionAmino
|
|
58
|
+
* @package akash.discovery.v1
|
|
59
|
+
* @see proto type: akash.discovery.v1.ModuleVersion
|
|
60
|
+
*/
|
|
61
|
+
export interface ModuleVersionAmino {
|
|
62
|
+
/**
|
|
63
|
+
* Module is the name of the module (e.g., "deployment", "market", "oracle").
|
|
64
|
+
*/
|
|
65
|
+
module: string;
|
|
66
|
+
/**
|
|
67
|
+
* Version is the API version of the module (e.g., "v1beta4", "v1beta5", "v2").
|
|
68
|
+
*/
|
|
69
|
+
version: string;
|
|
70
|
+
}
|
|
71
|
+
export interface ModuleVersionAminoMsg {
|
|
72
|
+
type: "/akash.discovery.v1.ModuleVersion";
|
|
73
|
+
value: ModuleVersionAmino;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* VersionInfo describes a complete API version and its metadata.
|
|
77
|
+
* @name VersionInfo
|
|
78
|
+
* @package akash.discovery.v1
|
|
79
|
+
* @see proto type: akash.discovery.v1.VersionInfo
|
|
80
|
+
*/
|
|
81
|
+
export interface VersionInfo {
|
|
82
|
+
/**
|
|
83
|
+
* ApiVersion is the composite API version identifier (e.g., "v1beta4").
|
|
84
|
+
*/
|
|
85
|
+
apiVersion: string;
|
|
86
|
+
/**
|
|
87
|
+
* Modules lists the per-module versions included in this API version.
|
|
88
|
+
*/
|
|
89
|
+
modules: ModuleVersion[];
|
|
90
|
+
/**
|
|
91
|
+
* Features lists optional feature flags supported by this API version.
|
|
92
|
+
*/
|
|
93
|
+
features: string[];
|
|
94
|
+
}
|
|
95
|
+
export interface VersionInfoProtoMsg {
|
|
96
|
+
typeUrl: "/akash.discovery.v1.VersionInfo";
|
|
97
|
+
value: Uint8Array;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* VersionInfo describes a complete API version and its metadata.
|
|
101
|
+
* @name VersionInfoAmino
|
|
102
|
+
* @package akash.discovery.v1
|
|
103
|
+
* @see proto type: akash.discovery.v1.VersionInfo
|
|
104
|
+
*/
|
|
105
|
+
export interface VersionInfoAmino {
|
|
106
|
+
/**
|
|
107
|
+
* ApiVersion is the composite API version identifier (e.g., "v1beta4").
|
|
108
|
+
*/
|
|
109
|
+
api_version: string;
|
|
110
|
+
/**
|
|
111
|
+
* Modules lists the per-module versions included in this API version.
|
|
112
|
+
*/
|
|
113
|
+
modules: ModuleVersionAmino[];
|
|
114
|
+
/**
|
|
115
|
+
* Features lists optional feature flags supported by this API version.
|
|
116
|
+
*/
|
|
117
|
+
features: string[];
|
|
118
|
+
}
|
|
119
|
+
export interface VersionInfoAminoMsg {
|
|
120
|
+
type: "/akash.discovery.v1.VersionInfo";
|
|
121
|
+
value: VersionInfoAmino;
|
|
122
|
+
}
|
|
35
123
|
/**
|
|
36
124
|
* ClientInfo is the akash specific client info.
|
|
37
125
|
* @name ClientInfo
|
|
@@ -50,3 +138,39 @@ export declare const ClientInfo: {
|
|
|
50
138
|
toProto(message: ClientInfo): Uint8Array;
|
|
51
139
|
toProtoMsg(message: ClientInfo): ClientInfoProtoMsg;
|
|
52
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* ModuleVersion describes a single module and its API version.
|
|
143
|
+
* @name ModuleVersion
|
|
144
|
+
* @package akash.discovery.v1
|
|
145
|
+
* @see proto type: akash.discovery.v1.ModuleVersion
|
|
146
|
+
*/
|
|
147
|
+
export declare const ModuleVersion: {
|
|
148
|
+
typeUrl: string;
|
|
149
|
+
encode(message: ModuleVersion, writer?: BinaryWriter): BinaryWriter;
|
|
150
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ModuleVersion;
|
|
151
|
+
fromPartial(object: DeepPartial<ModuleVersion>): ModuleVersion;
|
|
152
|
+
fromAmino(object: ModuleVersionAmino): ModuleVersion;
|
|
153
|
+
toAmino(message: ModuleVersion): ModuleVersionAmino;
|
|
154
|
+
fromAminoMsg(object: ModuleVersionAminoMsg): ModuleVersion;
|
|
155
|
+
fromProtoMsg(message: ModuleVersionProtoMsg): ModuleVersion;
|
|
156
|
+
toProto(message: ModuleVersion): Uint8Array;
|
|
157
|
+
toProtoMsg(message: ModuleVersion): ModuleVersionProtoMsg;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* VersionInfo describes a complete API version and its metadata.
|
|
161
|
+
* @name VersionInfo
|
|
162
|
+
* @package akash.discovery.v1
|
|
163
|
+
* @see proto type: akash.discovery.v1.VersionInfo
|
|
164
|
+
*/
|
|
165
|
+
export declare const VersionInfo: {
|
|
166
|
+
typeUrl: string;
|
|
167
|
+
encode(message: VersionInfo, writer?: BinaryWriter): BinaryWriter;
|
|
168
|
+
decode(input: BinaryReader | Uint8Array, length?: number): VersionInfo;
|
|
169
|
+
fromPartial(object: DeepPartial<VersionInfo>): VersionInfo;
|
|
170
|
+
fromAmino(object: VersionInfoAmino): VersionInfo;
|
|
171
|
+
toAmino(message: VersionInfo): VersionInfoAmino;
|
|
172
|
+
fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo;
|
|
173
|
+
fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo;
|
|
174
|
+
toProto(message: VersionInfo): Uint8Array;
|
|
175
|
+
toProtoMsg(message: VersionInfo): VersionInfoProtoMsg;
|
|
176
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClientInfo = void 0;
|
|
3
|
+
exports.VersionInfo = exports.ModuleVersion = exports.ClientInfo = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const binary_1 = require("../../../binary");
|
|
6
6
|
function createBaseClientInfo() {
|
|
@@ -72,3 +72,183 @@ exports.ClientInfo = {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
+
function createBaseModuleVersion() {
|
|
76
|
+
return {
|
|
77
|
+
module: "",
|
|
78
|
+
version: ""
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* ModuleVersion describes a single module and its API version.
|
|
83
|
+
* @name ModuleVersion
|
|
84
|
+
* @package akash.discovery.v1
|
|
85
|
+
* @see proto type: akash.discovery.v1.ModuleVersion
|
|
86
|
+
*/
|
|
87
|
+
exports.ModuleVersion = {
|
|
88
|
+
typeUrl: "/akash.discovery.v1.ModuleVersion",
|
|
89
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
90
|
+
if (message.module !== "") {
|
|
91
|
+
writer.uint32(10).string(message.module);
|
|
92
|
+
}
|
|
93
|
+
if (message.version !== "") {
|
|
94
|
+
writer.uint32(18).string(message.version);
|
|
95
|
+
}
|
|
96
|
+
return writer;
|
|
97
|
+
},
|
|
98
|
+
decode(input, length) {
|
|
99
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
100
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
101
|
+
const message = createBaseModuleVersion();
|
|
102
|
+
while (reader.pos < end) {
|
|
103
|
+
const tag = reader.uint32();
|
|
104
|
+
switch (tag >>> 3) {
|
|
105
|
+
case 1:
|
|
106
|
+
message.module = reader.string();
|
|
107
|
+
break;
|
|
108
|
+
case 2:
|
|
109
|
+
message.version = reader.string();
|
|
110
|
+
break;
|
|
111
|
+
default:
|
|
112
|
+
reader.skipType(tag & 7);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromPartial(object) {
|
|
119
|
+
const message = createBaseModuleVersion();
|
|
120
|
+
message.module = object.module ?? "";
|
|
121
|
+
message.version = object.version ?? "";
|
|
122
|
+
return message;
|
|
123
|
+
},
|
|
124
|
+
fromAmino(object) {
|
|
125
|
+
const message = createBaseModuleVersion();
|
|
126
|
+
if (object.module !== undefined && object.module !== null) {
|
|
127
|
+
message.module = object.module;
|
|
128
|
+
}
|
|
129
|
+
if (object.version !== undefined && object.version !== null) {
|
|
130
|
+
message.version = object.version;
|
|
131
|
+
}
|
|
132
|
+
return message;
|
|
133
|
+
},
|
|
134
|
+
toAmino(message) {
|
|
135
|
+
const obj = {};
|
|
136
|
+
obj.module = message.module ?? "";
|
|
137
|
+
obj.version = message.version ?? "";
|
|
138
|
+
return obj;
|
|
139
|
+
},
|
|
140
|
+
fromAminoMsg(object) {
|
|
141
|
+
return exports.ModuleVersion.fromAmino(object.value);
|
|
142
|
+
},
|
|
143
|
+
fromProtoMsg(message) {
|
|
144
|
+
return exports.ModuleVersion.decode(message.value);
|
|
145
|
+
},
|
|
146
|
+
toProto(message) {
|
|
147
|
+
return exports.ModuleVersion.encode(message).finish();
|
|
148
|
+
},
|
|
149
|
+
toProtoMsg(message) {
|
|
150
|
+
return {
|
|
151
|
+
typeUrl: "/akash.discovery.v1.ModuleVersion",
|
|
152
|
+
value: exports.ModuleVersion.encode(message).finish()
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
function createBaseVersionInfo() {
|
|
157
|
+
return {
|
|
158
|
+
apiVersion: "",
|
|
159
|
+
modules: [],
|
|
160
|
+
features: []
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* VersionInfo describes a complete API version and its metadata.
|
|
165
|
+
* @name VersionInfo
|
|
166
|
+
* @package akash.discovery.v1
|
|
167
|
+
* @see proto type: akash.discovery.v1.VersionInfo
|
|
168
|
+
*/
|
|
169
|
+
exports.VersionInfo = {
|
|
170
|
+
typeUrl: "/akash.discovery.v1.VersionInfo",
|
|
171
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
172
|
+
if (message.apiVersion !== "") {
|
|
173
|
+
writer.uint32(10).string(message.apiVersion);
|
|
174
|
+
}
|
|
175
|
+
for (const v of message.modules) {
|
|
176
|
+
exports.ModuleVersion.encode(v, writer.uint32(18).fork()).ldelim();
|
|
177
|
+
}
|
|
178
|
+
for (const v of message.features) {
|
|
179
|
+
writer.uint32(26).string(v);
|
|
180
|
+
}
|
|
181
|
+
return writer;
|
|
182
|
+
},
|
|
183
|
+
decode(input, length) {
|
|
184
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
185
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
186
|
+
const message = createBaseVersionInfo();
|
|
187
|
+
while (reader.pos < end) {
|
|
188
|
+
const tag = reader.uint32();
|
|
189
|
+
switch (tag >>> 3) {
|
|
190
|
+
case 1:
|
|
191
|
+
message.apiVersion = reader.string();
|
|
192
|
+
break;
|
|
193
|
+
case 2:
|
|
194
|
+
message.modules.push(exports.ModuleVersion.decode(reader, reader.uint32()));
|
|
195
|
+
break;
|
|
196
|
+
case 3:
|
|
197
|
+
message.features.push(reader.string());
|
|
198
|
+
break;
|
|
199
|
+
default:
|
|
200
|
+
reader.skipType(tag & 7);
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return message;
|
|
205
|
+
},
|
|
206
|
+
fromPartial(object) {
|
|
207
|
+
const message = createBaseVersionInfo();
|
|
208
|
+
message.apiVersion = object.apiVersion ?? "";
|
|
209
|
+
message.modules = object.modules?.map(e => exports.ModuleVersion.fromPartial(e)) || [];
|
|
210
|
+
message.features = object.features?.map(e => e) || [];
|
|
211
|
+
return message;
|
|
212
|
+
},
|
|
213
|
+
fromAmino(object) {
|
|
214
|
+
const message = createBaseVersionInfo();
|
|
215
|
+
if (object.api_version !== undefined && object.api_version !== null) {
|
|
216
|
+
message.apiVersion = object.api_version;
|
|
217
|
+
}
|
|
218
|
+
message.modules = object.modules?.map(e => exports.ModuleVersion.fromAmino(e)) || [];
|
|
219
|
+
message.features = object.features?.map(e => e) || [];
|
|
220
|
+
return message;
|
|
221
|
+
},
|
|
222
|
+
toAmino(message) {
|
|
223
|
+
const obj = {};
|
|
224
|
+
obj.api_version = message.apiVersion ?? "";
|
|
225
|
+
if (message.modules) {
|
|
226
|
+
obj.modules = message.modules.map(e => e ? exports.ModuleVersion.toAmino(e) : undefined);
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
obj.modules = message.modules;
|
|
230
|
+
}
|
|
231
|
+
if (message.features) {
|
|
232
|
+
obj.features = message.features.map(e => e);
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
obj.features = message.features;
|
|
236
|
+
}
|
|
237
|
+
return obj;
|
|
238
|
+
},
|
|
239
|
+
fromAminoMsg(object) {
|
|
240
|
+
return exports.VersionInfo.fromAmino(object.value);
|
|
241
|
+
},
|
|
242
|
+
fromProtoMsg(message) {
|
|
243
|
+
return exports.VersionInfo.decode(message.value);
|
|
244
|
+
},
|
|
245
|
+
toProto(message) {
|
|
246
|
+
return exports.VersionInfo.encode(message).finish();
|
|
247
|
+
},
|
|
248
|
+
toProtoMsg(message) {
|
|
249
|
+
return {
|
|
250
|
+
typeUrl: "/akash.discovery.v1.VersionInfo",
|
|
251
|
+
value: exports.VersionInfo.encode(message).finish()
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Akash, AkashAmino } from "./akash";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* GetInfoRequest is the request type for the Discovery/GetInfo RPC method.
|
|
6
|
+
* @name GetInfoRequest
|
|
7
|
+
* @package akash.discovery.v1
|
|
8
|
+
* @see proto type: akash.discovery.v1.GetInfoRequest
|
|
9
|
+
*/
|
|
10
|
+
export interface GetInfoRequest {
|
|
11
|
+
}
|
|
12
|
+
export interface GetInfoRequestProtoMsg {
|
|
13
|
+
typeUrl: "/akash.discovery.v1.GetInfoRequest";
|
|
14
|
+
value: Uint8Array;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* GetInfoRequest is the request type for the Discovery/GetInfo RPC method.
|
|
18
|
+
* @name GetInfoRequestAmino
|
|
19
|
+
* @package akash.discovery.v1
|
|
20
|
+
* @see proto type: akash.discovery.v1.GetInfoRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInfoRequestAmino {
|
|
23
|
+
}
|
|
24
|
+
export interface GetInfoRequestAminoMsg {
|
|
25
|
+
type: "/akash.discovery.v1.GetInfoRequest";
|
|
26
|
+
value: GetInfoRequestAmino;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* GetInfoResponse is the response type for the Discovery/GetInfo RPC method.
|
|
30
|
+
* @name GetInfoResponse
|
|
31
|
+
* @package akash.discovery.v1
|
|
32
|
+
* @see proto type: akash.discovery.v1.GetInfoResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface GetInfoResponse {
|
|
35
|
+
/**
|
|
36
|
+
* Info contains the node's version and capability information.
|
|
37
|
+
*/
|
|
38
|
+
info?: Akash;
|
|
39
|
+
}
|
|
40
|
+
export interface GetInfoResponseProtoMsg {
|
|
41
|
+
typeUrl: "/akash.discovery.v1.GetInfoResponse";
|
|
42
|
+
value: Uint8Array;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* GetInfoResponse is the response type for the Discovery/GetInfo RPC method.
|
|
46
|
+
* @name GetInfoResponseAmino
|
|
47
|
+
* @package akash.discovery.v1
|
|
48
|
+
* @see proto type: akash.discovery.v1.GetInfoResponse
|
|
49
|
+
*/
|
|
50
|
+
export interface GetInfoResponseAmino {
|
|
51
|
+
/**
|
|
52
|
+
* Info contains the node's version and capability information.
|
|
53
|
+
*/
|
|
54
|
+
info?: AkashAmino;
|
|
55
|
+
}
|
|
56
|
+
export interface GetInfoResponseAminoMsg {
|
|
57
|
+
type: "/akash.discovery.v1.GetInfoResponse";
|
|
58
|
+
value: GetInfoResponseAmino;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* GetInfoRequest is the request type for the Discovery/GetInfo RPC method.
|
|
62
|
+
* @name GetInfoRequest
|
|
63
|
+
* @package akash.discovery.v1
|
|
64
|
+
* @see proto type: akash.discovery.v1.GetInfoRequest
|
|
65
|
+
*/
|
|
66
|
+
export declare const GetInfoRequest: {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
encode(_: GetInfoRequest, writer?: BinaryWriter): BinaryWriter;
|
|
69
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GetInfoRequest;
|
|
70
|
+
fromPartial(_: DeepPartial<GetInfoRequest>): GetInfoRequest;
|
|
71
|
+
fromAmino(_: GetInfoRequestAmino): GetInfoRequest;
|
|
72
|
+
toAmino(_: GetInfoRequest): GetInfoRequestAmino;
|
|
73
|
+
fromAminoMsg(object: GetInfoRequestAminoMsg): GetInfoRequest;
|
|
74
|
+
fromProtoMsg(message: GetInfoRequestProtoMsg): GetInfoRequest;
|
|
75
|
+
toProto(message: GetInfoRequest): Uint8Array;
|
|
76
|
+
toProtoMsg(message: GetInfoRequest): GetInfoRequestProtoMsg;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* GetInfoResponse is the response type for the Discovery/GetInfo RPC method.
|
|
80
|
+
* @name GetInfoResponse
|
|
81
|
+
* @package akash.discovery.v1
|
|
82
|
+
* @see proto type: akash.discovery.v1.GetInfoResponse
|
|
83
|
+
*/
|
|
84
|
+
export declare const GetInfoResponse: {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
encode(message: GetInfoResponse, writer?: BinaryWriter): BinaryWriter;
|
|
87
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GetInfoResponse;
|
|
88
|
+
fromPartial(object: DeepPartial<GetInfoResponse>): GetInfoResponse;
|
|
89
|
+
fromAmino(object: GetInfoResponseAmino): GetInfoResponse;
|
|
90
|
+
toAmino(message: GetInfoResponse): GetInfoResponseAmino;
|
|
91
|
+
fromAminoMsg(object: GetInfoResponseAminoMsg): GetInfoResponse;
|
|
92
|
+
fromProtoMsg(message: GetInfoResponseProtoMsg): GetInfoResponse;
|
|
93
|
+
toProto(message: GetInfoResponse): Uint8Array;
|
|
94
|
+
toProtoMsg(message: GetInfoResponse): GetInfoResponseProtoMsg;
|
|
95
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInfoResponse = exports.GetInfoRequest = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const akash_1 = require("./akash");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
function createBaseGetInfoRequest() {
|
|
8
|
+
return {};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* GetInfoRequest is the request type for the Discovery/GetInfo RPC method.
|
|
12
|
+
* @name GetInfoRequest
|
|
13
|
+
* @package akash.discovery.v1
|
|
14
|
+
* @see proto type: akash.discovery.v1.GetInfoRequest
|
|
15
|
+
*/
|
|
16
|
+
exports.GetInfoRequest = {
|
|
17
|
+
typeUrl: "/akash.discovery.v1.GetInfoRequest",
|
|
18
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
19
|
+
return writer;
|
|
20
|
+
},
|
|
21
|
+
decode(input, length) {
|
|
22
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
23
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
24
|
+
const message = createBaseGetInfoRequest();
|
|
25
|
+
while (reader.pos < end) {
|
|
26
|
+
const tag = reader.uint32();
|
|
27
|
+
switch (tag >>> 3) {
|
|
28
|
+
default:
|
|
29
|
+
reader.skipType(tag & 7);
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return message;
|
|
34
|
+
},
|
|
35
|
+
fromPartial(_) {
|
|
36
|
+
const message = createBaseGetInfoRequest();
|
|
37
|
+
return message;
|
|
38
|
+
},
|
|
39
|
+
fromAmino(_) {
|
|
40
|
+
const message = createBaseGetInfoRequest();
|
|
41
|
+
return message;
|
|
42
|
+
},
|
|
43
|
+
toAmino(_) {
|
|
44
|
+
const obj = {};
|
|
45
|
+
return obj;
|
|
46
|
+
},
|
|
47
|
+
fromAminoMsg(object) {
|
|
48
|
+
return exports.GetInfoRequest.fromAmino(object.value);
|
|
49
|
+
},
|
|
50
|
+
fromProtoMsg(message) {
|
|
51
|
+
return exports.GetInfoRequest.decode(message.value);
|
|
52
|
+
},
|
|
53
|
+
toProto(message) {
|
|
54
|
+
return exports.GetInfoRequest.encode(message).finish();
|
|
55
|
+
},
|
|
56
|
+
toProtoMsg(message) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/akash.discovery.v1.GetInfoRequest",
|
|
59
|
+
value: exports.GetInfoRequest.encode(message).finish()
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
function createBaseGetInfoResponse() {
|
|
64
|
+
return {
|
|
65
|
+
info: undefined
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* GetInfoResponse is the response type for the Discovery/GetInfo RPC method.
|
|
70
|
+
* @name GetInfoResponse
|
|
71
|
+
* @package akash.discovery.v1
|
|
72
|
+
* @see proto type: akash.discovery.v1.GetInfoResponse
|
|
73
|
+
*/
|
|
74
|
+
exports.GetInfoResponse = {
|
|
75
|
+
typeUrl: "/akash.discovery.v1.GetInfoResponse",
|
|
76
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
77
|
+
if (message.info !== undefined) {
|
|
78
|
+
akash_1.Akash.encode(message.info, writer.uint32(10).fork()).ldelim();
|
|
79
|
+
}
|
|
80
|
+
return writer;
|
|
81
|
+
},
|
|
82
|
+
decode(input, length) {
|
|
83
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
84
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
85
|
+
const message = createBaseGetInfoResponse();
|
|
86
|
+
while (reader.pos < end) {
|
|
87
|
+
const tag = reader.uint32();
|
|
88
|
+
switch (tag >>> 3) {
|
|
89
|
+
case 1:
|
|
90
|
+
message.info = akash_1.Akash.decode(reader, reader.uint32());
|
|
91
|
+
break;
|
|
92
|
+
default:
|
|
93
|
+
reader.skipType(tag & 7);
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return message;
|
|
98
|
+
},
|
|
99
|
+
fromPartial(object) {
|
|
100
|
+
const message = createBaseGetInfoResponse();
|
|
101
|
+
message.info = object.info !== undefined && object.info !== null ? akash_1.Akash.fromPartial(object.info) : undefined;
|
|
102
|
+
return message;
|
|
103
|
+
},
|
|
104
|
+
fromAmino(object) {
|
|
105
|
+
const message = createBaseGetInfoResponse();
|
|
106
|
+
if (object.info !== undefined && object.info !== null) {
|
|
107
|
+
message.info = akash_1.Akash.fromAmino(object.info);
|
|
108
|
+
}
|
|
109
|
+
return message;
|
|
110
|
+
},
|
|
111
|
+
toAmino(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
obj.info = message.info ? akash_1.Akash.toAmino(message.info) : undefined;
|
|
114
|
+
return obj;
|
|
115
|
+
},
|
|
116
|
+
fromAminoMsg(object) {
|
|
117
|
+
return exports.GetInfoResponse.fromAmino(object.value);
|
|
118
|
+
},
|
|
119
|
+
fromProtoMsg(message) {
|
|
120
|
+
return exports.GetInfoResponse.decode(message.value);
|
|
121
|
+
},
|
|
122
|
+
toProto(message) {
|
|
123
|
+
return exports.GetInfoResponse.encode(message).finish();
|
|
124
|
+
},
|
|
125
|
+
toProtoMsg(message) {
|
|
126
|
+
return {
|
|
127
|
+
typeUrl: "/akash.discovery.v1.GetInfoResponse",
|
|
128
|
+
value: exports.GetInfoResponse.encode(message).finish()
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
};
|