@sparkdreamnft/sparkdreamjs 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bme/v1/events.d.ts +332 -0
- package/akash/bme/v1/events.js +500 -0
- package/akash/bme/v1/filters.d.ts +80 -0
- package/akash/bme/v1/filters.js +110 -0
- package/akash/bme/v1/genesis.d.ts +271 -0
- package/akash/bme/v1/genesis.js +452 -0
- package/akash/bme/v1/msgs.d.ts +585 -0
- package/akash/bme/v1/msgs.js +867 -0
- package/akash/bme/v1/params.d.ts +147 -0
- package/akash/bme/v1/params.js +174 -0
- package/akash/bme/v1/query.d.ts +508 -0
- package/akash/bme/v1/query.js +727 -0
- package/akash/bme/v1/query.lcd.d.ts +12 -0
- package/akash/bme/v1/query.lcd.js +41 -0
- package/akash/bme/v1/query.rpc.Query.d.ts +28 -0
- package/akash/bme/v1/query.rpc.Query.js +56 -0
- package/akash/bme/v1/service.amino.d.ts +28 -0
- package/akash/bme/v1/service.amino.js +32 -0
- package/akash/bme/v1/service.registry.d.ts +73 -0
- package/akash/bme/v1/service.registry.js +109 -0
- package/akash/bme/v1/service.rpc.msg.d.ts +46 -0
- package/akash/bme/v1/service.rpc.msg.js +55 -0
- package/akash/bme/v1/types.d.ts +766 -0
- package/akash/bme/v1/types.js +1283 -0
- package/akash/bundle.d.ts +5593 -3155
- package/akash/bundle.js +499 -299
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +105 -80
- package/akash/client.js +23 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.js +2 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +18 -5
- package/akash/lcd.js +30 -11
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.d.ts +1 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +50 -25
- package/akash/rpc.query.js +22 -9
- package/akash/rpc.tx.d.ts +15 -5
- package/akash/rpc.tx.js +19 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bme/v1/events.js +497 -0
- package/esm/akash/bme/v1/filters.js +107 -0
- package/esm/akash/bme/v1/genesis.js +449 -0
- package/esm/akash/bme/v1/msgs.js +864 -0
- package/esm/akash/bme/v1/params.js +171 -0
- package/esm/akash/bme/v1/query.js +724 -0
- package/esm/akash/bme/v1/query.lcd.js +37 -0
- package/esm/akash/bme/v1/query.rpc.Query.js +51 -0
- package/esm/akash/bme/v1/service.amino.js +29 -0
- package/esm/akash/bme/v1/service.js +1 -0
- package/esm/akash/bme/v1/service.registry.js +105 -0
- package/esm/akash/bme/v1/service.rpc.msg.js +50 -0
- package/esm/akash/bme/v1/types.js +1274 -0
- package/esm/akash/bundle.js +499 -299
- package/esm/akash/client.js +23 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +30 -11
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +22 -9
- package/esm/akash/rpc.tx.js +19 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17352 -17352
- package/sparkdream/bundle.js +540 -540
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/{deployment/v1beta3 → bme/v1}/service.d.ts +0 -0
- /package/akash/{deployment/v1beta3 → bme/v1}/service.js +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → deployment/v1beta5}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/escrow/v1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/market/v2beta1/service.d.ts} +0 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecoveredSinceDowntimeOfLengthResponse = exports.RecoveredSinceDowntimeOfLengthRequest = void 0;
|
|
4
|
+
const duration_1 = require("../../../google/protobuf/duration");
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseRecoveredSinceDowntimeOfLengthRequest() {
|
|
7
|
+
return {
|
|
8
|
+
downtime: 0,
|
|
9
|
+
recovery: duration_1.Duration.fromPartial({})
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* RecoveredSinceDowntimeOfLengthRequest is the request type for querying if the chain
|
|
14
|
+
* has been operational for at least the specified recovery duration since experiencing
|
|
15
|
+
* downtime of the specified length
|
|
16
|
+
* @name RecoveredSinceDowntimeOfLengthRequest
|
|
17
|
+
* @package akash.downtimedetector.v1beta1
|
|
18
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest
|
|
19
|
+
*/
|
|
20
|
+
exports.RecoveredSinceDowntimeOfLengthRequest = {
|
|
21
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest",
|
|
22
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
23
|
+
if (message.downtime !== 0) {
|
|
24
|
+
writer.uint32(8).int32(message.downtime);
|
|
25
|
+
}
|
|
26
|
+
if (message.recovery !== undefined) {
|
|
27
|
+
duration_1.Duration.encode(message.recovery, writer.uint32(18).fork()).ldelim();
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthRequest();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
message.downtime = reader.int32();
|
|
40
|
+
break;
|
|
41
|
+
case 2:
|
|
42
|
+
message.recovery = duration_1.Duration.decode(reader, reader.uint32());
|
|
43
|
+
break;
|
|
44
|
+
default:
|
|
45
|
+
reader.skipType(tag & 7);
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
fromPartial(object) {
|
|
52
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthRequest();
|
|
53
|
+
message.downtime = object.downtime ?? 0;
|
|
54
|
+
message.recovery = object.recovery !== undefined && object.recovery !== null ? duration_1.Duration.fromPartial(object.recovery) : undefined;
|
|
55
|
+
return message;
|
|
56
|
+
},
|
|
57
|
+
fromAmino(object) {
|
|
58
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthRequest();
|
|
59
|
+
if (object.downtime !== undefined && object.downtime !== null) {
|
|
60
|
+
message.downtime = object.downtime;
|
|
61
|
+
}
|
|
62
|
+
if (object.recovery !== undefined && object.recovery !== null) {
|
|
63
|
+
message.recovery = duration_1.Duration.fromAmino(object.recovery);
|
|
64
|
+
}
|
|
65
|
+
return message;
|
|
66
|
+
},
|
|
67
|
+
toAmino(message) {
|
|
68
|
+
const obj = {};
|
|
69
|
+
obj.downtime = message.downtime === 0 ? undefined : message.downtime;
|
|
70
|
+
obj.recovery = message.recovery ? duration_1.Duration.toAmino(message.recovery) : undefined;
|
|
71
|
+
return obj;
|
|
72
|
+
},
|
|
73
|
+
fromAminoMsg(object) {
|
|
74
|
+
return exports.RecoveredSinceDowntimeOfLengthRequest.fromAmino(object.value);
|
|
75
|
+
},
|
|
76
|
+
fromProtoMsg(message) {
|
|
77
|
+
return exports.RecoveredSinceDowntimeOfLengthRequest.decode(message.value);
|
|
78
|
+
},
|
|
79
|
+
toProto(message) {
|
|
80
|
+
return exports.RecoveredSinceDowntimeOfLengthRequest.encode(message).finish();
|
|
81
|
+
},
|
|
82
|
+
toProtoMsg(message) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest",
|
|
85
|
+
value: exports.RecoveredSinceDowntimeOfLengthRequest.encode(message).finish()
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
function createBaseRecoveredSinceDowntimeOfLengthResponse() {
|
|
90
|
+
return {
|
|
91
|
+
succesfullyRecovered: false
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* RecoveredSinceDowntimeOfLengthResponse is the response type for the recovery query
|
|
96
|
+
* @name RecoveredSinceDowntimeOfLengthResponse
|
|
97
|
+
* @package akash.downtimedetector.v1beta1
|
|
98
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse
|
|
99
|
+
*/
|
|
100
|
+
exports.RecoveredSinceDowntimeOfLengthResponse = {
|
|
101
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse",
|
|
102
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
103
|
+
if (message.succesfullyRecovered === true) {
|
|
104
|
+
writer.uint32(8).bool(message.succesfullyRecovered);
|
|
105
|
+
}
|
|
106
|
+
return writer;
|
|
107
|
+
},
|
|
108
|
+
decode(input, length) {
|
|
109
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
110
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
111
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthResponse();
|
|
112
|
+
while (reader.pos < end) {
|
|
113
|
+
const tag = reader.uint32();
|
|
114
|
+
switch (tag >>> 3) {
|
|
115
|
+
case 1:
|
|
116
|
+
message.succesfullyRecovered = reader.bool();
|
|
117
|
+
break;
|
|
118
|
+
default:
|
|
119
|
+
reader.skipType(tag & 7);
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return message;
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthResponse();
|
|
127
|
+
message.succesfullyRecovered = object.succesfullyRecovered ?? false;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
fromAmino(object) {
|
|
131
|
+
const message = createBaseRecoveredSinceDowntimeOfLengthResponse();
|
|
132
|
+
if (object.succesfully_recovered !== undefined && object.succesfully_recovered !== null) {
|
|
133
|
+
message.succesfullyRecovered = object.succesfully_recovered;
|
|
134
|
+
}
|
|
135
|
+
return message;
|
|
136
|
+
},
|
|
137
|
+
toAmino(message) {
|
|
138
|
+
const obj = {};
|
|
139
|
+
obj.succesfully_recovered = message.succesfullyRecovered === false ? undefined : message.succesfullyRecovered;
|
|
140
|
+
return obj;
|
|
141
|
+
},
|
|
142
|
+
fromAminoMsg(object) {
|
|
143
|
+
return exports.RecoveredSinceDowntimeOfLengthResponse.fromAmino(object.value);
|
|
144
|
+
},
|
|
145
|
+
fromProtoMsg(message) {
|
|
146
|
+
return exports.RecoveredSinceDowntimeOfLengthResponse.decode(message.value);
|
|
147
|
+
},
|
|
148
|
+
toProto(message) {
|
|
149
|
+
return exports.RecoveredSinceDowntimeOfLengthResponse.encode(message).finish();
|
|
150
|
+
},
|
|
151
|
+
toProtoMsg(message) {
|
|
152
|
+
return {
|
|
153
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse",
|
|
154
|
+
value: exports.RecoveredSinceDowntimeOfLengthResponse.encode(message).finish()
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
+
import { RecoveredSinceDowntimeOfLengthRequest, RecoveredSinceDowntimeOfLengthResponse } from "./query";
|
|
3
|
+
export declare class LCDQueryClient {
|
|
4
|
+
req: LCDClient;
|
|
5
|
+
constructor({ requestClient }: {
|
|
6
|
+
requestClient: LCDClient;
|
|
7
|
+
});
|
|
8
|
+
recoveredSinceDowntimeOfLength: (params: RecoveredSinceDowntimeOfLengthRequest) => Promise<RecoveredSinceDowntimeOfLengthResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LCDQueryClient = void 0;
|
|
4
|
+
class LCDQueryClient {
|
|
5
|
+
req;
|
|
6
|
+
constructor({ requestClient }) {
|
|
7
|
+
this.req = requestClient;
|
|
8
|
+
}
|
|
9
|
+
/* RecoveredSinceDowntimeOfLength queries if the chain has recovered for a specified duration
|
|
10
|
+
since experiencing downtime of a given length */
|
|
11
|
+
recoveredSinceDowntimeOfLength = async (params) => {
|
|
12
|
+
const options = {
|
|
13
|
+
params: {}
|
|
14
|
+
};
|
|
15
|
+
if (typeof params?.downtime !== "undefined") {
|
|
16
|
+
options.params.downtime = params.downtime;
|
|
17
|
+
}
|
|
18
|
+
if (typeof params?.recovery !== "undefined") {
|
|
19
|
+
options.params.recovery = params.recovery;
|
|
20
|
+
}
|
|
21
|
+
const endpoint = `akash/downtime-detector/v1beta1/RecoveredSinceDowntimeOfLength`;
|
|
22
|
+
return await this.req.get(endpoint, options);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TxRpc } from "../../../types";
|
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
|
3
|
+
import { RecoveredSinceDowntimeOfLengthRequest, RecoveredSinceDowntimeOfLengthResponse } from "./query";
|
|
4
|
+
/** Query defines the gRPC querier service for the downtime detector module */
|
|
5
|
+
export interface Query {
|
|
6
|
+
/**
|
|
7
|
+
* RecoveredSinceDowntimeOfLength queries if the chain has recovered for a specified duration
|
|
8
|
+
* since experiencing downtime of a given length
|
|
9
|
+
*/
|
|
10
|
+
recoveredSinceDowntimeOfLength(request: RecoveredSinceDowntimeOfLengthRequest): Promise<RecoveredSinceDowntimeOfLengthResponse>;
|
|
11
|
+
}
|
|
12
|
+
export declare class QueryClientImpl implements Query {
|
|
13
|
+
private readonly rpc;
|
|
14
|
+
constructor(rpc: TxRpc);
|
|
15
|
+
recoveredSinceDowntimeOfLength: (request: RecoveredSinceDowntimeOfLengthRequest) => Promise<RecoveredSinceDowntimeOfLengthResponse>;
|
|
16
|
+
}
|
|
17
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
|
18
|
+
recoveredSinceDowntimeOfLength(request: RecoveredSinceDowntimeOfLengthRequest): Promise<RecoveredSinceDowntimeOfLengthResponse>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRpcQueryExtension = exports.QueryClientImpl = void 0;
|
|
4
|
+
const binary_1 = require("../../../binary");
|
|
5
|
+
const stargate_1 = require("@cosmjs/stargate");
|
|
6
|
+
const query_1 = require("./query");
|
|
7
|
+
class QueryClientImpl {
|
|
8
|
+
rpc;
|
|
9
|
+
constructor(rpc) {
|
|
10
|
+
this.rpc = rpc;
|
|
11
|
+
}
|
|
12
|
+
/* RecoveredSinceDowntimeOfLength queries if the chain has recovered for a specified duration
|
|
13
|
+
since experiencing downtime of a given length */
|
|
14
|
+
recoveredSinceDowntimeOfLength = async (request) => {
|
|
15
|
+
const data = query_1.RecoveredSinceDowntimeOfLengthRequest.encode(request).finish();
|
|
16
|
+
const promise = this.rpc.request("akash.downtimedetector.v1beta1.Query", "RecoveredSinceDowntimeOfLength", data);
|
|
17
|
+
return promise.then(data => query_1.RecoveredSinceDowntimeOfLengthResponse.decode(new binary_1.BinaryReader(data)));
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
exports.QueryClientImpl = QueryClientImpl;
|
|
21
|
+
const createRpcQueryExtension = (base) => {
|
|
22
|
+
const rpc = (0, stargate_1.createProtobufRpcClient)(base);
|
|
23
|
+
const queryService = new QueryClientImpl(rpc);
|
|
24
|
+
return {
|
|
25
|
+
recoveredSinceDowntimeOfLength(request) {
|
|
26
|
+
return queryService.recoveredSinceDowntimeOfLength(request);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
exports.createRpcQueryExtension = createRpcQueryExtension;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
/**
|
|
4
|
+
* EventEpochEnd is an event emitted when an epoch end.
|
|
5
|
+
* @name EventEpochEnd
|
|
6
|
+
* @package akash.epochs.v1beta1
|
|
7
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochEnd
|
|
8
|
+
*/
|
|
9
|
+
export interface EventEpochEnd {
|
|
10
|
+
epochNumber: bigint;
|
|
11
|
+
}
|
|
12
|
+
export interface EventEpochEndProtoMsg {
|
|
13
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochEnd";
|
|
14
|
+
value: Uint8Array;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* EventEpochEnd is an event emitted when an epoch end.
|
|
18
|
+
* @name EventEpochEndAmino
|
|
19
|
+
* @package akash.epochs.v1beta1
|
|
20
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochEnd
|
|
21
|
+
*/
|
|
22
|
+
export interface EventEpochEndAmino {
|
|
23
|
+
epoch_number?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface EventEpochEndAminoMsg {
|
|
26
|
+
type: "/akash.epochs.v1beta1.EventEpochEnd";
|
|
27
|
+
value: EventEpochEndAmino;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* EventEpochStart is an event emitted when an epoch start.
|
|
31
|
+
* @name EventEpochStart
|
|
32
|
+
* @package akash.epochs.v1beta1
|
|
33
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochStart
|
|
34
|
+
*/
|
|
35
|
+
export interface EventEpochStart {
|
|
36
|
+
epochNumber: bigint;
|
|
37
|
+
epochStartTime: bigint;
|
|
38
|
+
}
|
|
39
|
+
export interface EventEpochStartProtoMsg {
|
|
40
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochStart";
|
|
41
|
+
value: Uint8Array;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* EventEpochStart is an event emitted when an epoch start.
|
|
45
|
+
* @name EventEpochStartAmino
|
|
46
|
+
* @package akash.epochs.v1beta1
|
|
47
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochStart
|
|
48
|
+
*/
|
|
49
|
+
export interface EventEpochStartAmino {
|
|
50
|
+
epoch_number?: string;
|
|
51
|
+
epoch_start_time?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface EventEpochStartAminoMsg {
|
|
54
|
+
type: "/akash.epochs.v1beta1.EventEpochStart";
|
|
55
|
+
value: EventEpochStartAmino;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* EventEpochEnd is an event emitted when an epoch end.
|
|
59
|
+
* @name EventEpochEnd
|
|
60
|
+
* @package akash.epochs.v1beta1
|
|
61
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochEnd
|
|
62
|
+
*/
|
|
63
|
+
export declare const EventEpochEnd: {
|
|
64
|
+
typeUrl: string;
|
|
65
|
+
encode(message: EventEpochEnd, writer?: BinaryWriter): BinaryWriter;
|
|
66
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventEpochEnd;
|
|
67
|
+
fromPartial(object: DeepPartial<EventEpochEnd>): EventEpochEnd;
|
|
68
|
+
fromAmino(object: EventEpochEndAmino): EventEpochEnd;
|
|
69
|
+
toAmino(message: EventEpochEnd): EventEpochEndAmino;
|
|
70
|
+
fromAminoMsg(object: EventEpochEndAminoMsg): EventEpochEnd;
|
|
71
|
+
fromProtoMsg(message: EventEpochEndProtoMsg): EventEpochEnd;
|
|
72
|
+
toProto(message: EventEpochEnd): Uint8Array;
|
|
73
|
+
toProtoMsg(message: EventEpochEnd): EventEpochEndProtoMsg;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* EventEpochStart is an event emitted when an epoch start.
|
|
77
|
+
* @name EventEpochStart
|
|
78
|
+
* @package akash.epochs.v1beta1
|
|
79
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochStart
|
|
80
|
+
*/
|
|
81
|
+
export declare const EventEpochStart: {
|
|
82
|
+
typeUrl: string;
|
|
83
|
+
encode(message: EventEpochStart, writer?: BinaryWriter): BinaryWriter;
|
|
84
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventEpochStart;
|
|
85
|
+
fromPartial(object: DeepPartial<EventEpochStart>): EventEpochStart;
|
|
86
|
+
fromAmino(object: EventEpochStartAmino): EventEpochStart;
|
|
87
|
+
toAmino(message: EventEpochStart): EventEpochStartAmino;
|
|
88
|
+
fromAminoMsg(object: EventEpochStartAminoMsg): EventEpochStart;
|
|
89
|
+
fromProtoMsg(message: EventEpochStartProtoMsg): EventEpochStart;
|
|
90
|
+
toProto(message: EventEpochStart): Uint8Array;
|
|
91
|
+
toProtoMsg(message: EventEpochStart): EventEpochStartProtoMsg;
|
|
92
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventEpochStart = exports.EventEpochEnd = void 0;
|
|
4
|
+
//@ts-nocheck
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
function createBaseEventEpochEnd() {
|
|
7
|
+
return {
|
|
8
|
+
epochNumber: BigInt(0)
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* EventEpochEnd is an event emitted when an epoch end.
|
|
13
|
+
* @name EventEpochEnd
|
|
14
|
+
* @package akash.epochs.v1beta1
|
|
15
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochEnd
|
|
16
|
+
*/
|
|
17
|
+
exports.EventEpochEnd = {
|
|
18
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochEnd",
|
|
19
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
20
|
+
if (message.epochNumber !== BigInt(0)) {
|
|
21
|
+
writer.uint32(8).int64(message.epochNumber);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseEventEpochEnd();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
message.epochNumber = reader.int64();
|
|
34
|
+
break;
|
|
35
|
+
default:
|
|
36
|
+
reader.skipType(tag & 7);
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return message;
|
|
41
|
+
},
|
|
42
|
+
fromPartial(object) {
|
|
43
|
+
const message = createBaseEventEpochEnd();
|
|
44
|
+
message.epochNumber = object.epochNumber !== undefined && object.epochNumber !== null ? BigInt(object.epochNumber.toString()) : BigInt(0);
|
|
45
|
+
return message;
|
|
46
|
+
},
|
|
47
|
+
fromAmino(object) {
|
|
48
|
+
const message = createBaseEventEpochEnd();
|
|
49
|
+
if (object.epoch_number !== undefined && object.epoch_number !== null) {
|
|
50
|
+
message.epochNumber = BigInt(object.epoch_number);
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
toAmino(message) {
|
|
55
|
+
const obj = {};
|
|
56
|
+
obj.epoch_number = message.epochNumber !== BigInt(0) ? message.epochNumber?.toString() : undefined;
|
|
57
|
+
return obj;
|
|
58
|
+
},
|
|
59
|
+
fromAminoMsg(object) {
|
|
60
|
+
return exports.EventEpochEnd.fromAmino(object.value);
|
|
61
|
+
},
|
|
62
|
+
fromProtoMsg(message) {
|
|
63
|
+
return exports.EventEpochEnd.decode(message.value);
|
|
64
|
+
},
|
|
65
|
+
toProto(message) {
|
|
66
|
+
return exports.EventEpochEnd.encode(message).finish();
|
|
67
|
+
},
|
|
68
|
+
toProtoMsg(message) {
|
|
69
|
+
return {
|
|
70
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochEnd",
|
|
71
|
+
value: exports.EventEpochEnd.encode(message).finish()
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
function createBaseEventEpochStart() {
|
|
76
|
+
return {
|
|
77
|
+
epochNumber: BigInt(0),
|
|
78
|
+
epochStartTime: BigInt(0)
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* EventEpochStart is an event emitted when an epoch start.
|
|
83
|
+
* @name EventEpochStart
|
|
84
|
+
* @package akash.epochs.v1beta1
|
|
85
|
+
* @see proto type: akash.epochs.v1beta1.EventEpochStart
|
|
86
|
+
*/
|
|
87
|
+
exports.EventEpochStart = {
|
|
88
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochStart",
|
|
89
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
90
|
+
if (message.epochNumber !== BigInt(0)) {
|
|
91
|
+
writer.uint32(8).int64(message.epochNumber);
|
|
92
|
+
}
|
|
93
|
+
if (message.epochStartTime !== BigInt(0)) {
|
|
94
|
+
writer.uint32(16).int64(message.epochStartTime);
|
|
95
|
+
}
|
|
96
|
+
return writer;
|
|
97
|
+
},
|
|
98
|
+
decode(input, length) {
|
|
99
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
100
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
101
|
+
const message = createBaseEventEpochStart();
|
|
102
|
+
while (reader.pos < end) {
|
|
103
|
+
const tag = reader.uint32();
|
|
104
|
+
switch (tag >>> 3) {
|
|
105
|
+
case 1:
|
|
106
|
+
message.epochNumber = reader.int64();
|
|
107
|
+
break;
|
|
108
|
+
case 2:
|
|
109
|
+
message.epochStartTime = reader.int64();
|
|
110
|
+
break;
|
|
111
|
+
default:
|
|
112
|
+
reader.skipType(tag & 7);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromPartial(object) {
|
|
119
|
+
const message = createBaseEventEpochStart();
|
|
120
|
+
message.epochNumber = object.epochNumber !== undefined && object.epochNumber !== null ? BigInt(object.epochNumber.toString()) : BigInt(0);
|
|
121
|
+
message.epochStartTime = object.epochStartTime !== undefined && object.epochStartTime !== null ? BigInt(object.epochStartTime.toString()) : BigInt(0);
|
|
122
|
+
return message;
|
|
123
|
+
},
|
|
124
|
+
fromAmino(object) {
|
|
125
|
+
const message = createBaseEventEpochStart();
|
|
126
|
+
if (object.epoch_number !== undefined && object.epoch_number !== null) {
|
|
127
|
+
message.epochNumber = BigInt(object.epoch_number);
|
|
128
|
+
}
|
|
129
|
+
if (object.epoch_start_time !== undefined && object.epoch_start_time !== null) {
|
|
130
|
+
message.epochStartTime = BigInt(object.epoch_start_time);
|
|
131
|
+
}
|
|
132
|
+
return message;
|
|
133
|
+
},
|
|
134
|
+
toAmino(message) {
|
|
135
|
+
const obj = {};
|
|
136
|
+
obj.epoch_number = message.epochNumber !== BigInt(0) ? message.epochNumber?.toString() : undefined;
|
|
137
|
+
obj.epoch_start_time = message.epochStartTime !== BigInt(0) ? message.epochStartTime?.toString() : undefined;
|
|
138
|
+
return obj;
|
|
139
|
+
},
|
|
140
|
+
fromAminoMsg(object) {
|
|
141
|
+
return exports.EventEpochStart.fromAmino(object.value);
|
|
142
|
+
},
|
|
143
|
+
fromProtoMsg(message) {
|
|
144
|
+
return exports.EventEpochStart.decode(message.value);
|
|
145
|
+
},
|
|
146
|
+
toProto(message) {
|
|
147
|
+
return exports.EventEpochStart.encode(message).finish();
|
|
148
|
+
},
|
|
149
|
+
toProtoMsg(message) {
|
|
150
|
+
return {
|
|
151
|
+
typeUrl: "/akash.epochs.v1beta1.EventEpochStart",
|
|
152
|
+
value: exports.EventEpochStart.encode(message).finish()
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
};
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* EpochInfo is a struct that describes the data going into
|
|
6
|
+
* a timer defined by the x/epochs module.
|
|
7
|
+
* @name EpochInfo
|
|
8
|
+
* @package akash.epochs.v1beta1
|
|
9
|
+
* @see proto type: akash.epochs.v1beta1.EpochInfo
|
|
10
|
+
*/
|
|
11
|
+
export interface EpochInfo {
|
|
12
|
+
/**
|
|
13
|
+
* id is a unique reference to this particular timer.
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* start_time is the time at which the timer first ever ticks.
|
|
18
|
+
* If start_time is in the future, the epoch will not begin until the start
|
|
19
|
+
* time.
|
|
20
|
+
*/
|
|
21
|
+
startTime: Date;
|
|
22
|
+
/**
|
|
23
|
+
* duration is the time in between epoch ticks.
|
|
24
|
+
* In order for intended behavior to be met, duration should
|
|
25
|
+
* be greater than the chains expected block time.
|
|
26
|
+
* Duration must be non-zero.
|
|
27
|
+
*/
|
|
28
|
+
duration: Duration;
|
|
29
|
+
/**
|
|
30
|
+
* current_epoch is the current epoch number, or in other words,
|
|
31
|
+
* how many times has the timer 'ticked'.
|
|
32
|
+
* The first tick (current_epoch=1) is defined as
|
|
33
|
+
* the first block whose blocktime is greater than the EpochInfo start_time.
|
|
34
|
+
*/
|
|
35
|
+
currentEpoch: bigint;
|
|
36
|
+
/**
|
|
37
|
+
* current_epoch_start_time describes the start time of the current timer
|
|
38
|
+
* interval. The interval is (current_epoch_start_time,
|
|
39
|
+
* current_epoch_start_time + duration] When the timer ticks, this is set to
|
|
40
|
+
* current_epoch_start_time = last_epoch_start_time + duration only one timer
|
|
41
|
+
* tick for a given identifier can occur per block.
|
|
42
|
+
*
|
|
43
|
+
* NOTE! The current_epoch_start_time may diverge significantly from the
|
|
44
|
+
* wall-clock time the epoch began at. Wall-clock time of epoch start may be
|
|
45
|
+
* >> current_epoch_start_time. Suppose current_epoch_start_time = 10,
|
|
46
|
+
* duration = 5. Suppose the chain goes offline at t=14, and comes back online
|
|
47
|
+
* at t=30, and produces blocks at every successive time. (t=31, 32, etc.)
|
|
48
|
+
* * The t=30 block will start the epoch for (10, 15]
|
|
49
|
+
* * The t=31 block will start the epoch for (15, 20]
|
|
50
|
+
* * The t=32 block will start the epoch for (20, 25]
|
|
51
|
+
* * The t=33 block will start the epoch for (25, 30]
|
|
52
|
+
* * The t=34 block will start the epoch for (30, 35]
|
|
53
|
+
* * The **t=36** block will start the epoch for (35, 40]
|
|
54
|
+
*/
|
|
55
|
+
currentEpochStartTime: Date;
|
|
56
|
+
/**
|
|
57
|
+
* epoch_counting_started is a boolean, that indicates whether this
|
|
58
|
+
* epoch timer has began yet.
|
|
59
|
+
*/
|
|
60
|
+
epochCountingStarted: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* current_epoch_start_height is the block height at which the current epoch
|
|
63
|
+
* started. (The block height at which the timer last ticked)
|
|
64
|
+
*/
|
|
65
|
+
currentEpochStartHeight: bigint;
|
|
66
|
+
}
|
|
67
|
+
export interface EpochInfoProtoMsg {
|
|
68
|
+
typeUrl: "/akash.epochs.v1beta1.EpochInfo";
|
|
69
|
+
value: Uint8Array;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* EpochInfo is a struct that describes the data going into
|
|
73
|
+
* a timer defined by the x/epochs module.
|
|
74
|
+
* @name EpochInfoAmino
|
|
75
|
+
* @package akash.epochs.v1beta1
|
|
76
|
+
* @see proto type: akash.epochs.v1beta1.EpochInfo
|
|
77
|
+
*/
|
|
78
|
+
export interface EpochInfoAmino {
|
|
79
|
+
/**
|
|
80
|
+
* id is a unique reference to this particular timer.
|
|
81
|
+
*/
|
|
82
|
+
id?: string;
|
|
83
|
+
/**
|
|
84
|
+
* start_time is the time at which the timer first ever ticks.
|
|
85
|
+
* If start_time is in the future, the epoch will not begin until the start
|
|
86
|
+
* time.
|
|
87
|
+
*/
|
|
88
|
+
start_time?: string;
|
|
89
|
+
/**
|
|
90
|
+
* duration is the time in between epoch ticks.
|
|
91
|
+
* In order for intended behavior to be met, duration should
|
|
92
|
+
* be greater than the chains expected block time.
|
|
93
|
+
* Duration must be non-zero.
|
|
94
|
+
*/
|
|
95
|
+
duration?: DurationAmino;
|
|
96
|
+
/**
|
|
97
|
+
* current_epoch is the current epoch number, or in other words,
|
|
98
|
+
* how many times has the timer 'ticked'.
|
|
99
|
+
* The first tick (current_epoch=1) is defined as
|
|
100
|
+
* the first block whose blocktime is greater than the EpochInfo start_time.
|
|
101
|
+
*/
|
|
102
|
+
current_epoch?: string;
|
|
103
|
+
/**
|
|
104
|
+
* current_epoch_start_time describes the start time of the current timer
|
|
105
|
+
* interval. The interval is (current_epoch_start_time,
|
|
106
|
+
* current_epoch_start_time + duration] When the timer ticks, this is set to
|
|
107
|
+
* current_epoch_start_time = last_epoch_start_time + duration only one timer
|
|
108
|
+
* tick for a given identifier can occur per block.
|
|
109
|
+
*
|
|
110
|
+
* NOTE! The current_epoch_start_time may diverge significantly from the
|
|
111
|
+
* wall-clock time the epoch began at. Wall-clock time of epoch start may be
|
|
112
|
+
* >> current_epoch_start_time. Suppose current_epoch_start_time = 10,
|
|
113
|
+
* duration = 5. Suppose the chain goes offline at t=14, and comes back online
|
|
114
|
+
* at t=30, and produces blocks at every successive time. (t=31, 32, etc.)
|
|
115
|
+
* * The t=30 block will start the epoch for (10, 15]
|
|
116
|
+
* * The t=31 block will start the epoch for (15, 20]
|
|
117
|
+
* * The t=32 block will start the epoch for (20, 25]
|
|
118
|
+
* * The t=33 block will start the epoch for (25, 30]
|
|
119
|
+
* * The t=34 block will start the epoch for (30, 35]
|
|
120
|
+
* * The **t=36** block will start the epoch for (35, 40]
|
|
121
|
+
*/
|
|
122
|
+
current_epoch_start_time?: string;
|
|
123
|
+
/**
|
|
124
|
+
* epoch_counting_started is a boolean, that indicates whether this
|
|
125
|
+
* epoch timer has began yet.
|
|
126
|
+
*/
|
|
127
|
+
epoch_counting_started?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* current_epoch_start_height is the block height at which the current epoch
|
|
130
|
+
* started. (The block height at which the timer last ticked)
|
|
131
|
+
*/
|
|
132
|
+
current_epoch_start_height?: string;
|
|
133
|
+
}
|
|
134
|
+
export interface EpochInfoAminoMsg {
|
|
135
|
+
type: "/akash.epochs.v1beta1.EpochInfo";
|
|
136
|
+
value: EpochInfoAmino;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* GenesisState defines the epochs module's genesis state.
|
|
140
|
+
* @name GenesisState
|
|
141
|
+
* @package akash.epochs.v1beta1
|
|
142
|
+
* @see proto type: akash.epochs.v1beta1.GenesisState
|
|
143
|
+
*/
|
|
144
|
+
export interface GenesisState {
|
|
145
|
+
epochs: EpochInfo[];
|
|
146
|
+
}
|
|
147
|
+
export interface GenesisStateProtoMsg {
|
|
148
|
+
typeUrl: "/akash.epochs.v1beta1.GenesisState";
|
|
149
|
+
value: Uint8Array;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* GenesisState defines the epochs module's genesis state.
|
|
153
|
+
* @name GenesisStateAmino
|
|
154
|
+
* @package akash.epochs.v1beta1
|
|
155
|
+
* @see proto type: akash.epochs.v1beta1.GenesisState
|
|
156
|
+
*/
|
|
157
|
+
export interface GenesisStateAmino {
|
|
158
|
+
epochs?: EpochInfoAmino[];
|
|
159
|
+
}
|
|
160
|
+
export interface GenesisStateAminoMsg {
|
|
161
|
+
type: "/akash.epochs.v1beta1.GenesisState";
|
|
162
|
+
value: GenesisStateAmino;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* EpochInfo is a struct that describes the data going into
|
|
166
|
+
* a timer defined by the x/epochs module.
|
|
167
|
+
* @name EpochInfo
|
|
168
|
+
* @package akash.epochs.v1beta1
|
|
169
|
+
* @see proto type: akash.epochs.v1beta1.EpochInfo
|
|
170
|
+
*/
|
|
171
|
+
export declare const EpochInfo: {
|
|
172
|
+
typeUrl: string;
|
|
173
|
+
encode(message: EpochInfo, writer?: BinaryWriter): BinaryWriter;
|
|
174
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EpochInfo;
|
|
175
|
+
fromPartial(object: DeepPartial<EpochInfo>): EpochInfo;
|
|
176
|
+
fromAmino(object: EpochInfoAmino): EpochInfo;
|
|
177
|
+
toAmino(message: EpochInfo): EpochInfoAmino;
|
|
178
|
+
fromAminoMsg(object: EpochInfoAminoMsg): EpochInfo;
|
|
179
|
+
fromProtoMsg(message: EpochInfoProtoMsg): EpochInfo;
|
|
180
|
+
toProto(message: EpochInfo): Uint8Array;
|
|
181
|
+
toProtoMsg(message: EpochInfo): EpochInfoProtoMsg;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* GenesisState defines the epochs module's genesis state.
|
|
185
|
+
* @name GenesisState
|
|
186
|
+
* @package akash.epochs.v1beta1
|
|
187
|
+
* @see proto type: akash.epochs.v1beta1.GenesisState
|
|
188
|
+
*/
|
|
189
|
+
export declare const GenesisState: {
|
|
190
|
+
typeUrl: string;
|
|
191
|
+
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
192
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
193
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
194
|
+
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
195
|
+
toAmino(message: GenesisState): GenesisStateAmino;
|
|
196
|
+
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
197
|
+
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
|
|
198
|
+
toProto(message: GenesisState): Uint8Array;
|
|
199
|
+
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
200
|
+
};
|