@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
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Params, ParamsAmino } from "./params";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
6
|
+
* @name QueryParamsRequest
|
|
7
|
+
* @package akash.wasm.v1
|
|
8
|
+
* @see proto type: akash.wasm.v1.QueryParamsRequest
|
|
9
|
+
*/
|
|
10
|
+
export interface QueryParamsRequest {
|
|
11
|
+
}
|
|
12
|
+
export interface QueryParamsRequestProtoMsg {
|
|
13
|
+
typeUrl: "/akash.wasm.v1.QueryParamsRequest";
|
|
14
|
+
value: Uint8Array;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
18
|
+
* @name QueryParamsRequestAmino
|
|
19
|
+
* @package akash.wasm.v1
|
|
20
|
+
* @see proto type: akash.wasm.v1.QueryParamsRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface QueryParamsRequestAmino {
|
|
23
|
+
}
|
|
24
|
+
export interface QueryParamsRequestAminoMsg {
|
|
25
|
+
type: "/akash.wasm.v1.QueryParamsRequest";
|
|
26
|
+
value: QueryParamsRequestAmino;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
30
|
+
* @name QueryParamsResponse
|
|
31
|
+
* @package akash.wasm.v1
|
|
32
|
+
* @see proto type: akash.wasm.v1.QueryParamsResponse
|
|
33
|
+
*/
|
|
34
|
+
export interface QueryParamsResponse {
|
|
35
|
+
/**
|
|
36
|
+
* params defines the parameters of the module.
|
|
37
|
+
*/
|
|
38
|
+
params: Params;
|
|
39
|
+
}
|
|
40
|
+
export interface QueryParamsResponseProtoMsg {
|
|
41
|
+
typeUrl: "/akash.wasm.v1.QueryParamsResponse";
|
|
42
|
+
value: Uint8Array;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
46
|
+
* @name QueryParamsResponseAmino
|
|
47
|
+
* @package akash.wasm.v1
|
|
48
|
+
* @see proto type: akash.wasm.v1.QueryParamsResponse
|
|
49
|
+
*/
|
|
50
|
+
export interface QueryParamsResponseAmino {
|
|
51
|
+
/**
|
|
52
|
+
* params defines the parameters of the module.
|
|
53
|
+
*/
|
|
54
|
+
params: ParamsAmino;
|
|
55
|
+
}
|
|
56
|
+
export interface QueryParamsResponseAminoMsg {
|
|
57
|
+
type: "/akash.wasm.v1.QueryParamsResponse";
|
|
58
|
+
value: QueryParamsResponseAmino;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
62
|
+
* @name QueryParamsRequest
|
|
63
|
+
* @package akash.wasm.v1
|
|
64
|
+
* @see proto type: akash.wasm.v1.QueryParamsRequest
|
|
65
|
+
*/
|
|
66
|
+
export declare const QueryParamsRequest: {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
|
|
69
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
|
|
70
|
+
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest;
|
|
71
|
+
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
|
|
72
|
+
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino;
|
|
73
|
+
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest;
|
|
74
|
+
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest;
|
|
75
|
+
toProto(message: QueryParamsRequest): Uint8Array;
|
|
76
|
+
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
80
|
+
* @name QueryParamsResponse
|
|
81
|
+
* @package akash.wasm.v1
|
|
82
|
+
* @see proto type: akash.wasm.v1.QueryParamsResponse
|
|
83
|
+
*/
|
|
84
|
+
export declare const QueryParamsResponse: {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
87
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
|
|
88
|
+
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse;
|
|
89
|
+
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse;
|
|
90
|
+
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino;
|
|
91
|
+
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse;
|
|
92
|
+
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse;
|
|
93
|
+
toProto(message: QueryParamsResponse): Uint8Array;
|
|
94
|
+
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg;
|
|
95
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryParamsResponse = exports.QueryParamsRequest = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const params_1 = require("./params");
|
|
6
|
+
const binary_1 = require("../../../binary");
|
|
7
|
+
function createBaseQueryParamsRequest() {
|
|
8
|
+
return {};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
12
|
+
* @name QueryParamsRequest
|
|
13
|
+
* @package akash.wasm.v1
|
|
14
|
+
* @see proto type: akash.wasm.v1.QueryParamsRequest
|
|
15
|
+
*/
|
|
16
|
+
exports.QueryParamsRequest = {
|
|
17
|
+
typeUrl: "/akash.wasm.v1.QueryParamsRequest",
|
|
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 = createBaseQueryParamsRequest();
|
|
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 = createBaseQueryParamsRequest();
|
|
37
|
+
return message;
|
|
38
|
+
},
|
|
39
|
+
fromAmino(_) {
|
|
40
|
+
const message = createBaseQueryParamsRequest();
|
|
41
|
+
return message;
|
|
42
|
+
},
|
|
43
|
+
toAmino(_) {
|
|
44
|
+
const obj = {};
|
|
45
|
+
return obj;
|
|
46
|
+
},
|
|
47
|
+
fromAminoMsg(object) {
|
|
48
|
+
return exports.QueryParamsRequest.fromAmino(object.value);
|
|
49
|
+
},
|
|
50
|
+
fromProtoMsg(message) {
|
|
51
|
+
return exports.QueryParamsRequest.decode(message.value);
|
|
52
|
+
},
|
|
53
|
+
toProto(message) {
|
|
54
|
+
return exports.QueryParamsRequest.encode(message).finish();
|
|
55
|
+
},
|
|
56
|
+
toProtoMsg(message) {
|
|
57
|
+
return {
|
|
58
|
+
typeUrl: "/akash.wasm.v1.QueryParamsRequest",
|
|
59
|
+
value: exports.QueryParamsRequest.encode(message).finish()
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
function createBaseQueryParamsResponse() {
|
|
64
|
+
return {
|
|
65
|
+
params: params_1.Params.fromPartial({})
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
70
|
+
* @name QueryParamsResponse
|
|
71
|
+
* @package akash.wasm.v1
|
|
72
|
+
* @see proto type: akash.wasm.v1.QueryParamsResponse
|
|
73
|
+
*/
|
|
74
|
+
exports.QueryParamsResponse = {
|
|
75
|
+
typeUrl: "/akash.wasm.v1.QueryParamsResponse",
|
|
76
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
77
|
+
if (message.params !== undefined) {
|
|
78
|
+
params_1.Params.encode(message.params, 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 = createBaseQueryParamsResponse();
|
|
86
|
+
while (reader.pos < end) {
|
|
87
|
+
const tag = reader.uint32();
|
|
88
|
+
switch (tag >>> 3) {
|
|
89
|
+
case 1:
|
|
90
|
+
message.params = params_1.Params.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 = createBaseQueryParamsResponse();
|
|
101
|
+
message.params = object.params !== undefined && object.params !== null ? params_1.Params.fromPartial(object.params) : undefined;
|
|
102
|
+
return message;
|
|
103
|
+
},
|
|
104
|
+
fromAmino(object) {
|
|
105
|
+
const message = createBaseQueryParamsResponse();
|
|
106
|
+
if (object.params !== undefined && object.params !== null) {
|
|
107
|
+
message.params = params_1.Params.fromAmino(object.params);
|
|
108
|
+
}
|
|
109
|
+
return message;
|
|
110
|
+
},
|
|
111
|
+
toAmino(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
obj.params = message.params ? params_1.Params.toAmino(message.params) : params_1.Params.toAmino(params_1.Params.fromPartial({}));
|
|
114
|
+
return obj;
|
|
115
|
+
},
|
|
116
|
+
fromAminoMsg(object) {
|
|
117
|
+
return exports.QueryParamsResponse.fromAmino(object.value);
|
|
118
|
+
},
|
|
119
|
+
fromProtoMsg(message) {
|
|
120
|
+
return exports.QueryParamsResponse.decode(message.value);
|
|
121
|
+
},
|
|
122
|
+
toProto(message) {
|
|
123
|
+
return exports.QueryParamsResponse.encode(message).finish();
|
|
124
|
+
},
|
|
125
|
+
toProtoMsg(message) {
|
|
126
|
+
return {
|
|
127
|
+
typeUrl: "/akash.wasm.v1.QueryParamsResponse",
|
|
128
|
+
value: exports.QueryParamsResponse.encode(message).finish()
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
-
import {
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
3
3
|
export declare class LCDQueryClient {
|
|
4
4
|
req: LCDClient;
|
|
5
5
|
constructor({ requestClient }: {
|
|
6
6
|
requestClient: LCDClient;
|
|
7
7
|
});
|
|
8
|
-
|
|
8
|
+
params: (_params?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LCDQueryClient = void 0;
|
|
4
|
+
class LCDQueryClient {
|
|
5
|
+
req;
|
|
6
|
+
constructor({ requestClient }) {
|
|
7
|
+
this.req = requestClient;
|
|
8
|
+
}
|
|
9
|
+
/* Params returns the total set of wasm parameters. */
|
|
10
|
+
params = async (_params = {}) => {
|
|
11
|
+
const endpoint = `akash/wasm/v1/params`;
|
|
12
|
+
return await this.req.get(endpoint);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryParamsRequest, QueryParamsResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service of the wasm package. */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** Params returns the total set of wasm parameters. */
|
|
7
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
8
|
+
}
|
|
9
|
+
export declare class QueryClientImpl implements Query {
|
|
10
|
+
private readonly rpc;
|
|
11
|
+
constructor(rpc: TxRpc);
|
|
12
|
+
params: (request?: QueryParamsRequest) => Promise<QueryParamsResponse>;
|
|
13
|
+
}
|
|
14
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
15
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
|
16
|
+
};
|
|
@@ -9,11 +9,11 @@ class QueryClientImpl {
|
|
|
9
9
|
constructor(rpc) {
|
|
10
10
|
this.rpc = rpc;
|
|
11
11
|
}
|
|
12
|
-
/*
|
|
13
|
-
|
|
14
|
-
const data = query_1.
|
|
15
|
-
const promise = this.rpc.request("akash.
|
|
16
|
-
return promise.then(data => query_1.
|
|
12
|
+
/* Params returns the total set of wasm parameters. */
|
|
13
|
+
params = async (request = {}) => {
|
|
14
|
+
const data = query_1.QueryParamsRequest.encode(request).finish();
|
|
15
|
+
const promise = this.rpc.request("akash.wasm.v1.Query", "Params", data);
|
|
16
|
+
return promise.then(data => query_1.QueryParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
exports.QueryClientImpl = QueryClientImpl;
|
|
@@ -21,8 +21,8 @@ const createRpcQueryExtension = (base) => {
|
|
|
21
21
|
const rpc = (0, stargate_1.createProtobufRpcClient)(base);
|
|
22
22
|
const queryService = new QueryClientImpl(rpc);
|
|
23
23
|
return {
|
|
24
|
-
|
|
25
|
-
return queryService.
|
|
24
|
+
params(request) {
|
|
25
|
+
return queryService.params(request);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
2
|
+
export declare const AminoConverter: {
|
|
3
|
+
"/akash.wasm.v1.MsgUpdateParams": {
|
|
4
|
+
aminoType: string;
|
|
5
|
+
toAmino: (message: MsgUpdateParams) => import("./paramsmsg").MsgUpdateParamsAmino;
|
|
6
|
+
fromAmino: (object: import("./paramsmsg").MsgUpdateParamsAmino) => MsgUpdateParams;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AminoConverter = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
6
|
+
exports.AminoConverter = {
|
|
7
|
+
"/akash.wasm.v1.MsgUpdateParams": {
|
|
8
|
+
aminoType: "/akash.wasm.v1.MsgUpdateParams",
|
|
9
|
+
toAmino: paramsmsg_1.MsgUpdateParams.toAmino,
|
|
10
|
+
fromAmino: paramsmsg_1.MsgUpdateParams.fromAmino
|
|
11
|
+
}
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgUpdateParams } from "./paramsmsg";
|
|
4
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
updateParams(value: MsgUpdateParams): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
updateParams(value: MsgUpdateParams): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: MsgUpdateParams;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
fromPartial: {
|
|
20
|
+
updateParams(value: MsgUpdateParams): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: MsgUpdateParams;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
5
|
+
exports.registry = [["/akash.wasm.v1.MsgUpdateParams", paramsmsg_1.MsgUpdateParams]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
updateParams(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParams",
|
|
17
|
+
value: paramsmsg_1.MsgUpdateParams.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
updateParams(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParams",
|
|
25
|
+
value
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
fromPartial: {
|
|
30
|
+
updateParams(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParams",
|
|
33
|
+
value: paramsmsg_1.MsgUpdateParams.fromPartial(value)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { MsgUpdateParams, MsgUpdateParamsResponse } from "./paramsmsg";
|
|
3
|
+
/** Msg defines the wasm Msg service */
|
|
4
|
+
export interface Msg {
|
|
5
|
+
/**
|
|
6
|
+
* UpdateParams defines a governance operation for updating the x/wasm module
|
|
7
|
+
* parameters. The authority is hard-coded to the x/gov module account.
|
|
8
|
+
*
|
|
9
|
+
* Since: akash v2.0.0
|
|
10
|
+
*/
|
|
11
|
+
updateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
12
|
+
}
|
|
13
|
+
export declare class MsgClientImpl implements Msg {
|
|
14
|
+
private readonly rpc;
|
|
15
|
+
constructor(rpc: TxRpc);
|
|
16
|
+
updateParams: (request: MsgUpdateParams) => Promise<MsgUpdateParamsResponse>;
|
|
17
|
+
}
|
|
18
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createClientImpl = exports.MsgClientImpl = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const paramsmsg_1 = require("./paramsmsg");
|
|
6
|
+
class MsgClientImpl {
|
|
7
|
+
rpc;
|
|
8
|
+
constructor(rpc) {
|
|
9
|
+
this.rpc = rpc;
|
|
10
|
+
}
|
|
11
|
+
/* UpdateParams defines a governance operation for updating the x/wasm module
|
|
12
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
13
|
+
|
|
14
|
+
Since: akash v2.0.0 */
|
|
15
|
+
updateParams = async (request) => {
|
|
16
|
+
const data = paramsmsg_1.MsgUpdateParams.encode(request).finish();
|
|
17
|
+
const promise = this.rpc.request("akash.wasm.v1.Msg", "UpdateParams", data);
|
|
18
|
+
return promise.then(data => paramsmsg_1.MsgUpdateParamsResponse.decode(new binary_1.BinaryReader(data)));
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
exports.MsgClientImpl = MsgClientImpl;
|
|
22
|
+
const createClientImpl = (rpc) => {
|
|
23
|
+
return new MsgClientImpl(rpc);
|
|
24
|
+
};
|
|
25
|
+
exports.createClientImpl = createClientImpl;
|
package/amino/bundle.js
CHANGED
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.amino = void 0;
|
|
37
37
|
//@ts-nocheck
|
|
38
|
-
const
|
|
38
|
+
const _173 = __importStar(require("./amino"));
|
|
39
39
|
exports.amino = {
|
|
40
|
-
...
|
|
40
|
+
..._173
|
|
41
41
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Any, AnyProtoMsg, AnyAmino } from "../../../google/protobuf/any";
|
|
2
|
+
import { DepositAuthorization, DepositAuthorizationProtoMsg } from "../../../akash/escrow/v1/authz";
|
|
2
3
|
import { SendAuthorization, SendAuthorizationProtoMsg } from "../../bank/v1beta1/authz";
|
|
3
4
|
import { StakeAuthorization, StakeAuthorizationProtoMsg } from "../../staking/v1beta1/authz";
|
|
4
5
|
import { TransferAuthorization, TransferAuthorizationProtoMsg } from "../../../ibc/applications/transfer/v1/authz";
|
|
@@ -46,7 +47,7 @@ export interface GenericAuthorizationAminoMsg {
|
|
|
46
47
|
* @see proto type: cosmos.authz.v1beta1.Grant
|
|
47
48
|
*/
|
|
48
49
|
export interface Grant {
|
|
49
|
-
authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any | undefined;
|
|
50
|
+
authorization?: GenericAuthorization | DepositAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any | undefined;
|
|
50
51
|
/**
|
|
51
52
|
* time when the grant will expire and will be pruned. If null, then the grant
|
|
52
53
|
* doesn't have a time expiration (other conditions in `authorization`
|
|
@@ -59,7 +60,7 @@ export interface GrantProtoMsg {
|
|
|
59
60
|
value: Uint8Array;
|
|
60
61
|
}
|
|
61
62
|
export type GrantEncoded = Omit<Grant, "authorization"> & {
|
|
62
|
-
authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | TransferAuthorizationProtoMsg | AnyProtoMsg | undefined;
|
|
63
|
+
authorization?: GenericAuthorizationProtoMsg | DepositAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | TransferAuthorizationProtoMsg | AnyProtoMsg | undefined;
|
|
63
64
|
};
|
|
64
65
|
/**
|
|
65
66
|
* Grant gives permissions to execute
|
|
@@ -91,7 +92,7 @@ export interface GrantAminoMsg {
|
|
|
91
92
|
export interface GrantAuthorization {
|
|
92
93
|
granter: string;
|
|
93
94
|
grantee: string;
|
|
94
|
-
authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any | undefined;
|
|
95
|
+
authorization?: GenericAuthorization | DepositAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any | undefined;
|
|
95
96
|
expiration?: Date;
|
|
96
97
|
}
|
|
97
98
|
export interface GrantAuthorizationProtoMsg {
|
|
@@ -99,7 +100,7 @@ export interface GrantAuthorizationProtoMsg {
|
|
|
99
100
|
value: Uint8Array;
|
|
100
101
|
}
|
|
101
102
|
export type GrantAuthorizationEncoded = Omit<GrantAuthorization, "authorization"> & {
|
|
102
|
-
authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | TransferAuthorizationProtoMsg | AnyProtoMsg | undefined;
|
|
103
|
+
authorization?: GenericAuthorizationProtoMsg | DepositAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | TransferAuthorizationProtoMsg | AnyProtoMsg | undefined;
|
|
103
104
|
};
|
|
104
105
|
/**
|
|
105
106
|
* GrantAuthorization extends a grant with both the addresses of the grantee and granter.
|
|
@@ -233,6 +234,6 @@ export declare const GrantQueueItem: {
|
|
|
233
234
|
toProto(message: GrantQueueItem): Uint8Array;
|
|
234
235
|
toProtoMsg(message: GrantQueueItem): GrantQueueItemProtoMsg;
|
|
235
236
|
};
|
|
236
|
-
export declare const Cosmos_authzv1beta1Authorization_InterfaceDecoder: (input: BinaryReader | Uint8Array) => GenericAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any;
|
|
237
|
+
export declare const Cosmos_authzv1beta1Authorization_InterfaceDecoder: (input: BinaryReader | Uint8Array) => DepositAuthorization | GenericAuthorization | SendAuthorization | StakeAuthorization | TransferAuthorization | Any;
|
|
237
238
|
export declare const Cosmos_authzv1beta1Authorization_FromAmino: (content: AnyAmino) => Any;
|
|
238
239
|
export declare const Cosmos_authzv1beta1Authorization_ToAmino: (content: Any) => AnyAmino;
|
|
@@ -4,9 +4,10 @@ exports.Cosmos_authzv1beta1Authorization_ToAmino = exports.Cosmos_authzv1beta1Au
|
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const any_1 = require("../../../google/protobuf/any");
|
|
6
6
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
7
|
-
const authz_1 = require("
|
|
8
|
-
const authz_2 = require("../../
|
|
9
|
-
const authz_3 = require("
|
|
7
|
+
const authz_1 = require("../../../akash/escrow/v1/authz");
|
|
8
|
+
const authz_2 = require("../../bank/v1beta1/authz");
|
|
9
|
+
const authz_3 = require("../../staking/v1beta1/authz");
|
|
10
|
+
const authz_4 = require("../../../ibc/applications/transfer/v1/authz");
|
|
10
11
|
const binary_1 = require("../../../binary");
|
|
11
12
|
const helpers_1 = require("../../../helpers");
|
|
12
13
|
function createBaseGenericAuthorization() {
|
|
@@ -371,14 +372,16 @@ const Cosmos_authzv1beta1Authorization_InterfaceDecoder = (input) => {
|
|
|
371
372
|
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
372
373
|
const data = any_1.Any.decode(reader, reader.uint32());
|
|
373
374
|
switch (data.typeUrl) {
|
|
375
|
+
case "/akash.escrow.v1.DepositAuthorization":
|
|
376
|
+
return authz_1.DepositAuthorization.decode(data.value);
|
|
374
377
|
case "/cosmos.authz.v1beta1.GenericAuthorization":
|
|
375
378
|
return exports.GenericAuthorization.decode(data.value);
|
|
376
379
|
case "/cosmos.bank.v1beta1.SendAuthorization":
|
|
377
|
-
return
|
|
380
|
+
return authz_2.SendAuthorization.decode(data.value);
|
|
378
381
|
case "/cosmos.staking.v1beta1.StakeAuthorization":
|
|
379
|
-
return
|
|
382
|
+
return authz_3.StakeAuthorization.decode(data.value);
|
|
380
383
|
case "/ibc.applications.transfer.v1.TransferAuthorization":
|
|
381
|
-
return
|
|
384
|
+
return authz_4.TransferAuthorization.decode(data.value);
|
|
382
385
|
default:
|
|
383
386
|
return data;
|
|
384
387
|
}
|
|
@@ -386,6 +389,11 @@ const Cosmos_authzv1beta1Authorization_InterfaceDecoder = (input) => {
|
|
|
386
389
|
exports.Cosmos_authzv1beta1Authorization_InterfaceDecoder = Cosmos_authzv1beta1Authorization_InterfaceDecoder;
|
|
387
390
|
const Cosmos_authzv1beta1Authorization_FromAmino = (content) => {
|
|
388
391
|
switch (content.type) {
|
|
392
|
+
case "akash/DepositAuthorization":
|
|
393
|
+
return any_1.Any.fromPartial({
|
|
394
|
+
typeUrl: "/akash.escrow.v1.DepositAuthorization",
|
|
395
|
+
value: authz_1.DepositAuthorization.encode(authz_1.DepositAuthorization.fromPartial(authz_1.DepositAuthorization.fromAmino(content.value))).finish()
|
|
396
|
+
});
|
|
389
397
|
case "cosmos-sdk/GenericAuthorization":
|
|
390
398
|
return any_1.Any.fromPartial({
|
|
391
399
|
typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization",
|
|
@@ -394,17 +402,17 @@ const Cosmos_authzv1beta1Authorization_FromAmino = (content) => {
|
|
|
394
402
|
case "cosmos-sdk/SendAuthorization":
|
|
395
403
|
return any_1.Any.fromPartial({
|
|
396
404
|
typeUrl: "/cosmos.bank.v1beta1.SendAuthorization",
|
|
397
|
-
value:
|
|
405
|
+
value: authz_2.SendAuthorization.encode(authz_2.SendAuthorization.fromPartial(authz_2.SendAuthorization.fromAmino(content.value))).finish()
|
|
398
406
|
});
|
|
399
407
|
case "cosmos-sdk/StakeAuthorization":
|
|
400
408
|
return any_1.Any.fromPartial({
|
|
401
409
|
typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization",
|
|
402
|
-
value:
|
|
410
|
+
value: authz_3.StakeAuthorization.encode(authz_3.StakeAuthorization.fromPartial(authz_3.StakeAuthorization.fromAmino(content.value))).finish()
|
|
403
411
|
});
|
|
404
412
|
case "cosmos-sdk/TransferAuthorization":
|
|
405
413
|
return any_1.Any.fromPartial({
|
|
406
414
|
typeUrl: "/ibc.applications.transfer.v1.TransferAuthorization",
|
|
407
|
-
value:
|
|
415
|
+
value: authz_4.TransferAuthorization.encode(authz_4.TransferAuthorization.fromPartial(authz_4.TransferAuthorization.fromAmino(content.value))).finish()
|
|
408
416
|
});
|
|
409
417
|
default:
|
|
410
418
|
return any_1.Any.fromAmino(content);
|
|
@@ -413,6 +421,11 @@ const Cosmos_authzv1beta1Authorization_FromAmino = (content) => {
|
|
|
413
421
|
exports.Cosmos_authzv1beta1Authorization_FromAmino = Cosmos_authzv1beta1Authorization_FromAmino;
|
|
414
422
|
const Cosmos_authzv1beta1Authorization_ToAmino = (content) => {
|
|
415
423
|
switch (content.typeUrl) {
|
|
424
|
+
case "/akash.escrow.v1.DepositAuthorization":
|
|
425
|
+
return {
|
|
426
|
+
type: "akash/DepositAuthorization",
|
|
427
|
+
value: authz_1.DepositAuthorization.toAmino(authz_1.DepositAuthorization.decode(content.value, undefined))
|
|
428
|
+
};
|
|
416
429
|
case "/cosmos.authz.v1beta1.GenericAuthorization":
|
|
417
430
|
return {
|
|
418
431
|
type: "cosmos-sdk/GenericAuthorization",
|
|
@@ -421,17 +434,17 @@ const Cosmos_authzv1beta1Authorization_ToAmino = (content) => {
|
|
|
421
434
|
case "/cosmos.bank.v1beta1.SendAuthorization":
|
|
422
435
|
return {
|
|
423
436
|
type: "cosmos-sdk/SendAuthorization",
|
|
424
|
-
value:
|
|
437
|
+
value: authz_2.SendAuthorization.toAmino(authz_2.SendAuthorization.decode(content.value, undefined))
|
|
425
438
|
};
|
|
426
439
|
case "/cosmos.staking.v1beta1.StakeAuthorization":
|
|
427
440
|
return {
|
|
428
441
|
type: "cosmos-sdk/StakeAuthorization",
|
|
429
|
-
value:
|
|
442
|
+
value: authz_3.StakeAuthorization.toAmino(authz_3.StakeAuthorization.decode(content.value, undefined))
|
|
430
443
|
};
|
|
431
444
|
case "/ibc.applications.transfer.v1.TransferAuthorization":
|
|
432
445
|
return {
|
|
433
446
|
type: "cosmos-sdk/TransferAuthorization",
|
|
434
|
-
value:
|
|
447
|
+
value: authz_4.TransferAuthorization.toAmino(authz_4.TransferAuthorization.decode(content.value, undefined))
|
|
435
448
|
};
|
|
436
449
|
default:
|
|
437
450
|
return any_1.Any.toAmino(content);
|