@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
|
@@ -9,7 +9,7 @@ import { DeepPartial } from "../../../helpers";
|
|
|
9
9
|
*/
|
|
10
10
|
export interface GenesisState {
|
|
11
11
|
/**
|
|
12
|
-
* Providers contains a list of audited
|
|
12
|
+
* Providers contains a list of audited providers account addresses.
|
|
13
13
|
*/
|
|
14
14
|
providers: AuditedProvider[];
|
|
15
15
|
}
|
|
@@ -25,7 +25,7 @@ export interface GenesisStateProtoMsg {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface GenesisStateAmino {
|
|
27
27
|
/**
|
|
28
|
-
* Providers contains a list of audited
|
|
28
|
+
* Providers contains a list of audited providers account addresses.
|
|
29
29
|
*/
|
|
30
30
|
providers: AuditedProviderAmino[];
|
|
31
31
|
}
|
|
@@ -10,7 +10,7 @@ import { DeepPartial } from "../../../helpers";
|
|
|
10
10
|
*/
|
|
11
11
|
export interface QueryProvidersResponse {
|
|
12
12
|
/**
|
|
13
|
-
* Providers contains a list of audited
|
|
13
|
+
* Providers contains a list of audited providers account addresses.
|
|
14
14
|
*/
|
|
15
15
|
providers: AuditedProvider[];
|
|
16
16
|
/**
|
|
@@ -30,7 +30,7 @@ export interface QueryProvidersResponseProtoMsg {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface QueryProvidersResponseAmino {
|
|
32
32
|
/**
|
|
33
|
-
* Providers contains a list of audited
|
|
33
|
+
* Providers contains a list of audited providers account addresses.
|
|
34
34
|
*/
|
|
35
35
|
providers?: AuditedProviderAmino[];
|
|
36
36
|
/**
|
|
@@ -146,7 +146,7 @@ export interface QueryProviderAttributesRequest {
|
|
|
146
146
|
*/
|
|
147
147
|
owner: string;
|
|
148
148
|
/**
|
|
149
|
-
* Pagination is used to paginate request.
|
|
149
|
+
* Pagination is used to paginate the request.
|
|
150
150
|
*/
|
|
151
151
|
pagination?: PageRequest;
|
|
152
152
|
}
|
|
@@ -170,7 +170,7 @@ export interface QueryProviderAttributesRequestAmino {
|
|
|
170
170
|
*/
|
|
171
171
|
owner?: string;
|
|
172
172
|
/**
|
|
173
|
-
* Pagination is used to paginate request.
|
|
173
|
+
* Pagination is used to paginate the request.
|
|
174
174
|
*/
|
|
175
175
|
pagination?: PageRequestAmino;
|
|
176
176
|
}
|
|
@@ -250,7 +250,7 @@ export interface QueryAuditorAttributesRequest {
|
|
|
250
250
|
*/
|
|
251
251
|
auditor: string;
|
|
252
252
|
/**
|
|
253
|
-
* Pagination is used to paginate request.
|
|
253
|
+
* Pagination is used to paginate the request.
|
|
254
254
|
*/
|
|
255
255
|
pagination?: PageRequest;
|
|
256
256
|
}
|
|
@@ -274,7 +274,7 @@ export interface QueryAuditorAttributesRequestAmino {
|
|
|
274
274
|
*/
|
|
275
275
|
auditor?: string;
|
|
276
276
|
/**
|
|
277
|
-
* Pagination is used to paginate request.
|
|
277
|
+
* Pagination is used to paginate the request.
|
|
278
278
|
*/
|
|
279
279
|
pagination?: PageRequestAmino;
|
|
280
280
|
}
|
|
@@ -54,7 +54,7 @@ export interface SignedBy {
|
|
|
54
54
|
*/
|
|
55
55
|
allOf: string[];
|
|
56
56
|
/**
|
|
57
|
-
* AnyOf means that at least
|
|
57
|
+
* AnyOf means that at least one of the keys from the list must have signed attributes.
|
|
58
58
|
*/
|
|
59
59
|
anyOf: string[];
|
|
60
60
|
}
|
|
@@ -76,7 +76,7 @@ export interface SignedByAmino {
|
|
|
76
76
|
*/
|
|
77
77
|
all_of: string[];
|
|
78
78
|
/**
|
|
79
|
-
* AnyOf means that at least
|
|
79
|
+
* AnyOf means that at least one of the keys from the list must have signed attributes.
|
|
80
80
|
*/
|
|
81
81
|
any_of: string[];
|
|
82
82
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Coin, CoinAmino } from "../../../../cosmos/base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../../helpers";
|
|
4
|
+
/** Source is an enum which lists source of funds for deployment deposit. */
|
|
5
|
+
export declare enum Source {
|
|
6
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
7
|
+
invalid = 0,
|
|
8
|
+
/** balance - SourceBalance denotes account balance as source of funds */
|
|
9
|
+
balance = 1,
|
|
10
|
+
/** grant - SourceGrant denotes authz grants as source of funds */
|
|
11
|
+
grant = 2,
|
|
12
|
+
UNRECOGNIZED = -1
|
|
13
|
+
}
|
|
14
|
+
export declare const SourceAmino: typeof Source;
|
|
15
|
+
export declare function sourceFromJSON(object: any): Source;
|
|
16
|
+
export declare function sourceToJSON(object: Source): string;
|
|
17
|
+
/**
|
|
18
|
+
* Deposit is a data type used by MsgCreateDeployment, MsgDepositDeployment and MsgCreateBid to indicate source of the deposit.
|
|
19
|
+
* @name Deposit
|
|
20
|
+
* @package akash.base.deposit.v1
|
|
21
|
+
* @see proto type: akash.base.deposit.v1.Deposit
|
|
22
|
+
*/
|
|
23
|
+
export interface Deposit {
|
|
24
|
+
/**
|
|
25
|
+
* amount specifies the amount of coins to include in the deployment's first deposit.
|
|
26
|
+
*/
|
|
27
|
+
amount: Coin;
|
|
28
|
+
/**
|
|
29
|
+
* Sources is the set of deposit sources, each entry must be unique.
|
|
30
|
+
*/
|
|
31
|
+
sources: Source[];
|
|
32
|
+
}
|
|
33
|
+
export interface DepositProtoMsg {
|
|
34
|
+
typeUrl: "/akash.base.deposit.v1.Deposit";
|
|
35
|
+
value: Uint8Array;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Deposit is a data type used by MsgCreateDeployment, MsgDepositDeployment and MsgCreateBid to indicate source of the deposit.
|
|
39
|
+
* @name DepositAmino
|
|
40
|
+
* @package akash.base.deposit.v1
|
|
41
|
+
* @see proto type: akash.base.deposit.v1.Deposit
|
|
42
|
+
*/
|
|
43
|
+
export interface DepositAmino {
|
|
44
|
+
/**
|
|
45
|
+
* amount specifies the amount of coins to include in the deployment's first deposit.
|
|
46
|
+
*/
|
|
47
|
+
amount?: CoinAmino;
|
|
48
|
+
/**
|
|
49
|
+
* Sources is the set of deposit sources, each entry must be unique.
|
|
50
|
+
*/
|
|
51
|
+
sources: Source[];
|
|
52
|
+
}
|
|
53
|
+
export interface DepositAminoMsg {
|
|
54
|
+
type: "/akash.base.deposit.v1.Deposit";
|
|
55
|
+
value: DepositAmino;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Deposit is a data type used by MsgCreateDeployment, MsgDepositDeployment and MsgCreateBid to indicate source of the deposit.
|
|
59
|
+
* @name Deposit
|
|
60
|
+
* @package akash.base.deposit.v1
|
|
61
|
+
* @see proto type: akash.base.deposit.v1.Deposit
|
|
62
|
+
*/
|
|
63
|
+
export declare const Deposit: {
|
|
64
|
+
typeUrl: string;
|
|
65
|
+
encode(message: Deposit, writer?: BinaryWriter): BinaryWriter;
|
|
66
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Deposit;
|
|
67
|
+
fromPartial(object: DeepPartial<Deposit>): Deposit;
|
|
68
|
+
fromAmino(object: DepositAmino): Deposit;
|
|
69
|
+
toAmino(message: Deposit): DepositAmino;
|
|
70
|
+
fromAminoMsg(object: DepositAminoMsg): Deposit;
|
|
71
|
+
fromProtoMsg(message: DepositProtoMsg): Deposit;
|
|
72
|
+
toProto(message: Deposit): Uint8Array;
|
|
73
|
+
toProtoMsg(message: Deposit): DepositProtoMsg;
|
|
74
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Deposit = exports.SourceAmino = exports.Source = void 0;
|
|
4
|
+
exports.sourceFromJSON = sourceFromJSON;
|
|
5
|
+
exports.sourceToJSON = sourceToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
const coin_1 = require("../../../../cosmos/base/v1beta1/coin");
|
|
8
|
+
const binary_1 = require("../../../../binary");
|
|
9
|
+
/** Source is an enum which lists source of funds for deployment deposit. */
|
|
10
|
+
var Source;
|
|
11
|
+
(function (Source) {
|
|
12
|
+
/** invalid - Prefix should start with 0 in enum. So declaring dummy state. */
|
|
13
|
+
Source[Source["invalid"] = 0] = "invalid";
|
|
14
|
+
/** balance - SourceBalance denotes account balance as source of funds */
|
|
15
|
+
Source[Source["balance"] = 1] = "balance";
|
|
16
|
+
/** grant - SourceGrant denotes authz grants as source of funds */
|
|
17
|
+
Source[Source["grant"] = 2] = "grant";
|
|
18
|
+
Source[Source["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
19
|
+
})(Source || (exports.Source = Source = {}));
|
|
20
|
+
exports.SourceAmino = Source;
|
|
21
|
+
function sourceFromJSON(object) {
|
|
22
|
+
switch (object) {
|
|
23
|
+
case 0:
|
|
24
|
+
case "invalid":
|
|
25
|
+
return Source.invalid;
|
|
26
|
+
case 1:
|
|
27
|
+
case "balance":
|
|
28
|
+
return Source.balance;
|
|
29
|
+
case 2:
|
|
30
|
+
case "grant":
|
|
31
|
+
return Source.grant;
|
|
32
|
+
case -1:
|
|
33
|
+
case "UNRECOGNIZED":
|
|
34
|
+
default:
|
|
35
|
+
return Source.UNRECOGNIZED;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function sourceToJSON(object) {
|
|
39
|
+
switch (object) {
|
|
40
|
+
case Source.invalid:
|
|
41
|
+
return "invalid";
|
|
42
|
+
case Source.balance:
|
|
43
|
+
return "balance";
|
|
44
|
+
case Source.grant:
|
|
45
|
+
return "grant";
|
|
46
|
+
case Source.UNRECOGNIZED:
|
|
47
|
+
default:
|
|
48
|
+
return "UNRECOGNIZED";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function createBaseDeposit() {
|
|
52
|
+
return {
|
|
53
|
+
amount: coin_1.Coin.fromPartial({}),
|
|
54
|
+
sources: []
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Deposit is a data type used by MsgCreateDeployment, MsgDepositDeployment and MsgCreateBid to indicate source of the deposit.
|
|
59
|
+
* @name Deposit
|
|
60
|
+
* @package akash.base.deposit.v1
|
|
61
|
+
* @see proto type: akash.base.deposit.v1.Deposit
|
|
62
|
+
*/
|
|
63
|
+
exports.Deposit = {
|
|
64
|
+
typeUrl: "/akash.base.deposit.v1.Deposit",
|
|
65
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
66
|
+
if (message.amount !== undefined) {
|
|
67
|
+
coin_1.Coin.encode(message.amount, writer.uint32(10).fork()).ldelim();
|
|
68
|
+
}
|
|
69
|
+
writer.uint32(42).fork();
|
|
70
|
+
for (const v of message.sources) {
|
|
71
|
+
writer.int32(v);
|
|
72
|
+
}
|
|
73
|
+
writer.ldelim();
|
|
74
|
+
return writer;
|
|
75
|
+
},
|
|
76
|
+
decode(input, length) {
|
|
77
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
78
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
79
|
+
const message = createBaseDeposit();
|
|
80
|
+
while (reader.pos < end) {
|
|
81
|
+
const tag = reader.uint32();
|
|
82
|
+
switch (tag >>> 3) {
|
|
83
|
+
case 1:
|
|
84
|
+
message.amount = coin_1.Coin.decode(reader, reader.uint32());
|
|
85
|
+
break;
|
|
86
|
+
case 5:
|
|
87
|
+
if ((tag & 7) === 2) {
|
|
88
|
+
const end2 = reader.uint32() + reader.pos;
|
|
89
|
+
while (reader.pos < end2) {
|
|
90
|
+
message.sources.push(reader.int32());
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
message.sources.push(reader.int32());
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
default:
|
|
98
|
+
reader.skipType(tag & 7);
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return message;
|
|
103
|
+
},
|
|
104
|
+
fromPartial(object) {
|
|
105
|
+
const message = createBaseDeposit();
|
|
106
|
+
message.amount = object.amount !== undefined && object.amount !== null ? coin_1.Coin.fromPartial(object.amount) : undefined;
|
|
107
|
+
message.sources = object.sources?.map(e => e) || [];
|
|
108
|
+
return message;
|
|
109
|
+
},
|
|
110
|
+
fromAmino(object) {
|
|
111
|
+
const message = createBaseDeposit();
|
|
112
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
113
|
+
message.amount = coin_1.Coin.fromAmino(object.amount);
|
|
114
|
+
}
|
|
115
|
+
message.sources = object.sources?.map(e => e) || [];
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
toAmino(message) {
|
|
119
|
+
const obj = {};
|
|
120
|
+
obj.amount = message.amount ? coin_1.Coin.toAmino(message.amount) : undefined;
|
|
121
|
+
if (message.sources) {
|
|
122
|
+
obj.sources = message.sources.map(e => e);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
obj.sources = message.sources;
|
|
126
|
+
}
|
|
127
|
+
return obj;
|
|
128
|
+
},
|
|
129
|
+
fromAminoMsg(object) {
|
|
130
|
+
return exports.Deposit.fromAmino(object.value);
|
|
131
|
+
},
|
|
132
|
+
fromProtoMsg(message) {
|
|
133
|
+
return exports.Deposit.decode(message.value);
|
|
134
|
+
},
|
|
135
|
+
toProto(message) {
|
|
136
|
+
return exports.Deposit.encode(message).finish();
|
|
137
|
+
},
|
|
138
|
+
toProtoMsg(message) {
|
|
139
|
+
return {
|
|
140
|
+
typeUrl: "/akash.base.deposit.v1.Deposit",
|
|
141
|
+
value: exports.Deposit.encode(message).finish()
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* MsgSignData defines an arbitrary, general-purpose, off-chain message
|
|
5
|
+
* @name MsgSignData
|
|
6
|
+
* @package akash.base.offchain.sign.v1
|
|
7
|
+
* @see proto type: akash.base.offchain.sign.v1.MsgSignData
|
|
8
|
+
*/
|
|
9
|
+
export interface MsgSignData {
|
|
10
|
+
/**
|
|
11
|
+
* Signer is the sdk.AccAddress of the message signer
|
|
12
|
+
*/
|
|
13
|
+
signer: string;
|
|
14
|
+
/**
|
|
15
|
+
* Data represents the raw bytes of the content that is signed (text, json, etc)
|
|
16
|
+
*/
|
|
17
|
+
data: Uint8Array;
|
|
18
|
+
}
|
|
19
|
+
export interface MsgSignDataProtoMsg {
|
|
20
|
+
typeUrl: "/akash.base.offchain.sign.v1.MsgSignData";
|
|
21
|
+
value: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* MsgSignData defines an arbitrary, general-purpose, off-chain message
|
|
25
|
+
* @name MsgSignDataAmino
|
|
26
|
+
* @package akash.base.offchain.sign.v1
|
|
27
|
+
* @see proto type: akash.base.offchain.sign.v1.MsgSignData
|
|
28
|
+
*/
|
|
29
|
+
export interface MsgSignDataAmino {
|
|
30
|
+
/**
|
|
31
|
+
* Signer is the sdk.AccAddress of the message signer
|
|
32
|
+
*/
|
|
33
|
+
signer: string;
|
|
34
|
+
/**
|
|
35
|
+
* Data represents the raw bytes of the content that is signed (text, json, etc)
|
|
36
|
+
*/
|
|
37
|
+
data: string;
|
|
38
|
+
}
|
|
39
|
+
export interface MsgSignDataAminoMsg {
|
|
40
|
+
type: "/akash.base.offchain.sign.v1.MsgSignData";
|
|
41
|
+
value: MsgSignDataAmino;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* MsgSignData defines an arbitrary, general-purpose, off-chain message
|
|
45
|
+
* @name MsgSignData
|
|
46
|
+
* @package akash.base.offchain.sign.v1
|
|
47
|
+
* @see proto type: akash.base.offchain.sign.v1.MsgSignData
|
|
48
|
+
*/
|
|
49
|
+
export declare const MsgSignData: {
|
|
50
|
+
typeUrl: string;
|
|
51
|
+
encode(message: MsgSignData, writer?: BinaryWriter): BinaryWriter;
|
|
52
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgSignData;
|
|
53
|
+
fromPartial(object: DeepPartial<MsgSignData>): MsgSignData;
|
|
54
|
+
fromAmino(object: MsgSignDataAmino): MsgSignData;
|
|
55
|
+
toAmino(message: MsgSignData): MsgSignDataAmino;
|
|
56
|
+
fromAminoMsg(object: MsgSignDataAminoMsg): MsgSignData;
|
|
57
|
+
fromProtoMsg(message: MsgSignDataProtoMsg): MsgSignData;
|
|
58
|
+
toProto(message: MsgSignData): Uint8Array;
|
|
59
|
+
toProtoMsg(message: MsgSignData): MsgSignDataProtoMsg;
|
|
60
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsgSignData = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../../../binary");
|
|
6
|
+
const helpers_1 = require("../../../../../helpers");
|
|
7
|
+
function createBaseMsgSignData() {
|
|
8
|
+
return {
|
|
9
|
+
signer: "",
|
|
10
|
+
data: new Uint8Array()
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* MsgSignData defines an arbitrary, general-purpose, off-chain message
|
|
15
|
+
* @name MsgSignData
|
|
16
|
+
* @package akash.base.offchain.sign.v1
|
|
17
|
+
* @see proto type: akash.base.offchain.sign.v1.MsgSignData
|
|
18
|
+
*/
|
|
19
|
+
exports.MsgSignData = {
|
|
20
|
+
typeUrl: "/akash.base.offchain.sign.v1.MsgSignData",
|
|
21
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
22
|
+
if (message.signer !== "") {
|
|
23
|
+
writer.uint32(10).string(message.signer);
|
|
24
|
+
}
|
|
25
|
+
if (message.data.length !== 0) {
|
|
26
|
+
writer.uint32(18).bytes(message.data);
|
|
27
|
+
}
|
|
28
|
+
return writer;
|
|
29
|
+
},
|
|
30
|
+
decode(input, length) {
|
|
31
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
32
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
33
|
+
const message = createBaseMsgSignData();
|
|
34
|
+
while (reader.pos < end) {
|
|
35
|
+
const tag = reader.uint32();
|
|
36
|
+
switch (tag >>> 3) {
|
|
37
|
+
case 1:
|
|
38
|
+
message.signer = reader.string();
|
|
39
|
+
break;
|
|
40
|
+
case 2:
|
|
41
|
+
message.data = reader.bytes();
|
|
42
|
+
break;
|
|
43
|
+
default:
|
|
44
|
+
reader.skipType(tag & 7);
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromPartial(object) {
|
|
51
|
+
const message = createBaseMsgSignData();
|
|
52
|
+
message.signer = object.signer ?? "";
|
|
53
|
+
message.data = object.data ?? new Uint8Array();
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromAmino(object) {
|
|
57
|
+
const message = createBaseMsgSignData();
|
|
58
|
+
if (object.signer !== undefined && object.signer !== null) {
|
|
59
|
+
message.signer = object.signer;
|
|
60
|
+
}
|
|
61
|
+
if (object.data !== undefined && object.data !== null) {
|
|
62
|
+
message.data = (0, helpers_1.bytesFromBase64)(object.data);
|
|
63
|
+
}
|
|
64
|
+
return message;
|
|
65
|
+
},
|
|
66
|
+
toAmino(message) {
|
|
67
|
+
const obj = {};
|
|
68
|
+
obj.signer = message.signer ?? "";
|
|
69
|
+
obj.data = message.data ? (0, helpers_1.base64FromBytes)(message.data) : "";
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
fromAminoMsg(object) {
|
|
73
|
+
return exports.MsgSignData.fromAmino(object.value);
|
|
74
|
+
},
|
|
75
|
+
fromProtoMsg(message) {
|
|
76
|
+
return exports.MsgSignData.decode(message.value);
|
|
77
|
+
},
|
|
78
|
+
toProto(message) {
|
|
79
|
+
return exports.MsgSignData.encode(message).finish();
|
|
80
|
+
},
|
|
81
|
+
toProtoMsg(message) {
|
|
82
|
+
return {
|
|
83
|
+
typeUrl: "/akash.base.offchain.sign.v1.MsgSignData",
|
|
84
|
+
value: exports.MsgSignData.encode(message).finish()
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|