@sparkdreamnft/sparkdreamjs 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/akash/audit/v1/genesis.d.ts +2 -2
- package/akash/audit/v1/query.d.ts +6 -6
- package/akash/base/attributes/v1/attribute.d.ts +2 -2
- package/akash/base/deposit/v1/deposit.d.ts +74 -0
- package/akash/base/deposit/v1/deposit.js +144 -0
- package/akash/base/offchain/sign/v1/sign.d.ts +60 -0
- package/akash/base/offchain/sign/v1/sign.js +87 -0
- package/akash/base/resources/v1beta4/resources.d.ts +1 -1
- package/akash/bundle.d.ts +5409 -3608
- package/akash/bundle.js +475 -306
- package/akash/cert/v1/query.d.ts +2 -2
- package/akash/client.d.ts +84 -84
- package/akash/client.js +20 -17
- package/akash/deployment/v1/deployment.d.ts +64 -0
- package/akash/deployment/v1/deployment.js +85 -2
- package/akash/deployment/v1beta4/deploymentmsg.d.ts +10 -18
- package/akash/deployment/v1beta4/deploymentmsg.js +15 -15
- package/akash/deployment/v1beta4/query.d.ts +3 -3
- package/akash/deployment/v1beta4/query.js +1 -1
- package/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.d.ts +1 -1
- package/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/akash/deployment/v1beta4/service.amino.d.ts +0 -6
- package/akash/deployment/v1beta4/service.amino.js +0 -6
- package/akash/deployment/v1beta4/service.registry.d.ts +0 -13
- package/akash/deployment/v1beta4/service.registry.js +1 -20
- package/akash/deployment/v1beta4/service.rpc.msg.d.ts +2 -6
- package/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/akash/deployment/v1beta5/deploymentmsg.d.ts +315 -0
- package/akash/deployment/v1beta5/deploymentmsg.js +438 -0
- package/akash/deployment/v1beta5/filters.d.ts +164 -0
- package/akash/deployment/v1beta5/filters.js +203 -0
- package/akash/deployment/v1beta5/genesis.d.ts +121 -0
- package/akash/deployment/v1beta5/genesis.js +176 -0
- package/akash/deployment/v1beta5/group.d.ts +95 -0
- package/akash/deployment/v1beta5/group.js +170 -0
- package/akash/deployment/v1beta5/groupmsg.d.ts +279 -0
- package/akash/deployment/v1beta5/groupmsg.js +381 -0
- package/akash/deployment/v1beta5/groupspec.d.ts +77 -0
- package/akash/deployment/v1beta5/groupspec.js +104 -0
- package/akash/deployment/v1beta5/params.d.ts +53 -0
- package/akash/deployment/v1beta5/params.js +78 -0
- package/akash/deployment/v1beta5/paramsmsg.d.ts +122 -0
- package/akash/deployment/v1beta5/paramsmsg.js +148 -0
- package/akash/deployment/{v1beta3 → v1beta5}/query.d.ts +221 -63
- package/akash/deployment/{v1beta3 → v1beta5}/query.js +189 -62
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.d.ts +2 -1
- package/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.d.ts +9 -5
- package/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +15 -6
- package/akash/deployment/v1beta5/resourceunit.d.ts +70 -0
- package/akash/deployment/v1beta5/resourceunit.js +103 -0
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.d.ts +13 -12
- package/akash/deployment/{v1beta3 → v1beta5}/service.amino.js +18 -17
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.d.ts +14 -13
- package/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +38 -37
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.d.ts +13 -7
- package/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +18 -14
- package/akash/discovery/v1/akash.d.ts +38 -2
- package/akash/discovery/v1/akash.js +52 -1
- package/akash/discovery/v1/client_info.d.ts +124 -0
- package/akash/discovery/v1/client_info.js +181 -1
- package/akash/discovery/v1/service.d.ts +95 -0
- package/akash/discovery/v1/service.js +131 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.d.ts +60 -0
- package/akash/downtimedetector/v1beta1/downtime_duration.js +205 -0
- package/akash/downtimedetector/v1beta1/genesis.d.ts +119 -0
- package/akash/downtimedetector/v1beta1/genesis.js +171 -0
- package/akash/downtimedetector/v1beta1/query.d.ts +120 -0
- package/akash/downtimedetector/v1beta1/query.js +157 -0
- package/akash/downtimedetector/v1beta1/query.lcd.d.ts +9 -0
- package/akash/downtimedetector/v1beta1/query.lcd.js +25 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.d.ts +19 -0
- package/akash/downtimedetector/v1beta1/query.rpc.Query.js +30 -0
- package/akash/epochs/v1beta1/events.d.ts +92 -0
- package/akash/epochs/v1beta1/events.js +155 -0
- package/akash/epochs/v1beta1/genesis.d.ts +200 -0
- package/akash/epochs/v1beta1/genesis.js +222 -0
- package/akash/epochs/v1beta1/query.d.ts +189 -0
- package/akash/epochs/v1beta1/query.js +276 -0
- package/akash/epochs/v1beta1/query.lcd.d.ts +10 -0
- package/akash/epochs/v1beta1/query.lcd.js +26 -0
- package/akash/epochs/v1beta1/query.rpc.Query.d.ts +20 -0
- package/akash/epochs/v1beta1/query.rpc.Query.js +38 -0
- package/akash/escrow/id/v1/id.d.ts +107 -0
- package/akash/escrow/id/v1/id.js +211 -0
- package/akash/escrow/types/v1/account.d.ts +146 -0
- package/akash/escrow/types/v1/account.js +227 -0
- package/akash/escrow/types/v1/balance.d.ts +54 -0
- package/akash/escrow/types/v1/balance.js +89 -0
- package/akash/escrow/types/v1/deposit.d.ts +90 -0
- package/akash/escrow/types/v1/deposit.js +110 -0
- package/akash/escrow/types/v1/payment.d.ts +150 -0
- package/akash/escrow/types/v1/payment.js +216 -0
- package/akash/escrow/types/v1/state.d.ts +15 -0
- package/akash/escrow/types/v1/state.js +55 -0
- package/akash/escrow/v1/authz.d.ts +114 -0
- package/akash/escrow/v1/authz.js +174 -0
- package/akash/escrow/v1/genesis.d.ts +4 -4
- package/akash/escrow/v1/genesis.js +7 -7
- package/akash/escrow/v1/msg.d.ts +128 -0
- package/akash/escrow/v1/msg.js +158 -0
- package/akash/escrow/v1/query.d.ts +21 -83
- package/akash/escrow/v1/query.js +23 -83
- package/akash/escrow/v1/query.lcd.js +6 -21
- package/akash/escrow/v1/service.amino.d.ts +8 -0
- package/akash/escrow/v1/service.amino.js +12 -0
- package/akash/escrow/v1/service.registry.d.ts +25 -0
- package/akash/escrow/v1/service.registry.js +37 -0
- package/akash/escrow/v1/service.rpc.msg.d.ts +13 -0
- package/akash/escrow/v1/service.rpc.msg.js +22 -0
- package/akash/lcd.d.ts +15 -5
- package/akash/lcd.js +26 -12
- package/akash/market/v1/bid.d.ts +8 -0
- package/akash/market/v1/bid.js +13 -1
- package/akash/market/v1/event.d.ts +69 -0
- package/akash/market/v1/event.js +107 -2
- package/akash/market/v1/filters.d.ts +8 -0
- package/akash/market/v1/filters.js +13 -1
- package/akash/market/v1/lease.d.ts +24 -0
- package/akash/market/v1/lease.js +46 -2
- package/akash/market/v1/reclamation.d.ts +82 -0
- package/akash/market/v1/reclamation.js +111 -0
- package/akash/market/v1/types.d.ts +28 -0
- package/akash/market/v1/types.js +83 -0
- package/akash/market/v1beta5/bid.d.ts +9 -0
- package/akash/market/v1beta5/bid.js +14 -1
- package/akash/market/v1beta5/bidmsg.d.ts +23 -29
- package/akash/market/v1beta5/bidmsg.js +45 -32
- package/akash/market/v1beta5/filters.d.ts +8 -0
- package/akash/market/v1beta5/filters.js +13 -1
- package/akash/market/v1beta5/leasemsg.d.ts +109 -6
- package/akash/market/v1beta5/leasemsg.js +166 -17
- package/akash/market/v1beta5/order.d.ts +11 -0
- package/akash/market/v1beta5/order.js +14 -1
- package/akash/market/v1beta5/params.d.ts +27 -0
- package/akash/market/v1beta5/params.js +41 -1
- package/akash/market/v1beta5/query.d.ts +10 -10
- package/akash/market/v1beta5/query.js +8 -8
- package/akash/market/v1beta5/query.lcd.js +1 -1
- package/akash/market/v1beta5/query.rpc.Query.d.ts +1 -1
- package/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/akash/market/v1beta5/resourcesoffer.d.ts +291 -0
- package/akash/market/v1beta5/resourcesoffer.js +317 -2
- package/akash/market/v1beta5/service.amino.d.ts +6 -1
- package/akash/market/v1beta5/service.amino.js +5 -0
- package/akash/market/v1beta5/service.registry.d.ts +13 -1
- package/akash/market/v1beta5/service.registry.js +19 -1
- package/akash/market/v1beta5/service.rpc.msg.d.ts +4 -1
- package/akash/market/v1beta5/service.rpc.msg.js +6 -0
- package/akash/market/v2beta1/bid.d.ts +220 -0
- package/akash/market/v2beta1/bid.js +318 -0
- package/akash/market/v2beta1/bidmsg.d.ts +211 -0
- package/akash/market/v2beta1/bidmsg.js +313 -0
- package/akash/market/v2beta1/event.d.ts +343 -0
- package/akash/market/v2beta1/event.js +471 -0
- package/akash/market/v2beta1/filters.d.ts +338 -0
- package/akash/market/v2beta1/filters.js +404 -0
- package/akash/market/v2beta1/genesis.d.ts +80 -0
- package/akash/market/v2beta1/genesis.js +123 -0
- package/akash/market/v2beta1/lease.d.ts +224 -0
- package/akash/market/v2beta1/lease.js +321 -0
- package/akash/market/v2beta1/leasemsg.d.ts +283 -0
- package/akash/market/v2beta1/leasemsg.js +394 -0
- package/akash/market/v2beta1/order.d.ts +162 -0
- package/akash/market/v2beta1/order.js +267 -0
- package/akash/market/v2beta1/params.d.ts +61 -0
- package/akash/market/v2beta1/params.js +87 -0
- package/akash/market/v2beta1/paramsmsg.d.ts +122 -0
- package/akash/market/v2beta1/paramsmsg.js +148 -0
- package/akash/market/{v1beta4 → v2beta1}/query.d.ts +344 -129
- package/akash/market/{v1beta4 → v2beta1}/query.js +218 -90
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.d.ts +2 -1
- package/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.d.ts +12 -8
- package/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +21 -12
- package/akash/market/v2beta1/resourcesoffer.d.ts +64 -0
- package/akash/market/v2beta1/resourcesoffer.js +88 -0
- package/akash/market/v2beta1/service.amino.d.ts +35 -0
- package/akash/market/v2beta1/service.amino.js +39 -0
- package/akash/market/v2beta1/service.js +2 -0
- package/akash/market/{v1beta4 → v2beta1}/service.registry.d.ts +15 -2
- package/akash/market/v2beta1/service.registry.js +129 -0
- package/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.d.ts +12 -3
- package/akash/market/v2beta1/service.rpc.msg.js +57 -0
- package/akash/market/v2beta1/types.d.ts +28 -0
- package/akash/market/v2beta1/types.js +83 -0
- package/akash/oracle/v1/events.d.ts +303 -0
- package/akash/oracle/v1/events.js +435 -0
- package/akash/oracle/v1/genesis.d.ts +70 -0
- package/akash/oracle/v1/genesis.js +106 -0
- package/akash/oracle/v1/msgs.d.ts +239 -0
- package/akash/oracle/v1/msgs.js +298 -0
- package/akash/oracle/v1/params.d.ts +95 -0
- package/akash/oracle/v1/params.js +141 -0
- package/akash/oracle/v1/prices.d.ts +706 -0
- package/akash/oracle/v1/prices.js +1006 -0
- package/akash/oracle/v1/query.d.ts +204 -0
- package/akash/oracle/v1/query.js +282 -0
- package/akash/oracle/v1/query.lcd.d.ts +12 -0
- package/akash/oracle/v1/query.lcd.js +35 -0
- package/akash/oracle/v1/query.rpc.Query.d.ts +25 -0
- package/akash/oracle/v1/query.rpc.Query.js +49 -0
- package/akash/oracle/v1/service.amino.d.ts +13 -0
- package/akash/oracle/v1/service.amino.js +17 -0
- package/akash/oracle/v1/service.js +2 -0
- package/akash/{cert/v1beta3/cert.registry.d.ts → oracle/v1/service.registry.d.ts} +11 -11
- package/akash/oracle/v1/service.registry.js +55 -0
- package/akash/oracle/v1/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v1/service.rpc.msg.js +31 -0
- package/akash/oracle/v2/events.d.ts +309 -0
- package/akash/oracle/v2/events.js +438 -0
- package/akash/oracle/v2/genesis.d.ts +202 -0
- package/akash/oracle/v2/genesis.js +295 -0
- package/akash/oracle/v2/msgs.d.ts +247 -0
- package/akash/oracle/v2/msgs.js +313 -0
- package/akash/oracle/v2/params.d.ts +130 -0
- package/akash/oracle/v2/params.js +190 -0
- package/akash/oracle/v2/prices.d.ts +581 -0
- package/akash/oracle/v2/prices.js +828 -0
- package/akash/oracle/v2/query.d.ts +395 -0
- package/akash/oracle/v2/query.js +555 -0
- package/akash/oracle/v2/query.lcd.d.ts +11 -0
- package/akash/oracle/v2/query.lcd.js +42 -0
- package/akash/oracle/v2/query.rpc.Query.d.ts +24 -0
- package/akash/oracle/v2/query.rpc.Query.js +47 -0
- package/akash/oracle/v2/service.amino.d.ts +13 -0
- package/akash/oracle/v2/service.amino.js +17 -0
- package/akash/oracle/v2/service.d.ts +1 -0
- package/akash/oracle/v2/service.js +2 -0
- package/akash/{audit/v1beta3/audit.registry.d.ts → oracle/v2/service.registry.d.ts} +11 -11
- package/akash/oracle/v2/service.registry.js +55 -0
- package/akash/oracle/v2/service.rpc.msg.d.ts +21 -0
- package/akash/oracle/v2/service.rpc.msg.js +31 -0
- package/akash/provider/v1beta4/query.d.ts +2 -2
- package/akash/rpc.query.d.ts +43 -26
- package/akash/rpc.query.js +19 -9
- package/akash/rpc.tx.d.ts +12 -5
- package/akash/rpc.tx.js +16 -9
- package/akash/take/v1/query.lcd.js +1 -1
- package/akash/take/v1/query.rpc.Query.d.ts +1 -1
- package/akash/take/v1/query.rpc.Query.js +1 -1
- package/akash/take/v1/service.rpc.msg.d.ts +1 -1
- package/akash/wasm/v1/event.d.ts +53 -0
- package/akash/wasm/v1/event.js +99 -0
- package/akash/wasm/v1/genesis.d.ts +53 -0
- package/akash/wasm/v1/genesis.js +75 -0
- package/akash/wasm/v1/params.d.ts +46 -0
- package/akash/wasm/v1/params.js +77 -0
- package/akash/wasm/v1/paramsmsg.d.ts +122 -0
- package/akash/wasm/v1/paramsmsg.js +148 -0
- package/akash/wasm/v1/query.d.ts +95 -0
- package/akash/wasm/v1/query.js +131 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.lcd.d.ts +2 -2
- package/akash/wasm/v1/query.lcd.js +15 -0
- package/akash/wasm/v1/query.rpc.Query.d.ts +16 -0
- package/akash/{cert/v1beta3 → wasm/v1}/query.rpc.Query.js +7 -7
- package/akash/wasm/v1/service.amino.d.ts +8 -0
- package/akash/wasm/v1/service.amino.js +12 -0
- package/akash/wasm/v1/service.d.ts +1 -0
- package/akash/wasm/v1/service.js +2 -0
- package/akash/wasm/v1/service.registry.d.ts +25 -0
- package/akash/wasm/v1/service.registry.js +37 -0
- package/akash/wasm/v1/service.rpc.msg.d.ts +18 -0
- package/akash/wasm/v1/service.rpc.msg.js +25 -0
- package/amino/bundle.js +2 -2
- package/cosmos/authz/v1beta1/authz.d.ts +6 -5
- package/cosmos/authz/v1beta1/authz.js +25 -12
- package/cosmos/bundle.d.ts +7545 -7545
- package/cosmos/bundle.js +416 -416
- package/cosmos_proto/bundle.d.ts +23 -23
- package/cosmos_proto/bundle.js +2 -2
- package/esm/akash/base/deposit/v1/deposit.js +139 -0
- package/esm/akash/base/offchain/sign/v1/sign.js +84 -0
- package/esm/akash/bundle.js +475 -306
- package/esm/akash/client.js +20 -17
- package/esm/akash/deployment/v1/deployment.js +84 -1
- package/esm/akash/deployment/v1beta4/deploymentmsg.js +16 -16
- package/esm/akash/deployment/v1beta4/query.js +1 -1
- package/esm/akash/deployment/v1beta4/query.lcd.js +1 -1
- package/esm/akash/deployment/v1beta4/query.rpc.Query.js +1 -1
- package/esm/akash/deployment/v1beta4/service.amino.js +0 -6
- package/esm/akash/deployment/v1beta4/service.registry.js +1 -20
- package/esm/akash/deployment/v1beta4/service.rpc.msg.js +2 -9
- package/esm/akash/deployment/v1beta5/deploymentmsg.js +435 -0
- package/esm/akash/deployment/v1beta5/filters.js +200 -0
- package/esm/akash/deployment/v1beta5/genesis.js +173 -0
- package/esm/akash/deployment/v1beta5/group.js +165 -0
- package/esm/akash/deployment/v1beta5/groupmsg.js +378 -0
- package/esm/akash/deployment/v1beta5/groupspec.js +101 -0
- package/esm/akash/deployment/v1beta5/params.js +75 -0
- package/esm/akash/deployment/v1beta5/paramsmsg.js +145 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.js +158 -31
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.lcd.js +11 -6
- package/esm/akash/deployment/{v1beta3 → v1beta5}/query.rpc.Query.js +16 -7
- package/esm/akash/deployment/v1beta5/resourceunit.js +100 -0
- package/esm/akash/deployment/v1beta5/service.amino.js +41 -0
- package/esm/akash/deployment/v1beta5/service.js +1 -0
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.registry.js +39 -38
- package/esm/akash/deployment/{v1beta3 → v1beta5}/service.rpc.msg.js +19 -15
- package/esm/akash/discovery/v1/akash.js +53 -2
- package/esm/akash/discovery/v1/client_info.js +180 -0
- package/esm/akash/discovery/v1/service.js +128 -0
- package/esm/akash/downtimedetector/v1beta1/downtime_duration.js +200 -0
- package/esm/akash/downtimedetector/v1beta1/genesis.js +168 -0
- package/esm/akash/downtimedetector/v1beta1/query.js +154 -0
- package/esm/akash/downtimedetector/v1beta1/query.lcd.js +21 -0
- package/esm/akash/downtimedetector/v1beta1/query.rpc.Query.js +25 -0
- package/esm/akash/epochs/v1beta1/events.js +152 -0
- package/esm/akash/epochs/v1beta1/genesis.js +219 -0
- package/esm/akash/epochs/v1beta1/query.js +273 -0
- package/esm/akash/epochs/v1beta1/query.lcd.js +22 -0
- package/esm/akash/epochs/v1beta1/query.rpc.Query.js +33 -0
- package/esm/akash/escrow/id/v1/id.js +206 -0
- package/esm/akash/escrow/types/v1/account.js +224 -0
- package/esm/akash/escrow/types/v1/balance.js +86 -0
- package/esm/akash/escrow/types/v1/deposit.js +107 -0
- package/esm/akash/escrow/types/v1/payment.js +213 -0
- package/esm/akash/escrow/types/v1/state.js +50 -0
- package/esm/akash/escrow/v1/authz.js +169 -0
- package/esm/akash/escrow/v1/genesis.js +7 -7
- package/esm/akash/escrow/v1/msg.js +155 -0
- package/esm/akash/escrow/v1/query.js +23 -83
- package/esm/akash/escrow/v1/query.lcd.js +6 -21
- package/esm/akash/escrow/v1/service.amino.js +9 -0
- package/esm/akash/escrow/v1/service.js +1 -0
- package/esm/akash/escrow/v1/service.registry.js +33 -0
- package/esm/akash/escrow/v1/service.rpc.msg.js +17 -0
- package/esm/akash/lcd.js +26 -12
- package/esm/akash/market/v1/bid.js +13 -1
- package/esm/akash/market/v1/event.js +106 -1
- package/esm/akash/market/v1/filters.js +13 -1
- package/esm/akash/market/v1/lease.js +46 -2
- package/esm/akash/market/v1/reclamation.js +108 -0
- package/esm/akash/market/v1/types.js +78 -0
- package/esm/akash/market/v1beta5/bid.js +14 -1
- package/esm/akash/market/v1beta5/bidmsg.js +46 -33
- package/esm/akash/market/v1beta5/filters.js +13 -1
- package/esm/akash/market/v1beta5/leasemsg.js +165 -16
- package/esm/akash/market/v1beta5/order.js +14 -1
- package/esm/akash/market/v1beta5/params.js +41 -1
- package/esm/akash/market/v1beta5/query.js +8 -8
- package/esm/akash/market/v1beta5/query.lcd.js +1 -1
- package/esm/akash/market/v1beta5/query.rpc.Query.js +1 -1
- package/esm/akash/market/v1beta5/resourcesoffer.js +316 -1
- package/esm/akash/market/v1beta5/service.amino.js +6 -1
- package/esm/akash/market/v1beta5/service.registry.js +20 -2
- package/esm/akash/market/v1beta5/service.rpc.msg.js +7 -1
- package/esm/akash/market/v2beta1/bid.js +313 -0
- package/esm/akash/market/v2beta1/bidmsg.js +310 -0
- package/esm/akash/market/v2beta1/event.js +468 -0
- package/esm/akash/market/v2beta1/filters.js +401 -0
- package/esm/akash/market/v2beta1/genesis.js +120 -0
- package/esm/akash/market/v2beta1/lease.js +316 -0
- package/esm/akash/market/v2beta1/leasemsg.js +391 -0
- package/esm/akash/market/v2beta1/order.js +262 -0
- package/esm/akash/market/v2beta1/params.js +84 -0
- package/esm/akash/market/v2beta1/paramsmsg.js +145 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/query.js +195 -67
- package/esm/akash/market/{v1beta4 → v2beta1}/query.lcd.js +17 -12
- package/esm/akash/market/{v1beta4 → v2beta1}/query.rpc.Query.js +22 -13
- package/esm/akash/market/v2beta1/resourcesoffer.js +85 -0
- package/esm/akash/market/v2beta1/service.amino.js +36 -0
- package/esm/akash/market/v2beta1/service.js +1 -0
- package/esm/akash/market/{v1beta4 → v2beta1}/service.registry.js +37 -19
- package/esm/akash/market/{v1beta4 → v2beta1}/service.rpc.msg.js +17 -8
- package/esm/akash/market/v2beta1/types.js +78 -0
- package/esm/akash/oracle/v1/events.js +432 -0
- package/esm/akash/oracle/v1/genesis.js +103 -0
- package/esm/akash/oracle/v1/msgs.js +295 -0
- package/esm/akash/oracle/v1/params.js +138 -0
- package/esm/akash/oracle/v1/prices.js +1003 -0
- package/esm/akash/oracle/v1/query.js +279 -0
- package/esm/akash/oracle/v1/query.lcd.js +31 -0
- package/esm/akash/oracle/v1/query.rpc.Query.js +44 -0
- package/esm/akash/oracle/v1/service.amino.js +14 -0
- package/esm/akash/oracle/v1/service.js +1 -0
- package/esm/akash/oracle/v1/service.registry.js +51 -0
- package/esm/akash/oracle/v1/service.rpc.msg.js +26 -0
- package/esm/akash/oracle/v2/events.js +435 -0
- package/esm/akash/oracle/v2/genesis.js +292 -0
- package/esm/akash/oracle/v2/msgs.js +310 -0
- package/esm/akash/oracle/v2/params.js +187 -0
- package/esm/akash/oracle/v2/prices.js +825 -0
- package/esm/akash/oracle/v2/query.js +552 -0
- package/esm/akash/oracle/v2/query.lcd.js +38 -0
- package/esm/akash/oracle/v2/query.rpc.Query.js +42 -0
- package/esm/akash/oracle/v2/service.amino.js +14 -0
- package/esm/akash/oracle/v2/service.js +1 -0
- package/esm/akash/oracle/v2/service.registry.js +51 -0
- package/esm/akash/oracle/v2/service.rpc.msg.js +26 -0
- package/esm/akash/rpc.query.js +19 -9
- package/esm/akash/rpc.tx.js +16 -9
- package/esm/akash/take/v1/query.lcd.js +1 -1
- package/esm/akash/take/v1/query.rpc.Query.js +1 -1
- package/esm/akash/wasm/v1/event.js +96 -0
- package/esm/akash/wasm/v1/genesis.js +72 -0
- package/esm/akash/wasm/v1/params.js +74 -0
- package/esm/akash/wasm/v1/paramsmsg.js +145 -0
- package/esm/akash/wasm/v1/query.js +128 -0
- package/esm/akash/wasm/v1/query.lcd.js +11 -0
- package/esm/akash/wasm/v1/query.rpc.Query.js +24 -0
- package/esm/akash/wasm/v1/service.amino.js +9 -0
- package/esm/akash/wasm/v1/service.js +1 -0
- package/esm/akash/wasm/v1/service.registry.js +33 -0
- package/esm/akash/wasm/v1/service.rpc.msg.js +20 -0
- package/esm/amino/bundle.js +2 -2
- package/esm/cosmos/authz/v1beta1/authz.js +13 -0
- package/esm/cosmos/bundle.js +416 -416
- package/esm/cosmos_proto/bundle.js +2 -2
- package/esm/gogoproto/bundle.js +2 -2
- package/esm/google/bundle.js +8 -8
- package/esm/ibc/bundle.js +234 -234
- package/esm/sparkdream/bundle.js +540 -540
- package/esm/sparkdream/commons/v1/genesis.js +128 -1
- package/esm/sparkdream/rep/v1/initiative.js +13 -1
- package/esm/sparkdream/rep/v1/params.js +37 -1
- package/esm/tendermint/bundle.js +20 -20
- package/gogoproto/bundle.js +2 -2
- package/google/bundle.d.ts +431 -431
- package/google/bundle.js +8 -8
- package/ibc/bundle.d.ts +3843 -3843
- package/ibc/bundle.js +234 -234
- package/package.json +1 -1
- package/sparkdream/bundle.d.ts +17364 -17352
- package/sparkdream/bundle.js +540 -540
- package/sparkdream/commons/v1/genesis.d.ts +114 -0
- package/sparkdream/commons/v1/genesis.js +129 -2
- package/sparkdream/rep/v1/initiative.d.ts +10 -0
- package/sparkdream/rep/v1/initiative.js +13 -1
- package/sparkdream/rep/v1/params.d.ts +36 -0
- package/sparkdream/rep/v1/params.js +37 -1
- package/tendermint/bundle.d.ts +844 -844
- package/tendermint/bundle.js +20 -20
- package/akash/audit/v1beta3/audit.amino.d.ts +0 -13
- package/akash/audit/v1beta3/audit.amino.js +0 -17
- package/akash/audit/v1beta3/audit.registry.js +0 -55
- package/akash/audit/v1beta3/audit.rpc.msg.d.ts +0 -16
- package/akash/audit/v1beta3/audit.rpc.msg.js +0 -28
- package/akash/audit/v1beta3/query.d.ts +0 -278
- package/akash/audit/v1beta3/query.js +0 -484
- package/akash/audit/v1beta3/query.lcd.d.ts +0 -12
- package/akash/audit/v1beta3/query.lcd.js +0 -60
- package/akash/audit/v1beta3/query.rpc.Query.d.ts +0 -44
- package/akash/audit/v1beta3/query.rpc.Query.js +0 -66
- package/akash/cert/v1beta3/cert.amino.d.ts +0 -13
- package/akash/cert/v1beta3/cert.amino.js +0 -17
- package/akash/cert/v1beta3/cert.registry.js +0 -55
- package/akash/cert/v1beta3/cert.rpc.msg.d.ts +0 -16
- package/akash/cert/v1beta3/cert.rpc.msg.js +0 -28
- package/akash/cert/v1beta3/query.d.ts +0 -142
- package/akash/cert/v1beta3/query.js +0 -253
- package/akash/cert/v1beta3/query.lcd.js +0 -26
- package/akash/cert/v1beta3/query.rpc.Query.d.ts +0 -16
- package/akash/deployment/v1/authz.d.ts +0 -58
- package/akash/deployment/v1/authz.js +0 -76
- package/akash/deployment/v1/msg.d.ts +0 -122
- package/akash/deployment/v1/msg.js +0 -158
- package/akash/escrow/v1/account.d.ts +0 -147
- package/akash/escrow/v1/account.js +0 -211
- package/akash/escrow/v1/accountid.d.ts +0 -60
- package/akash/escrow/v1/accountid.js +0 -86
- package/akash/escrow/v1/fractional_payment.d.ts +0 -125
- package/akash/escrow/v1/fractional_payment.js +0 -199
- package/akash/market/v1beta4/service.amino.d.ts +0 -29
- package/akash/market/v1beta4/service.amino.js +0 -33
- package/akash/market/v1beta4/service.registry.js +0 -111
- package/akash/market/v1beta4/service.rpc.msg.js +0 -48
- package/akash/provider/v1beta3/provider.amino.d.ts +0 -18
- package/akash/provider/v1beta3/provider.amino.js +0 -22
- package/akash/provider/v1beta3/provider.registry.d.ts +0 -49
- package/akash/provider/v1beta3/provider.registry.js +0 -73
- package/akash/provider/v1beta3/provider.rpc.msg.d.ts +0 -19
- package/akash/provider/v1beta3/provider.rpc.msg.js +0 -34
- package/akash/provider/v1beta3/query.d.ts +0 -182
- package/akash/provider/v1beta3/query.js +0 -298
- package/akash/provider/v1beta3/query.lcd.d.ts +0 -10
- package/akash/provider/v1beta3/query.lcd.js +0 -30
- package/akash/provider/v1beta3/query.rpc.Query.d.ts +0 -20
- package/akash/provider/v1beta3/query.rpc.Query.js +0 -40
- package/esm/akash/audit/v1beta3/audit.amino.js +0 -14
- package/esm/akash/audit/v1beta3/audit.registry.js +0 -51
- package/esm/akash/audit/v1beta3/audit.rpc.msg.js +0 -23
- package/esm/akash/audit/v1beta3/query.js +0 -481
- package/esm/akash/audit/v1beta3/query.lcd.js +0 -56
- package/esm/akash/audit/v1beta3/query.rpc.Query.js +0 -61
- package/esm/akash/cert/v1beta3/cert.amino.js +0 -14
- package/esm/akash/cert/v1beta3/cert.registry.js +0 -51
- package/esm/akash/cert/v1beta3/cert.rpc.msg.js +0 -23
- package/esm/akash/cert/v1beta3/query.js +0 -250
- package/esm/akash/cert/v1beta3/query.lcd.js +0 -22
- package/esm/akash/cert/v1beta3/query.rpc.Query.js +0 -24
- package/esm/akash/deployment/v1/authz.js +0 -73
- package/esm/akash/deployment/v1/msg.js +0 -155
- package/esm/akash/deployment/v1beta3/service.amino.js +0 -40
- package/esm/akash/escrow/v1/account.js +0 -206
- package/esm/akash/escrow/v1/accountid.js +0 -83
- package/esm/akash/escrow/v1/fractional_payment.js +0 -194
- package/esm/akash/market/v1beta4/service.amino.js +0 -30
- package/esm/akash/provider/v1beta3/provider.amino.js +0 -19
- package/esm/akash/provider/v1beta3/provider.registry.js +0 -69
- package/esm/akash/provider/v1beta3/provider.rpc.msg.js +0 -29
- package/esm/akash/provider/v1beta3/query.js +0 -295
- package/esm/akash/provider/v1beta3/query.lcd.js +0 -26
- package/esm/akash/provider/v1beta3/query.rpc.Query.js +0 -35
- /package/akash/deployment/{v1beta3 → v1beta5}/service.d.ts +0 -0
- /package/akash/deployment/{v1beta3 → v1beta5}/service.js +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.d.ts +0 -0
- /package/akash/{market/v1beta4 → escrow/v1}/service.js +0 -0
- /package/{esm/akash/deployment/v1beta3/service.js → akash/market/v2beta1/service.d.ts} +0 -0
- /package/{esm/akash/market/v1beta4/service.js → akash/oracle/v1/service.d.ts} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Downtime defines the predefined downtime durations that can be tracked
|
|
3
|
+
* by the downtime detector module to monitor chain availability
|
|
4
|
+
*/
|
|
5
|
+
export declare enum Downtime {
|
|
6
|
+
/** DURATION_30S - DURATION_30S represents a 30 second downtime period */
|
|
7
|
+
DURATION_30S = 0,
|
|
8
|
+
/** DURATION_1M - DURATION_1M represents a 1 minute downtime period */
|
|
9
|
+
DURATION_1M = 1,
|
|
10
|
+
/** DURATION_2M - DURATION_2M represents a 2 minute downtime period */
|
|
11
|
+
DURATION_2M = 2,
|
|
12
|
+
/** DURATION_3M - DURATION_3M represents a 3 minute downtime period */
|
|
13
|
+
DURATION_3M = 3,
|
|
14
|
+
/** DURATION_4M - DURATION_4M represents a 4 minute downtime period */
|
|
15
|
+
DURATION_4M = 4,
|
|
16
|
+
/** DURATION_5M - DURATION_5M represents a 5 minute downtime period */
|
|
17
|
+
DURATION_5M = 5,
|
|
18
|
+
/** DURATION_10M - DURATION_10M represents a 10 minute downtime period */
|
|
19
|
+
DURATION_10M = 6,
|
|
20
|
+
/** DURATION_20M - DURATION_20M represents a 20 minute downtime period */
|
|
21
|
+
DURATION_20M = 7,
|
|
22
|
+
/** DURATION_30M - DURATION_30M represents a 30 minute downtime period */
|
|
23
|
+
DURATION_30M = 8,
|
|
24
|
+
/** DURATION_40M - DURATION_40M represents a 40 minute downtime period */
|
|
25
|
+
DURATION_40M = 9,
|
|
26
|
+
/** DURATION_50M - DURATION_50M represents a 50 minute downtime period */
|
|
27
|
+
DURATION_50M = 10,
|
|
28
|
+
/** DURATION_1H - DURATION_1H represents a 1 hour downtime period */
|
|
29
|
+
DURATION_1H = 11,
|
|
30
|
+
/** DURATION_1_5H - DURATION_1_5H represents a 1.5 hour downtime period */
|
|
31
|
+
DURATION_1_5H = 12,
|
|
32
|
+
/** DURATION_2H - DURATION_2H represents a 2 hour downtime period */
|
|
33
|
+
DURATION_2H = 13,
|
|
34
|
+
/** DURATION_2_5H - DURATION_2_5H represents a 2.5 hour downtime period */
|
|
35
|
+
DURATION_2_5H = 14,
|
|
36
|
+
/** DURATION_3H - DURATION_3H represents a 3 hour downtime period */
|
|
37
|
+
DURATION_3H = 15,
|
|
38
|
+
/** DURATION_4H - DURATION_4H represents a 4 hour downtime period */
|
|
39
|
+
DURATION_4H = 16,
|
|
40
|
+
/** DURATION_5H - DURATION_5H represents a 5 hour downtime period */
|
|
41
|
+
DURATION_5H = 17,
|
|
42
|
+
/** DURATION_6H - DURATION_6H represents a 6 hour downtime period */
|
|
43
|
+
DURATION_6H = 18,
|
|
44
|
+
/** DURATION_9H - DURATION_9H represents a 9 hour downtime period */
|
|
45
|
+
DURATION_9H = 19,
|
|
46
|
+
/** DURATION_12H - DURATION_12H represents a 12 hour downtime period */
|
|
47
|
+
DURATION_12H = 20,
|
|
48
|
+
/** DURATION_18H - DURATION_18H represents a 18 hour downtime period */
|
|
49
|
+
DURATION_18H = 21,
|
|
50
|
+
/** DURATION_24H - DURATION_24H represents a 24 hour downtime period */
|
|
51
|
+
DURATION_24H = 22,
|
|
52
|
+
/** DURATION_36H - DURATION_36H represents a 36 hour downtime period */
|
|
53
|
+
DURATION_36H = 23,
|
|
54
|
+
/** DURATION_48H - DURATION_48H represents a 48 hour downtime period */
|
|
55
|
+
DURATION_48H = 24,
|
|
56
|
+
UNRECOGNIZED = -1
|
|
57
|
+
}
|
|
58
|
+
export declare const DowntimeAmino: typeof Downtime;
|
|
59
|
+
export declare function downtimeFromJSON(object: any): Downtime;
|
|
60
|
+
export declare function downtimeToJSON(object: Downtime): string;
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DowntimeAmino = exports.Downtime = void 0;
|
|
4
|
+
exports.downtimeFromJSON = downtimeFromJSON;
|
|
5
|
+
exports.downtimeToJSON = downtimeToJSON;
|
|
6
|
+
//@ts-nocheck
|
|
7
|
+
/**
|
|
8
|
+
* Downtime defines the predefined downtime durations that can be tracked
|
|
9
|
+
* by the downtime detector module to monitor chain availability
|
|
10
|
+
*/
|
|
11
|
+
var Downtime;
|
|
12
|
+
(function (Downtime) {
|
|
13
|
+
/** DURATION_30S - DURATION_30S represents a 30 second downtime period */
|
|
14
|
+
Downtime[Downtime["DURATION_30S"] = 0] = "DURATION_30S";
|
|
15
|
+
/** DURATION_1M - DURATION_1M represents a 1 minute downtime period */
|
|
16
|
+
Downtime[Downtime["DURATION_1M"] = 1] = "DURATION_1M";
|
|
17
|
+
/** DURATION_2M - DURATION_2M represents a 2 minute downtime period */
|
|
18
|
+
Downtime[Downtime["DURATION_2M"] = 2] = "DURATION_2M";
|
|
19
|
+
/** DURATION_3M - DURATION_3M represents a 3 minute downtime period */
|
|
20
|
+
Downtime[Downtime["DURATION_3M"] = 3] = "DURATION_3M";
|
|
21
|
+
/** DURATION_4M - DURATION_4M represents a 4 minute downtime period */
|
|
22
|
+
Downtime[Downtime["DURATION_4M"] = 4] = "DURATION_4M";
|
|
23
|
+
/** DURATION_5M - DURATION_5M represents a 5 minute downtime period */
|
|
24
|
+
Downtime[Downtime["DURATION_5M"] = 5] = "DURATION_5M";
|
|
25
|
+
/** DURATION_10M - DURATION_10M represents a 10 minute downtime period */
|
|
26
|
+
Downtime[Downtime["DURATION_10M"] = 6] = "DURATION_10M";
|
|
27
|
+
/** DURATION_20M - DURATION_20M represents a 20 minute downtime period */
|
|
28
|
+
Downtime[Downtime["DURATION_20M"] = 7] = "DURATION_20M";
|
|
29
|
+
/** DURATION_30M - DURATION_30M represents a 30 minute downtime period */
|
|
30
|
+
Downtime[Downtime["DURATION_30M"] = 8] = "DURATION_30M";
|
|
31
|
+
/** DURATION_40M - DURATION_40M represents a 40 minute downtime period */
|
|
32
|
+
Downtime[Downtime["DURATION_40M"] = 9] = "DURATION_40M";
|
|
33
|
+
/** DURATION_50M - DURATION_50M represents a 50 minute downtime period */
|
|
34
|
+
Downtime[Downtime["DURATION_50M"] = 10] = "DURATION_50M";
|
|
35
|
+
/** DURATION_1H - DURATION_1H represents a 1 hour downtime period */
|
|
36
|
+
Downtime[Downtime["DURATION_1H"] = 11] = "DURATION_1H";
|
|
37
|
+
/** DURATION_1_5H - DURATION_1_5H represents a 1.5 hour downtime period */
|
|
38
|
+
Downtime[Downtime["DURATION_1_5H"] = 12] = "DURATION_1_5H";
|
|
39
|
+
/** DURATION_2H - DURATION_2H represents a 2 hour downtime period */
|
|
40
|
+
Downtime[Downtime["DURATION_2H"] = 13] = "DURATION_2H";
|
|
41
|
+
/** DURATION_2_5H - DURATION_2_5H represents a 2.5 hour downtime period */
|
|
42
|
+
Downtime[Downtime["DURATION_2_5H"] = 14] = "DURATION_2_5H";
|
|
43
|
+
/** DURATION_3H - DURATION_3H represents a 3 hour downtime period */
|
|
44
|
+
Downtime[Downtime["DURATION_3H"] = 15] = "DURATION_3H";
|
|
45
|
+
/** DURATION_4H - DURATION_4H represents a 4 hour downtime period */
|
|
46
|
+
Downtime[Downtime["DURATION_4H"] = 16] = "DURATION_4H";
|
|
47
|
+
/** DURATION_5H - DURATION_5H represents a 5 hour downtime period */
|
|
48
|
+
Downtime[Downtime["DURATION_5H"] = 17] = "DURATION_5H";
|
|
49
|
+
/** DURATION_6H - DURATION_6H represents a 6 hour downtime period */
|
|
50
|
+
Downtime[Downtime["DURATION_6H"] = 18] = "DURATION_6H";
|
|
51
|
+
/** DURATION_9H - DURATION_9H represents a 9 hour downtime period */
|
|
52
|
+
Downtime[Downtime["DURATION_9H"] = 19] = "DURATION_9H";
|
|
53
|
+
/** DURATION_12H - DURATION_12H represents a 12 hour downtime period */
|
|
54
|
+
Downtime[Downtime["DURATION_12H"] = 20] = "DURATION_12H";
|
|
55
|
+
/** DURATION_18H - DURATION_18H represents a 18 hour downtime period */
|
|
56
|
+
Downtime[Downtime["DURATION_18H"] = 21] = "DURATION_18H";
|
|
57
|
+
/** DURATION_24H - DURATION_24H represents a 24 hour downtime period */
|
|
58
|
+
Downtime[Downtime["DURATION_24H"] = 22] = "DURATION_24H";
|
|
59
|
+
/** DURATION_36H - DURATION_36H represents a 36 hour downtime period */
|
|
60
|
+
Downtime[Downtime["DURATION_36H"] = 23] = "DURATION_36H";
|
|
61
|
+
/** DURATION_48H - DURATION_48H represents a 48 hour downtime period */
|
|
62
|
+
Downtime[Downtime["DURATION_48H"] = 24] = "DURATION_48H";
|
|
63
|
+
Downtime[Downtime["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
64
|
+
})(Downtime || (exports.Downtime = Downtime = {}));
|
|
65
|
+
exports.DowntimeAmino = Downtime;
|
|
66
|
+
function downtimeFromJSON(object) {
|
|
67
|
+
switch (object) {
|
|
68
|
+
case 0:
|
|
69
|
+
case "DURATION_30S":
|
|
70
|
+
return Downtime.DURATION_30S;
|
|
71
|
+
case 1:
|
|
72
|
+
case "DURATION_1M":
|
|
73
|
+
return Downtime.DURATION_1M;
|
|
74
|
+
case 2:
|
|
75
|
+
case "DURATION_2M":
|
|
76
|
+
return Downtime.DURATION_2M;
|
|
77
|
+
case 3:
|
|
78
|
+
case "DURATION_3M":
|
|
79
|
+
return Downtime.DURATION_3M;
|
|
80
|
+
case 4:
|
|
81
|
+
case "DURATION_4M":
|
|
82
|
+
return Downtime.DURATION_4M;
|
|
83
|
+
case 5:
|
|
84
|
+
case "DURATION_5M":
|
|
85
|
+
return Downtime.DURATION_5M;
|
|
86
|
+
case 6:
|
|
87
|
+
case "DURATION_10M":
|
|
88
|
+
return Downtime.DURATION_10M;
|
|
89
|
+
case 7:
|
|
90
|
+
case "DURATION_20M":
|
|
91
|
+
return Downtime.DURATION_20M;
|
|
92
|
+
case 8:
|
|
93
|
+
case "DURATION_30M":
|
|
94
|
+
return Downtime.DURATION_30M;
|
|
95
|
+
case 9:
|
|
96
|
+
case "DURATION_40M":
|
|
97
|
+
return Downtime.DURATION_40M;
|
|
98
|
+
case 10:
|
|
99
|
+
case "DURATION_50M":
|
|
100
|
+
return Downtime.DURATION_50M;
|
|
101
|
+
case 11:
|
|
102
|
+
case "DURATION_1H":
|
|
103
|
+
return Downtime.DURATION_1H;
|
|
104
|
+
case 12:
|
|
105
|
+
case "DURATION_1_5H":
|
|
106
|
+
return Downtime.DURATION_1_5H;
|
|
107
|
+
case 13:
|
|
108
|
+
case "DURATION_2H":
|
|
109
|
+
return Downtime.DURATION_2H;
|
|
110
|
+
case 14:
|
|
111
|
+
case "DURATION_2_5H":
|
|
112
|
+
return Downtime.DURATION_2_5H;
|
|
113
|
+
case 15:
|
|
114
|
+
case "DURATION_3H":
|
|
115
|
+
return Downtime.DURATION_3H;
|
|
116
|
+
case 16:
|
|
117
|
+
case "DURATION_4H":
|
|
118
|
+
return Downtime.DURATION_4H;
|
|
119
|
+
case 17:
|
|
120
|
+
case "DURATION_5H":
|
|
121
|
+
return Downtime.DURATION_5H;
|
|
122
|
+
case 18:
|
|
123
|
+
case "DURATION_6H":
|
|
124
|
+
return Downtime.DURATION_6H;
|
|
125
|
+
case 19:
|
|
126
|
+
case "DURATION_9H":
|
|
127
|
+
return Downtime.DURATION_9H;
|
|
128
|
+
case 20:
|
|
129
|
+
case "DURATION_12H":
|
|
130
|
+
return Downtime.DURATION_12H;
|
|
131
|
+
case 21:
|
|
132
|
+
case "DURATION_18H":
|
|
133
|
+
return Downtime.DURATION_18H;
|
|
134
|
+
case 22:
|
|
135
|
+
case "DURATION_24H":
|
|
136
|
+
return Downtime.DURATION_24H;
|
|
137
|
+
case 23:
|
|
138
|
+
case "DURATION_36H":
|
|
139
|
+
return Downtime.DURATION_36H;
|
|
140
|
+
case 24:
|
|
141
|
+
case "DURATION_48H":
|
|
142
|
+
return Downtime.DURATION_48H;
|
|
143
|
+
case -1:
|
|
144
|
+
case "UNRECOGNIZED":
|
|
145
|
+
default:
|
|
146
|
+
return Downtime.UNRECOGNIZED;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
function downtimeToJSON(object) {
|
|
150
|
+
switch (object) {
|
|
151
|
+
case Downtime.DURATION_30S:
|
|
152
|
+
return "DURATION_30S";
|
|
153
|
+
case Downtime.DURATION_1M:
|
|
154
|
+
return "DURATION_1M";
|
|
155
|
+
case Downtime.DURATION_2M:
|
|
156
|
+
return "DURATION_2M";
|
|
157
|
+
case Downtime.DURATION_3M:
|
|
158
|
+
return "DURATION_3M";
|
|
159
|
+
case Downtime.DURATION_4M:
|
|
160
|
+
return "DURATION_4M";
|
|
161
|
+
case Downtime.DURATION_5M:
|
|
162
|
+
return "DURATION_5M";
|
|
163
|
+
case Downtime.DURATION_10M:
|
|
164
|
+
return "DURATION_10M";
|
|
165
|
+
case Downtime.DURATION_20M:
|
|
166
|
+
return "DURATION_20M";
|
|
167
|
+
case Downtime.DURATION_30M:
|
|
168
|
+
return "DURATION_30M";
|
|
169
|
+
case Downtime.DURATION_40M:
|
|
170
|
+
return "DURATION_40M";
|
|
171
|
+
case Downtime.DURATION_50M:
|
|
172
|
+
return "DURATION_50M";
|
|
173
|
+
case Downtime.DURATION_1H:
|
|
174
|
+
return "DURATION_1H";
|
|
175
|
+
case Downtime.DURATION_1_5H:
|
|
176
|
+
return "DURATION_1_5H";
|
|
177
|
+
case Downtime.DURATION_2H:
|
|
178
|
+
return "DURATION_2H";
|
|
179
|
+
case Downtime.DURATION_2_5H:
|
|
180
|
+
return "DURATION_2_5H";
|
|
181
|
+
case Downtime.DURATION_3H:
|
|
182
|
+
return "DURATION_3H";
|
|
183
|
+
case Downtime.DURATION_4H:
|
|
184
|
+
return "DURATION_4H";
|
|
185
|
+
case Downtime.DURATION_5H:
|
|
186
|
+
return "DURATION_5H";
|
|
187
|
+
case Downtime.DURATION_6H:
|
|
188
|
+
return "DURATION_6H";
|
|
189
|
+
case Downtime.DURATION_9H:
|
|
190
|
+
return "DURATION_9H";
|
|
191
|
+
case Downtime.DURATION_12H:
|
|
192
|
+
return "DURATION_12H";
|
|
193
|
+
case Downtime.DURATION_18H:
|
|
194
|
+
return "DURATION_18H";
|
|
195
|
+
case Downtime.DURATION_24H:
|
|
196
|
+
return "DURATION_24H";
|
|
197
|
+
case Downtime.DURATION_36H:
|
|
198
|
+
return "DURATION_36H";
|
|
199
|
+
case Downtime.DURATION_48H:
|
|
200
|
+
return "DURATION_48H";
|
|
201
|
+
case Downtime.UNRECOGNIZED:
|
|
202
|
+
default:
|
|
203
|
+
return "UNRECOGNIZED";
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Downtime } from "./downtime_duration";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
|
4
|
+
/**
|
|
5
|
+
* GenesisDowntimeEntry tracks the last occurrence of a specific downtime duration
|
|
6
|
+
* @name GenesisDowntimeEntry
|
|
7
|
+
* @package akash.downtimedetector.v1beta1
|
|
8
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisDowntimeEntry
|
|
9
|
+
*/
|
|
10
|
+
export interface GenesisDowntimeEntry {
|
|
11
|
+
/**
|
|
12
|
+
* duration is the downtime period being tracked
|
|
13
|
+
*/
|
|
14
|
+
duration: Downtime;
|
|
15
|
+
/**
|
|
16
|
+
* last_downtime is the timestamp when this downtime duration was last observed
|
|
17
|
+
*/
|
|
18
|
+
lastDowntime: Date;
|
|
19
|
+
}
|
|
20
|
+
export interface GenesisDowntimeEntryProtoMsg {
|
|
21
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisDowntimeEntry";
|
|
22
|
+
value: Uint8Array;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* GenesisDowntimeEntry tracks the last occurrence of a specific downtime duration
|
|
26
|
+
* @name GenesisDowntimeEntryAmino
|
|
27
|
+
* @package akash.downtimedetector.v1beta1
|
|
28
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisDowntimeEntry
|
|
29
|
+
*/
|
|
30
|
+
export interface GenesisDowntimeEntryAmino {
|
|
31
|
+
/**
|
|
32
|
+
* duration is the downtime period being tracked
|
|
33
|
+
*/
|
|
34
|
+
duration?: Downtime;
|
|
35
|
+
/**
|
|
36
|
+
* last_downtime is the timestamp when this downtime duration was last observed
|
|
37
|
+
*/
|
|
38
|
+
last_downtime?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface GenesisDowntimeEntryAminoMsg {
|
|
41
|
+
type: "/akash.downtimedetector.v1beta1.GenesisDowntimeEntry";
|
|
42
|
+
value: GenesisDowntimeEntryAmino;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* GenesisState defines the downtime detector module's genesis state
|
|
46
|
+
* @name GenesisState
|
|
47
|
+
* @package akash.downtimedetector.v1beta1
|
|
48
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisState
|
|
49
|
+
*/
|
|
50
|
+
export interface GenesisState {
|
|
51
|
+
/**
|
|
52
|
+
* downtimes is the list of tracked downtime entries
|
|
53
|
+
*/
|
|
54
|
+
downtimes: GenesisDowntimeEntry[];
|
|
55
|
+
/**
|
|
56
|
+
* last_block_time is the timestamp of the last processed block
|
|
57
|
+
*/
|
|
58
|
+
lastBlockTime: Date;
|
|
59
|
+
}
|
|
60
|
+
export interface GenesisStateProtoMsg {
|
|
61
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisState";
|
|
62
|
+
value: Uint8Array;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* GenesisState defines the downtime detector module's genesis state
|
|
66
|
+
* @name GenesisStateAmino
|
|
67
|
+
* @package akash.downtimedetector.v1beta1
|
|
68
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisState
|
|
69
|
+
*/
|
|
70
|
+
export interface GenesisStateAmino {
|
|
71
|
+
/**
|
|
72
|
+
* downtimes is the list of tracked downtime entries
|
|
73
|
+
*/
|
|
74
|
+
downtimes?: GenesisDowntimeEntryAmino[];
|
|
75
|
+
/**
|
|
76
|
+
* last_block_time is the timestamp of the last processed block
|
|
77
|
+
*/
|
|
78
|
+
last_block_time?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface GenesisStateAminoMsg {
|
|
81
|
+
type: "/akash.downtimedetector.v1beta1.GenesisState";
|
|
82
|
+
value: GenesisStateAmino;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* GenesisDowntimeEntry tracks the last occurrence of a specific downtime duration
|
|
86
|
+
* @name GenesisDowntimeEntry
|
|
87
|
+
* @package akash.downtimedetector.v1beta1
|
|
88
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisDowntimeEntry
|
|
89
|
+
*/
|
|
90
|
+
export declare const GenesisDowntimeEntry: {
|
|
91
|
+
typeUrl: string;
|
|
92
|
+
encode(message: GenesisDowntimeEntry, writer?: BinaryWriter): BinaryWriter;
|
|
93
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GenesisDowntimeEntry;
|
|
94
|
+
fromPartial(object: DeepPartial<GenesisDowntimeEntry>): GenesisDowntimeEntry;
|
|
95
|
+
fromAmino(object: GenesisDowntimeEntryAmino): GenesisDowntimeEntry;
|
|
96
|
+
toAmino(message: GenesisDowntimeEntry): GenesisDowntimeEntryAmino;
|
|
97
|
+
fromAminoMsg(object: GenesisDowntimeEntryAminoMsg): GenesisDowntimeEntry;
|
|
98
|
+
fromProtoMsg(message: GenesisDowntimeEntryProtoMsg): GenesisDowntimeEntry;
|
|
99
|
+
toProto(message: GenesisDowntimeEntry): Uint8Array;
|
|
100
|
+
toProtoMsg(message: GenesisDowntimeEntry): GenesisDowntimeEntryProtoMsg;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* GenesisState defines the downtime detector module's genesis state
|
|
104
|
+
* @name GenesisState
|
|
105
|
+
* @package akash.downtimedetector.v1beta1
|
|
106
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisState
|
|
107
|
+
*/
|
|
108
|
+
export declare const GenesisState: {
|
|
109
|
+
typeUrl: string;
|
|
110
|
+
encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter;
|
|
111
|
+
decode(input: BinaryReader | Uint8Array, length?: number): GenesisState;
|
|
112
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
|
113
|
+
fromAmino(object: GenesisStateAmino): GenesisState;
|
|
114
|
+
toAmino(message: GenesisState): GenesisStateAmino;
|
|
115
|
+
fromAminoMsg(object: GenesisStateAminoMsg): GenesisState;
|
|
116
|
+
fromProtoMsg(message: GenesisStateProtoMsg): GenesisState;
|
|
117
|
+
toProto(message: GenesisState): Uint8Array;
|
|
118
|
+
toProtoMsg(message: GenesisState): GenesisStateProtoMsg;
|
|
119
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GenesisState = exports.GenesisDowntimeEntry = void 0;
|
|
4
|
+
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
5
|
+
const binary_1 = require("../../../binary");
|
|
6
|
+
const helpers_1 = require("../../../helpers");
|
|
7
|
+
function createBaseGenesisDowntimeEntry() {
|
|
8
|
+
return {
|
|
9
|
+
duration: 0,
|
|
10
|
+
lastDowntime: new Date()
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* GenesisDowntimeEntry tracks the last occurrence of a specific downtime duration
|
|
15
|
+
* @name GenesisDowntimeEntry
|
|
16
|
+
* @package akash.downtimedetector.v1beta1
|
|
17
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisDowntimeEntry
|
|
18
|
+
*/
|
|
19
|
+
exports.GenesisDowntimeEntry = {
|
|
20
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisDowntimeEntry",
|
|
21
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
22
|
+
if (message.duration !== 0) {
|
|
23
|
+
writer.uint32(8).int32(message.duration);
|
|
24
|
+
}
|
|
25
|
+
if (message.lastDowntime !== undefined) {
|
|
26
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.lastDowntime), writer.uint32(18).fork()).ldelim();
|
|
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 = createBaseGenesisDowntimeEntry();
|
|
34
|
+
while (reader.pos < end) {
|
|
35
|
+
const tag = reader.uint32();
|
|
36
|
+
switch (tag >>> 3) {
|
|
37
|
+
case 1:
|
|
38
|
+
message.duration = reader.int32();
|
|
39
|
+
break;
|
|
40
|
+
case 2:
|
|
41
|
+
message.lastDowntime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
42
|
+
break;
|
|
43
|
+
default:
|
|
44
|
+
reader.skipType(tag & 7);
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return message;
|
|
49
|
+
},
|
|
50
|
+
fromPartial(object) {
|
|
51
|
+
const message = createBaseGenesisDowntimeEntry();
|
|
52
|
+
message.duration = object.duration ?? 0;
|
|
53
|
+
message.lastDowntime = object.lastDowntime ?? undefined;
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromAmino(object) {
|
|
57
|
+
const message = createBaseGenesisDowntimeEntry();
|
|
58
|
+
if (object.duration !== undefined && object.duration !== null) {
|
|
59
|
+
message.duration = object.duration;
|
|
60
|
+
}
|
|
61
|
+
if (object.last_downtime !== undefined && object.last_downtime !== null) {
|
|
62
|
+
message.lastDowntime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.last_downtime));
|
|
63
|
+
}
|
|
64
|
+
return message;
|
|
65
|
+
},
|
|
66
|
+
toAmino(message) {
|
|
67
|
+
const obj = {};
|
|
68
|
+
obj.duration = message.duration === 0 ? undefined : message.duration;
|
|
69
|
+
obj.last_downtime = message.lastDowntime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.lastDowntime)) : undefined;
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
fromAminoMsg(object) {
|
|
73
|
+
return exports.GenesisDowntimeEntry.fromAmino(object.value);
|
|
74
|
+
},
|
|
75
|
+
fromProtoMsg(message) {
|
|
76
|
+
return exports.GenesisDowntimeEntry.decode(message.value);
|
|
77
|
+
},
|
|
78
|
+
toProto(message) {
|
|
79
|
+
return exports.GenesisDowntimeEntry.encode(message).finish();
|
|
80
|
+
},
|
|
81
|
+
toProtoMsg(message) {
|
|
82
|
+
return {
|
|
83
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisDowntimeEntry",
|
|
84
|
+
value: exports.GenesisDowntimeEntry.encode(message).finish()
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
function createBaseGenesisState() {
|
|
89
|
+
return {
|
|
90
|
+
downtimes: [],
|
|
91
|
+
lastBlockTime: new Date()
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* GenesisState defines the downtime detector module's genesis state
|
|
96
|
+
* @name GenesisState
|
|
97
|
+
* @package akash.downtimedetector.v1beta1
|
|
98
|
+
* @see proto type: akash.downtimedetector.v1beta1.GenesisState
|
|
99
|
+
*/
|
|
100
|
+
exports.GenesisState = {
|
|
101
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisState",
|
|
102
|
+
encode(message, writer = binary_1.BinaryWriter.create()) {
|
|
103
|
+
for (const v of message.downtimes) {
|
|
104
|
+
exports.GenesisDowntimeEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
105
|
+
}
|
|
106
|
+
if (message.lastBlockTime !== undefined) {
|
|
107
|
+
timestamp_1.Timestamp.encode((0, helpers_1.toTimestamp)(message.lastBlockTime), writer.uint32(18).fork()).ldelim();
|
|
108
|
+
}
|
|
109
|
+
return writer;
|
|
110
|
+
},
|
|
111
|
+
decode(input, length) {
|
|
112
|
+
const reader = input instanceof binary_1.BinaryReader ? input : new binary_1.BinaryReader(input);
|
|
113
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
114
|
+
const message = createBaseGenesisState();
|
|
115
|
+
while (reader.pos < end) {
|
|
116
|
+
const tag = reader.uint32();
|
|
117
|
+
switch (tag >>> 3) {
|
|
118
|
+
case 1:
|
|
119
|
+
message.downtimes.push(exports.GenesisDowntimeEntry.decode(reader, reader.uint32()));
|
|
120
|
+
break;
|
|
121
|
+
case 2:
|
|
122
|
+
message.lastBlockTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
reader.skipType(tag & 7);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
fromPartial(object) {
|
|
132
|
+
const message = createBaseGenesisState();
|
|
133
|
+
message.downtimes = object.downtimes?.map(e => exports.GenesisDowntimeEntry.fromPartial(e)) || [];
|
|
134
|
+
message.lastBlockTime = object.lastBlockTime ?? undefined;
|
|
135
|
+
return message;
|
|
136
|
+
},
|
|
137
|
+
fromAmino(object) {
|
|
138
|
+
const message = createBaseGenesisState();
|
|
139
|
+
message.downtimes = object.downtimes?.map(e => exports.GenesisDowntimeEntry.fromAmino(e)) || [];
|
|
140
|
+
if (object.last_block_time !== undefined && object.last_block_time !== null) {
|
|
141
|
+
message.lastBlockTime = (0, helpers_1.fromTimestamp)(timestamp_1.Timestamp.fromAmino(object.last_block_time));
|
|
142
|
+
}
|
|
143
|
+
return message;
|
|
144
|
+
},
|
|
145
|
+
toAmino(message) {
|
|
146
|
+
const obj = {};
|
|
147
|
+
if (message.downtimes) {
|
|
148
|
+
obj.downtimes = message.downtimes.map(e => e ? exports.GenesisDowntimeEntry.toAmino(e) : undefined);
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
obj.downtimes = message.downtimes;
|
|
152
|
+
}
|
|
153
|
+
obj.last_block_time = message.lastBlockTime ? timestamp_1.Timestamp.toAmino((0, helpers_1.toTimestamp)(message.lastBlockTime)) : undefined;
|
|
154
|
+
return obj;
|
|
155
|
+
},
|
|
156
|
+
fromAminoMsg(object) {
|
|
157
|
+
return exports.GenesisState.fromAmino(object.value);
|
|
158
|
+
},
|
|
159
|
+
fromProtoMsg(message) {
|
|
160
|
+
return exports.GenesisState.decode(message.value);
|
|
161
|
+
},
|
|
162
|
+
toProto(message) {
|
|
163
|
+
return exports.GenesisState.encode(message).finish();
|
|
164
|
+
},
|
|
165
|
+
toProtoMsg(message) {
|
|
166
|
+
return {
|
|
167
|
+
typeUrl: "/akash.downtimedetector.v1beta1.GenesisState",
|
|
168
|
+
value: exports.GenesisState.encode(message).finish()
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Downtime } from "./downtime_duration";
|
|
2
|
+
import { Duration, DurationAmino } from "../../../google/protobuf/duration";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
import { DeepPartial } from "../../../helpers";
|
|
5
|
+
/**
|
|
6
|
+
* RecoveredSinceDowntimeOfLengthRequest is the request type for querying if the chain
|
|
7
|
+
* has been operational for at least the specified recovery duration since experiencing
|
|
8
|
+
* downtime of the specified length
|
|
9
|
+
* @name RecoveredSinceDowntimeOfLengthRequest
|
|
10
|
+
* @package akash.downtimedetector.v1beta1
|
|
11
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest
|
|
12
|
+
*/
|
|
13
|
+
export interface RecoveredSinceDowntimeOfLengthRequest {
|
|
14
|
+
/**
|
|
15
|
+
* downtime is the downtime duration to check against
|
|
16
|
+
*/
|
|
17
|
+
downtime: Downtime;
|
|
18
|
+
/**
|
|
19
|
+
* recovery is the minimum recovery duration required since the downtime
|
|
20
|
+
*/
|
|
21
|
+
recovery: Duration;
|
|
22
|
+
}
|
|
23
|
+
export interface RecoveredSinceDowntimeOfLengthRequestProtoMsg {
|
|
24
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest";
|
|
25
|
+
value: Uint8Array;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* RecoveredSinceDowntimeOfLengthRequest is the request type for querying if the chain
|
|
29
|
+
* has been operational for at least the specified recovery duration since experiencing
|
|
30
|
+
* downtime of the specified length
|
|
31
|
+
* @name RecoveredSinceDowntimeOfLengthRequestAmino
|
|
32
|
+
* @package akash.downtimedetector.v1beta1
|
|
33
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest
|
|
34
|
+
*/
|
|
35
|
+
export interface RecoveredSinceDowntimeOfLengthRequestAmino {
|
|
36
|
+
/**
|
|
37
|
+
* downtime is the downtime duration to check against
|
|
38
|
+
*/
|
|
39
|
+
downtime?: Downtime;
|
|
40
|
+
/**
|
|
41
|
+
* recovery is the minimum recovery duration required since the downtime
|
|
42
|
+
*/
|
|
43
|
+
recovery?: DurationAmino;
|
|
44
|
+
}
|
|
45
|
+
export interface RecoveredSinceDowntimeOfLengthRequestAminoMsg {
|
|
46
|
+
type: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest";
|
|
47
|
+
value: RecoveredSinceDowntimeOfLengthRequestAmino;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* RecoveredSinceDowntimeOfLengthResponse is the response type for the recovery query
|
|
51
|
+
* @name RecoveredSinceDowntimeOfLengthResponse
|
|
52
|
+
* @package akash.downtimedetector.v1beta1
|
|
53
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse
|
|
54
|
+
*/
|
|
55
|
+
export interface RecoveredSinceDowntimeOfLengthResponse {
|
|
56
|
+
/**
|
|
57
|
+
* succesfully_recovered indicates if the chain has been up for at least the recovery
|
|
58
|
+
* duration since the last downtime of the specified length
|
|
59
|
+
*/
|
|
60
|
+
succesfullyRecovered: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface RecoveredSinceDowntimeOfLengthResponseProtoMsg {
|
|
63
|
+
typeUrl: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse";
|
|
64
|
+
value: Uint8Array;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* RecoveredSinceDowntimeOfLengthResponse is the response type for the recovery query
|
|
68
|
+
* @name RecoveredSinceDowntimeOfLengthResponseAmino
|
|
69
|
+
* @package akash.downtimedetector.v1beta1
|
|
70
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse
|
|
71
|
+
*/
|
|
72
|
+
export interface RecoveredSinceDowntimeOfLengthResponseAmino {
|
|
73
|
+
/**
|
|
74
|
+
* succesfully_recovered indicates if the chain has been up for at least the recovery
|
|
75
|
+
* duration since the last downtime of the specified length
|
|
76
|
+
*/
|
|
77
|
+
succesfully_recovered?: boolean;
|
|
78
|
+
}
|
|
79
|
+
export interface RecoveredSinceDowntimeOfLengthResponseAminoMsg {
|
|
80
|
+
type: "/akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse";
|
|
81
|
+
value: RecoveredSinceDowntimeOfLengthResponseAmino;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* RecoveredSinceDowntimeOfLengthRequest is the request type for querying if the chain
|
|
85
|
+
* has been operational for at least the specified recovery duration since experiencing
|
|
86
|
+
* downtime of the specified length
|
|
87
|
+
* @name RecoveredSinceDowntimeOfLengthRequest
|
|
88
|
+
* @package akash.downtimedetector.v1beta1
|
|
89
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthRequest
|
|
90
|
+
*/
|
|
91
|
+
export declare const RecoveredSinceDowntimeOfLengthRequest: {
|
|
92
|
+
typeUrl: string;
|
|
93
|
+
encode(message: RecoveredSinceDowntimeOfLengthRequest, writer?: BinaryWriter): BinaryWriter;
|
|
94
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveredSinceDowntimeOfLengthRequest;
|
|
95
|
+
fromPartial(object: DeepPartial<RecoveredSinceDowntimeOfLengthRequest>): RecoveredSinceDowntimeOfLengthRequest;
|
|
96
|
+
fromAmino(object: RecoveredSinceDowntimeOfLengthRequestAmino): RecoveredSinceDowntimeOfLengthRequest;
|
|
97
|
+
toAmino(message: RecoveredSinceDowntimeOfLengthRequest): RecoveredSinceDowntimeOfLengthRequestAmino;
|
|
98
|
+
fromAminoMsg(object: RecoveredSinceDowntimeOfLengthRequestAminoMsg): RecoveredSinceDowntimeOfLengthRequest;
|
|
99
|
+
fromProtoMsg(message: RecoveredSinceDowntimeOfLengthRequestProtoMsg): RecoveredSinceDowntimeOfLengthRequest;
|
|
100
|
+
toProto(message: RecoveredSinceDowntimeOfLengthRequest): Uint8Array;
|
|
101
|
+
toProtoMsg(message: RecoveredSinceDowntimeOfLengthRequest): RecoveredSinceDowntimeOfLengthRequestProtoMsg;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* RecoveredSinceDowntimeOfLengthResponse is the response type for the recovery query
|
|
105
|
+
* @name RecoveredSinceDowntimeOfLengthResponse
|
|
106
|
+
* @package akash.downtimedetector.v1beta1
|
|
107
|
+
* @see proto type: akash.downtimedetector.v1beta1.RecoveredSinceDowntimeOfLengthResponse
|
|
108
|
+
*/
|
|
109
|
+
export declare const RecoveredSinceDowntimeOfLengthResponse: {
|
|
110
|
+
typeUrl: string;
|
|
111
|
+
encode(message: RecoveredSinceDowntimeOfLengthResponse, writer?: BinaryWriter): BinaryWriter;
|
|
112
|
+
decode(input: BinaryReader | Uint8Array, length?: number): RecoveredSinceDowntimeOfLengthResponse;
|
|
113
|
+
fromPartial(object: DeepPartial<RecoveredSinceDowntimeOfLengthResponse>): RecoveredSinceDowntimeOfLengthResponse;
|
|
114
|
+
fromAmino(object: RecoveredSinceDowntimeOfLengthResponseAmino): RecoveredSinceDowntimeOfLengthResponse;
|
|
115
|
+
toAmino(message: RecoveredSinceDowntimeOfLengthResponse): RecoveredSinceDowntimeOfLengthResponseAmino;
|
|
116
|
+
fromAminoMsg(object: RecoveredSinceDowntimeOfLengthResponseAminoMsg): RecoveredSinceDowntimeOfLengthResponse;
|
|
117
|
+
fromProtoMsg(message: RecoveredSinceDowntimeOfLengthResponseProtoMsg): RecoveredSinceDowntimeOfLengthResponse;
|
|
118
|
+
toProto(message: RecoveredSinceDowntimeOfLengthResponse): Uint8Array;
|
|
119
|
+
toProtoMsg(message: RecoveredSinceDowntimeOfLengthResponse): RecoveredSinceDowntimeOfLengthResponseProtoMsg;
|
|
120
|
+
};
|