@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
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LCDQueryClient = void 0;
|
|
4
|
+
class LCDQueryClient {
|
|
5
|
+
req;
|
|
6
|
+
constructor({ requestClient }) {
|
|
7
|
+
this.req = requestClient;
|
|
8
|
+
}
|
|
9
|
+
/* EpochInfos provide running epochInfos */
|
|
10
|
+
epochInfos = async (_params = {}) => {
|
|
11
|
+
const endpoint = `cosmos/epochs/v1beta1/epochs`;
|
|
12
|
+
return await this.req.get(endpoint);
|
|
13
|
+
};
|
|
14
|
+
/* CurrentEpoch provide current epoch of specified identifier */
|
|
15
|
+
currentEpoch = async (params) => {
|
|
16
|
+
const options = {
|
|
17
|
+
params: {}
|
|
18
|
+
};
|
|
19
|
+
if (typeof params?.identifier !== "undefined") {
|
|
20
|
+
options.params.identifier = params.identifier;
|
|
21
|
+
}
|
|
22
|
+
const endpoint = `cosmos/epochs/v1beta1/current_epoch`;
|
|
23
|
+
return await this.req.get(endpoint, options);
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { QueryEpochInfosRequest, QueryEpochInfosResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service. */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/** EpochInfos provide running epochInfos */
|
|
7
|
+
epochInfos(request?: QueryEpochInfosRequest): Promise<QueryEpochInfosResponse>;
|
|
8
|
+
/** CurrentEpoch provide current epoch of specified identifier */
|
|
9
|
+
currentEpoch(request: QueryCurrentEpochRequest): Promise<QueryCurrentEpochResponse>;
|
|
10
|
+
}
|
|
11
|
+
export declare class QueryClientImpl implements Query {
|
|
12
|
+
private readonly rpc;
|
|
13
|
+
constructor(rpc: TxRpc);
|
|
14
|
+
epochInfos: (request?: QueryEpochInfosRequest) => Promise<QueryEpochInfosResponse>;
|
|
15
|
+
currentEpoch: (request: QueryCurrentEpochRequest) => Promise<QueryCurrentEpochResponse>;
|
|
16
|
+
}
|
|
17
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
18
|
+
epochInfos(request?: QueryEpochInfosRequest): Promise<QueryEpochInfosResponse>;
|
|
19
|
+
currentEpoch(request: QueryCurrentEpochRequest): Promise<QueryCurrentEpochResponse>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/* EpochInfos provide running epochInfos */
|
|
13
|
+
epochInfos = async (request = {}) => {
|
|
14
|
+
const data = query_1.QueryEpochInfosRequest.encode(request).finish();
|
|
15
|
+
const promise = this.rpc.request("akash.epochs.v1beta1.Query", "EpochInfos", data);
|
|
16
|
+
return promise.then(data => query_1.QueryEpochInfosResponse.decode(new binary_1.BinaryReader(data)));
|
|
17
|
+
};
|
|
18
|
+
/* CurrentEpoch provide current epoch of specified identifier */
|
|
19
|
+
currentEpoch = async (request) => {
|
|
20
|
+
const data = query_1.QueryCurrentEpochRequest.encode(request).finish();
|
|
21
|
+
const promise = this.rpc.request("akash.epochs.v1beta1.Query", "CurrentEpoch", data);
|
|
22
|
+
return promise.then(data => query_1.QueryCurrentEpochResponse.decode(new binary_1.BinaryReader(data)));
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
exports.QueryClientImpl = QueryClientImpl;
|
|
26
|
+
const createRpcQueryExtension = (base) => {
|
|
27
|
+
const rpc = (0, stargate_1.createProtobufRpcClient)(base);
|
|
28
|
+
const queryService = new QueryClientImpl(rpc);
|
|
29
|
+
return {
|
|
30
|
+
epochInfos(request) {
|
|
31
|
+
return queryService.epochInfos(request);
|
|
32
|
+
},
|
|
33
|
+
currentEpoch(request) {
|
|
34
|
+
return queryService.currentEpoch(request);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
exports.createRpcQueryExtension = createRpcQueryExtension;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
/** Scope is an enum which refers to the account scope */
|
|
4
|
+
export declare enum Scope {
|
|
5
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
6
|
+
invalid = 0,
|
|
7
|
+
/** deployment - DeploymentActive denotes state for deployment active. */
|
|
8
|
+
deployment = 1,
|
|
9
|
+
/** bid - DeploymentClosed denotes state for deployment closed. */
|
|
10
|
+
bid = 2,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const ScopeAmino: typeof Scope;
|
|
14
|
+
export declare function scopeFromJSON(object: any): Scope;
|
|
15
|
+
export declare function scopeToJSON(object: Scope): string;
|
|
16
|
+
/**
|
|
17
|
+
* Account is the account identifier.
|
|
18
|
+
* @name Account
|
|
19
|
+
* @package akash.escrow.id.v1
|
|
20
|
+
* @see proto type: akash.escrow.id.v1.Account
|
|
21
|
+
*/
|
|
22
|
+
export interface Account {
|
|
23
|
+
scope: Scope;
|
|
24
|
+
xid: string;
|
|
25
|
+
}
|
|
26
|
+
export interface AccountProtoMsg {
|
|
27
|
+
typeUrl: "/akash.escrow.id.v1.Account";
|
|
28
|
+
value: Uint8Array;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Account is the account identifier.
|
|
32
|
+
* @name AccountAmino
|
|
33
|
+
* @package akash.escrow.id.v1
|
|
34
|
+
* @see proto type: akash.escrow.id.v1.Account
|
|
35
|
+
*/
|
|
36
|
+
export interface AccountAmino {
|
|
37
|
+
scope: Scope;
|
|
38
|
+
xid: string;
|
|
39
|
+
}
|
|
40
|
+
export interface AccountAminoMsg {
|
|
41
|
+
type: "/akash.escrow.id.v1.Account";
|
|
42
|
+
value: AccountAmino;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Payment is the payment identifier.
|
|
46
|
+
* @name Payment
|
|
47
|
+
* @package akash.escrow.id.v1
|
|
48
|
+
* @see proto type: akash.escrow.id.v1.Payment
|
|
49
|
+
*/
|
|
50
|
+
export interface Payment {
|
|
51
|
+
aid: Account;
|
|
52
|
+
xid: string;
|
|
53
|
+
}
|
|
54
|
+
export interface PaymentProtoMsg {
|
|
55
|
+
typeUrl: "/akash.escrow.id.v1.Payment";
|
|
56
|
+
value: Uint8Array;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Payment is the payment identifier.
|
|
60
|
+
* @name PaymentAmino
|
|
61
|
+
* @package akash.escrow.id.v1
|
|
62
|
+
* @see proto type: akash.escrow.id.v1.Payment
|
|
63
|
+
*/
|
|
64
|
+
export interface PaymentAmino {
|
|
65
|
+
aid: AccountAmino;
|
|
66
|
+
xid: string;
|
|
67
|
+
}
|
|
68
|
+
export interface PaymentAminoMsg {
|
|
69
|
+
type: "/akash.escrow.id.v1.Payment";
|
|
70
|
+
value: PaymentAmino;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Account is the account identifier.
|
|
74
|
+
* @name Account
|
|
75
|
+
* @package akash.escrow.id.v1
|
|
76
|
+
* @see proto type: akash.escrow.id.v1.Account
|
|
77
|
+
*/
|
|
78
|
+
export declare const Account: {
|
|
79
|
+
typeUrl: string;
|
|
80
|
+
encode(message: Account, writer?: BinaryWriter): BinaryWriter;
|
|
81
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Account;
|
|
82
|
+
fromPartial(object: DeepPartial<Account>): Account;
|
|
83
|
+
fromAmino(object: AccountAmino): Account;
|
|
84
|
+
toAmino(message: Account): AccountAmino;
|
|
85
|
+
fromAminoMsg(object: AccountAminoMsg): Account;
|
|
86
|
+
fromProtoMsg(message: AccountProtoMsg): Account;
|
|
87
|
+
toProto(message: Account): Uint8Array;
|
|
88
|
+
toProtoMsg(message: Account): AccountProtoMsg;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Payment is the payment identifier.
|
|
92
|
+
* @name Payment
|
|
93
|
+
* @package akash.escrow.id.v1
|
|
94
|
+
* @see proto type: akash.escrow.id.v1.Payment
|
|
95
|
+
*/
|
|
96
|
+
export declare const Payment: {
|
|
97
|
+
typeUrl: string;
|
|
98
|
+
encode(message: Payment, writer?: BinaryWriter): BinaryWriter;
|
|
99
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Payment;
|
|
100
|
+
fromPartial(object: DeepPartial<Payment>): Payment;
|
|
101
|
+
fromAmino(object: PaymentAmino): Payment;
|
|
102
|
+
toAmino(message: Payment): PaymentAmino;
|
|
103
|
+
fromAminoMsg(object: PaymentAminoMsg): Payment;
|
|
104
|
+
fromProtoMsg(message: PaymentProtoMsg): Payment;
|
|
105
|
+
toProto(message: Payment): Uint8Array;
|
|
106
|
+
toProtoMsg(message: Payment): PaymentProtoMsg;
|
|
107
|
+
};
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Payment = exports.Account = exports.ScopeAmino = exports.Scope = void 0;
|
|
4
|
+
exports.scopeFromJSON = scopeFromJSON;
|
|
5
|
+
exports.scopeToJSON = scopeToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const binary_1 = require("../../../../binary");
|
|
8
|
+
/** Scope is an enum which refers to the account scope */
|
|
9
|
+
var Scope;
|
|
10
|
+
(function (Scope) {
|
|
11
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
12
|
+
Scope[Scope["invalid"] = 0] = "invalid";
|
|
13
|
+
/** deployment - DeploymentActive denotes state for deployment active. */
|
|
14
|
+
Scope[Scope["deployment"] = 1] = "deployment";
|
|
15
|
+
/** bid - DeploymentClosed denotes state for deployment closed. */
|
|
16
|
+
Scope[Scope["bid"] = 2] = "bid";
|
|
17
|
+
Scope[Scope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
+
})(Scope || (exports.Scope = Scope = {}));
|
|
19
|
+
exports.ScopeAmino = Scope;
|
|
20
|
+
function scopeFromJSON(object) {
|
|
21
|
+
switch (object) {
|
|
22
|
+
case 0:
|
|
23
|
+
case "invalid":
|
|
24
|
+
return Scope.invalid;
|
|
25
|
+
case 1:
|
|
26
|
+
case "deployment":
|
|
27
|
+
return Scope.deployment;
|
|
28
|
+
case 2:
|
|
29
|
+
case "bid":
|
|
30
|
+
return Scope.bid;
|
|
31
|
+
case -1:
|
|
32
|
+
case "UNRECOGNIZED":
|
|
33
|
+
default:
|
|
34
|
+
return Scope.UNRECOGNIZED;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function scopeToJSON(object) {
|
|
38
|
+
switch (object) {
|
|
39
|
+
case Scope.invalid:
|
|
40
|
+
return "invalid";
|
|
41
|
+
case Scope.deployment:
|
|
42
|
+
return "deployment";
|
|
43
|
+
case Scope.bid:
|
|
44
|
+
return "bid";
|
|
45
|
+
case Scope.UNRECOGNIZED:
|
|
46
|
+
default:
|
|
47
|
+
return "UNRECOGNIZED";
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function createBaseAccount() {
|
|
51
|
+
return {
|
|
52
|
+
scope: 0,
|
|
53
|
+
xid: ""
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Account is the account identifier.
|
|
58
|
+
* @name Account
|
|
59
|
+
* @package akash.escrow.id.v1
|
|
60
|
+
* @see proto type: akash.escrow.id.v1.Account
|
|
61
|
+
*/
|
|
62
|
+
exports.Account = {
|
|
63
|
+
typeUrl: "/akash.escrow.id.v1.Account",
|
|
64
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
65
|
+
if (message.scope !== 0) {
|
|
66
|
+
writer.uint32(8).int32(message.scope);
|
|
67
|
+
}
|
|
68
|
+
if (message.xid !== "") {
|
|
69
|
+
writer.uint32(18).string(message.xid);
|
|
70
|
+
}
|
|
71
|
+
return writer;
|
|
72
|
+
},
|
|
73
|
+
decode(input, length) {
|
|
74
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
75
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
76
|
+
const message = createBaseAccount();
|
|
77
|
+
while (reader.pos < end) {
|
|
78
|
+
const tag = reader.uint32();
|
|
79
|
+
switch (tag >>> 3) {
|
|
80
|
+
case 1:
|
|
81
|
+
message.scope = reader.int32();
|
|
82
|
+
break;
|
|
83
|
+
case 2:
|
|
84
|
+
message.xid = reader.string();
|
|
85
|
+
break;
|
|
86
|
+
default:
|
|
87
|
+
reader.skipType(tag & 7);
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return message;
|
|
92
|
+
},
|
|
93
|
+
fromPartial(object) {
|
|
94
|
+
const message = createBaseAccount();
|
|
95
|
+
message.scope = object.scope ?? 0;
|
|
96
|
+
message.xid = object.xid ?? "";
|
|
97
|
+
return message;
|
|
98
|
+
},
|
|
99
|
+
fromAmino(object) {
|
|
100
|
+
const message = createBaseAccount();
|
|
101
|
+
if (object.scope !== undefined && object.scope !== null) {
|
|
102
|
+
message.scope = object.scope;
|
|
103
|
+
}
|
|
104
|
+
if (object.xid !== undefined && object.xid !== null) {
|
|
105
|
+
message.xid = object.xid;
|
|
106
|
+
}
|
|
107
|
+
return message;
|
|
108
|
+
},
|
|
109
|
+
toAmino(message) {
|
|
110
|
+
const obj = {};
|
|
111
|
+
obj.scope = message.scope ?? 0;
|
|
112
|
+
obj.xid = message.xid ?? "";
|
|
113
|
+
return obj;
|
|
114
|
+
},
|
|
115
|
+
fromAminoMsg(object) {
|
|
116
|
+
return exports.Account.fromAmino(object.value);
|
|
117
|
+
},
|
|
118
|
+
fromProtoMsg(message) {
|
|
119
|
+
return exports.Account.decode(message.value);
|
|
120
|
+
},
|
|
121
|
+
toProto(message) {
|
|
122
|
+
return exports.Account.encode(message).finish();
|
|
123
|
+
},
|
|
124
|
+
toProtoMsg(message) {
|
|
125
|
+
return {
|
|
126
|
+
typeUrl: "/akash.escrow.id.v1.Account",
|
|
127
|
+
value: exports.Account.encode(message).finish()
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
function createBasePayment() {
|
|
132
|
+
return {
|
|
133
|
+
aid: exports.Account.fromPartial({}),
|
|
134
|
+
xid: ""
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Payment is the payment identifier.
|
|
139
|
+
* @name Payment
|
|
140
|
+
* @package akash.escrow.id.v1
|
|
141
|
+
* @see proto type: akash.escrow.id.v1.Payment
|
|
142
|
+
*/
|
|
143
|
+
exports.Payment = {
|
|
144
|
+
typeUrl: "/akash.escrow.id.v1.Payment",
|
|
145
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
146
|
+
if (message.aid !== undefined) {
|
|
147
|
+
exports.Account.encode(message.aid, writer.uint32(10).fork()).ldelim();
|
|
148
|
+
}
|
|
149
|
+
if (message.xid !== "") {
|
|
150
|
+
writer.uint32(18).string(message.xid);
|
|
151
|
+
}
|
|
152
|
+
return writer;
|
|
153
|
+
},
|
|
154
|
+
decode(input, length) {
|
|
155
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
156
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
157
|
+
const message = createBasePayment();
|
|
158
|
+
while (reader.pos < end) {
|
|
159
|
+
const tag = reader.uint32();
|
|
160
|
+
switch (tag >>> 3) {
|
|
161
|
+
case 1:
|
|
162
|
+
message.aid = exports.Account.decode(reader, reader.uint32());
|
|
163
|
+
break;
|
|
164
|
+
case 2:
|
|
165
|
+
message.xid = reader.string();
|
|
166
|
+
break;
|
|
167
|
+
default:
|
|
168
|
+
reader.skipType(tag & 7);
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
fromPartial(object) {
|
|
175
|
+
const message = createBasePayment();
|
|
176
|
+
message.aid = object.aid !== undefined && object.aid !== null ? exports.Account.fromPartial(object.aid) : undefined;
|
|
177
|
+
message.xid = object.xid ?? "";
|
|
178
|
+
return message;
|
|
179
|
+
},
|
|
180
|
+
fromAmino(object) {
|
|
181
|
+
const message = createBasePayment();
|
|
182
|
+
if (object.aid !== undefined && object.aid !== null) {
|
|
183
|
+
message.aid = exports.Account.fromAmino(object.aid);
|
|
184
|
+
}
|
|
185
|
+
if (object.xid !== undefined && object.xid !== null) {
|
|
186
|
+
message.xid = object.xid;
|
|
187
|
+
}
|
|
188
|
+
return message;
|
|
189
|
+
},
|
|
190
|
+
toAmino(message) {
|
|
191
|
+
const obj = {};
|
|
192
|
+
obj.aid = message.aid ? exports.Account.toAmino(message.aid) : exports.Account.toAmino(exports.Account.fromPartial({}));
|
|
193
|
+
obj.xid = message.xid ?? "";
|
|
194
|
+
return obj;
|
|
195
|
+
},
|
|
196
|
+
fromAminoMsg(object) {
|
|
197
|
+
return exports.Payment.fromAmino(object.value);
|
|
198
|
+
},
|
|
199
|
+
fromProtoMsg(message) {
|
|
200
|
+
return exports.Payment.decode(message.value);
|
|
201
|
+
},
|
|
202
|
+
toProto(message) {
|
|
203
|
+
return exports.Payment.encode(message).finish();
|
|
204
|
+
},
|
|
205
|
+
toProtoMsg(message) {
|
|
206
|
+
return {
|
|
207
|
+
typeUrl: "/akash.escrow.id.v1.Payment",
|
|
208
|
+
value: exports.Payment.encode(message).finish()
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { State } from "./state";
|
|
2
|
+
import { DecCoin, DecCoinAmino } from "../../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Balance, BalanceAmino } from "./balance";
|
|
4
|
+
import { Depositor, DepositorAmino } from "./deposit";
|
|
5
|
+
import { Account as Account1 } from "../../id/v1/id";
|
|
6
|
+
import { AccountAmino as Account1Amino } from "../../id/v1/id";
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
8
|
+
import { DeepPartial } from "../../../../helpers";
|
|
9
|
+
/**
|
|
10
|
+
* Account stores state for an escrow account.
|
|
11
|
+
* @name AccountState
|
|
12
|
+
* @package akash.escrow.types.v1
|
|
13
|
+
* @see proto type: akash.escrow.types.v1.AccountState
|
|
14
|
+
*/
|
|
15
|
+
export interface AccountState {
|
|
16
|
+
/**
|
|
17
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
18
|
+
* It is a string representing a valid bech32 account address.
|
|
19
|
+
*
|
|
20
|
+
* Example:
|
|
21
|
+
* "akash1..."
|
|
22
|
+
*/
|
|
23
|
+
owner: string;
|
|
24
|
+
/**
|
|
25
|
+
* State represents the current state of an Account.
|
|
26
|
+
*/
|
|
27
|
+
state: State;
|
|
28
|
+
/**
|
|
29
|
+
* Transferred total coins spent by this account.
|
|
30
|
+
*/
|
|
31
|
+
transferred: DecCoin[];
|
|
32
|
+
/**
|
|
33
|
+
* SettledAt represents the block height at which this account was last settled.
|
|
34
|
+
*/
|
|
35
|
+
settledAt: bigint;
|
|
36
|
+
/**
|
|
37
|
+
* Funds holds the unspent coins received from all deposits
|
|
38
|
+
*/
|
|
39
|
+
funds: Balance[];
|
|
40
|
+
deposits: Depositor[];
|
|
41
|
+
}
|
|
42
|
+
export interface AccountStateProtoMsg {
|
|
43
|
+
typeUrl: "/akash.escrow.types.v1.AccountState";
|
|
44
|
+
value: Uint8Array;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Account stores state for an escrow account.
|
|
48
|
+
* @name AccountStateAmino
|
|
49
|
+
* @package akash.escrow.types.v1
|
|
50
|
+
* @see proto type: akash.escrow.types.v1.AccountState
|
|
51
|
+
*/
|
|
52
|
+
export interface AccountStateAmino {
|
|
53
|
+
/**
|
|
54
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
55
|
+
* It is a string representing a valid bech32 account address.
|
|
56
|
+
*
|
|
57
|
+
* Example:
|
|
58
|
+
* "akash1..."
|
|
59
|
+
*/
|
|
60
|
+
owner: string;
|
|
61
|
+
/**
|
|
62
|
+
* State represents the current state of an Account.
|
|
63
|
+
*/
|
|
64
|
+
state: State;
|
|
65
|
+
/**
|
|
66
|
+
* Transferred total coins spent by this account.
|
|
67
|
+
*/
|
|
68
|
+
transferred: DecCoinAmino[];
|
|
69
|
+
/**
|
|
70
|
+
* SettledAt represents the block height at which this account was last settled.
|
|
71
|
+
*/
|
|
72
|
+
settled_at: string;
|
|
73
|
+
/**
|
|
74
|
+
* Funds holds the unspent coins received from all deposits
|
|
75
|
+
*/
|
|
76
|
+
funds: BalanceAmino[];
|
|
77
|
+
deposits: DepositorAmino[];
|
|
78
|
+
}
|
|
79
|
+
export interface AccountStateAminoMsg {
|
|
80
|
+
type: "/akash.escrow.types.v1.AccountState";
|
|
81
|
+
value: AccountStateAmino;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Account
|
|
85
|
+
* @name Account
|
|
86
|
+
* @package akash.escrow.types.v1
|
|
87
|
+
* @see proto type: akash.escrow.types.v1.Account
|
|
88
|
+
*/
|
|
89
|
+
export interface Account {
|
|
90
|
+
id: Account1;
|
|
91
|
+
state: AccountState;
|
|
92
|
+
}
|
|
93
|
+
export interface AccountProtoMsg {
|
|
94
|
+
typeUrl: "/akash.escrow.types.v1.Account";
|
|
95
|
+
value: Uint8Array;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Account
|
|
99
|
+
* @name AccountAmino
|
|
100
|
+
* @package akash.escrow.types.v1
|
|
101
|
+
* @see proto type: akash.escrow.types.v1.Account
|
|
102
|
+
*/
|
|
103
|
+
export interface AccountAmino {
|
|
104
|
+
id: Account1Amino;
|
|
105
|
+
state: AccountStateAmino;
|
|
106
|
+
}
|
|
107
|
+
export interface AccountAminoMsg {
|
|
108
|
+
type: "/akash.escrow.types.v1.Account";
|
|
109
|
+
value: AccountAmino;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Account stores state for an escrow account.
|
|
113
|
+
* @name AccountState
|
|
114
|
+
* @package akash.escrow.types.v1
|
|
115
|
+
* @see proto type: akash.escrow.types.v1.AccountState
|
|
116
|
+
*/
|
|
117
|
+
export declare const AccountState: {
|
|
118
|
+
typeUrl: string;
|
|
119
|
+
encode(message: AccountState, writer?: BinaryWriter): BinaryWriter;
|
|
120
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AccountState;
|
|
121
|
+
fromPartial(object: DeepPartial<AccountState>): AccountState;
|
|
122
|
+
fromAmino(object: AccountStateAmino): AccountState;
|
|
123
|
+
toAmino(message: AccountState): AccountStateAmino;
|
|
124
|
+
fromAminoMsg(object: AccountStateAminoMsg): AccountState;
|
|
125
|
+
fromProtoMsg(message: AccountStateProtoMsg): AccountState;
|
|
126
|
+
toProto(message: AccountState): Uint8Array;
|
|
127
|
+
toProtoMsg(message: AccountState): AccountStateProtoMsg;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Account
|
|
131
|
+
* @name Account
|
|
132
|
+
* @package akash.escrow.types.v1
|
|
133
|
+
* @see proto type: akash.escrow.types.v1.Account
|
|
134
|
+
*/
|
|
135
|
+
export declare const Account: {
|
|
136
|
+
typeUrl: string;
|
|
137
|
+
encode(message: Account, writer?: BinaryWriter): BinaryWriter;
|
|
138
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Account;
|
|
139
|
+
fromPartial(object: DeepPartial<Account>): Account;
|
|
140
|
+
fromAmino(object: AccountAmino): Account;
|
|
141
|
+
toAmino(message: Account): AccountAmino;
|
|
142
|
+
fromAminoMsg(object: AccountAminoMsg): Account;
|
|
143
|
+
fromProtoMsg(message: AccountProtoMsg): Account;
|
|
144
|
+
toProto(message: Account): Uint8Array;
|
|
145
|
+
toProtoMsg(message: Account): AccountProtoMsg;
|
|
146
|
+
};
|