@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,150 @@
|
|
|
1
|
+
import { State } from "./state";
|
|
2
|
+
import { DecCoin, DecCoinAmino, Coin, CoinAmino } from "../../../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Payment as Payment1 } from "../../id/v1/id";
|
|
4
|
+
import { PaymentAmino as Payment1Amino } from "../../id/v1/id";
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
6
|
+
import { DeepPartial } from "../../../../helpers";
|
|
7
|
+
/**
|
|
8
|
+
* Payment stores state for a payment.
|
|
9
|
+
* @name PaymentState
|
|
10
|
+
* @package akash.escrow.types.v1
|
|
11
|
+
* @see proto type: akash.escrow.types.v1.PaymentState
|
|
12
|
+
*/
|
|
13
|
+
export interface PaymentState {
|
|
14
|
+
/**
|
|
15
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
16
|
+
* It is a string representing a valid bech32 account address.
|
|
17
|
+
*
|
|
18
|
+
* Example:
|
|
19
|
+
* "akash1..."
|
|
20
|
+
*/
|
|
21
|
+
owner: string;
|
|
22
|
+
/**
|
|
23
|
+
* State represents the state of the Payment.
|
|
24
|
+
*/
|
|
25
|
+
state: State;
|
|
26
|
+
/**
|
|
27
|
+
* Rate holds the rate of the Payment.
|
|
28
|
+
*/
|
|
29
|
+
rate: DecCoin;
|
|
30
|
+
/**
|
|
31
|
+
* Balance is the current available coins.
|
|
32
|
+
*/
|
|
33
|
+
balance: DecCoin;
|
|
34
|
+
/**
|
|
35
|
+
* Unsettled is the amount needed to settle payment if account is overdrawn
|
|
36
|
+
*/
|
|
37
|
+
unsettled: DecCoin;
|
|
38
|
+
/**
|
|
39
|
+
* Withdrawn corresponds to the amount of coins withdrawn by the Payment.
|
|
40
|
+
*/
|
|
41
|
+
withdrawn: Coin;
|
|
42
|
+
}
|
|
43
|
+
export interface PaymentStateProtoMsg {
|
|
44
|
+
typeUrl: "/akash.escrow.types.v1.PaymentState";
|
|
45
|
+
value: Uint8Array;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Payment stores state for a payment.
|
|
49
|
+
* @name PaymentStateAmino
|
|
50
|
+
* @package akash.escrow.types.v1
|
|
51
|
+
* @see proto type: akash.escrow.types.v1.PaymentState
|
|
52
|
+
*/
|
|
53
|
+
export interface PaymentStateAmino {
|
|
54
|
+
/**
|
|
55
|
+
* Owner is the account bech32 address of the user who owns the deployment.
|
|
56
|
+
* It is a string representing a valid bech32 account address.
|
|
57
|
+
*
|
|
58
|
+
* Example:
|
|
59
|
+
* "akash1..."
|
|
60
|
+
*/
|
|
61
|
+
owner: string;
|
|
62
|
+
/**
|
|
63
|
+
* State represents the state of the Payment.
|
|
64
|
+
*/
|
|
65
|
+
state: State;
|
|
66
|
+
/**
|
|
67
|
+
* Rate holds the rate of the Payment.
|
|
68
|
+
*/
|
|
69
|
+
rate: DecCoinAmino;
|
|
70
|
+
/**
|
|
71
|
+
* Balance is the current available coins.
|
|
72
|
+
*/
|
|
73
|
+
balance: DecCoinAmino;
|
|
74
|
+
/**
|
|
75
|
+
* Unsettled is the amount needed to settle payment if account is overdrawn
|
|
76
|
+
*/
|
|
77
|
+
unsettled: DecCoinAmino;
|
|
78
|
+
/**
|
|
79
|
+
* Withdrawn corresponds to the amount of coins withdrawn by the Payment.
|
|
80
|
+
*/
|
|
81
|
+
withdrawn: CoinAmino;
|
|
82
|
+
}
|
|
83
|
+
export interface PaymentStateAminoMsg {
|
|
84
|
+
type: "/akash.escrow.types.v1.PaymentState";
|
|
85
|
+
value: PaymentStateAmino;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Payment
|
|
89
|
+
* @name Payment
|
|
90
|
+
* @package akash.escrow.types.v1
|
|
91
|
+
* @see proto type: akash.escrow.types.v1.Payment
|
|
92
|
+
*/
|
|
93
|
+
export interface Payment {
|
|
94
|
+
id: Payment1;
|
|
95
|
+
state: PaymentState;
|
|
96
|
+
}
|
|
97
|
+
export interface PaymentProtoMsg {
|
|
98
|
+
typeUrl: "/akash.escrow.types.v1.Payment";
|
|
99
|
+
value: Uint8Array;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Payment
|
|
103
|
+
* @name PaymentAmino
|
|
104
|
+
* @package akash.escrow.types.v1
|
|
105
|
+
* @see proto type: akash.escrow.types.v1.Payment
|
|
106
|
+
*/
|
|
107
|
+
export interface PaymentAmino {
|
|
108
|
+
id: Payment1Amino;
|
|
109
|
+
state: PaymentStateAmino;
|
|
110
|
+
}
|
|
111
|
+
export interface PaymentAminoMsg {
|
|
112
|
+
type: "/akash.escrow.types.v1.Payment";
|
|
113
|
+
value: PaymentAmino;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Payment stores state for a payment.
|
|
117
|
+
* @name PaymentState
|
|
118
|
+
* @package akash.escrow.types.v1
|
|
119
|
+
* @see proto type: akash.escrow.types.v1.PaymentState
|
|
120
|
+
*/
|
|
121
|
+
export declare const PaymentState: {
|
|
122
|
+
typeUrl: string;
|
|
123
|
+
encode(message: PaymentState, writer?: BinaryWriter): BinaryWriter;
|
|
124
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PaymentState;
|
|
125
|
+
fromPartial(object: DeepPartial<PaymentState>): PaymentState;
|
|
126
|
+
fromAmino(object: PaymentStateAmino): PaymentState;
|
|
127
|
+
toAmino(message: PaymentState): PaymentStateAmino;
|
|
128
|
+
fromAminoMsg(object: PaymentStateAminoMsg): PaymentState;
|
|
129
|
+
fromProtoMsg(message: PaymentStateProtoMsg): PaymentState;
|
|
130
|
+
toProto(message: PaymentState): Uint8Array;
|
|
131
|
+
toProtoMsg(message: PaymentState): PaymentStateProtoMsg;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Payment
|
|
135
|
+
* @name Payment
|
|
136
|
+
* @package akash.escrow.types.v1
|
|
137
|
+
* @see proto type: akash.escrow.types.v1.Payment
|
|
138
|
+
*/
|
|
139
|
+
export declare const Payment: {
|
|
140
|
+
typeUrl: string;
|
|
141
|
+
encode(message: Payment, writer?: BinaryWriter): BinaryWriter;
|
|
142
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Payment;
|
|
143
|
+
fromPartial(object: DeepPartial<Payment>): Payment;
|
|
144
|
+
fromAmino(object: PaymentAmino): Payment;
|
|
145
|
+
toAmino(message: Payment): PaymentAmino;
|
|
146
|
+
fromAminoMsg(object: PaymentAminoMsg): Payment;
|
|
147
|
+
fromProtoMsg(message: PaymentProtoMsg): Payment;
|
|
148
|
+
toProto(message: Payment): Uint8Array;
|
|
149
|
+
toProtoMsg(message: Payment): PaymentProtoMsg;
|
|
150
|
+
};
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Payment = exports.PaymentState = void 0;
|
|
4
|
+
const coin_1 = require("../../../../cosmos/base/v1beta1/coin");
|
|
5
|
+
const id_1 = require("../../id/v1/id");
|
|
6
|
+
const binary_1 = require("../../../../binary");
|
|
7
|
+
function createBasePaymentState() {
|
|
8
|
+
return {
|
|
9
|
+
owner: "",
|
|
10
|
+
state: 0,
|
|
11
|
+
rate: coin_1.DecCoin.fromPartial({}),
|
|
12
|
+
balance: coin_1.DecCoin.fromPartial({}),
|
|
13
|
+
unsettled: coin_1.DecCoin.fromPartial({}),
|
|
14
|
+
withdrawn: coin_1.Coin.fromPartial({})
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Payment stores state for a payment.
|
|
19
|
+
* @name PaymentState
|
|
20
|
+
* @package akash.escrow.types.v1
|
|
21
|
+
* @see proto type: akash.escrow.types.v1.PaymentState
|
|
22
|
+
*/
|
|
23
|
+
exports.PaymentState = {
|
|
24
|
+
typeUrl: "/akash.escrow.types.v1.PaymentState",
|
|
25
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
26
|
+
if (message.owner !== "") {
|
|
27
|
+
writer.uint32(10).string(message.owner);
|
|
28
|
+
}
|
|
29
|
+
if (message.state !== 0) {
|
|
30
|
+
writer.uint32(16).int32(message.state);
|
|
31
|
+
}
|
|
32
|
+
if (message.rate !== undefined) {
|
|
33
|
+
coin_1.DecCoin.encode(message.rate, writer.uint32(26).fork()).ldelim();
|
|
34
|
+
}
|
|
35
|
+
if (message.balance !== undefined) {
|
|
36
|
+
coin_1.DecCoin.encode(message.balance, writer.uint32(34).fork()).ldelim();
|
|
37
|
+
}
|
|
38
|
+
if (message.unsettled !== undefined) {
|
|
39
|
+
coin_1.DecCoin.encode(message.unsettled, writer.uint32(42).fork()).ldelim();
|
|
40
|
+
}
|
|
41
|
+
if (message.withdrawn !== undefined) {
|
|
42
|
+
coin_1.Coin.encode(message.withdrawn, writer.uint32(50).fork()).ldelim();
|
|
43
|
+
}
|
|
44
|
+
return writer;
|
|
45
|
+
},
|
|
46
|
+
decode(input, length) {
|
|
47
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
48
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
49
|
+
const message = createBasePaymentState();
|
|
50
|
+
while (reader.pos < end) {
|
|
51
|
+
const tag = reader.uint32();
|
|
52
|
+
switch (tag >>> 3) {
|
|
53
|
+
case 1:
|
|
54
|
+
message.owner = reader.string();
|
|
55
|
+
break;
|
|
56
|
+
case 2:
|
|
57
|
+
message.state = reader.int32();
|
|
58
|
+
break;
|
|
59
|
+
case 3:
|
|
60
|
+
message.rate = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
61
|
+
break;
|
|
62
|
+
case 4:
|
|
63
|
+
message.balance = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
64
|
+
break;
|
|
65
|
+
case 5:
|
|
66
|
+
message.unsettled = coin_1.DecCoin.decode(reader, reader.uint32());
|
|
67
|
+
break;
|
|
68
|
+
case 6:
|
|
69
|
+
message.withdrawn = coin_1.Coin.decode(reader, reader.uint32());
|
|
70
|
+
break;
|
|
71
|
+
default:
|
|
72
|
+
reader.skipType(tag & 7);
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return message;
|
|
77
|
+
},
|
|
78
|
+
fromPartial(object) {
|
|
79
|
+
const message = createBasePaymentState();
|
|
80
|
+
message.owner = object.owner ?? "";
|
|
81
|
+
message.state = object.state ?? 0;
|
|
82
|
+
message.rate = object.rate !== undefined && object.rate !== null ? coin_1.DecCoin.fromPartial(object.rate) : undefined;
|
|
83
|
+
message.balance = object.balance !== undefined && object.balance !== null ? coin_1.DecCoin.fromPartial(object.balance) : undefined;
|
|
84
|
+
message.unsettled = object.unsettled !== undefined && object.unsettled !== null ? coin_1.DecCoin.fromPartial(object.unsettled) : undefined;
|
|
85
|
+
message.withdrawn = object.withdrawn !== undefined && object.withdrawn !== null ? coin_1.Coin.fromPartial(object.withdrawn) : undefined;
|
|
86
|
+
return message;
|
|
87
|
+
},
|
|
88
|
+
fromAmino(object) {
|
|
89
|
+
const message = createBasePaymentState();
|
|
90
|
+
if (object.owner !== undefined && object.owner !== null) {
|
|
91
|
+
message.owner = object.owner;
|
|
92
|
+
}
|
|
93
|
+
if (object.state !== undefined && object.state !== null) {
|
|
94
|
+
message.state = object.state;
|
|
95
|
+
}
|
|
96
|
+
if (object.rate !== undefined && object.rate !== null) {
|
|
97
|
+
message.rate = coin_1.DecCoin.fromAmino(object.rate);
|
|
98
|
+
}
|
|
99
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
100
|
+
message.balance = coin_1.DecCoin.fromAmino(object.balance);
|
|
101
|
+
}
|
|
102
|
+
if (object.unsettled !== undefined && object.unsettled !== null) {
|
|
103
|
+
message.unsettled = coin_1.DecCoin.fromAmino(object.unsettled);
|
|
104
|
+
}
|
|
105
|
+
if (object.withdrawn !== undefined && object.withdrawn !== null) {
|
|
106
|
+
message.withdrawn = coin_1.Coin.fromAmino(object.withdrawn);
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
toAmino(message) {
|
|
111
|
+
const obj = {};
|
|
112
|
+
obj.owner = message.owner ?? "";
|
|
113
|
+
obj.state = message.state ?? 0;
|
|
114
|
+
obj.rate = message.rate ? coin_1.DecCoin.toAmino(message.rate) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
115
|
+
obj.balance = message.balance ? coin_1.DecCoin.toAmino(message.balance) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
116
|
+
obj.unsettled = message.unsettled ? coin_1.DecCoin.toAmino(message.unsettled) : coin_1.DecCoin.toAmino(coin_1.DecCoin.fromPartial({}));
|
|
117
|
+
obj.withdrawn = message.withdrawn ? coin_1.Coin.toAmino(message.withdrawn) : coin_1.Coin.toAmino(coin_1.Coin.fromPartial({}));
|
|
118
|
+
return obj;
|
|
119
|
+
},
|
|
120
|
+
fromAminoMsg(object) {
|
|
121
|
+
return exports.PaymentState.fromAmino(object.value);
|
|
122
|
+
},
|
|
123
|
+
fromProtoMsg(message) {
|
|
124
|
+
return exports.PaymentState.decode(message.value);
|
|
125
|
+
},
|
|
126
|
+
toProto(message) {
|
|
127
|
+
return exports.PaymentState.encode(message).finish();
|
|
128
|
+
},
|
|
129
|
+
toProtoMsg(message) {
|
|
130
|
+
return {
|
|
131
|
+
typeUrl: "/akash.escrow.types.v1.PaymentState",
|
|
132
|
+
value: exports.PaymentState.encode(message).finish()
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
function createBasePayment() {
|
|
137
|
+
return {
|
|
138
|
+
id: id_1.Payment.fromPartial({}),
|
|
139
|
+
state: exports.PaymentState.fromPartial({})
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Payment
|
|
144
|
+
* @name Payment
|
|
145
|
+
* @package akash.escrow.types.v1
|
|
146
|
+
* @see proto type: akash.escrow.types.v1.Payment
|
|
147
|
+
*/
|
|
148
|
+
exports.Payment = {
|
|
149
|
+
typeUrl: "/akash.escrow.types.v1.Payment",
|
|
150
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
151
|
+
if (message.id !== undefined) {
|
|
152
|
+
id_1.Payment.encode(message.id, writer.uint32(10).fork()).ldelim();
|
|
153
|
+
}
|
|
154
|
+
if (message.state !== undefined) {
|
|
155
|
+
exports.PaymentState.encode(message.state, writer.uint32(18).fork()).ldelim();
|
|
156
|
+
}
|
|
157
|
+
return writer;
|
|
158
|
+
},
|
|
159
|
+
decode(input, length) {
|
|
160
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
161
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
162
|
+
const message = createBasePayment();
|
|
163
|
+
while (reader.pos < end) {
|
|
164
|
+
const tag = reader.uint32();
|
|
165
|
+
switch (tag >>> 3) {
|
|
166
|
+
case 1:
|
|
167
|
+
message.id = id_1.Payment.decode(reader, reader.uint32());
|
|
168
|
+
break;
|
|
169
|
+
case 2:
|
|
170
|
+
message.state = exports.PaymentState.decode(reader, reader.uint32());
|
|
171
|
+
break;
|
|
172
|
+
default:
|
|
173
|
+
reader.skipType(tag & 7);
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return message;
|
|
178
|
+
},
|
|
179
|
+
fromPartial(object) {
|
|
180
|
+
const message = createBasePayment();
|
|
181
|
+
message.id = object.id !== undefined && object.id !== null ? id_1.Payment.fromPartial(object.id) : undefined;
|
|
182
|
+
message.state = object.state !== undefined && object.state !== null ? exports.PaymentState.fromPartial(object.state) : undefined;
|
|
183
|
+
return message;
|
|
184
|
+
},
|
|
185
|
+
fromAmino(object) {
|
|
186
|
+
const message = createBasePayment();
|
|
187
|
+
if (object.id !== undefined && object.id !== null) {
|
|
188
|
+
message.id = id_1.Payment.fromAmino(object.id);
|
|
189
|
+
}
|
|
190
|
+
if (object.state !== undefined && object.state !== null) {
|
|
191
|
+
message.state = exports.PaymentState.fromAmino(object.state);
|
|
192
|
+
}
|
|
193
|
+
return message;
|
|
194
|
+
},
|
|
195
|
+
toAmino(message) {
|
|
196
|
+
const obj = {};
|
|
197
|
+
obj.id = message.id ? id_1.Payment.toAmino(message.id) : id_1.Payment.toAmino(id_1.Payment.fromPartial({}));
|
|
198
|
+
obj.state = message.state ? exports.PaymentState.toAmino(message.state) : exports.PaymentState.toAmino(exports.PaymentState.fromPartial({}));
|
|
199
|
+
return obj;
|
|
200
|
+
},
|
|
201
|
+
fromAminoMsg(object) {
|
|
202
|
+
return exports.Payment.fromAmino(object.value);
|
|
203
|
+
},
|
|
204
|
+
fromProtoMsg(message) {
|
|
205
|
+
return exports.Payment.decode(message.value);
|
|
206
|
+
},
|
|
207
|
+
toProto(message) {
|
|
208
|
+
return exports.Payment.encode(message).finish();
|
|
209
|
+
},
|
|
210
|
+
toProtoMsg(message) {
|
|
211
|
+
return {
|
|
212
|
+
typeUrl: "/akash.escrow.types.v1.Payment",
|
|
213
|
+
value: exports.Payment.encode(message).finish()
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** State stores state for an escrow account. */
|
|
2
|
+
export declare enum State {
|
|
3
|
+
/** invalid - AccountStateInvalid is an invalid state. */
|
|
4
|
+
invalid = 0,
|
|
5
|
+
/** open - StateOpen is the state when an object is open. */
|
|
6
|
+
open = 1,
|
|
7
|
+
/** closed - StateClosed is the state when an object is closed. */
|
|
8
|
+
closed = 2,
|
|
9
|
+
/** overdrawn - StateOverdrawn is the state when an object are overdrawn. */
|
|
10
|
+
overdrawn = 3,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare const StateAmino: typeof State;
|
|
14
|
+
export declare function stateFromJSON(object: any): State;
|
|
15
|
+
export declare function stateToJSON(object: State): string;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StateAmino = exports.State = void 0;
|
|
4
|
+
exports.stateFromJSON = stateFromJSON;
|
|
5
|
+
exports.stateToJSON = stateToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
/** State stores state for an escrow account. */
|
|
8
|
+
var State;
|
|
9
|
+
(function (State) {
|
|
10
|
+
/** invalid - AccountStateInvalid is an invalid state. */
|
|
11
|
+
State[State["invalid"] = 0] = "invalid";
|
|
12
|
+
/** open - StateOpen is the state when an object is open. */
|
|
13
|
+
State[State["open"] = 1] = "open";
|
|
14
|
+
/** closed - StateClosed is the state when an object is closed. */
|
|
15
|
+
State[State["closed"] = 2] = "closed";
|
|
16
|
+
/** overdrawn - StateOverdrawn is the state when an object are overdrawn. */
|
|
17
|
+
State[State["overdrawn"] = 3] = "overdrawn";
|
|
18
|
+
State[State["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
19
|
+
})(State || (exports.State = State = {}));
|
|
20
|
+
exports.StateAmino = State;
|
|
21
|
+
function stateFromJSON(object) {
|
|
22
|
+
switch (object) {
|
|
23
|
+
case 0:
|
|
24
|
+
case "invalid":
|
|
25
|
+
return State.invalid;
|
|
26
|
+
case 1:
|
|
27
|
+
case "open":
|
|
28
|
+
return State.open;
|
|
29
|
+
case 2:
|
|
30
|
+
case "closed":
|
|
31
|
+
return State.closed;
|
|
32
|
+
case 3:
|
|
33
|
+
case "overdrawn":
|
|
34
|
+
return State.overdrawn;
|
|
35
|
+
case -1:
|
|
36
|
+
case "UNRECOGNIZED":
|
|
37
|
+
default:
|
|
38
|
+
return State.UNRECOGNIZED;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function stateToJSON(object) {
|
|
42
|
+
switch (object) {
|
|
43
|
+
case State.invalid:
|
|
44
|
+
return "invalid";
|
|
45
|
+
case State.open:
|
|
46
|
+
return "open";
|
|
47
|
+
case State.closed:
|
|
48
|
+
return "closed";
|
|
49
|
+
case State.overdrawn:
|
|
50
|
+
return "overdrawn";
|
|
51
|
+
case State.UNRECOGNIZED:
|
|
52
|
+
default:
|
|
53
|
+
return "UNRECOGNIZED";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* Scope defines the types of deposit operations that can be authorized.
|
|
6
|
+
* This enum is used to restrict the authorization to specific deposit contexts,
|
|
7
|
+
* allowing fine-grained permission control within the authz system.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum DepositAuthorization_Scope {
|
|
10
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
11
|
+
invalid = 0,
|
|
12
|
+
/** deployment - DepositScopeDeployment allows deposits for deployment-related operations. */
|
|
13
|
+
deployment = 1,
|
|
14
|
+
/** bid - DepositScopeBid allows deposits for bid-related operations. */
|
|
15
|
+
bid = 2,
|
|
16
|
+
UNRECOGNIZED = -1
|
|
17
|
+
}
|
|
18
|
+
export declare const DepositAuthorization_ScopeAmino: typeof DepositAuthorization_Scope;
|
|
19
|
+
export declare function depositAuthorization_ScopeFromJSON(object: any): DepositAuthorization_Scope;
|
|
20
|
+
export declare function depositAuthorization_ScopeToJSON(object: DepositAuthorization_Scope): string;
|
|
21
|
+
/**
|
|
22
|
+
* DepositAuthorization allows the grantee to deposit up to spend_limit coins from
|
|
23
|
+
* the granter's account for Akash deployments and bids. This authorization is used
|
|
24
|
+
* within the Cosmos SDK authz module to grant scoped permissions for deposit operations.
|
|
25
|
+
* The authorization can be restricted to specific scopes (deployment or bid) to limit
|
|
26
|
+
* what types of deposits the grantee is authorized to make on behalf of the granter.
|
|
27
|
+
* @name DepositAuthorization
|
|
28
|
+
* @package akash.escrow.v1
|
|
29
|
+
* @see proto type: akash.escrow.v1.DepositAuthorization
|
|
30
|
+
*/
|
|
31
|
+
export interface DepositAuthorization {
|
|
32
|
+
/**
|
|
33
|
+
* SpendLimit is the maximum amount the grantee is authorized to spend from the granter's account.
|
|
34
|
+
* This limit applies cumulatively across all deposit operations within the authorized scopes.
|
|
35
|
+
* Once this limit is reached, the authorization becomes invalid and no further deposits can be made.
|
|
36
|
+
* Deprecated: use spend_limits instead
|
|
37
|
+
*/
|
|
38
|
+
spendLimit: Coin;
|
|
39
|
+
/**
|
|
40
|
+
* Scopes defines the specific types of deposit operations this authorization permits.
|
|
41
|
+
* This provides fine-grained control over what operations
|
|
42
|
+
* the grantee can perform using the granter's funds.
|
|
43
|
+
*/
|
|
44
|
+
scopes: DepositAuthorization_Scope[];
|
|
45
|
+
/**
|
|
46
|
+
* SpendLimits specifies the maximum amount per denomination the grantee is authorized to spend.
|
|
47
|
+
* Each entry represents the limit for a specific denomination, enforced independently.
|
|
48
|
+
* Once an individual denomination's limit is exhausted, no further deposits can be made in that denomination.
|
|
49
|
+
*/
|
|
50
|
+
spendLimits: Coin[];
|
|
51
|
+
}
|
|
52
|
+
export interface DepositAuthorizationProtoMsg {
|
|
53
|
+
typeUrl: "/akash.escrow.v1.DepositAuthorization";
|
|
54
|
+
value: Uint8Array;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* DepositAuthorization allows the grantee to deposit up to spend_limit coins from
|
|
58
|
+
* the granter's account for Akash deployments and bids. This authorization is used
|
|
59
|
+
* within the Cosmos SDK authz module to grant scoped permissions for deposit operations.
|
|
60
|
+
* The authorization can be restricted to specific scopes (deployment or bid) to limit
|
|
61
|
+
* what types of deposits the grantee is authorized to make on behalf of the granter.
|
|
62
|
+
* @name DepositAuthorizationAmino
|
|
63
|
+
* @package akash.escrow.v1
|
|
64
|
+
* @see proto type: akash.escrow.v1.DepositAuthorization
|
|
65
|
+
*/
|
|
66
|
+
export interface DepositAuthorizationAmino {
|
|
67
|
+
/**
|
|
68
|
+
* SpendLimit is the maximum amount the grantee is authorized to spend from the granter's account.
|
|
69
|
+
* This limit applies cumulatively across all deposit operations within the authorized scopes.
|
|
70
|
+
* Once this limit is reached, the authorization becomes invalid and no further deposits can be made.
|
|
71
|
+
* Deprecated: use spend_limits instead
|
|
72
|
+
*/
|
|
73
|
+
spend_limit: CoinAmino;
|
|
74
|
+
/**
|
|
75
|
+
* Scopes defines the specific types of deposit operations this authorization permits.
|
|
76
|
+
* This provides fine-grained control over what operations
|
|
77
|
+
* the grantee can perform using the granter's funds.
|
|
78
|
+
*/
|
|
79
|
+
scopes: DepositAuthorization_Scope[];
|
|
80
|
+
/**
|
|
81
|
+
* SpendLimits specifies the maximum amount per denomination the grantee is authorized to spend.
|
|
82
|
+
* Each entry represents the limit for a specific denomination, enforced independently.
|
|
83
|
+
* Once an individual denomination's limit is exhausted, no further deposits can be made in that denomination.
|
|
84
|
+
*/
|
|
85
|
+
spend_limits: CoinAmino[];
|
|
86
|
+
}
|
|
87
|
+
export interface DepositAuthorizationAminoMsg {
|
|
88
|
+
type: "akash/DepositAuthorization";
|
|
89
|
+
value: DepositAuthorizationAmino;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* DepositAuthorization allows the grantee to deposit up to spend_limit coins from
|
|
93
|
+
* the granter's account for Akash deployments and bids. This authorization is used
|
|
94
|
+
* within the Cosmos SDK authz module to grant scoped permissions for deposit operations.
|
|
95
|
+
* The authorization can be restricted to specific scopes (deployment or bid) to limit
|
|
96
|
+
* what types of deposits the grantee is authorized to make on behalf of the granter.
|
|
97
|
+
* @name DepositAuthorization
|
|
98
|
+
* @package akash.escrow.v1
|
|
99
|
+
* @see proto type: akash.escrow.v1.DepositAuthorization
|
|
100
|
+
*/
|
|
101
|
+
export declare const DepositAuthorization: {
|
|
102
|
+
typeUrl: string;
|
|
103
|
+
aminoType: string;
|
|
104
|
+
encode(message: DepositAuthorization, writer?: BinaryWriter): BinaryWriter;
|
|
105
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DepositAuthorization;
|
|
106
|
+
fromPartial(object: DeepPartial<DepositAuthorization>): DepositAuthorization;
|
|
107
|
+
fromAmino(object: DepositAuthorizationAmino): DepositAuthorization;
|
|
108
|
+
toAmino(message: DepositAuthorization): DepositAuthorizationAmino;
|
|
109
|
+
fromAminoMsg(object: DepositAuthorizationAminoMsg): DepositAuthorization;
|
|
110
|
+
toAminoMsg(message: DepositAuthorization): DepositAuthorizationAminoMsg;
|
|
111
|
+
fromProtoMsg(message: DepositAuthorizationProtoMsg): DepositAuthorization;
|
|
112
|
+
toProto(message: DepositAuthorization): Uint8Array;
|
|
113
|
+
toProtoMsg(message: DepositAuthorization): DepositAuthorizationProtoMsg;
|
|
114
|
+
};
|