@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +5593 -3155
- package/akash/bundle.js +499 -299
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +105 -80
- package/akash/client.js +23 -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.js +2 -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 +18 -5
- package/akash/lcd.js +30 -11
- 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.d.ts +1 -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 +50 -25
- package/akash/rpc.query.js +22 -9
- package/akash/rpc.tx.d.ts +15 -5
- package/akash/rpc.tx.js +19 -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/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +499 -299
- package/esm/akash/client.js +23 -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 +30 -11
- 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 +22 -9
- package/esm/akash/rpc.tx.js +19 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/{deployment/v1beta3 → bme/v1}/service.d.ts +0 -0
- /package/akash/{deployment/v1beta3 → bme/v1}/service.js +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/escrow/v1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/market/v2beta1/service.d.ts} +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositAuthorization = exports.DepositAuthorization_ScopeAmino = exports.DepositAuthorization_Scope = void 0;
|
|
4
|
+
exports.depositAuthorization_ScopeFromJSON = depositAuthorization_ScopeFromJSON;
|
|
5
|
+
exports.depositAuthorization_ScopeToJSON = depositAuthorization_ScopeToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
8
|
+
const binary_1 = require("../../../binary");
|
|
9
|
+
/**
|
|
10
|
+
* Scope defines the types of deposit operations that can be authorized.
|
|
11
|
+
* This enum is used to restrict the authorization to specific deposit contexts,
|
|
12
|
+
* allowing fine-grained permission control within the authz system.
|
|
13
|
+
*/
|
|
14
|
+
var DepositAuthorization_Scope;
|
|
15
|
+
(function (DepositAuthorization_Scope) {
|
|
16
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
17
|
+
DepositAuthorization_Scope[DepositAuthorization_Scope["invalid"] = 0] = "invalid";
|
|
18
|
+
/** deployment - DepositScopeDeployment allows deposits for deployment-related operations. */
|
|
19
|
+
DepositAuthorization_Scope[DepositAuthorization_Scope["deployment"] = 1] = "deployment";
|
|
20
|
+
/** bid - DepositScopeBid allows deposits for bid-related operations. */
|
|
21
|
+
DepositAuthorization_Scope[DepositAuthorization_Scope["bid"] = 2] = "bid";
|
|
22
|
+
DepositAuthorization_Scope[DepositAuthorization_Scope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
23
|
+
})(DepositAuthorization_Scope || (exports.DepositAuthorization_Scope = DepositAuthorization_Scope = {}));
|
|
24
|
+
exports.DepositAuthorization_ScopeAmino = DepositAuthorization_Scope;
|
|
25
|
+
function depositAuthorization_ScopeFromJSON(object) {
|
|
26
|
+
switch (object) {
|
|
27
|
+
case 0:
|
|
28
|
+
case "invalid":
|
|
29
|
+
return DepositAuthorization_Scope.invalid;
|
|
30
|
+
case 1:
|
|
31
|
+
case "deployment":
|
|
32
|
+
return DepositAuthorization_Scope.deployment;
|
|
33
|
+
case 2:
|
|
34
|
+
case "bid":
|
|
35
|
+
return DepositAuthorization_Scope.bid;
|
|
36
|
+
case -1:
|
|
37
|
+
case "UNRECOGNIZED":
|
|
38
|
+
default:
|
|
39
|
+
return DepositAuthorization_Scope.UNRECOGNIZED;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function depositAuthorization_ScopeToJSON(object) {
|
|
43
|
+
switch (object) {
|
|
44
|
+
case DepositAuthorization_Scope.invalid:
|
|
45
|
+
return "invalid";
|
|
46
|
+
case DepositAuthorization_Scope.deployment:
|
|
47
|
+
return "deployment";
|
|
48
|
+
case DepositAuthorization_Scope.bid:
|
|
49
|
+
return "bid";
|
|
50
|
+
case DepositAuthorization_Scope.UNRECOGNIZED:
|
|
51
|
+
default:
|
|
52
|
+
return "UNRECOGNIZED";
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function createBaseDepositAuthorization() {
|
|
56
|
+
return {
|
|
57
|
+
spendLimit: coin_1.Coin.fromPartial({}),
|
|
58
|
+
scopes: [],
|
|
59
|
+
spendLimits: []
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* DepositAuthorization allows the grantee to deposit up to spend_limit coins from
|
|
64
|
+
* the granter's account for Akash deployments and bids. This authorization is used
|
|
65
|
+
* within the Cosmos SDK authz module to grant scoped permissions for deposit operations.
|
|
66
|
+
* The authorization can be restricted to specific scopes (deployment or bid) to limit
|
|
67
|
+
* what types of deposits the grantee is authorized to make on behalf of the granter.
|
|
68
|
+
* @name DepositAuthorization
|
|
69
|
+
* @package akash.escrow.v1
|
|
70
|
+
* @see proto type: akash.escrow.v1.DepositAuthorization
|
|
71
|
+
*/
|
|
72
|
+
exports.DepositAuthorization = {
|
|
73
|
+
typeUrl: "/akash.escrow.v1.DepositAuthorization",
|
|
74
|
+
aminoType: "akash/DepositAuthorization",
|
|
75
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
76
|
+
if (message.spendLimit !== undefined) {
|
|
77
|
+
coin_1.Coin.encode(message.spendLimit, writer.uint32(10).fork()).ldelim();
|
|
78
|
+
}
|
|
79
|
+
writer.uint32(18).fork();
|
|
80
|
+
for (const v of message.scopes) {
|
|
81
|
+
writer.int32(v);
|
|
82
|
+
}
|
|
83
|
+
writer.ldelim();
|
|
84
|
+
for (const v of message.spendLimits) {
|
|
85
|
+
coin_1.Coin.encode(v, writer.uint32(26).fork()).ldelim();
|
|
86
|
+
}
|
|
87
|
+
return writer;
|
|
88
|
+
},
|
|
89
|
+
decode(input, length) {
|
|
90
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
91
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
92
|
+
const message = createBaseDepositAuthorization();
|
|
93
|
+
while (reader.pos < end) {
|
|
94
|
+
const tag = reader.uint32();
|
|
95
|
+
switch (tag >>> 3) {
|
|
96
|
+
case 1:
|
|
97
|
+
message.spendLimit = coin_1.Coin.decode(reader, reader.uint32());
|
|
98
|
+
break;
|
|
99
|
+
case 2:
|
|
100
|
+
if ((tag & 7) === 2) {
|
|
101
|
+
const end2 = reader.uint32() + reader.pos;
|
|
102
|
+
while (reader.pos < end2) {
|
|
103
|
+
message.scopes.push(reader.int32());
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
message.scopes.push(reader.int32());
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
case 3:
|
|
111
|
+
message.spendLimits.push(coin_1.Coin.decode(reader, reader.uint32()));
|
|
112
|
+
break;
|
|
113
|
+
default:
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return message;
|
|
119
|
+
},
|
|
120
|
+
fromPartial(object) {
|
|
121
|
+
const message = createBaseDepositAuthorization();
|
|
122
|
+
message.spendLimit = object.spendLimit !== undefined && object.spendLimit !== null ? coin_1.Coin.fromPartial(object.spendLimit) : undefined;
|
|
123
|
+
message.scopes = object.scopes?.map(e => e) || [];
|
|
124
|
+
message.spendLimits = object.spendLimits?.map(e => coin_1.Coin.fromPartial(e)) || [];
|
|
125
|
+
return message;
|
|
126
|
+
},
|
|
127
|
+
fromAmino(object) {
|
|
128
|
+
const message = createBaseDepositAuthorization();
|
|
129
|
+
if (object.spend_limit !== undefined && object.spend_limit !== null) {
|
|
130
|
+
message.spendLimit = coin_1.Coin.fromAmino(object.spend_limit);
|
|
131
|
+
}
|
|
132
|
+
message.scopes = object.scopes?.map(e => e) || [];
|
|
133
|
+
message.spendLimits = object.spend_limits?.map(e => coin_1.Coin.fromAmino(e)) || [];
|
|
134
|
+
return message;
|
|
135
|
+
},
|
|
136
|
+
toAmino(message) {
|
|
137
|
+
const obj = {};
|
|
138
|
+
obj.spend_limit = message.spendLimit ? coin_1.Coin.toAmino(message.spendLimit) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
139
|
+
if (message.scopes) {
|
|
140
|
+
obj.scopes = message.scopes.map(e => e);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
obj.scopes = message.scopes;
|
|
144
|
+
}
|
|
145
|
+
if (message.spendLimits) {
|
|
146
|
+
obj.spend_limits = message.spendLimits.map(e => e ? coin_1.Coin.toAmino(e) : undefined);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
obj.spend_limits = message.spendLimits;
|
|
150
|
+
}
|
|
151
|
+
return obj;
|
|
152
|
+
},
|
|
153
|
+
fromAminoMsg(object) {
|
|
154
|
+
return exports.DepositAuthorization.fromAmino(object.value);
|
|
155
|
+
},
|
|
156
|
+
toAminoMsg(message) {
|
|
157
|
+
return {
|
|
158
|
+
type: "akash/DepositAuthorization",
|
|
159
|
+
value: exports.DepositAuthorization.toAmino(message)
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
fromProtoMsg(message) {
|
|
163
|
+
return exports.DepositAuthorization.decode(message.value);
|
|
164
|
+
},
|
|
165
|
+
toProto(message) {
|
|
166
|
+
return exports.DepositAuthorization.encode(message).finish();
|
|
167
|
+
},
|
|
168
|
+
toProtoMsg(message) {
|
|
169
|
+
return {
|
|
170
|
+
typeUrl: "/akash.escrow.v1.DepositAuthorization",
|
|
171
|
+
value: exports.DepositAuthorization.encode(message).finish()
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Account, AccountAmino } from "
|
|
2
|
-
import {
|
|
1
|
+
import { Account, AccountAmino } from "../types/v1/account";
|
|
2
|
+
import { Payment, PaymentAmino } from "../types/v1/payment";
|
|
3
3
|
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
4
|
import { DeepPartial } from "../../../helpers";
|
|
5
5
|
/**
|
|
@@ -16,7 +16,7 @@ export interface GenesisState {
|
|
|
16
16
|
/**
|
|
17
17
|
* Payments is a list of fractional payments on the genesis state..
|
|
18
18
|
*/
|
|
19
|
-
payments:
|
|
19
|
+
payments: Payment[];
|
|
20
20
|
}
|
|
21
21
|
export interface GenesisStateProtoMsg {
|
|
22
22
|
typeUrl: "/akash.escrow.v1.GenesisState";
|
|
@@ -36,7 +36,7 @@ export interface GenesisStateAmino {
|
|
|
36
36
|
/**
|
|
37
37
|
* Payments is a list of fractional payments on the genesis state..
|
|
38
38
|
*/
|
|
39
|
-
payments:
|
|
39
|
+
payments: PaymentAmino[];
|
|
40
40
|
}
|
|
41
41
|
export interface GenesisStateAminoMsg {
|
|
42
42
|
type: "/akash.escrow.v1.GenesisState";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GenesisState = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
|
-
const account_1 = require("
|
|
6
|
-
const
|
|
5
|
+
const account_1 = require("../types/v1/account");
|
|
6
|
+
const payment_1 = require("../types/v1/payment");
|
|
7
7
|
const binary_1 = require("../../../binary");
|
|
8
8
|
function createBaseGenesisState() {
|
|
9
9
|
return {
|
|
@@ -24,7 +24,7 @@ exports.GenesisState = {
|
|
|
24
24
|
account_1.Account.encode(v, writer.uint32(10).fork()).ldelim();
|
|
25
25
|
}
|
|
26
26
|
for (const v of message.payments) {
|
|
27
|
-
|
|
27
|
+
payment_1.Payment.encode(v, writer.uint32(18).fork()).ldelim();
|
|
28
28
|
}
|
|
29
29
|
return writer;
|
|
30
30
|
},
|
|
@@ -39,7 +39,7 @@ exports.GenesisState = {
|
|
|
39
39
|
message.accounts.push(account_1.Account.decode(reader, reader.uint32()));
|
|
40
40
|
break;
|
|
41
41
|
case 2:
|
|
42
|
-
message.payments.push(
|
|
42
|
+
message.payments.push(payment_1.Payment.decode(reader, reader.uint32()));
|
|
43
43
|
break;
|
|
44
44
|
default:
|
|
45
45
|
reader.skipType(tag & 7);
|
|
@@ -51,13 +51,13 @@ exports.GenesisState = {
|
|
|
51
51
|
fromPartial(object) {
|
|
52
52
|
const message = createBaseGenesisState();
|
|
53
53
|
message.accounts = object.accounts?.map(e => account_1.Account.fromPartial(e)) || [];
|
|
54
|
-
message.payments = object.payments?.map(e =>
|
|
54
|
+
message.payments = object.payments?.map(e => payment_1.Payment.fromPartial(e)) || [];
|
|
55
55
|
return message;
|
|
56
56
|
},
|
|
57
57
|
fromAmino(object) {
|
|
58
58
|
const message = createBaseGenesisState();
|
|
59
59
|
message.accounts = object.accounts?.map(e => account_1.Account.fromAmino(e)) || [];
|
|
60
|
-
message.payments = object.payments?.map(e =>
|
|
60
|
+
message.payments = object.payments?.map(e => payment_1.Payment.fromAmino(e)) || [];
|
|
61
61
|
return message;
|
|
62
62
|
},
|
|
63
63
|
toAmino(message) {
|
|
@@ -69,7 +69,7 @@ exports.GenesisState = {
|
|
|
69
69
|
obj.accounts = message.accounts;
|
|
70
70
|
}
|
|
71
71
|
if (message.payments) {
|
|
72
|
-
obj.payments = message.payments.map(e => e ?
|
|
72
|
+
obj.payments = message.payments.map(e => e ? payment_1.Payment.toAmino(e) : undefined);
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
75
|
obj.payments = message.payments;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Account, AccountAmino } from "../id/v1/id";
|
|
2
|
+
import { Deposit, DepositAmino } from "../../base/deposit/v1/deposit";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* MsgAccountDeposit represents a message to deposit funds into an existing escrow account
|
|
7
|
+
* on the blockchain. This is part of the interaction mechanism for managing
|
|
8
|
+
* deployment-related resources.
|
|
9
|
+
* @name MsgAccountDeposit
|
|
10
|
+
* @package akash.escrow.v1
|
|
11
|
+
* @see proto type: akash.escrow.v1.MsgAccountDeposit
|
|
12
|
+
*/
|
|
13
|
+
export interface MsgAccountDeposit {
|
|
14
|
+
/**
|
|
15
|
+
* Signer is the account bech32 address of the user who wants to deposit into
|
|
16
|
+
* an escrow account. Does not necessarily needs to be an owner of the deployment.
|
|
17
|
+
* It is a string representing a valid bech32 account address.
|
|
18
|
+
*
|
|
19
|
+
* Example:
|
|
20
|
+
* "akash1..."
|
|
21
|
+
*/
|
|
22
|
+
signer: string;
|
|
23
|
+
/**
|
|
24
|
+
* ID is the unique identifier of the account.
|
|
25
|
+
*/
|
|
26
|
+
id: Account;
|
|
27
|
+
/**
|
|
28
|
+
* Deposit contains information about the deposit amount and the source of the deposit to the escrow account.
|
|
29
|
+
*/
|
|
30
|
+
deposit: Deposit;
|
|
31
|
+
}
|
|
32
|
+
export interface MsgAccountDepositProtoMsg {
|
|
33
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit";
|
|
34
|
+
value: Uint8Array;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* MsgAccountDeposit represents a message to deposit funds into an existing escrow account
|
|
38
|
+
* on the blockchain. This is part of the interaction mechanism for managing
|
|
39
|
+
* deployment-related resources.
|
|
40
|
+
* @name MsgAccountDepositAmino
|
|
41
|
+
* @package akash.escrow.v1
|
|
42
|
+
* @see proto type: akash.escrow.v1.MsgAccountDeposit
|
|
43
|
+
*/
|
|
44
|
+
export interface MsgAccountDepositAmino {
|
|
45
|
+
/**
|
|
46
|
+
* Signer is the account bech32 address of the user who wants to deposit into
|
|
47
|
+
* an escrow account. Does not necessarily needs to be an owner of the deployment.
|
|
48
|
+
* It is a string representing a valid bech32 account address.
|
|
49
|
+
*
|
|
50
|
+
* Example:
|
|
51
|
+
* "akash1..."
|
|
52
|
+
*/
|
|
53
|
+
signer: string;
|
|
54
|
+
/**
|
|
55
|
+
* ID is the unique identifier of the account.
|
|
56
|
+
*/
|
|
57
|
+
id: AccountAmino;
|
|
58
|
+
/**
|
|
59
|
+
* Deposit contains information about the deposit amount and the source of the deposit to the escrow account.
|
|
60
|
+
*/
|
|
61
|
+
deposit: DepositAmino;
|
|
62
|
+
}
|
|
63
|
+
export interface MsgAccountDepositAminoMsg {
|
|
64
|
+
type: "/akash.escrow.v1.MsgAccountDeposit";
|
|
65
|
+
value: MsgAccountDepositAmino;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* MsgAccountDepositResponse defines response type for the MsgDeposit.
|
|
69
|
+
* @name MsgAccountDepositResponse
|
|
70
|
+
* @package akash.escrow.v1
|
|
71
|
+
* @see proto type: akash.escrow.v1.MsgAccountDepositResponse
|
|
72
|
+
*/
|
|
73
|
+
export interface MsgAccountDepositResponse {
|
|
74
|
+
}
|
|
75
|
+
export interface MsgAccountDepositResponseProtoMsg {
|
|
76
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDepositResponse";
|
|
77
|
+
value: Uint8Array;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* MsgAccountDepositResponse defines response type for the MsgDeposit.
|
|
81
|
+
* @name MsgAccountDepositResponseAmino
|
|
82
|
+
* @package akash.escrow.v1
|
|
83
|
+
* @see proto type: akash.escrow.v1.MsgAccountDepositResponse
|
|
84
|
+
*/
|
|
85
|
+
export interface MsgAccountDepositResponseAmino {
|
|
86
|
+
}
|
|
87
|
+
export interface MsgAccountDepositResponseAminoMsg {
|
|
88
|
+
type: "/akash.escrow.v1.MsgAccountDepositResponse";
|
|
89
|
+
value: MsgAccountDepositResponseAmino;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* MsgAccountDeposit represents a message to deposit funds into an existing escrow account
|
|
93
|
+
* on the blockchain. This is part of the interaction mechanism for managing
|
|
94
|
+
* deployment-related resources.
|
|
95
|
+
* @name MsgAccountDeposit
|
|
96
|
+
* @package akash.escrow.v1
|
|
97
|
+
* @see proto type: akash.escrow.v1.MsgAccountDeposit
|
|
98
|
+
*/
|
|
99
|
+
export declare const MsgAccountDeposit: {
|
|
100
|
+
typeUrl: string;
|
|
101
|
+
encode(message: MsgAccountDeposit, writer?: BinaryWriter): BinaryWriter;
|
|
102
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgAccountDeposit;
|
|
103
|
+
fromPartial(object: DeepPartial<MsgAccountDeposit>): MsgAccountDeposit;
|
|
104
|
+
fromAmino(object: MsgAccountDepositAmino): MsgAccountDeposit;
|
|
105
|
+
toAmino(message: MsgAccountDeposit): MsgAccountDepositAmino;
|
|
106
|
+
fromAminoMsg(object: MsgAccountDepositAminoMsg): MsgAccountDeposit;
|
|
107
|
+
fromProtoMsg(message: MsgAccountDepositProtoMsg): MsgAccountDeposit;
|
|
108
|
+
toProto(message: MsgAccountDeposit): Uint8Array;
|
|
109
|
+
toProtoMsg(message: MsgAccountDeposit): MsgAccountDepositProtoMsg;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* MsgAccountDepositResponse defines response type for the MsgDeposit.
|
|
113
|
+
* @name MsgAccountDepositResponse
|
|
114
|
+
* @package akash.escrow.v1
|
|
115
|
+
* @see proto type: akash.escrow.v1.MsgAccountDepositResponse
|
|
116
|
+
*/
|
|
117
|
+
export declare const MsgAccountDepositResponse: {
|
|
118
|
+
typeUrl: string;
|
|
119
|
+
encode(_: MsgAccountDepositResponse, writer?: BinaryWriter): BinaryWriter;
|
|
120
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgAccountDepositResponse;
|
|
121
|
+
fromPartial(_: DeepPartial<MsgAccountDepositResponse>): MsgAccountDepositResponse;
|
|
122
|
+
fromAmino(_: MsgAccountDepositResponseAmino): MsgAccountDepositResponse;
|
|
123
|
+
toAmino(_: MsgAccountDepositResponse): MsgAccountDepositResponseAmino;
|
|
124
|
+
fromAminoMsg(object: MsgAccountDepositResponseAminoMsg): MsgAccountDepositResponse;
|
|
125
|
+
fromProtoMsg(message: MsgAccountDepositResponseProtoMsg): MsgAccountDepositResponse;
|
|
126
|
+
toProto(message: MsgAccountDepositResponse): Uint8Array;
|
|
127
|
+
toProtoMsg(message: MsgAccountDepositResponse): MsgAccountDepositResponseProtoMsg;
|
|
128
|
+
};
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsgAccountDepositResponse = exports.MsgAccountDeposit = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const id_1 = require("../id/v1/id");
|
|
6
|
+
const deposit_1 = require("../../base/deposit/v1/deposit");
|
|
7
|
+
const binary_1 = require("../../../binary");
|
|
8
|
+
function createBaseMsgAccountDeposit() {
|
|
9
|
+
return {
|
|
10
|
+
signer: "",
|
|
11
|
+
id: id_1.Account.fromPartial({}),
|
|
12
|
+
deposit: deposit_1.Deposit.fromPartial({})
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* MsgAccountDeposit represents a message to deposit funds into an existing escrow account
|
|
17
|
+
* on the blockchain. This is part of the interaction mechanism for managing
|
|
18
|
+
* deployment-related resources.
|
|
19
|
+
* @name MsgAccountDeposit
|
|
20
|
+
* @package akash.escrow.v1
|
|
21
|
+
* @see proto type: akash.escrow.v1.MsgAccountDeposit
|
|
22
|
+
*/
|
|
23
|
+
exports.MsgAccountDeposit = {
|
|
24
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
25
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
26
|
+
if (message.signer !== "") {
|
|
27
|
+
writer.uint32(10).string(message.signer);
|
|
28
|
+
}
|
|
29
|
+
if (message.id !== undefined) {
|
|
30
|
+
id_1.Account.encode(message.id, writer.uint32(18).fork()).ldelim();
|
|
31
|
+
}
|
|
32
|
+
if (message.deposit !== undefined) {
|
|
33
|
+
deposit_1.Deposit.encode(message.deposit, writer.uint32(26).fork()).ldelim();
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
decode(input, length) {
|
|
38
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
39
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
+
const message = createBaseMsgAccountDeposit();
|
|
41
|
+
while (reader.pos < end) {
|
|
42
|
+
const tag = reader.uint32();
|
|
43
|
+
switch (tag >>> 3) {
|
|
44
|
+
case 1:
|
|
45
|
+
message.signer = reader.string();
|
|
46
|
+
break;
|
|
47
|
+
case 2:
|
|
48
|
+
message.id = id_1.Account.decode(reader, reader.uint32());
|
|
49
|
+
break;
|
|
50
|
+
case 3:
|
|
51
|
+
message.deposit = deposit_1.Deposit.decode(reader, reader.uint32());
|
|
52
|
+
break;
|
|
53
|
+
default:
|
|
54
|
+
reader.skipType(tag & 7);
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return message;
|
|
59
|
+
},
|
|
60
|
+
fromPartial(object) {
|
|
61
|
+
const message = createBaseMsgAccountDeposit();
|
|
62
|
+
message.signer = object.signer ?? "";
|
|
63
|
+
message.id = object.id !== undefined && object.id !== null ? id_1.Account.fromPartial(object.id) : undefined;
|
|
64
|
+
message.deposit = object.deposit !== undefined && object.deposit !== null ? deposit_1.Deposit.fromPartial(object.deposit) : undefined;
|
|
65
|
+
return message;
|
|
66
|
+
},
|
|
67
|
+
fromAmino(object) {
|
|
68
|
+
const message = createBaseMsgAccountDeposit();
|
|
69
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
70
|
+
message.signer = object.signer;
|
|
71
|
+
}
|
|
72
|
+
if (object.id !== undefined && object.id !== null) {
|
|
73
|
+
message.id = id_1.Account.fromAmino(object.id);
|
|
74
|
+
}
|
|
75
|
+
if (object.deposit !== undefined && object.deposit !== null) {
|
|
76
|
+
message.deposit = deposit_1.Deposit.fromAmino(object.deposit);
|
|
77
|
+
}
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
toAmino(message) {
|
|
81
|
+
const obj = {};
|
|
82
|
+
obj.signer = message.signer ?? "";
|
|
83
|
+
obj.id = message.id ? id_1.Account.toAmino(message.id) : id_1.Account.toAmino(id_1.Account.fromPartial({}));
|
|
84
|
+
obj.deposit = message.deposit ? deposit_1.Deposit.toAmino(message.deposit) : deposit_1.Deposit.toAmino(deposit_1.Deposit.fromPartial({}));
|
|
85
|
+
return obj;
|
|
86
|
+
},
|
|
87
|
+
fromAminoMsg(object) {
|
|
88
|
+
return exports.MsgAccountDeposit.fromAmino(object.value);
|
|
89
|
+
},
|
|
90
|
+
fromProtoMsg(message) {
|
|
91
|
+
return exports.MsgAccountDeposit.decode(message.value);
|
|
92
|
+
},
|
|
93
|
+
toProto(message) {
|
|
94
|
+
return exports.MsgAccountDeposit.encode(message).finish();
|
|
95
|
+
},
|
|
96
|
+
toProtoMsg(message) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDeposit",
|
|
99
|
+
value: exports.MsgAccountDeposit.encode(message).finish()
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
function createBaseMsgAccountDepositResponse() {
|
|
104
|
+
return {};
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* MsgAccountDepositResponse defines response type for the MsgDeposit.
|
|
108
|
+
* @name MsgAccountDepositResponse
|
|
109
|
+
* @package akash.escrow.v1
|
|
110
|
+
* @see proto type: akash.escrow.v1.MsgAccountDepositResponse
|
|
111
|
+
*/
|
|
112
|
+
exports.MsgAccountDepositResponse = {
|
|
113
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDepositResponse",
|
|
114
|
+
encode(_, writer = binary_1.BinaryWriter.create()) {
|
|
115
|
+
return writer;
|
|
116
|
+
},
|
|
117
|
+
decode(input, length) {
|
|
118
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
119
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
120
|
+
const message = createBaseMsgAccountDepositResponse();
|
|
121
|
+
while (reader.pos < end) {
|
|
122
|
+
const tag = reader.uint32();
|
|
123
|
+
switch (tag >>> 3) {
|
|
124
|
+
default:
|
|
125
|
+
reader.skipType(tag & 7);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
fromPartial(_) {
|
|
132
|
+
const message = createBaseMsgAccountDepositResponse();
|
|
133
|
+
return message;
|
|
134
|
+
},
|
|
135
|
+
fromAmino(_) {
|
|
136
|
+
const message = createBaseMsgAccountDepositResponse();
|
|
137
|
+
return message;
|
|
138
|
+
},
|
|
139
|
+
toAmino(_) {
|
|
140
|
+
const obj = {};
|
|
141
|
+
return obj;
|
|
142
|
+
},
|
|
143
|
+
fromAminoMsg(object) {
|
|
144
|
+
return exports.MsgAccountDepositResponse.fromAmino(object.value);
|
|
145
|
+
},
|
|
146
|
+
fromProtoMsg(message) {
|
|
147
|
+
return exports.MsgAccountDepositResponse.decode(message.value);
|
|
148
|
+
},
|
|
149
|
+
toProto(message) {
|
|
150
|
+
return exports.MsgAccountDepositResponse.encode(message).finish();
|
|
151
|
+
},
|
|
152
|
+
toProtoMsg(message) {
|
|
153
|
+
return {
|
|
154
|
+
typeUrl: "/akash.escrow.v1.MsgAccountDepositResponse",
|
|
155
|
+
value: exports.MsgAccountDepositResponse.encode(message).finish()
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
};
|