@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,481 +0,0 @@
|
|
|
1
|
-
//@ts-nocheck
|
|
2
|
-
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
3
|
-
import { Provider } from "./audit";
|
|
4
|
-
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
5
|
-
function createBaseQueryProvidersResponse() {
|
|
6
|
-
return {
|
|
7
|
-
providers: [],
|
|
8
|
-
pagination: undefined
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* QueryProvidersResponse is response type for the Query/Providers RPC method
|
|
13
|
-
* @name QueryProvidersResponse
|
|
14
|
-
* @package akash.audit.v1beta3
|
|
15
|
-
* @see proto type: akash.audit.v1beta3.QueryProvidersResponse
|
|
16
|
-
*/
|
|
17
|
-
export const QueryProvidersResponse = {
|
|
18
|
-
typeUrl: "/akash.audit.v1beta3.QueryProvidersResponse",
|
|
19
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
20
|
-
for (const v of message.providers) {
|
|
21
|
-
Provider.encode(v, writer.uint32(10).fork()).ldelim();
|
|
22
|
-
}
|
|
23
|
-
if (message.pagination !== undefined) {
|
|
24
|
-
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
25
|
-
}
|
|
26
|
-
return writer;
|
|
27
|
-
},
|
|
28
|
-
decode(input, length) {
|
|
29
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
30
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
-
const message = createBaseQueryProvidersResponse();
|
|
32
|
-
while (reader.pos < end) {
|
|
33
|
-
const tag = reader.uint32();
|
|
34
|
-
switch (tag >>> 3) {
|
|
35
|
-
case 1:
|
|
36
|
-
message.providers.push(Provider.decode(reader, reader.uint32()));
|
|
37
|
-
break;
|
|
38
|
-
case 2:
|
|
39
|
-
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
40
|
-
break;
|
|
41
|
-
default:
|
|
42
|
-
reader.skipType(tag & 7);
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return message;
|
|
47
|
-
},
|
|
48
|
-
fromPartial(object) {
|
|
49
|
-
const message = createBaseQueryProvidersResponse();
|
|
50
|
-
message.providers = object.providers?.map(e => Provider.fromPartial(e)) || [];
|
|
51
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
52
|
-
return message;
|
|
53
|
-
},
|
|
54
|
-
fromAmino(object) {
|
|
55
|
-
const message = createBaseQueryProvidersResponse();
|
|
56
|
-
message.providers = object.providers?.map(e => Provider.fromAmino(e)) || [];
|
|
57
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
58
|
-
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
59
|
-
}
|
|
60
|
-
return message;
|
|
61
|
-
},
|
|
62
|
-
toAmino(message) {
|
|
63
|
-
const obj = {};
|
|
64
|
-
if (message.providers) {
|
|
65
|
-
obj.providers = message.providers.map(e => e ? Provider.toAmino(e) : undefined);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
obj.providers = message.providers;
|
|
69
|
-
}
|
|
70
|
-
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
71
|
-
return obj;
|
|
72
|
-
},
|
|
73
|
-
fromAminoMsg(object) {
|
|
74
|
-
return QueryProvidersResponse.fromAmino(object.value);
|
|
75
|
-
},
|
|
76
|
-
fromProtoMsg(message) {
|
|
77
|
-
return QueryProvidersResponse.decode(message.value);
|
|
78
|
-
},
|
|
79
|
-
toProto(message) {
|
|
80
|
-
return QueryProvidersResponse.encode(message).finish();
|
|
81
|
-
},
|
|
82
|
-
toProtoMsg(message) {
|
|
83
|
-
return {
|
|
84
|
-
typeUrl: "/akash.audit.v1beta3.QueryProvidersResponse",
|
|
85
|
-
value: QueryProvidersResponse.encode(message).finish()
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
function createBaseQueryProviderRequest() {
|
|
90
|
-
return {
|
|
91
|
-
auditor: "",
|
|
92
|
-
owner: ""
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* QueryProviderRequest is request type for the Query/Provider RPC method
|
|
97
|
-
* @name QueryProviderRequest
|
|
98
|
-
* @package akash.audit.v1beta3
|
|
99
|
-
* @see proto type: akash.audit.v1beta3.QueryProviderRequest
|
|
100
|
-
*/
|
|
101
|
-
export const QueryProviderRequest = {
|
|
102
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderRequest",
|
|
103
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
104
|
-
if (message.auditor !== "") {
|
|
105
|
-
writer.uint32(10).string(message.auditor);
|
|
106
|
-
}
|
|
107
|
-
if (message.owner !== "") {
|
|
108
|
-
writer.uint32(18).string(message.owner);
|
|
109
|
-
}
|
|
110
|
-
return writer;
|
|
111
|
-
},
|
|
112
|
-
decode(input, length) {
|
|
113
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
114
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
115
|
-
const message = createBaseQueryProviderRequest();
|
|
116
|
-
while (reader.pos < end) {
|
|
117
|
-
const tag = reader.uint32();
|
|
118
|
-
switch (tag >>> 3) {
|
|
119
|
-
case 1:
|
|
120
|
-
message.auditor = reader.string();
|
|
121
|
-
break;
|
|
122
|
-
case 2:
|
|
123
|
-
message.owner = reader.string();
|
|
124
|
-
break;
|
|
125
|
-
default:
|
|
126
|
-
reader.skipType(tag & 7);
|
|
127
|
-
break;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
return message;
|
|
131
|
-
},
|
|
132
|
-
fromPartial(object) {
|
|
133
|
-
const message = createBaseQueryProviderRequest();
|
|
134
|
-
message.auditor = object.auditor ?? "";
|
|
135
|
-
message.owner = object.owner ?? "";
|
|
136
|
-
return message;
|
|
137
|
-
},
|
|
138
|
-
fromAmino(object) {
|
|
139
|
-
const message = createBaseQueryProviderRequest();
|
|
140
|
-
if (object.auditor !== undefined && object.auditor !== null) {
|
|
141
|
-
message.auditor = object.auditor;
|
|
142
|
-
}
|
|
143
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
144
|
-
message.owner = object.owner;
|
|
145
|
-
}
|
|
146
|
-
return message;
|
|
147
|
-
},
|
|
148
|
-
toAmino(message) {
|
|
149
|
-
const obj = {};
|
|
150
|
-
obj.auditor = message.auditor === "" ? undefined : message.auditor;
|
|
151
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
152
|
-
return obj;
|
|
153
|
-
},
|
|
154
|
-
fromAminoMsg(object) {
|
|
155
|
-
return QueryProviderRequest.fromAmino(object.value);
|
|
156
|
-
},
|
|
157
|
-
fromProtoMsg(message) {
|
|
158
|
-
return QueryProviderRequest.decode(message.value);
|
|
159
|
-
},
|
|
160
|
-
toProto(message) {
|
|
161
|
-
return QueryProviderRequest.encode(message).finish();
|
|
162
|
-
},
|
|
163
|
-
toProtoMsg(message) {
|
|
164
|
-
return {
|
|
165
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderRequest",
|
|
166
|
-
value: QueryProviderRequest.encode(message).finish()
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
function createBaseQueryAllProvidersAttributesRequest() {
|
|
171
|
-
return {
|
|
172
|
-
pagination: undefined
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* QueryAllProvidersAttributesRequest is request type for the Query/All Providers RPC method
|
|
177
|
-
* @name QueryAllProvidersAttributesRequest
|
|
178
|
-
* @package akash.audit.v1beta3
|
|
179
|
-
* @see proto type: akash.audit.v1beta3.QueryAllProvidersAttributesRequest
|
|
180
|
-
*/
|
|
181
|
-
export const QueryAllProvidersAttributesRequest = {
|
|
182
|
-
typeUrl: "/akash.audit.v1beta3.QueryAllProvidersAttributesRequest",
|
|
183
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
184
|
-
if (message.pagination !== undefined) {
|
|
185
|
-
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
186
|
-
}
|
|
187
|
-
return writer;
|
|
188
|
-
},
|
|
189
|
-
decode(input, length) {
|
|
190
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
191
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
192
|
-
const message = createBaseQueryAllProvidersAttributesRequest();
|
|
193
|
-
while (reader.pos < end) {
|
|
194
|
-
const tag = reader.uint32();
|
|
195
|
-
switch (tag >>> 3) {
|
|
196
|
-
case 1:
|
|
197
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
198
|
-
break;
|
|
199
|
-
default:
|
|
200
|
-
reader.skipType(tag & 7);
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
return message;
|
|
205
|
-
},
|
|
206
|
-
fromPartial(object) {
|
|
207
|
-
const message = createBaseQueryAllProvidersAttributesRequest();
|
|
208
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
209
|
-
return message;
|
|
210
|
-
},
|
|
211
|
-
fromAmino(object) {
|
|
212
|
-
const message = createBaseQueryAllProvidersAttributesRequest();
|
|
213
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
214
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
215
|
-
}
|
|
216
|
-
return message;
|
|
217
|
-
},
|
|
218
|
-
toAmino(message) {
|
|
219
|
-
const obj = {};
|
|
220
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
221
|
-
return obj;
|
|
222
|
-
},
|
|
223
|
-
fromAminoMsg(object) {
|
|
224
|
-
return QueryAllProvidersAttributesRequest.fromAmino(object.value);
|
|
225
|
-
},
|
|
226
|
-
fromProtoMsg(message) {
|
|
227
|
-
return QueryAllProvidersAttributesRequest.decode(message.value);
|
|
228
|
-
},
|
|
229
|
-
toProto(message) {
|
|
230
|
-
return QueryAllProvidersAttributesRequest.encode(message).finish();
|
|
231
|
-
},
|
|
232
|
-
toProtoMsg(message) {
|
|
233
|
-
return {
|
|
234
|
-
typeUrl: "/akash.audit.v1beta3.QueryAllProvidersAttributesRequest",
|
|
235
|
-
value: QueryAllProvidersAttributesRequest.encode(message).finish()
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
function createBaseQueryProviderAttributesRequest() {
|
|
240
|
-
return {
|
|
241
|
-
owner: "",
|
|
242
|
-
pagination: undefined
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* QueryProviderAttributesRequest is request type for the Query/Provider RPC method
|
|
247
|
-
* @name QueryProviderAttributesRequest
|
|
248
|
-
* @package akash.audit.v1beta3
|
|
249
|
-
* @see proto type: akash.audit.v1beta3.QueryProviderAttributesRequest
|
|
250
|
-
*/
|
|
251
|
-
export const QueryProviderAttributesRequest = {
|
|
252
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderAttributesRequest",
|
|
253
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
254
|
-
if (message.owner !== "") {
|
|
255
|
-
writer.uint32(10).string(message.owner);
|
|
256
|
-
}
|
|
257
|
-
if (message.pagination !== undefined) {
|
|
258
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
259
|
-
}
|
|
260
|
-
return writer;
|
|
261
|
-
},
|
|
262
|
-
decode(input, length) {
|
|
263
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
264
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
265
|
-
const message = createBaseQueryProviderAttributesRequest();
|
|
266
|
-
while (reader.pos < end) {
|
|
267
|
-
const tag = reader.uint32();
|
|
268
|
-
switch (tag >>> 3) {
|
|
269
|
-
case 1:
|
|
270
|
-
message.owner = reader.string();
|
|
271
|
-
break;
|
|
272
|
-
case 2:
|
|
273
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
274
|
-
break;
|
|
275
|
-
default:
|
|
276
|
-
reader.skipType(tag & 7);
|
|
277
|
-
break;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
return message;
|
|
281
|
-
},
|
|
282
|
-
fromPartial(object) {
|
|
283
|
-
const message = createBaseQueryProviderAttributesRequest();
|
|
284
|
-
message.owner = object.owner ?? "";
|
|
285
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
286
|
-
return message;
|
|
287
|
-
},
|
|
288
|
-
fromAmino(object) {
|
|
289
|
-
const message = createBaseQueryProviderAttributesRequest();
|
|
290
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
291
|
-
message.owner = object.owner;
|
|
292
|
-
}
|
|
293
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
294
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
295
|
-
}
|
|
296
|
-
return message;
|
|
297
|
-
},
|
|
298
|
-
toAmino(message) {
|
|
299
|
-
const obj = {};
|
|
300
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
301
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
302
|
-
return obj;
|
|
303
|
-
},
|
|
304
|
-
fromAminoMsg(object) {
|
|
305
|
-
return QueryProviderAttributesRequest.fromAmino(object.value);
|
|
306
|
-
},
|
|
307
|
-
fromProtoMsg(message) {
|
|
308
|
-
return QueryProviderAttributesRequest.decode(message.value);
|
|
309
|
-
},
|
|
310
|
-
toProto(message) {
|
|
311
|
-
return QueryProviderAttributesRequest.encode(message).finish();
|
|
312
|
-
},
|
|
313
|
-
toProtoMsg(message) {
|
|
314
|
-
return {
|
|
315
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderAttributesRequest",
|
|
316
|
-
value: QueryProviderAttributesRequest.encode(message).finish()
|
|
317
|
-
};
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
function createBaseQueryProviderAuditorRequest() {
|
|
321
|
-
return {
|
|
322
|
-
auditor: "",
|
|
323
|
-
owner: ""
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* QueryProviderAuditorRequest is request type for the Query/Providers RPC method
|
|
328
|
-
* @name QueryProviderAuditorRequest
|
|
329
|
-
* @package akash.audit.v1beta3
|
|
330
|
-
* @see proto type: akash.audit.v1beta3.QueryProviderAuditorRequest
|
|
331
|
-
*/
|
|
332
|
-
export const QueryProviderAuditorRequest = {
|
|
333
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderAuditorRequest",
|
|
334
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
335
|
-
if (message.auditor !== "") {
|
|
336
|
-
writer.uint32(10).string(message.auditor);
|
|
337
|
-
}
|
|
338
|
-
if (message.owner !== "") {
|
|
339
|
-
writer.uint32(18).string(message.owner);
|
|
340
|
-
}
|
|
341
|
-
return writer;
|
|
342
|
-
},
|
|
343
|
-
decode(input, length) {
|
|
344
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
345
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
346
|
-
const message = createBaseQueryProviderAuditorRequest();
|
|
347
|
-
while (reader.pos < end) {
|
|
348
|
-
const tag = reader.uint32();
|
|
349
|
-
switch (tag >>> 3) {
|
|
350
|
-
case 1:
|
|
351
|
-
message.auditor = reader.string();
|
|
352
|
-
break;
|
|
353
|
-
case 2:
|
|
354
|
-
message.owner = reader.string();
|
|
355
|
-
break;
|
|
356
|
-
default:
|
|
357
|
-
reader.skipType(tag & 7);
|
|
358
|
-
break;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
return message;
|
|
362
|
-
},
|
|
363
|
-
fromPartial(object) {
|
|
364
|
-
const message = createBaseQueryProviderAuditorRequest();
|
|
365
|
-
message.auditor = object.auditor ?? "";
|
|
366
|
-
message.owner = object.owner ?? "";
|
|
367
|
-
return message;
|
|
368
|
-
},
|
|
369
|
-
fromAmino(object) {
|
|
370
|
-
const message = createBaseQueryProviderAuditorRequest();
|
|
371
|
-
if (object.auditor !== undefined && object.auditor !== null) {
|
|
372
|
-
message.auditor = object.auditor;
|
|
373
|
-
}
|
|
374
|
-
if (object.owner !== undefined && object.owner !== null) {
|
|
375
|
-
message.owner = object.owner;
|
|
376
|
-
}
|
|
377
|
-
return message;
|
|
378
|
-
},
|
|
379
|
-
toAmino(message) {
|
|
380
|
-
const obj = {};
|
|
381
|
-
obj.auditor = message.auditor === "" ? undefined : message.auditor;
|
|
382
|
-
obj.owner = message.owner === "" ? undefined : message.owner;
|
|
383
|
-
return obj;
|
|
384
|
-
},
|
|
385
|
-
fromAminoMsg(object) {
|
|
386
|
-
return QueryProviderAuditorRequest.fromAmino(object.value);
|
|
387
|
-
},
|
|
388
|
-
fromProtoMsg(message) {
|
|
389
|
-
return QueryProviderAuditorRequest.decode(message.value);
|
|
390
|
-
},
|
|
391
|
-
toProto(message) {
|
|
392
|
-
return QueryProviderAuditorRequest.encode(message).finish();
|
|
393
|
-
},
|
|
394
|
-
toProtoMsg(message) {
|
|
395
|
-
return {
|
|
396
|
-
typeUrl: "/akash.audit.v1beta3.QueryProviderAuditorRequest",
|
|
397
|
-
value: QueryProviderAuditorRequest.encode(message).finish()
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
};
|
|
401
|
-
function createBaseQueryAuditorAttributesRequest() {
|
|
402
|
-
return {
|
|
403
|
-
auditor: "",
|
|
404
|
-
pagination: undefined
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* QueryAuditorAttributesRequest is request type for the Query/Providers RPC method
|
|
409
|
-
* @name QueryAuditorAttributesRequest
|
|
410
|
-
* @package akash.audit.v1beta3
|
|
411
|
-
* @see proto type: akash.audit.v1beta3.QueryAuditorAttributesRequest
|
|
412
|
-
*/
|
|
413
|
-
export const QueryAuditorAttributesRequest = {
|
|
414
|
-
typeUrl: "/akash.audit.v1beta3.QueryAuditorAttributesRequest",
|
|
415
|
-
encode(message, writer = BinaryWriter.create()) {
|
|
416
|
-
if (message.auditor !== "") {
|
|
417
|
-
writer.uint32(10).string(message.auditor);
|
|
418
|
-
}
|
|
419
|
-
if (message.pagination !== undefined) {
|
|
420
|
-
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
421
|
-
}
|
|
422
|
-
return writer;
|
|
423
|
-
},
|
|
424
|
-
decode(input, length) {
|
|
425
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
426
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
427
|
-
const message = createBaseQueryAuditorAttributesRequest();
|
|
428
|
-
while (reader.pos < end) {
|
|
429
|
-
const tag = reader.uint32();
|
|
430
|
-
switch (tag >>> 3) {
|
|
431
|
-
case 1:
|
|
432
|
-
message.auditor = reader.string();
|
|
433
|
-
break;
|
|
434
|
-
case 2:
|
|
435
|
-
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
436
|
-
break;
|
|
437
|
-
default:
|
|
438
|
-
reader.skipType(tag & 7);
|
|
439
|
-
break;
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
return message;
|
|
443
|
-
},
|
|
444
|
-
fromPartial(object) {
|
|
445
|
-
const message = createBaseQueryAuditorAttributesRequest();
|
|
446
|
-
message.auditor = object.auditor ?? "";
|
|
447
|
-
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
448
|
-
return message;
|
|
449
|
-
},
|
|
450
|
-
fromAmino(object) {
|
|
451
|
-
const message = createBaseQueryAuditorAttributesRequest();
|
|
452
|
-
if (object.auditor !== undefined && object.auditor !== null) {
|
|
453
|
-
message.auditor = object.auditor;
|
|
454
|
-
}
|
|
455
|
-
if (object.pagination !== undefined && object.pagination !== null) {
|
|
456
|
-
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
457
|
-
}
|
|
458
|
-
return message;
|
|
459
|
-
},
|
|
460
|
-
toAmino(message) {
|
|
461
|
-
const obj = {};
|
|
462
|
-
obj.auditor = message.auditor === "" ? undefined : message.auditor;
|
|
463
|
-
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
464
|
-
return obj;
|
|
465
|
-
},
|
|
466
|
-
fromAminoMsg(object) {
|
|
467
|
-
return QueryAuditorAttributesRequest.fromAmino(object.value);
|
|
468
|
-
},
|
|
469
|
-
fromProtoMsg(message) {
|
|
470
|
-
return QueryAuditorAttributesRequest.decode(message.value);
|
|
471
|
-
},
|
|
472
|
-
toProto(message) {
|
|
473
|
-
return QueryAuditorAttributesRequest.encode(message).finish();
|
|
474
|
-
},
|
|
475
|
-
toProtoMsg(message) {
|
|
476
|
-
return {
|
|
477
|
-
typeUrl: "/akash.audit.v1beta3.QueryAuditorAttributesRequest",
|
|
478
|
-
value: QueryAuditorAttributesRequest.encode(message).finish()
|
|
479
|
-
};
|
|
480
|
-
}
|
|
481
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
//@ts-nocheck
|
|
2
|
-
import { setPaginationParams } from "../../../helpers";
|
|
3
|
-
export class LCDQueryClient {
|
|
4
|
-
req;
|
|
5
|
-
constructor({ requestClient }) {
|
|
6
|
-
this.req = requestClient;
|
|
7
|
-
}
|
|
8
|
-
/* AllProvidersAttributes queries all providers
|
|
9
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
10
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
11
|
-
allProvidersAttributes = async (params = {
|
|
12
|
-
pagination: undefined
|
|
13
|
-
}) => {
|
|
14
|
-
const options = {
|
|
15
|
-
params: {}
|
|
16
|
-
};
|
|
17
|
-
if (typeof params?.pagination !== "undefined") {
|
|
18
|
-
setPaginationParams(options, params.pagination);
|
|
19
|
-
}
|
|
20
|
-
const endpoint = `akash/audit/v1beta3/audit/attributes/list`;
|
|
21
|
-
return await this.req.get(endpoint, options);
|
|
22
|
-
};
|
|
23
|
-
/* ProviderAttributes queries all provider signed attributes
|
|
24
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
25
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
26
|
-
providerAttributes = async (params) => {
|
|
27
|
-
const options = {
|
|
28
|
-
params: {}
|
|
29
|
-
};
|
|
30
|
-
if (typeof params?.pagination !== "undefined") {
|
|
31
|
-
setPaginationParams(options, params.pagination);
|
|
32
|
-
}
|
|
33
|
-
const endpoint = `akash/audit/v1beta3/audit/attributes/${params.owner}/list`;
|
|
34
|
-
return await this.req.get(endpoint, options);
|
|
35
|
-
};
|
|
36
|
-
/* ProviderAuditorAttributes queries provider signed attributes by specific auditor
|
|
37
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
38
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
39
|
-
providerAuditorAttributes = async (params) => {
|
|
40
|
-
const endpoint = `akash/audit/v1beta3/audit/attributes/${params.auditor}/${params.owner}`;
|
|
41
|
-
return await this.req.get(endpoint);
|
|
42
|
-
};
|
|
43
|
-
/* AuditorAttributes queries all providers signed by this auditor
|
|
44
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
45
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
46
|
-
auditorAttributes = async (params) => {
|
|
47
|
-
const options = {
|
|
48
|
-
params: {}
|
|
49
|
-
};
|
|
50
|
-
if (typeof params?.pagination !== "undefined") {
|
|
51
|
-
setPaginationParams(options, params.pagination);
|
|
52
|
-
}
|
|
53
|
-
const endpoint = `akash/provider/v1beta3/auditor/${params.auditor}/list`;
|
|
54
|
-
return await this.req.get(endpoint, options);
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
|
-
import { QueryAllProvidersAttributesRequest, QueryProvidersResponse, QueryProviderAttributesRequest, QueryProviderAuditorRequest, QueryAuditorAttributesRequest } from "./query";
|
|
4
|
-
export class QueryClientImpl {
|
|
5
|
-
rpc;
|
|
6
|
-
constructor(rpc) {
|
|
7
|
-
this.rpc = rpc;
|
|
8
|
-
}
|
|
9
|
-
/* AllProvidersAttributes queries all providers
|
|
10
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
11
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
12
|
-
allProvidersAttributes = async (request = {
|
|
13
|
-
pagination: undefined
|
|
14
|
-
}) => {
|
|
15
|
-
const data = QueryAllProvidersAttributesRequest.encode(request).finish();
|
|
16
|
-
const promise = this.rpc.request("akash.audit.v1beta3.Query", "AllProvidersAttributes", data);
|
|
17
|
-
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
18
|
-
};
|
|
19
|
-
/* ProviderAttributes queries all provider signed attributes
|
|
20
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
21
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
22
|
-
providerAttributes = async (request) => {
|
|
23
|
-
const data = QueryProviderAttributesRequest.encode(request).finish();
|
|
24
|
-
const promise = this.rpc.request("akash.audit.v1beta3.Query", "ProviderAttributes", data);
|
|
25
|
-
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
26
|
-
};
|
|
27
|
-
/* ProviderAuditorAttributes queries provider signed attributes by specific auditor
|
|
28
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
29
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
30
|
-
providerAuditorAttributes = async (request) => {
|
|
31
|
-
const data = QueryProviderAuditorRequest.encode(request).finish();
|
|
32
|
-
const promise = this.rpc.request("akash.audit.v1beta3.Query", "ProviderAuditorAttributes", data);
|
|
33
|
-
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
34
|
-
};
|
|
35
|
-
/* AuditorAttributes queries all providers signed by this auditor
|
|
36
|
-
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
|
37
|
-
buf:lint:ignore RPC_RESPONSE_STANDARD_NAME */
|
|
38
|
-
auditorAttributes = async (request) => {
|
|
39
|
-
const data = QueryAuditorAttributesRequest.encode(request).finish();
|
|
40
|
-
const promise = this.rpc.request("akash.audit.v1beta3.Query", "AuditorAttributes", data);
|
|
41
|
-
return promise.then(data => QueryProvidersResponse.decode(new BinaryReader(data)));
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export const createRpcQueryExtension = (base) => {
|
|
45
|
-
const rpc = createProtobufRpcClient(base);
|
|
46
|
-
const queryService = new QueryClientImpl(rpc);
|
|
47
|
-
return {
|
|
48
|
-
allProvidersAttributes(request) {
|
|
49
|
-
return queryService.allProvidersAttributes(request);
|
|
50
|
-
},
|
|
51
|
-
providerAttributes(request) {
|
|
52
|
-
return queryService.providerAttributes(request);
|
|
53
|
-
},
|
|
54
|
-
providerAuditorAttributes(request) {
|
|
55
|
-
return queryService.providerAuditorAttributes(request);
|
|
56
|
-
},
|
|
57
|
-
auditorAttributes(request) {
|
|
58
|
-
return queryService.auditorAttributes(request);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//@ts-nocheck
|
|
2
|
-
import { MsgCreateCertificate, MsgRevokeCertificate } from "./cert";
|
|
3
|
-
export const AminoConverter = {
|
|
4
|
-
"/akash.cert.v1beta3.MsgCreateCertificate": {
|
|
5
|
-
aminoType: "/akash.cert.v1beta3.MsgCreateCertificate",
|
|
6
|
-
toAmino: MsgCreateCertificate.toAmino,
|
|
7
|
-
fromAmino: MsgCreateCertificate.fromAmino
|
|
8
|
-
},
|
|
9
|
-
"/akash.cert.v1beta3.MsgRevokeCertificate": {
|
|
10
|
-
aminoType: "/akash.cert.v1beta3.MsgRevokeCertificate",
|
|
11
|
-
toAmino: MsgRevokeCertificate.toAmino,
|
|
12
|
-
fromAmino: MsgRevokeCertificate.fromAmino
|
|
13
|
-
}
|
|
14
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { MsgCreateCertificate, MsgRevokeCertificate } from "./cert";
|
|
2
|
-
export const registry = [["/akash.cert.v1beta3.MsgCreateCertificate", MsgCreateCertificate], ["/akash.cert.v1beta3.MsgRevokeCertificate", MsgRevokeCertificate]];
|
|
3
|
-
export const load = (protoRegistry) => {
|
|
4
|
-
registry.forEach(([typeUrl, mod]) => {
|
|
5
|
-
protoRegistry.register(typeUrl, mod);
|
|
6
|
-
});
|
|
7
|
-
};
|
|
8
|
-
export const MessageComposer = {
|
|
9
|
-
encoded: {
|
|
10
|
-
createCertificate(value) {
|
|
11
|
-
return {
|
|
12
|
-
typeUrl: "/akash.cert.v1beta3.MsgCreateCertificate",
|
|
13
|
-
value: MsgCreateCertificate.encode(value).finish()
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
revokeCertificate(value) {
|
|
17
|
-
return {
|
|
18
|
-
typeUrl: "/akash.cert.v1beta3.MsgRevokeCertificate",
|
|
19
|
-
value: MsgRevokeCertificate.encode(value).finish()
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
withTypeUrl: {
|
|
24
|
-
createCertificate(value) {
|
|
25
|
-
return {
|
|
26
|
-
typeUrl: "/akash.cert.v1beta3.MsgCreateCertificate",
|
|
27
|
-
value
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
revokeCertificate(value) {
|
|
31
|
-
return {
|
|
32
|
-
typeUrl: "/akash.cert.v1beta3.MsgRevokeCertificate",
|
|
33
|
-
value
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
fromPartial: {
|
|
38
|
-
createCertificate(value) {
|
|
39
|
-
return {
|
|
40
|
-
typeUrl: "/akash.cert.v1beta3.MsgCreateCertificate",
|
|
41
|
-
value: MsgCreateCertificate.fromPartial(value)
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
revokeCertificate(value) {
|
|
45
|
-
return {
|
|
46
|
-
typeUrl: "/akash.cert.v1beta3.MsgRevokeCertificate",
|
|
47
|
-
value: MsgRevokeCertificate.fromPartial(value)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BinaryReader } from "../../../binary";
|
|
2
|
-
import { MsgCreateCertificate, MsgCreateCertificateResponse, MsgRevokeCertificate, MsgRevokeCertificateResponse } from "./cert";
|
|
3
|
-
export class MsgClientImpl {
|
|
4
|
-
rpc;
|
|
5
|
-
constructor(rpc) {
|
|
6
|
-
this.rpc = rpc;
|
|
7
|
-
}
|
|
8
|
-
/* CreateCertificate defines a method to create new certificate given proper inputs. */
|
|
9
|
-
createCertificate = async (request) => {
|
|
10
|
-
const data = MsgCreateCertificate.encode(request).finish();
|
|
11
|
-
const promise = this.rpc.request("akash.cert.v1beta3.Msg", "CreateCertificate", data);
|
|
12
|
-
return promise.then(data => MsgCreateCertificateResponse.decode(new BinaryReader(data)));
|
|
13
|
-
};
|
|
14
|
-
/* RevokeCertificate defines a method to revoke the certificate */
|
|
15
|
-
revokeCertificate = async (request) => {
|
|
16
|
-
const data = MsgRevokeCertificate.encode(request).finish();
|
|
17
|
-
const promise = this.rpc.request("akash.cert.v1beta3.Msg", "RevokeCertificate", data);
|
|
18
|
-
return promise.then(data => MsgRevokeCertificateResponse.decode(new BinaryReader(data)));
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export const createClientImpl = (rpc) => {
|
|
22
|
-
return new MsgClientImpl(rpc);
|
|
23
|
-
};
|