@sparkdreamnft/sparkdreamjs 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bundle.d.ts +5409 -3608
- package/akash/bundle.js +475 -306
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +84 -84
- package/akash/client.js +20 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +15 -5
- package/akash/lcd.js +26 -12
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +43 -26
- package/akash/rpc.query.js +19 -9
- package/akash/rpc.tx.d.ts +12 -5
- package/akash/rpc.tx.js +16 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bundle.js +475 -306
- package/esm/akash/client.js +20 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +26 -12
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +19 -9
- package/esm/akash/rpc.tx.js +16 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/deployment/{v1beta3 → v1beta5}/service.d.ts +0 -0
- /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
-
import { Account, AccountAmino } from "
|
|
3
|
-
import {
|
|
2
|
+
import { Account, AccountAmino } from "../types/v1/account";
|
|
3
|
+
import { Payment, PaymentAmino } from "../types/v1/payment";
|
|
4
4
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
5
|
import { DeepPartial } from "../../../helpers";
|
|
6
6
|
/**
|
|
@@ -11,27 +11,15 @@ import { DeepPartial } from "../../../helpers";
|
|
|
11
11
|
*/
|
|
12
12
|
export interface QueryAccountsRequest {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* State represents the current state of an Account.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
state: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Scope holds the scope of the account.
|
|
19
19
|
*/
|
|
20
20
|
xid: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
* It is a string representing a valid account address.
|
|
24
|
-
*
|
|
25
|
-
* Example:
|
|
26
|
-
* "akash1..."
|
|
27
|
-
*/
|
|
28
|
-
owner: string;
|
|
29
|
-
/**
|
|
30
|
-
* State represents the current state of an Account.
|
|
31
|
-
*/
|
|
32
|
-
state: string;
|
|
33
|
-
/**
|
|
34
|
-
* Pagination is used to paginate request.
|
|
22
|
+
* Pagination is used to paginate the request.
|
|
35
23
|
*/
|
|
36
24
|
pagination?: PageRequest;
|
|
37
25
|
}
|
|
@@ -46,28 +34,16 @@ export interface QueryAccountsRequestProtoMsg {
|
|
|
46
34
|
* @see proto type: akash.escrow.v1.QueryAccountsRequest
|
|
47
35
|
*/
|
|
48
36
|
export interface QueryAccountsRequestAmino {
|
|
49
|
-
/**
|
|
50
|
-
* Scope holds the scope of the account.
|
|
51
|
-
*/
|
|
52
|
-
scope?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Xid TODO: What is this?
|
|
55
|
-
*/
|
|
56
|
-
xid?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Owner is the bech32 address of the account.
|
|
59
|
-
* It is a string representing a valid account address.
|
|
60
|
-
*
|
|
61
|
-
* Example:
|
|
62
|
-
* "akash1..."
|
|
63
|
-
*/
|
|
64
|
-
owner?: string;
|
|
65
37
|
/**
|
|
66
38
|
* State represents the current state of an Account.
|
|
67
39
|
*/
|
|
68
40
|
state?: string;
|
|
69
41
|
/**
|
|
70
|
-
*
|
|
42
|
+
* Scope holds the scope of the account.
|
|
43
|
+
*/
|
|
44
|
+
xid: string;
|
|
45
|
+
/**
|
|
46
|
+
* Pagination is used to paginate the request.
|
|
71
47
|
*/
|
|
72
48
|
pagination?: PageRequestAmino;
|
|
73
49
|
}
|
|
@@ -123,31 +99,12 @@ export interface QueryAccountsResponseAminoMsg {
|
|
|
123
99
|
*/
|
|
124
100
|
export interface QueryPaymentsRequest {
|
|
125
101
|
/**
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
scope: string;
|
|
129
|
-
/**
|
|
130
|
-
* Xid TODO: What is this?
|
|
131
|
-
*/
|
|
132
|
-
xid: string;
|
|
133
|
-
/**
|
|
134
|
-
* Id is the unique identifier of the payment.
|
|
135
|
-
*/
|
|
136
|
-
id: string;
|
|
137
|
-
/**
|
|
138
|
-
* Owner is the bech32 address of the account.
|
|
139
|
-
* It is a string representing a valid account address.
|
|
140
|
-
*
|
|
141
|
-
* Example:
|
|
142
|
-
* "akash1..."
|
|
143
|
-
*/
|
|
144
|
-
owner: string;
|
|
145
|
-
/**
|
|
146
|
-
* State represents the current state of an Account.
|
|
102
|
+
* State represents the current state of a Payment.
|
|
147
103
|
*/
|
|
148
104
|
state: string;
|
|
105
|
+
xid: string;
|
|
149
106
|
/**
|
|
150
|
-
* Pagination is used to paginate request.
|
|
107
|
+
* Pagination is used to paginate the request.
|
|
151
108
|
*/
|
|
152
109
|
pagination?: PageRequest;
|
|
153
110
|
}
|
|
@@ -163,31 +120,12 @@ export interface QueryPaymentsRequestProtoMsg {
|
|
|
163
120
|
*/
|
|
164
121
|
export interface QueryPaymentsRequestAmino {
|
|
165
122
|
/**
|
|
166
|
-
*
|
|
167
|
-
*/
|
|
168
|
-
scope?: string;
|
|
169
|
-
/**
|
|
170
|
-
* Xid TODO: What is this?
|
|
171
|
-
*/
|
|
172
|
-
xid?: string;
|
|
173
|
-
/**
|
|
174
|
-
* Id is the unique identifier of the payment.
|
|
175
|
-
*/
|
|
176
|
-
id?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Owner is the bech32 address of the account.
|
|
179
|
-
* It is a string representing a valid account address.
|
|
180
|
-
*
|
|
181
|
-
* Example:
|
|
182
|
-
* "akash1..."
|
|
183
|
-
*/
|
|
184
|
-
owner?: string;
|
|
185
|
-
/**
|
|
186
|
-
* State represents the current state of an Account.
|
|
123
|
+
* State represents the current state of a Payment.
|
|
187
124
|
*/
|
|
188
125
|
state?: string;
|
|
126
|
+
xid: string;
|
|
189
127
|
/**
|
|
190
|
-
* Pagination is used to paginate request.
|
|
128
|
+
* Pagination is used to paginate the request.
|
|
191
129
|
*/
|
|
192
130
|
pagination?: PageRequestAmino;
|
|
193
131
|
}
|
|
@@ -203,9 +141,9 @@ export interface QueryPaymentsRequestAminoMsg {
|
|
|
203
141
|
*/
|
|
204
142
|
export interface QueryPaymentsResponse {
|
|
205
143
|
/**
|
|
206
|
-
* Payments is a list of
|
|
144
|
+
* Payments is a list of payments.
|
|
207
145
|
*/
|
|
208
|
-
payments:
|
|
146
|
+
payments: Payment[];
|
|
209
147
|
/**
|
|
210
148
|
* Pagination contains the information about response pagination.
|
|
211
149
|
*/
|
|
@@ -223,9 +161,9 @@ export interface QueryPaymentsResponseProtoMsg {
|
|
|
223
161
|
*/
|
|
224
162
|
export interface QueryPaymentsResponseAmino {
|
|
225
163
|
/**
|
|
226
|
-
* Payments is a list of
|
|
164
|
+
* Payments is a list of payments.
|
|
227
165
|
*/
|
|
228
|
-
payments?:
|
|
166
|
+
payments?: PaymentAmino[];
|
|
229
167
|
/**
|
|
230
168
|
* Pagination contains the information about response pagination.
|
|
231
169
|
*/
|
package/akash/escrow/v1/query.js
CHANGED
|
@@ -3,15 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.QueryPaymentsResponse = exports.QueryPaymentsRequest = exports.QueryAccountsResponse = exports.QueryAccountsRequest = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
6
|
-
const account_1 = require("
|
|
7
|
-
const
|
|
6
|
+
const account_1 = require("../types/v1/account");
|
|
7
|
+
const payment_1 = require("../types/v1/payment");
|
|
8
8
|
const binary_1 = require("../../../binary");
|
|
9
9
|
function createBaseQueryAccountsRequest() {
|
|
10
10
|
return {
|
|
11
|
-
scope: "",
|
|
12
|
-
xid: "",
|
|
13
|
-
owner: "",
|
|
14
11
|
state: "",
|
|
12
|
+
xid: "",
|
|
15
13
|
pagination: undefined
|
|
16
14
|
};
|
|
17
15
|
}
|
|
@@ -24,18 +22,12 @@ function createBaseQueryAccountsRequest() {
|
|
|
24
22
|
exports.QueryAccountsRequest = {
|
|
25
23
|
typeUrl: "/akash.escrow.v1.QueryAccountsRequest",
|
|
26
24
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
27
|
-
if (message.
|
|
28
|
-
writer.uint32(10).string(message.
|
|
25
|
+
if (message.state !== "") {
|
|
26
|
+
writer.uint32(10).string(message.state);
|
|
29
27
|
}
|
|
30
28
|
if (message.xid !== "") {
|
|
31
29
|
writer.uint32(18).string(message.xid);
|
|
32
30
|
}
|
|
33
|
-
if (message.owner !== "") {
|
|
34
|
-
writer.uint32(26).string(message.owner);
|
|
35
|
-
}
|
|
36
|
-
if (message.state !== "") {
|
|
37
|
-
writer.uint32(34).string(message.state);
|
|
38
|
-
}
|
|
39
31
|
if (message.pagination !== undefined) {
|
|
40
32
|
pagination_1.PageRequest.encode(message.pagination, writer.uint32(42).fork()).ldelim();
|
|
41
33
|
}
|
|
@@ -49,17 +41,11 @@ exports.QueryAccountsRequest = {
|
|
|
49
41
|
const tag = reader.uint32();
|
|
50
42
|
switch (tag >>> 3) {
|
|
51
43
|
case 1:
|
|
52
|
-
message.
|
|
44
|
+
message.state = reader.string();
|
|
53
45
|
break;
|
|
54
46
|
case 2:
|
|
55
47
|
message.xid = reader.string();
|
|
56
48
|
break;
|
|
57
|
-
case 3:
|
|
58
|
-
message.owner = reader.string();
|
|
59
|
-
break;
|
|
60
|
-
case 4:
|
|
61
|
-
message.state = reader.string();
|
|
62
|
-
break;
|
|
63
49
|
case 5:
|
|
64
50
|
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
65
51
|
break;
|
|
@@ -72,27 +58,19 @@ exports.QueryAccountsRequest = {
|
|
|
72
58
|
},
|
|
73
59
|
fromPartial(object) {
|
|
74
60
|
const message = createBaseQueryAccountsRequest();
|
|
75
|
-
message.scope = object.scope ?? "";
|
|
76
|
-
message.xid = object.xid ?? "";
|
|
77
|
-
message.owner = object.owner ?? "";
|
|
78
61
|
message.state = object.state ?? "";
|
|
62
|
+
message.xid = object.xid ?? "";
|
|
79
63
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
|
|
80
64
|
return message;
|
|
81
65
|
},
|
|
82
66
|
fromAmino(object) {
|
|
83
67
|
const message = createBaseQueryAccountsRequest();
|
|
84
|
-
if (object.
|
|
85
|
-
message.
|
|
68
|
+
if (object.state !== undefined && object.state !== null) {
|
|
69
|
+
message.state = object.state;
|
|
86
70
|
}
|
|
87
71
|
if (object.xid !== undefined && object.xid !== null) {
|
|
88
72
|
message.xid = object.xid;
|
|
89
73
|
}
|
|
90
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
91
|
-
message.owner = object.owner;
|
|
92
|
-
}
|
|
93
|
-
if (object.state !== undefined && object.state !== null) {
|
|
94
|
-
message.state = object.state;
|
|
95
|
-
}
|
|
96
74
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
97
75
|
message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
|
|
98
76
|
}
|
|
@@ -100,10 +78,8 @@ exports.QueryAccountsRequest = {
|
|
|
100
78
|
},
|
|
101
79
|
toAmino(message) {
|
|
102
80
|
const obj = {};
|
|
103
|
-
obj.scope = message.scope === "" ? undefined : message.scope;
|
|
104
|
-
obj.xid = message.xid === "" ? undefined : message.xid;
|
|
105
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
106
81
|
obj.state = message.state === "" ? undefined : message.state;
|
|
82
|
+
obj.xid = message.xid ?? "";
|
|
107
83
|
obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
|
|
108
84
|
return obj;
|
|
109
85
|
},
|
|
@@ -209,11 +185,8 @@ exports.QueryAccountsResponse = {
|
|
|
209
185
|
};
|
|
210
186
|
function createBaseQueryPaymentsRequest() {
|
|
211
187
|
return {
|
|
212
|
-
scope: "",
|
|
213
|
-
xid: "",
|
|
214
|
-
id: "",
|
|
215
|
-
owner: "",
|
|
216
188
|
state: "",
|
|
189
|
+
xid: "",
|
|
217
190
|
pagination: undefined
|
|
218
191
|
};
|
|
219
192
|
}
|
|
@@ -226,21 +199,12 @@ function createBaseQueryPaymentsRequest() {
|
|
|
226
199
|
exports.QueryPaymentsRequest = {
|
|
227
200
|
typeUrl: "/akash.escrow.v1.QueryPaymentsRequest",
|
|
228
201
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
229
|
-
if (message.
|
|
230
|
-
writer.uint32(10).string(message.
|
|
202
|
+
if (message.state !== "") {
|
|
203
|
+
writer.uint32(10).string(message.state);
|
|
231
204
|
}
|
|
232
205
|
if (message.xid !== "") {
|
|
233
206
|
writer.uint32(18).string(message.xid);
|
|
234
207
|
}
|
|
235
|
-
if (message.id !== "") {
|
|
236
|
-
writer.uint32(26).string(message.id);
|
|
237
|
-
}
|
|
238
|
-
if (message.owner !== "") {
|
|
239
|
-
writer.uint32(34).string(message.owner);
|
|
240
|
-
}
|
|
241
|
-
if (message.state !== "") {
|
|
242
|
-
writer.uint32(42).string(message.state);
|
|
243
|
-
}
|
|
244
208
|
if (message.pagination !== undefined) {
|
|
245
209
|
pagination_1.PageRequest.encode(message.pagination, writer.uint32(50).fork()).ldelim();
|
|
246
210
|
}
|
|
@@ -254,20 +218,11 @@ exports.QueryPaymentsRequest = {
|
|
|
254
218
|
const tag = reader.uint32();
|
|
255
219
|
switch (tag >>> 3) {
|
|
256
220
|
case 1:
|
|
257
|
-
message.
|
|
221
|
+
message.state = reader.string();
|
|
258
222
|
break;
|
|
259
223
|
case 2:
|
|
260
224
|
message.xid = reader.string();
|
|
261
225
|
break;
|
|
262
|
-
case 3:
|
|
263
|
-
message.id = reader.string();
|
|
264
|
-
break;
|
|
265
|
-
case 4:
|
|
266
|
-
message.owner = reader.string();
|
|
267
|
-
break;
|
|
268
|
-
case 5:
|
|
269
|
-
message.state = reader.string();
|
|
270
|
-
break;
|
|
271
226
|
case 6:
|
|
272
227
|
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
273
228
|
break;
|
|
@@ -280,31 +235,19 @@ exports.QueryPaymentsRequest = {
|
|
|
280
235
|
},
|
|
281
236
|
fromPartial(object) {
|
|
282
237
|
const message = createBaseQueryPaymentsRequest();
|
|
283
|
-
message.scope = object.scope ?? "";
|
|
284
|
-
message.xid = object.xid ?? "";
|
|
285
|
-
message.id = object.id ?? "";
|
|
286
|
-
message.owner = object.owner ?? "";
|
|
287
238
|
message.state = object.state ?? "";
|
|
239
|
+
message.xid = object.xid ?? "";
|
|
288
240
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageRequest.fromPartial(object.pagination) : undefined;
|
|
289
241
|
return message;
|
|
290
242
|
},
|
|
291
243
|
fromAmino(object) {
|
|
292
244
|
const message = createBaseQueryPaymentsRequest();
|
|
293
|
-
if (object.
|
|
294
|
-
message.
|
|
245
|
+
if (object.state !== undefined && object.state !== null) {
|
|
246
|
+
message.state = object.state;
|
|
295
247
|
}
|
|
296
248
|
if (object.xid !== undefined && object.xid !== null) {
|
|
297
249
|
message.xid = object.xid;
|
|
298
250
|
}
|
|
299
|
-
if (object.id !== undefined && object.id !== null) {
|
|
300
|
-
message.id = object.id;
|
|
301
|
-
}
|
|
302
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
303
|
-
message.owner = object.owner;
|
|
304
|
-
}
|
|
305
|
-
if (object.state !== undefined && object.state !== null) {
|
|
306
|
-
message.state = object.state;
|
|
307
|
-
}
|
|
308
251
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
309
252
|
message.pagination = pagination_1.PageRequest.fromAmino(object.pagination);
|
|
310
253
|
}
|
|
@@ -312,11 +255,8 @@ exports.QueryPaymentsRequest = {
|
|
|
312
255
|
},
|
|
313
256
|
toAmino(message) {
|
|
314
257
|
const obj = {};
|
|
315
|
-
obj.scope = message.scope === "" ? undefined : message.scope;
|
|
316
|
-
obj.xid = message.xid === "" ? undefined : message.xid;
|
|
317
|
-
obj.id = message.id === "" ? undefined : message.id;
|
|
318
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
319
258
|
obj.state = message.state === "" ? undefined : message.state;
|
|
259
|
+
obj.xid = message.xid ?? "";
|
|
320
260
|
obj.pagination = message.pagination ? pagination_1.PageRequest.toAmino(message.pagination) : undefined;
|
|
321
261
|
return obj;
|
|
322
262
|
},
|
|
@@ -352,7 +292,7 @@ exports.QueryPaymentsResponse = {
|
|
|
352
292
|
typeUrl: "/akash.escrow.v1.QueryPaymentsResponse",
|
|
353
293
|
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
354
294
|
for (const v of message.payments) {
|
|
355
|
-
|
|
295
|
+
payment_1.Payment.encode(v, writer.uint32(10).fork()).ldelim();
|
|
356
296
|
}
|
|
357
297
|
if (message.pagination !== undefined) {
|
|
358
298
|
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
@@ -367,7 +307,7 @@ exports.QueryPaymentsResponse = {
|
|
|
367
307
|
const tag = reader.uint32();
|
|
368
308
|
switch (tag >>> 3) {
|
|
369
309
|
case 1:
|
|
370
|
-
message.payments.push(
|
|
310
|
+
message.payments.push(payment_1.Payment.decode(reader, reader.uint32()));
|
|
371
311
|
break;
|
|
372
312
|
case 2:
|
|
373
313
|
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
@@ -381,13 +321,13 @@ exports.QueryPaymentsResponse = {
|
|
|
381
321
|
},
|
|
382
322
|
fromPartial(object) {
|
|
383
323
|
const message = createBaseQueryPaymentsResponse();
|
|
384
|
-
message.payments = object.payments?.map(e =>
|
|
324
|
+
message.payments = object.payments?.map(e => payment_1.Payment.fromPartial(e)) || [];
|
|
385
325
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
|
|
386
326
|
return message;
|
|
387
327
|
},
|
|
388
328
|
fromAmino(object) {
|
|
389
329
|
const message = createBaseQueryPaymentsResponse();
|
|
390
|
-
message.payments = object.payments?.map(e =>
|
|
330
|
+
message.payments = object.payments?.map(e => payment_1.Payment.fromAmino(e)) || [];
|
|
391
331
|
if (object.pagination !== undefined && object.pagination !== null) {
|
|
392
332
|
message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
|
|
393
333
|
}
|
|
@@ -396,7 +336,7 @@ exports.QueryPaymentsResponse = {
|
|
|
396
336
|
toAmino(message) {
|
|
397
337
|
const obj = {};
|
|
398
338
|
if (message.payments) {
|
|
399
|
-
obj.payments = message.payments.map(e => e ?
|
|
339
|
+
obj.payments = message.payments.map(e => e ? payment_1.Payment.toAmino(e) : undefined);
|
|
400
340
|
}
|
|
401
341
|
else {
|
|
402
342
|
obj.payments = message.payments;
|
|
@@ -15,22 +15,16 @@ class LCDQueryClient {
|
|
|
15
15
|
const options = {
|
|
16
16
|
params: {}
|
|
17
17
|
};
|
|
18
|
-
if (typeof params?.
|
|
19
|
-
options.params.
|
|
18
|
+
if (typeof params?.state !== "undefined") {
|
|
19
|
+
options.params.state = params.state;
|
|
20
20
|
}
|
|
21
21
|
if (typeof params?.xid !== "undefined") {
|
|
22
22
|
options.params.xid = params.xid;
|
|
23
23
|
}
|
|
24
|
-
if (typeof params?.owner !== "undefined") {
|
|
25
|
-
options.params.owner = params.owner;
|
|
26
|
-
}
|
|
27
|
-
if (typeof params?.state !== "undefined") {
|
|
28
|
-
options.params.state = params.state;
|
|
29
|
-
}
|
|
30
24
|
if (typeof params?.pagination !== "undefined") {
|
|
31
25
|
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
32
26
|
}
|
|
33
|
-
const endpoint = `akash/escrow/v1/types/accounts
|
|
27
|
+
const endpoint = `akash/escrow/v1/types/accounts`;
|
|
34
28
|
return await this.req.get(endpoint, options);
|
|
35
29
|
};
|
|
36
30
|
/* buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
@@ -40,25 +34,16 @@ class LCDQueryClient {
|
|
|
40
34
|
const options = {
|
|
41
35
|
params: {}
|
|
42
36
|
};
|
|
43
|
-
if (typeof params?.
|
|
44
|
-
options.params.
|
|
37
|
+
if (typeof params?.state !== "undefined") {
|
|
38
|
+
options.params.state = params.state;
|
|
45
39
|
}
|
|
46
40
|
if (typeof params?.xid !== "undefined") {
|
|
47
41
|
options.params.xid = params.xid;
|
|
48
42
|
}
|
|
49
|
-
if (typeof params?.id !== "undefined") {
|
|
50
|
-
options.params.id = params.id;
|
|
51
|
-
}
|
|
52
|
-
if (typeof params?.owner !== "undefined") {
|
|
53
|
-
options.params.owner = params.owner;
|
|
54
|
-
}
|
|
55
|
-
if (typeof params?.state !== "undefined") {
|
|
56
|
-
options.params.state = params.state;
|
|
57
|
-
}
|
|
58
43
|
if (typeof params?.pagination !== "undefined") {
|
|
59
44
|
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
60
45
|
}
|
|
61
|
-
const endpoint = `akash/escrow/v1/types/payments
|
|
46
|
+
const endpoint = `akash/escrow/v1/types/payments`;
|
|
62
47
|
return await this.req.get(endpoint, options);
|
|
63
48
|
};
|
|
64
49
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MsgAccountDeposit } from "./msg";
|
|
2
|
+
export declare const AminoConverter: {
|
|
3
|
+
"/akash.escrow.v1.MsgAccountDeposit": {
|
|
4
|
+
aminoType: string;
|
|
5
|
+
toAmino: (message: MsgAccountDeposit) => import("./msg").MsgAccountDepositAmino;
|
|
6
|
+
fromAmino: (object: import("./msg").MsgAccountDepositAmino) => MsgAccountDeposit;
|
|
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 msg_1 = require("./msg");
|
|
6
|
+
exports.AminoConverter = {
|
|
7
|
+
"/akash.escrow.v1.MsgAccountDeposit": {
|
|
8
|
+
aminoType: "/akash.escrow.v1.MsgAccountDeposit",
|
|
9
|
+
toAmino: msg_1.MsgAccountDeposit.toAmino,
|
|
10
|
+
fromAmino: msg_1.MsgAccountDeposit.fromAmino
|
|
11
|
+
}
|
|
12
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgAccountDeposit } from "./msg";
|
|
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
|
+
accountDeposit(value: MsgAccountDeposit): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
accountDeposit(value: MsgAccountDeposit): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: MsgAccountDeposit;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
fromPartial: {
|
|
20
|
+
accountDeposit(value: MsgAccountDeposit): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: MsgAccountDeposit;
|
|
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 msg_1 = require("./msg");
|
|
5
|
+
exports.registry = [["/akash.escrow.v1.MsgAccountDeposit", msg_1.MsgAccountDeposit]];
|
|
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
|
+
accountDeposit(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
17
|
+
value: msg_1.MsgAccountDeposit.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
accountDeposit(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
25
|
+
value
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
fromPartial: {
|
|
30
|
+
accountDeposit(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
33
|
+
value: msg_1.MsgAccountDeposit.fromPartial(value)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { MsgAccountDeposit, MsgAccountDepositResponse } from "./msg";
|
|
3
|
+
/** Msg defines the x/deployment Msg service. */
|
|
4
|
+
export interface Msg {
|
|
5
|
+
/** AccountDeposit deposits more funds into the escrow account. */
|
|
6
|
+
accountDeposit(request: MsgAccountDeposit): Promise<MsgAccountDepositResponse>;
|
|
7
|
+
}
|
|
8
|
+
export declare class MsgClientImpl implements Msg {
|
|
9
|
+
private readonly rpc;
|
|
10
|
+
constructor(rpc: TxRpc);
|
|
11
|
+
accountDeposit: (request: MsgAccountDeposit) => Promise<MsgAccountDepositResponse>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 msg_1 = require("./msg");
|
|
6
|
+
class MsgClientImpl {
|
|
7
|
+
rpc;
|
|
8
|
+
constructor(rpc) {
|
|
9
|
+
this.rpc = rpc;
|
|
10
|
+
}
|
|
11
|
+
/* AccountDeposit deposits more funds into the escrow account. */
|
|
12
|
+
accountDeposit = async (request) => {
|
|
13
|
+
const data = msg_1.MsgAccountDeposit.encode(request).finish();
|
|
14
|
+
const promise = this.rpc.request("akash.escrow.v1.Msg", "AccountDeposit", data);
|
|
15
|
+
return promise.then(data => msg_1.MsgAccountDepositResponse.decode(new binary_1.BinaryReader(data)));
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
exports.MsgClientImpl = MsgClientImpl;
|
|
19
|
+
const createClientImpl = (rpc) => {
|
|
20
|
+
return new MsgClientImpl(rpc);
|
|
21
|
+
};
|
|
22
|
+
exports.createClientImpl = createClientImpl;
|
package/akash/lcd.d.ts
CHANGED
|
@@ -4,34 +4,44 @@ export declare const createLCDClient: ({ restEndpoint }: {
|
|
|
4
4
|
akash: {
|
|
5
5
|
audit: {
|
|
6
6
|
v1: import("./audit/v1/query.lcd").LCDQueryClient;
|
|
7
|
-
v1beta3: import("./audit/v1beta3/query.lcd").LCDQueryClient;
|
|
8
7
|
};
|
|
9
8
|
bme: {
|
|
10
9
|
v1: import("./bme/v1/query.lcd").LCDQueryClient;
|
|
11
10
|
};
|
|
12
11
|
cert: {
|
|
13
12
|
v1: import("./cert/v1/query.lcd").LCDQueryClient;
|
|
14
|
-
v1beta3: import("./cert/v1beta3/query.lcd").LCDQueryClient;
|
|
15
13
|
};
|
|
16
14
|
deployment: {
|
|
17
|
-
v1beta3: import("./deployment/v1beta3/query.lcd").LCDQueryClient;
|
|
18
15
|
v1beta4: import("./deployment/v1beta4/query.lcd").LCDQueryClient;
|
|
16
|
+
v1beta5: import("./deployment/v1beta5/query.lcd").LCDQueryClient;
|
|
17
|
+
};
|
|
18
|
+
downtimedetector: {
|
|
19
|
+
v1beta1: import("./downtimedetector/v1beta1/query.lcd").LCDQueryClient;
|
|
20
|
+
};
|
|
21
|
+
epochs: {
|
|
22
|
+
v1beta1: import("./epochs/v1beta1/query.lcd").LCDQueryClient;
|
|
19
23
|
};
|
|
20
24
|
escrow: {
|
|
21
25
|
v1: import("./escrow/v1/query.lcd").LCDQueryClient;
|
|
22
26
|
v1beta3: import("./escrow/v1beta3/query.lcd").LCDQueryClient;
|
|
23
27
|
};
|
|
24
28
|
market: {
|
|
25
|
-
v1beta4: import("./market/v1beta4/query.lcd").LCDQueryClient;
|
|
26
29
|
v1beta5: import("./market/v1beta5/query.lcd").LCDQueryClient;
|
|
30
|
+
v2beta1: import("./market/v2beta1/query.lcd").LCDQueryClient;
|
|
31
|
+
};
|
|
32
|
+
oracle: {
|
|
33
|
+
v1: import("./oracle/v1/query.lcd").LCDQueryClient;
|
|
34
|
+
v2: import("./oracle/v2/query.lcd").LCDQueryClient;
|
|
27
35
|
};
|
|
28
36
|
provider: {
|
|
29
|
-
v1beta3: import("./provider/v1beta3/query.lcd").LCDQueryClient;
|
|
30
37
|
v1beta4: import("./provider/v1beta4/query.lcd").LCDQueryClient;
|
|
31
38
|
};
|
|
32
39
|
take: {
|
|
33
40
|
v1: import("./take/v1/query.lcd").LCDQueryClient;
|
|
34
41
|
};
|
|
42
|
+
wasm: {
|
|
43
|
+
v1: import("./wasm/v1/query.lcd").LCDQueryClient;
|
|
44
|
+
};
|
|
35
45
|
};
|
|
36
46
|
cosmos: {
|
|
37
47
|
auth: {
|