@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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BinaryReader } from "../../../binary";
|
|
2
|
+
import { MsgAddPriceEntry, MsgAddPriceEntryResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./msgs";
|
|
3
|
+
export class MsgClientImpl {
|
|
4
|
+
rpc;
|
|
5
|
+
constructor(rpc) {
|
|
6
|
+
this.rpc = rpc;
|
|
7
|
+
}
|
|
8
|
+
/* AddPriceEntry adds a new price entry for a denomination from an authorized source */
|
|
9
|
+
addPriceEntry = async (request) => {
|
|
10
|
+
const data = MsgAddPriceEntry.encode(request).finish();
|
|
11
|
+
const promise = this.rpc.request("akash.oracle.v2.Msg", "AddPriceEntry", data);
|
|
12
|
+
return promise.then(data => MsgAddPriceEntryResponse.decode(new BinaryReader(data)));
|
|
13
|
+
};
|
|
14
|
+
/* UpdateParams defines a governance operation for updating the x/oracle module
|
|
15
|
+
parameters. The authority is hard-coded to the x/gov module account.
|
|
16
|
+
|
|
17
|
+
Since: akash v2.0.0 */
|
|
18
|
+
updateParams = async (request) => {
|
|
19
|
+
const data = MsgUpdateParams.encode(request).finish();
|
|
20
|
+
const promise = this.rpc.request("akash.oracle.v2.Msg", "UpdateParams", data);
|
|
21
|
+
return promise.then(data => MsgUpdateParamsResponse.decode(new BinaryReader(data)));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export const createClientImpl = (rpc) => {
|
|
25
|
+
return new MsgClientImpl(rpc);
|
|
26
|
+
};
|
package/esm/akash/rpc.query.js
CHANGED
|
@@ -7,35 +7,45 @@ export const createRPCQueryClient = async ({ rpcEndpoint }) => {
|
|
|
7
7
|
return {
|
|
8
8
|
akash: {
|
|
9
9
|
audit: {
|
|
10
|
-
v1: (await import("./audit/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
11
|
-
v1beta3: (await import("./audit/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
10
|
+
v1: (await import("./audit/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
12
11
|
},
|
|
13
12
|
bme: {
|
|
14
13
|
v1: (await import("./bme/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
15
14
|
},
|
|
16
15
|
cert: {
|
|
17
|
-
v1: (await import("./cert/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
18
|
-
v1beta3: (await import("./cert/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
16
|
+
v1: (await import("./cert/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
19
17
|
},
|
|
20
18
|
deployment: {
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
v1beta4: (await import("./deployment/v1beta4/query.rpc.Query")).createRpcQueryExtension(client),
|
|
20
|
+
v1beta5: (await import("./deployment/v1beta5/query.rpc.Query")).createRpcQueryExtension(client)
|
|
21
|
+
},
|
|
22
|
+
downtimedetector: {
|
|
23
|
+
v1beta1: (await import("./downtimedetector/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
24
|
+
},
|
|
25
|
+
epochs: {
|
|
26
|
+
v1beta1: (await import("./epochs/v1beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
23
27
|
},
|
|
24
28
|
escrow: {
|
|
25
29
|
v1: (await import("./escrow/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
26
30
|
v1beta3: (await import("./escrow/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
27
31
|
},
|
|
28
32
|
market: {
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
v1beta5: (await import("./market/v1beta5/query.rpc.Query")).createRpcQueryExtension(client),
|
|
34
|
+
v2beta1: (await import("./market/v2beta1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
35
|
+
},
|
|
36
|
+
oracle: {
|
|
37
|
+
v1: (await import("./oracle/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
38
|
+
v2: (await import("./oracle/v2/query.rpc.Query")).createRpcQueryExtension(client)
|
|
31
39
|
},
|
|
32
40
|
provider: {
|
|
33
|
-
v1beta3: (await import("./provider/v1beta3/query.rpc.Query")).createRpcQueryExtension(client),
|
|
34
41
|
v1beta4: (await import("./provider/v1beta4/query.rpc.Query")).createRpcQueryExtension(client)
|
|
35
42
|
},
|
|
36
43
|
take: {
|
|
37
44
|
v1: (await import("./take/v1/query.rpc.Query")).createRpcQueryExtension(client),
|
|
38
45
|
v1beta3: (await import("./take/v1beta3/query.rpc.Query")).createRpcQueryExtension(client)
|
|
46
|
+
},
|
|
47
|
+
wasm: {
|
|
48
|
+
v1: (await import("./wasm/v1/query.rpc.Query")).createRpcQueryExtension(client)
|
|
39
49
|
}
|
|
40
50
|
},
|
|
41
51
|
cosmos: {
|
package/esm/akash/rpc.tx.js
CHANGED
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
export const createRPCMsgClient = async ({ rpc }) => ({
|
|
2
2
|
akash: {
|
|
3
3
|
audit: {
|
|
4
|
-
v1: new (await import("./audit/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
5
|
-
v1beta3: new (await import("./audit/v1beta3/audit.rpc.msg")).MsgClientImpl(rpc)
|
|
4
|
+
v1: new (await import("./audit/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
6
5
|
},
|
|
7
6
|
bme: {
|
|
8
7
|
v1: new (await import("./bme/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
9
8
|
},
|
|
10
9
|
cert: {
|
|
11
|
-
v1: new (await import("./cert/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
12
|
-
v1beta3: new (await import("./cert/v1beta3/cert.rpc.msg")).MsgClientImpl(rpc)
|
|
10
|
+
v1: new (await import("./cert/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
13
11
|
},
|
|
14
12
|
deployment: {
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
v1beta4: new (await import("./deployment/v1beta4/service.rpc.msg")).MsgClientImpl(rpc),
|
|
14
|
+
v1beta5: new (await import("./deployment/v1beta5/service.rpc.msg")).MsgClientImpl(rpc)
|
|
15
|
+
},
|
|
16
|
+
escrow: {
|
|
17
|
+
v1: new (await import("./escrow/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
17
18
|
},
|
|
18
19
|
market: {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
v1beta5: new (await import("./market/v1beta5/service.rpc.msg")).MsgClientImpl(rpc),
|
|
21
|
+
v2beta1: new (await import("./market/v2beta1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
22
|
+
},
|
|
23
|
+
oracle: {
|
|
24
|
+
v1: new (await import("./oracle/v1/service.rpc.msg")).MsgClientImpl(rpc),
|
|
25
|
+
v2: new (await import("./oracle/v2/service.rpc.msg")).MsgClientImpl(rpc)
|
|
21
26
|
},
|
|
22
27
|
provider: {
|
|
23
|
-
v1beta3: new (await import("./provider/v1beta3/provider.rpc.msg")).MsgClientImpl(rpc),
|
|
24
28
|
v1beta4: new (await import("./provider/v1beta4/service.rpc.msg")).MsgClientImpl(rpc)
|
|
25
29
|
},
|
|
26
30
|
take: {
|
|
27
31
|
v1: new (await import("./take/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
32
|
+
},
|
|
33
|
+
wasm: {
|
|
34
|
+
v1: new (await import("./wasm/v1/service.rpc.msg")).MsgClientImpl(rpc)
|
|
28
35
|
}
|
|
29
36
|
},
|
|
30
37
|
cosmos: {
|
|
@@ -3,7 +3,7 @@ export class LCDQueryClient {
|
|
|
3
3
|
constructor({ requestClient }) {
|
|
4
4
|
this.req = requestClient;
|
|
5
5
|
}
|
|
6
|
-
/* Params returns the total set of
|
|
6
|
+
/* Params returns the total set of take parameters. */
|
|
7
7
|
params = async (_params = {}) => {
|
|
8
8
|
const endpoint = `akash/take/v1/params`;
|
|
9
9
|
return await this.req.get(endpoint);
|
|
@@ -6,7 +6,7 @@ export class QueryClientImpl {
|
|
|
6
6
|
constructor(rpc) {
|
|
7
7
|
this.rpc = rpc;
|
|
8
8
|
}
|
|
9
|
-
/* Params returns the total set of
|
|
9
|
+
/* Params returns the total set of take parameters. */
|
|
10
10
|
params = async (request = {}) => {
|
|
11
11
|
const data = QueryParamsRequest.encode(request).finish();
|
|
12
12
|
const promise = this.rpc.request("akash.take.v1.Query", "Params", data);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
function createBaseEventMsgBlocked() {
|
|
4
|
+
return {
|
|
5
|
+
contractAddress: "",
|
|
6
|
+
msgType: "",
|
|
7
|
+
reason: ""
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* EventMsgBlocked is triggered when smart contract does not
|
|
12
|
+
* pass message filter
|
|
13
|
+
* @name EventMsgBlocked
|
|
14
|
+
* @package akash.wasm.v1
|
|
15
|
+
* @see proto type: akash.wasm.v1.EventMsgBlocked
|
|
16
|
+
*/
|
|
17
|
+
export const EventMsgBlocked = {
|
|
18
|
+
typeUrl: "/akash.wasm.v1.EventMsgBlocked",
|
|
19
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
20
|
+
if (message.contractAddress !== "") {
|
|
21
|
+
writer.uint32(10).string(message.contractAddress);
|
|
22
|
+
}
|
|
23
|
+
if (message.msgType !== "") {
|
|
24
|
+
writer.uint32(18).string(message.msgType);
|
|
25
|
+
}
|
|
26
|
+
if (message.reason !== "") {
|
|
27
|
+
writer.uint32(26).string(message.reason);
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseEventMsgBlocked();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
message.contractAddress = reader.string();
|
|
40
|
+
break;
|
|
41
|
+
case 2:
|
|
42
|
+
message.msgType = reader.string();
|
|
43
|
+
break;
|
|
44
|
+
case 3:
|
|
45
|
+
message.reason = reader.string();
|
|
46
|
+
break;
|
|
47
|
+
default:
|
|
48
|
+
reader.skipType(tag & 7);
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromPartial(object) {
|
|
55
|
+
const message = createBaseEventMsgBlocked();
|
|
56
|
+
message.contractAddress = object.contractAddress ?? "";
|
|
57
|
+
message.msgType = object.msgType ?? "";
|
|
58
|
+
message.reason = object.reason ?? "";
|
|
59
|
+
return message;
|
|
60
|
+
},
|
|
61
|
+
fromAmino(object) {
|
|
62
|
+
const message = createBaseEventMsgBlocked();
|
|
63
|
+
if (object.contract_address !== undefined && object.contract_address !== null) {
|
|
64
|
+
message.contractAddress = object.contract_address;
|
|
65
|
+
}
|
|
66
|
+
if (object.msg_type !== undefined && object.msg_type !== null) {
|
|
67
|
+
message.msgType = object.msg_type;
|
|
68
|
+
}
|
|
69
|
+
if (object.reason !== undefined && object.reason !== null) {
|
|
70
|
+
message.reason = object.reason;
|
|
71
|
+
}
|
|
72
|
+
return message;
|
|
73
|
+
},
|
|
74
|
+
toAmino(message) {
|
|
75
|
+
const obj = {};
|
|
76
|
+
obj.contract_address = message.contractAddress ?? "";
|
|
77
|
+
obj.msg_type = message.msgType ?? "";
|
|
78
|
+
obj.reason = message.reason ?? "";
|
|
79
|
+
return obj;
|
|
80
|
+
},
|
|
81
|
+
fromAminoMsg(object) {
|
|
82
|
+
return EventMsgBlocked.fromAmino(object.value);
|
|
83
|
+
},
|
|
84
|
+
fromProtoMsg(message) {
|
|
85
|
+
return EventMsgBlocked.decode(message.value);
|
|
86
|
+
},
|
|
87
|
+
toProto(message) {
|
|
88
|
+
return EventMsgBlocked.encode(message).finish();
|
|
89
|
+
},
|
|
90
|
+
toProtoMsg(message) {
|
|
91
|
+
return {
|
|
92
|
+
typeUrl: "/akash.wasm.v1.EventMsgBlocked",
|
|
93
|
+
value: EventMsgBlocked.encode(message).finish()
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseGenesisState() {
|
|
5
|
+
return {
|
|
6
|
+
params: Params.fromPartial({})
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* GenesisState stores slice of genesis wasm parameters.
|
|
11
|
+
* @name GenesisState
|
|
12
|
+
* @package akash.wasm.v1
|
|
13
|
+
* @see proto type: akash.wasm.v1.GenesisState
|
|
14
|
+
*/
|
|
15
|
+
export const GenesisState = {
|
|
16
|
+
typeUrl: "/akash.wasm.v1.GenesisState",
|
|
17
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
18
|
+
if (message.params !== undefined) {
|
|
19
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
20
|
+
}
|
|
21
|
+
return writer;
|
|
22
|
+
},
|
|
23
|
+
decode(input, length) {
|
|
24
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
25
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
+
const message = createBaseGenesisState();
|
|
27
|
+
while (reader.pos < end) {
|
|
28
|
+
const tag = reader.uint32();
|
|
29
|
+
switch (tag >>> 3) {
|
|
30
|
+
case 1:
|
|
31
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
reader.skipType(tag & 7);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return message;
|
|
39
|
+
},
|
|
40
|
+
fromPartial(object) {
|
|
41
|
+
const message = createBaseGenesisState();
|
|
42
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromAmino(object) {
|
|
46
|
+
const message = createBaseGenesisState();
|
|
47
|
+
if (object.params !== undefined && object.params !== null) {
|
|
48
|
+
message.params = Params.fromAmino(object.params);
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
},
|
|
52
|
+
toAmino(message) {
|
|
53
|
+
const obj = {};
|
|
54
|
+
obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
|
|
55
|
+
return obj;
|
|
56
|
+
},
|
|
57
|
+
fromAminoMsg(object) {
|
|
58
|
+
return GenesisState.fromAmino(object.value);
|
|
59
|
+
},
|
|
60
|
+
fromProtoMsg(message) {
|
|
61
|
+
return GenesisState.decode(message.value);
|
|
62
|
+
},
|
|
63
|
+
toProto(message) {
|
|
64
|
+
return GenesisState.encode(message).finish();
|
|
65
|
+
},
|
|
66
|
+
toProtoMsg(message) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/akash.wasm.v1.GenesisState",
|
|
69
|
+
value: GenesisState.encode(message).finish()
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
function createBaseParams() {
|
|
4
|
+
return {
|
|
5
|
+
blockedAddresses: []
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Params defines the parameters for the x/wasm package.
|
|
10
|
+
* @name Params
|
|
11
|
+
* @package akash.wasm.v1
|
|
12
|
+
* @see proto type: akash.wasm.v1.Params
|
|
13
|
+
*/
|
|
14
|
+
export const Params = {
|
|
15
|
+
typeUrl: "/akash.wasm.v1.Params",
|
|
16
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
17
|
+
for (const v of message.blockedAddresses) {
|
|
18
|
+
writer.uint32(10).string(v);
|
|
19
|
+
}
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseParams();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
case 1:
|
|
30
|
+
message.blockedAddresses.push(reader.string());
|
|
31
|
+
break;
|
|
32
|
+
default:
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return message;
|
|
38
|
+
},
|
|
39
|
+
fromPartial(object) {
|
|
40
|
+
const message = createBaseParams();
|
|
41
|
+
message.blockedAddresses = object.blockedAddresses?.map(e => e) || [];
|
|
42
|
+
return message;
|
|
43
|
+
},
|
|
44
|
+
fromAmino(object) {
|
|
45
|
+
const message = createBaseParams();
|
|
46
|
+
message.blockedAddresses = object.blocked_addresses?.map(e => e) || [];
|
|
47
|
+
return message;
|
|
48
|
+
},
|
|
49
|
+
toAmino(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.blockedAddresses) {
|
|
52
|
+
obj.blocked_addresses = message.blockedAddresses.map(e => e);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
obj.blocked_addresses = message.blockedAddresses;
|
|
56
|
+
}
|
|
57
|
+
return obj;
|
|
58
|
+
},
|
|
59
|
+
fromAminoMsg(object) {
|
|
60
|
+
return Params.fromAmino(object.value);
|
|
61
|
+
},
|
|
62
|
+
fromProtoMsg(message) {
|
|
63
|
+
return Params.decode(message.value);
|
|
64
|
+
},
|
|
65
|
+
toProto(message) {
|
|
66
|
+
return Params.encode(message).finish();
|
|
67
|
+
},
|
|
68
|
+
toProtoMsg(message) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/akash.wasm.v1.Params",
|
|
71
|
+
value: Params.encode(message).finish()
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseMsgUpdateParams() {
|
|
5
|
+
return {
|
|
6
|
+
authority: "",
|
|
7
|
+
params: Params.fromPartial({})
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
12
|
+
*
|
|
13
|
+
* Since: akash v1.0.0
|
|
14
|
+
* @name MsgUpdateParams
|
|
15
|
+
* @package akash.wasm.v1
|
|
16
|
+
* @see proto type: akash.wasm.v1.MsgUpdateParams
|
|
17
|
+
*/
|
|
18
|
+
export const MsgUpdateParams = {
|
|
19
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParams",
|
|
20
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
21
|
+
if (message.authority !== "") {
|
|
22
|
+
writer.uint32(10).string(message.authority);
|
|
23
|
+
}
|
|
24
|
+
if (message.params !== undefined) {
|
|
25
|
+
Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
31
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBaseMsgUpdateParams();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
message.authority = reader.string();
|
|
38
|
+
break;
|
|
39
|
+
case 2:
|
|
40
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
41
|
+
break;
|
|
42
|
+
default:
|
|
43
|
+
reader.skipType(tag & 7);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return message;
|
|
48
|
+
},
|
|
49
|
+
fromPartial(object) {
|
|
50
|
+
const message = createBaseMsgUpdateParams();
|
|
51
|
+
message.authority = object.authority ?? "";
|
|
52
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromAmino(object) {
|
|
56
|
+
const message = createBaseMsgUpdateParams();
|
|
57
|
+
if (object.authority !== undefined && object.authority !== null) {
|
|
58
|
+
message.authority = object.authority;
|
|
59
|
+
}
|
|
60
|
+
if (object.params !== undefined && object.params !== null) {
|
|
61
|
+
message.params = Params.fromAmino(object.params);
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
toAmino(message) {
|
|
66
|
+
const obj = {};
|
|
67
|
+
obj.authority = message.authority === "" ? undefined : message.authority;
|
|
68
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
fromAminoMsg(object) {
|
|
72
|
+
return MsgUpdateParams.fromAmino(object.value);
|
|
73
|
+
},
|
|
74
|
+
fromProtoMsg(message) {
|
|
75
|
+
return MsgUpdateParams.decode(message.value);
|
|
76
|
+
},
|
|
77
|
+
toProto(message) {
|
|
78
|
+
return MsgUpdateParams.encode(message).finish();
|
|
79
|
+
},
|
|
80
|
+
toProtoMsg(message) {
|
|
81
|
+
return {
|
|
82
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParams",
|
|
83
|
+
value: MsgUpdateParams.encode(message).finish()
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
function createBaseMsgUpdateParamsResponse() {
|
|
88
|
+
return {};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
92
|
+
* MsgUpdateParams message.
|
|
93
|
+
*
|
|
94
|
+
* Since: akash v1.0.0
|
|
95
|
+
* @name MsgUpdateParamsResponse
|
|
96
|
+
* @package akash.wasm.v1
|
|
97
|
+
* @see proto type: akash.wasm.v1.MsgUpdateParamsResponse
|
|
98
|
+
*/
|
|
99
|
+
export const MsgUpdateParamsResponse = {
|
|
100
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParamsResponse",
|
|
101
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
102
|
+
return writer;
|
|
103
|
+
},
|
|
104
|
+
decode(input, length) {
|
|
105
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
106
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
108
|
+
while (reader.pos < end) {
|
|
109
|
+
const tag = reader.uint32();
|
|
110
|
+
switch (tag >>> 3) {
|
|
111
|
+
default:
|
|
112
|
+
reader.skipType(tag & 7);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromPartial(_) {
|
|
119
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
fromAmino(_) {
|
|
123
|
+
const message = createBaseMsgUpdateParamsResponse();
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
toAmino(_) {
|
|
127
|
+
const obj = {};
|
|
128
|
+
return obj;
|
|
129
|
+
},
|
|
130
|
+
fromAminoMsg(object) {
|
|
131
|
+
return MsgUpdateParamsResponse.fromAmino(object.value);
|
|
132
|
+
},
|
|
133
|
+
fromProtoMsg(message) {
|
|
134
|
+
return MsgUpdateParamsResponse.decode(message.value);
|
|
135
|
+
},
|
|
136
|
+
toProto(message) {
|
|
137
|
+
return MsgUpdateParamsResponse.encode(message).finish();
|
|
138
|
+
},
|
|
139
|
+
toProtoMsg(message) {
|
|
140
|
+
return {
|
|
141
|
+
typeUrl: "/akash.wasm.v1.MsgUpdateParamsResponse",
|
|
142
|
+
value: MsgUpdateParamsResponse.encode(message).finish()
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Params } from "./params";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
function createBaseQueryParamsRequest() {
|
|
5
|
+
return {};
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
9
|
+
* @name QueryParamsRequest
|
|
10
|
+
* @package akash.wasm.v1
|
|
11
|
+
* @see proto type: akash.wasm.v1.QueryParamsRequest
|
|
12
|
+
*/
|
|
13
|
+
export const QueryParamsRequest = {
|
|
14
|
+
typeUrl: "/akash.wasm.v1.QueryParamsRequest",
|
|
15
|
+
encode(_, writer = BinaryWriter.create()) {
|
|
16
|
+
return writer;
|
|
17
|
+
},
|
|
18
|
+
decode(input, length) {
|
|
19
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
20
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
+
const message = createBaseQueryParamsRequest();
|
|
22
|
+
while (reader.pos < end) {
|
|
23
|
+
const tag = reader.uint32();
|
|
24
|
+
switch (tag >>> 3) {
|
|
25
|
+
default:
|
|
26
|
+
reader.skipType(tag & 7);
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return message;
|
|
31
|
+
},
|
|
32
|
+
fromPartial(_) {
|
|
33
|
+
const message = createBaseQueryParamsRequest();
|
|
34
|
+
return message;
|
|
35
|
+
},
|
|
36
|
+
fromAmino(_) {
|
|
37
|
+
const message = createBaseQueryParamsRequest();
|
|
38
|
+
return message;
|
|
39
|
+
},
|
|
40
|
+
toAmino(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
fromAminoMsg(object) {
|
|
45
|
+
return QueryParamsRequest.fromAmino(object.value);
|
|
46
|
+
},
|
|
47
|
+
fromProtoMsg(message) {
|
|
48
|
+
return QueryParamsRequest.decode(message.value);
|
|
49
|
+
},
|
|
50
|
+
toProto(message) {
|
|
51
|
+
return QueryParamsRequest.encode(message).finish();
|
|
52
|
+
},
|
|
53
|
+
toProtoMsg(message) {
|
|
54
|
+
return {
|
|
55
|
+
typeUrl: "/akash.wasm.v1.QueryParamsRequest",
|
|
56
|
+
value: QueryParamsRequest.encode(message).finish()
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
function createBaseQueryParamsResponse() {
|
|
61
|
+
return {
|
|
62
|
+
params: Params.fromPartial({})
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
67
|
+
* @name QueryParamsResponse
|
|
68
|
+
* @package akash.wasm.v1
|
|
69
|
+
* @see proto type: akash.wasm.v1.QueryParamsResponse
|
|
70
|
+
*/
|
|
71
|
+
export const QueryParamsResponse = {
|
|
72
|
+
typeUrl: "/akash.wasm.v1.QueryParamsResponse",
|
|
73
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
74
|
+
if (message.params !== undefined) {
|
|
75
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
76
|
+
}
|
|
77
|
+
return writer;
|
|
78
|
+
},
|
|
79
|
+
decode(input, length) {
|
|
80
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
81
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
+
const message = createBaseQueryParamsResponse();
|
|
83
|
+
while (reader.pos < end) {
|
|
84
|
+
const tag = reader.uint32();
|
|
85
|
+
switch (tag >>> 3) {
|
|
86
|
+
case 1:
|
|
87
|
+
message.params = Params.decode(reader, reader.uint32());
|
|
88
|
+
break;
|
|
89
|
+
default:
|
|
90
|
+
reader.skipType(tag & 7);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseQueryParamsResponse();
|
|
98
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
fromAmino(object) {
|
|
102
|
+
const message = createBaseQueryParamsResponse();
|
|
103
|
+
if (object.params !== undefined && object.params !== null) {
|
|
104
|
+
message.params = Params.fromAmino(object.params);
|
|
105
|
+
}
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
toAmino(message) {
|
|
109
|
+
const obj = {};
|
|
110
|
+
obj.params = message.params ? Params.toAmino(message.params) : Params.toAmino(Params.fromPartial({}));
|
|
111
|
+
return obj;
|
|
112
|
+
},
|
|
113
|
+
fromAminoMsg(object) {
|
|
114
|
+
return QueryParamsResponse.fromAmino(object.value);
|
|
115
|
+
},
|
|
116
|
+
fromProtoMsg(message) {
|
|
117
|
+
return QueryParamsResponse.decode(message.value);
|
|
118
|
+
},
|
|
119
|
+
toProto(message) {
|
|
120
|
+
return QueryParamsResponse.encode(message).finish();
|
|
121
|
+
},
|
|
122
|
+
toProtoMsg(message) {
|
|
123
|
+
return {
|
|
124
|
+
typeUrl: "/akash.wasm.v1.QueryParamsResponse",
|
|
125
|
+
value: QueryParamsResponse.encode(message).finish()
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class LCDQueryClient {
|
|
2
|
+
req;
|
|
3
|
+
constructor({ requestClient }) {
|
|
4
|
+
this.req = requestClient;
|
|
5
|
+
}
|
|
6
|
+
/* Params returns the total set of wasm parameters. */
|
|
7
|
+
params = async (_params = {}) => {
|
|
8
|
+
const endpoint = `akash/wasm/v1/params`;
|
|
9
|
+
return await this.req.get(endpoint);
|
|
10
|
+
};
|
|
11
|
+
}
|