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