carbon-js-sdk 0.7.12 → 0.7.13
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/lib/clients/CarbonQueryClient.d.ts +1 -1
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/codec/Switcheo/carbon/book/event.d.ts +1 -20
- package/lib/codec/Switcheo/carbon/book/event.js +19 -101
- package/lib/codec/Switcheo/carbon/book/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/book/export.js +1 -3
- package/lib/codec/Switcheo/carbon/book/query.d.ts +6 -12
- package/lib/codec/Switcheo/carbon/book/query.js +6 -18
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +0 -8
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/ccm/export.js +1 -3
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/ccm/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/cdp/export.js +1 -3
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/cdp/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +4 -10
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +4 -54
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +0 -98
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +1 -374
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +0 -103
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +1 -425
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/liquidation/export.js +5 -1
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +25 -0
- package/lib/codec/Switcheo/carbon/liquidation/query.js +88 -1
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +3 -6
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +0 -20
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1 -191
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/market/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/market/export.js +2 -6
- package/lib/codec/Switcheo/carbon/market/query.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/market/query.js +1 -226
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +2 -46
- package/lib/codec/Switcheo/carbon/market/tx.js +1 -100
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/marketstats/export.js +5 -1
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +7 -4
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +21 -4
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +26 -0
- package/lib/codec/Switcheo/carbon/marketstats/query.js +88 -1
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/oracle/export.js +1 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/oracle/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/order/export.d.ts +3 -4
- package/lib/codec/Switcheo/carbon/order/export.js +4 -11
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/order/genesis.js +16 -16
- package/lib/codec/Switcheo/carbon/order/order.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/order.js +11 -11
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/order/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.js +1 -3
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/position/export.d.ts +0 -1
- package/lib/codec/Switcheo/carbon/position/export.js +1 -4
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/pricing/export.js +1 -3
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/pricing/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.js +1 -3
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +1 -101
- package/lib/codec/carbon-models.d.ts +1 -2
- package/lib/codec/carbon-models.js +2 -3
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +0 -26
- package/lib/codec/cosmos/app/v1alpha1/config.js +4 -94
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +0 -21
- package/lib/codec/cosmos/auth/v1beta1/auth.js +1 -92
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +2 -3
- package/lib/codec/cosmos/auth/v1beta1/export.js +1 -7
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -54
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -120
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +0 -7
- package/lib/codec/cosmos/bank/v1beta1/authz.js +3 -18
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +0 -9
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +3 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -17
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +5 -125
- package/lib/codec/cosmos/bank/v1beta1/query.js +1 -257
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +1 -102
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -215
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -8
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +1 -2
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +1 -39
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +46 -16
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +1 -46
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +1 -103
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -20
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +16 -16
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.js +1 -8
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +1 -32
- package/lib/codec/cosmos/distribution/v1beta1/query.js +1 -134
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +3 -103
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -212
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +0 -4
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -12
- package/lib/codec/cosmos/evidence/v1beta1/query.js +2 -14
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +0 -2
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +4 -25
- package/lib/codec/cosmos/gov/v1/genesis.js +0 -16
- package/lib/codec/cosmos/gov/v1/gov.d.ts +2 -83
- package/lib/codec/cosmos/gov/v1/gov.js +3 -231
- package/lib/codec/cosmos/gov/v1/query.d.ts +6 -30
- package/lib/codec/cosmos/gov/v1/query.js +0 -16
- package/lib/codec/cosmos/gov/v1/tx.d.ts +2 -74
- package/lib/codec/cosmos/gov/v1/tx.js +3 -131
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +5 -30
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +0 -13
- package/lib/codec/cosmos/group/v1/events.d.ts +1 -17
- package/lib/codec/cosmos/group/v1/events.js +1 -81
- package/lib/codec/cosmos/group/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/group/v1/tx.d.ts +13 -25
- package/lib/codec/cosmos/group/v1/tx.js +34 -60
- package/lib/codec/cosmos/group/v1/types.d.ts +6 -26
- package/lib/codec/cosmos/group/v1/types.js +1 -27
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js +1 -4
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +1 -1
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +0 -10
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +0 -20
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +1 -3
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +0 -46
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +1 -101
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/export.js +2 -8
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +5 -36
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -40
- package/lib/codec/cosmos/staking/v1beta1/staking.js +2 -212
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +1 -45
- package/lib/codec/cosmos/staking/v1beta1/tx.js +1 -100
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +2 -164
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -407
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +4 -6
- package/lib/codec/ethermint/evm/v1/export.d.ts +1 -2
- package/lib/codec/ethermint/evm/v1/export.js +1 -8
- package/lib/codec/ethermint/evm/v1/tx.d.ts +1 -37
- package/lib/codec/ethermint/evm/v1/tx.js +1 -100
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +0 -2
- package/lib/codec/ethermint/feemarket/v1/export.js +1 -7
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +0 -10
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +1 -28
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +1 -2
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +1 -8
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +0 -26
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +1 -113
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +1 -0
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +6 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +1 -2
- package/lib/codec/ibc/applications/transfer/v1/export.js +1 -8
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +0 -6
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +2 -18
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +1 -56
- package/lib/codec/ibc/applications/transfer/v1/query.js +1 -210
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +4 -8
- package/lib/codec/ibc/applications/transfer/v1/tx.js +6 -35
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +0 -2
- package/lib/codec/ibc/applications/transfer/v2/packet.js +1 -14
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +0 -20
- package/lib/codec/ibc/core/channel/v1/channel.js +1 -78
- package/lib/codec/ibc/core/channel/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/channel/v1/export.js +2 -3
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +12 -16
- package/lib/codec/ibc/core/channel/v1/tx.js +25 -62
- package/lib/codec/ibc/core/client/v1/client.d.ts +1 -5
- package/lib/codec/ibc/core/client/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/client/v1/export.js +1 -3
- package/lib/codec/ibc/core/client/v1/query.d.ts +1 -38
- package/lib/codec/ibc/core/client/v1/query.js +1 -137
- package/lib/codec/ibc/core/client/v1/tx.d.ts +6 -19
- package/lib/codec/ibc/core/client/v1/tx.js +11 -13
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +1 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/connection/v1/export.js +1 -3
- package/lib/codec/ibc/core/connection/v1/query.d.ts +1 -26
- package/lib/codec/ibc/core/connection/v1/query.js +1 -87
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +2 -7
- package/lib/codec/ibc/core/connection/v1/tx.js +2 -38
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +5 -12
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/lib/codec/ibc-models.d.ts +2 -3
- package/lib/codec/ibc-models.js +3 -4
- package/lib/codec/index.d.ts +20 -99
- package/lib/codec/index.js +890 -3371
- package/lib/codec/proofs.d.ts +0 -1
- package/lib/codec/proofs.js +0 -6
- package/lib/codec/tendermint/abci/types.d.ts +84 -131
- package/lib/codec/tendermint/abci/types.js +351 -707
- package/lib/codec/tendermint/types/params.d.ts +8 -1
- package/lib/codec/tendermint/types/params.js +33 -13
- package/lib/modules/evm.js +1 -1
- package/lib/provider/amino/types/evm.js +1 -1
- package/lib/util/tx.d.ts +7 -89
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.ABCIApplicationClientImpl = exports.Snapshot = exports.
|
|
6
|
+
exports.Event = exports.LastCommitInfo = exports.BlockParams = exports.ConsensusParams = exports.ResponseApplySnapshotChunk = exports.ResponseLoadSnapshotChunk = exports.ResponseOfferSnapshot = exports.ResponseListSnapshots = exports.ResponseCommit = exports.ResponseEndBlock = exports.ResponseDeliverTx = exports.ResponseCheckTx = exports.ResponseBeginBlock = exports.ResponseQuery = exports.ResponseInitChain = exports.ResponseSetOption = exports.ResponseInfo = exports.ResponseFlush = exports.ResponseEcho = exports.ResponseException = exports.Response = exports.RequestApplySnapshotChunk = exports.RequestLoadSnapshotChunk = exports.RequestOfferSnapshot = exports.RequestListSnapshots = exports.RequestCommit = exports.RequestEndBlock = exports.RequestDeliverTx = exports.RequestCheckTx = exports.RequestBeginBlock = exports.RequestQuery = exports.RequestInitChain = exports.RequestSetOption = exports.RequestInfo = exports.RequestFlush = exports.RequestEcho = exports.Request = exports.responseApplySnapshotChunk_ResultToJSON = exports.responseApplySnapshotChunk_ResultFromJSON = exports.ResponseApplySnapshotChunk_Result = exports.responseOfferSnapshot_ResultToJSON = exports.responseOfferSnapshot_ResultFromJSON = exports.ResponseOfferSnapshot_Result = exports.evidenceTypeToJSON = exports.evidenceTypeFromJSON = exports.EvidenceType = exports.checkTxTypeToJSON = exports.checkTxTypeFromJSON = exports.CheckTxType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.ABCIApplicationClientImpl = exports.Snapshot = exports.Evidence = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.EventAttribute = void 0;
|
|
8
8
|
/* eslint-disable */
|
|
9
9
|
const long_1 = __importDefault(require("long"));
|
|
10
10
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
-
const params_1 = require("../types/params");
|
|
12
11
|
const types_1 = require("../types/types");
|
|
13
12
|
const proof_1 = require("../crypto/proof");
|
|
13
|
+
const params_1 = require("../types/params");
|
|
14
14
|
const keys_1 = require("../crypto/keys");
|
|
15
15
|
const timestamp_1 = require("../../google/protobuf/timestamp");
|
|
16
16
|
exports.protobufPackage = "tendermint.abci";
|
|
@@ -46,44 +46,44 @@ function checkTxTypeToJSON(object) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
exports.checkTxTypeToJSON = checkTxTypeToJSON;
|
|
49
|
-
var
|
|
50
|
-
(function (
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
})(
|
|
56
|
-
function
|
|
49
|
+
var EvidenceType;
|
|
50
|
+
(function (EvidenceType) {
|
|
51
|
+
EvidenceType[EvidenceType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
52
|
+
EvidenceType[EvidenceType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
|
|
53
|
+
EvidenceType[EvidenceType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
|
|
54
|
+
EvidenceType[EvidenceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
55
|
+
})(EvidenceType = exports.EvidenceType || (exports.EvidenceType = {}));
|
|
56
|
+
function evidenceTypeFromJSON(object) {
|
|
57
57
|
switch (object) {
|
|
58
58
|
case 0:
|
|
59
59
|
case "UNKNOWN":
|
|
60
|
-
return
|
|
60
|
+
return EvidenceType.UNKNOWN;
|
|
61
61
|
case 1:
|
|
62
62
|
case "DUPLICATE_VOTE":
|
|
63
|
-
return
|
|
63
|
+
return EvidenceType.DUPLICATE_VOTE;
|
|
64
64
|
case 2:
|
|
65
65
|
case "LIGHT_CLIENT_ATTACK":
|
|
66
|
-
return
|
|
66
|
+
return EvidenceType.LIGHT_CLIENT_ATTACK;
|
|
67
67
|
case -1:
|
|
68
68
|
case "UNRECOGNIZED":
|
|
69
69
|
default:
|
|
70
|
-
return
|
|
70
|
+
return EvidenceType.UNRECOGNIZED;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
exports.
|
|
74
|
-
function
|
|
73
|
+
exports.evidenceTypeFromJSON = evidenceTypeFromJSON;
|
|
74
|
+
function evidenceTypeToJSON(object) {
|
|
75
75
|
switch (object) {
|
|
76
|
-
case
|
|
76
|
+
case EvidenceType.UNKNOWN:
|
|
77
77
|
return "UNKNOWN";
|
|
78
|
-
case
|
|
78
|
+
case EvidenceType.DUPLICATE_VOTE:
|
|
79
79
|
return "DUPLICATE_VOTE";
|
|
80
|
-
case
|
|
80
|
+
case EvidenceType.LIGHT_CLIENT_ATTACK:
|
|
81
81
|
return "LIGHT_CLIENT_ATTACK";
|
|
82
82
|
default:
|
|
83
83
|
return "UNKNOWN";
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
exports.
|
|
86
|
+
exports.evidenceTypeToJSON = evidenceTypeToJSON;
|
|
87
87
|
var ResponseOfferSnapshot_Result;
|
|
88
88
|
(function (ResponseOfferSnapshot_Result) {
|
|
89
89
|
/** UNKNOWN - Unknown result, abort all snapshot restoration */
|
|
@@ -208,44 +208,6 @@ function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
|
|
211
|
-
var ResponseProcessProposal_ProposalStatus;
|
|
212
|
-
(function (ResponseProcessProposal_ProposalStatus) {
|
|
213
|
-
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
|
214
|
-
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["ACCEPT"] = 1] = "ACCEPT";
|
|
215
|
-
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["REJECT"] = 2] = "REJECT";
|
|
216
|
-
ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
217
|
-
})(ResponseProcessProposal_ProposalStatus = exports.ResponseProcessProposal_ProposalStatus || (exports.ResponseProcessProposal_ProposalStatus = {}));
|
|
218
|
-
function responseProcessProposal_ProposalStatusFromJSON(object) {
|
|
219
|
-
switch (object) {
|
|
220
|
-
case 0:
|
|
221
|
-
case "UNKNOWN":
|
|
222
|
-
return ResponseProcessProposal_ProposalStatus.UNKNOWN;
|
|
223
|
-
case 1:
|
|
224
|
-
case "ACCEPT":
|
|
225
|
-
return ResponseProcessProposal_ProposalStatus.ACCEPT;
|
|
226
|
-
case 2:
|
|
227
|
-
case "REJECT":
|
|
228
|
-
return ResponseProcessProposal_ProposalStatus.REJECT;
|
|
229
|
-
case -1:
|
|
230
|
-
case "UNRECOGNIZED":
|
|
231
|
-
default:
|
|
232
|
-
return ResponseProcessProposal_ProposalStatus.UNRECOGNIZED;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
|
|
236
|
-
function responseProcessProposal_ProposalStatusToJSON(object) {
|
|
237
|
-
switch (object) {
|
|
238
|
-
case ResponseProcessProposal_ProposalStatus.UNKNOWN:
|
|
239
|
-
return "UNKNOWN";
|
|
240
|
-
case ResponseProcessProposal_ProposalStatus.ACCEPT:
|
|
241
|
-
return "ACCEPT";
|
|
242
|
-
case ResponseProcessProposal_ProposalStatus.REJECT:
|
|
243
|
-
return "REJECT";
|
|
244
|
-
default:
|
|
245
|
-
return "UNKNOWN";
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
|
|
249
211
|
const baseRequest = {};
|
|
250
212
|
exports.Request = {
|
|
251
213
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -258,6 +220,9 @@ exports.Request = {
|
|
|
258
220
|
if (message.info !== undefined) {
|
|
259
221
|
exports.RequestInfo.encode(message.info, writer.uint32(26).fork()).ldelim();
|
|
260
222
|
}
|
|
223
|
+
if (message.setOption !== undefined) {
|
|
224
|
+
exports.RequestSetOption.encode(message.setOption, writer.uint32(34).fork()).ldelim();
|
|
225
|
+
}
|
|
261
226
|
if (message.initChain !== undefined) {
|
|
262
227
|
exports.RequestInitChain.encode(message.initChain, writer.uint32(42).fork()).ldelim();
|
|
263
228
|
}
|
|
@@ -291,12 +256,6 @@ exports.Request = {
|
|
|
291
256
|
if (message.applySnapshotChunk !== undefined) {
|
|
292
257
|
exports.RequestApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(122).fork()).ldelim();
|
|
293
258
|
}
|
|
294
|
-
if (message.prepareProposal !== undefined) {
|
|
295
|
-
exports.RequestPrepareProposal.encode(message.prepareProposal, writer.uint32(130).fork()).ldelim();
|
|
296
|
-
}
|
|
297
|
-
if (message.processProposal !== undefined) {
|
|
298
|
-
exports.RequestProcessProposal.encode(message.processProposal, writer.uint32(138).fork()).ldelim();
|
|
299
|
-
}
|
|
300
259
|
return writer;
|
|
301
260
|
},
|
|
302
261
|
decode(input, length) {
|
|
@@ -315,6 +274,9 @@ exports.Request = {
|
|
|
315
274
|
case 3:
|
|
316
275
|
message.info = exports.RequestInfo.decode(reader, reader.uint32());
|
|
317
276
|
break;
|
|
277
|
+
case 4:
|
|
278
|
+
message.setOption = exports.RequestSetOption.decode(reader, reader.uint32());
|
|
279
|
+
break;
|
|
318
280
|
case 5:
|
|
319
281
|
message.initChain = exports.RequestInitChain.decode(reader, reader.uint32());
|
|
320
282
|
break;
|
|
@@ -348,12 +310,6 @@ exports.Request = {
|
|
|
348
310
|
case 15:
|
|
349
311
|
message.applySnapshotChunk = exports.RequestApplySnapshotChunk.decode(reader, reader.uint32());
|
|
350
312
|
break;
|
|
351
|
-
case 16:
|
|
352
|
-
message.prepareProposal = exports.RequestPrepareProposal.decode(reader, reader.uint32());
|
|
353
|
-
break;
|
|
354
|
-
case 17:
|
|
355
|
-
message.processProposal = exports.RequestProcessProposal.decode(reader, reader.uint32());
|
|
356
|
-
break;
|
|
357
313
|
default:
|
|
358
314
|
reader.skipType(tag & 7);
|
|
359
315
|
break;
|
|
@@ -375,6 +331,10 @@ exports.Request = {
|
|
|
375
331
|
object.info !== undefined && object.info !== null
|
|
376
332
|
? exports.RequestInfo.fromJSON(object.info)
|
|
377
333
|
: undefined;
|
|
334
|
+
message.setOption =
|
|
335
|
+
object.setOption !== undefined && object.setOption !== null
|
|
336
|
+
? exports.RequestSetOption.fromJSON(object.setOption)
|
|
337
|
+
: undefined;
|
|
378
338
|
message.initChain =
|
|
379
339
|
object.initChain !== undefined && object.initChain !== null
|
|
380
340
|
? exports.RequestInitChain.fromJSON(object.initChain)
|
|
@@ -421,14 +381,6 @@ exports.Request = {
|
|
|
421
381
|
object.applySnapshotChunk !== null
|
|
422
382
|
? exports.RequestApplySnapshotChunk.fromJSON(object.applySnapshotChunk)
|
|
423
383
|
: undefined;
|
|
424
|
-
message.prepareProposal =
|
|
425
|
-
object.prepareProposal !== undefined && object.prepareProposal !== null
|
|
426
|
-
? exports.RequestPrepareProposal.fromJSON(object.prepareProposal)
|
|
427
|
-
: undefined;
|
|
428
|
-
message.processProposal =
|
|
429
|
-
object.processProposal !== undefined && object.processProposal !== null
|
|
430
|
-
? exports.RequestProcessProposal.fromJSON(object.processProposal)
|
|
431
|
-
: undefined;
|
|
432
384
|
return message;
|
|
433
385
|
},
|
|
434
386
|
toJSON(message) {
|
|
@@ -441,6 +393,10 @@ exports.Request = {
|
|
|
441
393
|
: undefined);
|
|
442
394
|
message.info !== undefined &&
|
|
443
395
|
(obj.info = message.info ? exports.RequestInfo.toJSON(message.info) : undefined);
|
|
396
|
+
message.setOption !== undefined &&
|
|
397
|
+
(obj.setOption = message.setOption
|
|
398
|
+
? exports.RequestSetOption.toJSON(message.setOption)
|
|
399
|
+
: undefined);
|
|
444
400
|
message.initChain !== undefined &&
|
|
445
401
|
(obj.initChain = message.initChain
|
|
446
402
|
? exports.RequestInitChain.toJSON(message.initChain)
|
|
@@ -485,14 +441,6 @@ exports.Request = {
|
|
|
485
441
|
(obj.applySnapshotChunk = message.applySnapshotChunk
|
|
486
442
|
? exports.RequestApplySnapshotChunk.toJSON(message.applySnapshotChunk)
|
|
487
443
|
: undefined);
|
|
488
|
-
message.prepareProposal !== undefined &&
|
|
489
|
-
(obj.prepareProposal = message.prepareProposal
|
|
490
|
-
? exports.RequestPrepareProposal.toJSON(message.prepareProposal)
|
|
491
|
-
: undefined);
|
|
492
|
-
message.processProposal !== undefined &&
|
|
493
|
-
(obj.processProposal = message.processProposal
|
|
494
|
-
? exports.RequestProcessProposal.toJSON(message.processProposal)
|
|
495
|
-
: undefined);
|
|
496
444
|
return obj;
|
|
497
445
|
},
|
|
498
446
|
fromPartial(object) {
|
|
@@ -509,6 +457,10 @@ exports.Request = {
|
|
|
509
457
|
object.info !== undefined && object.info !== null
|
|
510
458
|
? exports.RequestInfo.fromPartial(object.info)
|
|
511
459
|
: undefined;
|
|
460
|
+
message.setOption =
|
|
461
|
+
object.setOption !== undefined && object.setOption !== null
|
|
462
|
+
? exports.RequestSetOption.fromPartial(object.setOption)
|
|
463
|
+
: undefined;
|
|
512
464
|
message.initChain =
|
|
513
465
|
object.initChain !== undefined && object.initChain !== null
|
|
514
466
|
? exports.RequestInitChain.fromPartial(object.initChain)
|
|
@@ -555,14 +507,6 @@ exports.Request = {
|
|
|
555
507
|
object.applySnapshotChunk !== null
|
|
556
508
|
? exports.RequestApplySnapshotChunk.fromPartial(object.applySnapshotChunk)
|
|
557
509
|
: undefined;
|
|
558
|
-
message.prepareProposal =
|
|
559
|
-
object.prepareProposal !== undefined && object.prepareProposal !== null
|
|
560
|
-
? exports.RequestPrepareProposal.fromPartial(object.prepareProposal)
|
|
561
|
-
: undefined;
|
|
562
|
-
message.processProposal =
|
|
563
|
-
object.processProposal !== undefined && object.processProposal !== null
|
|
564
|
-
? exports.RequestProcessProposal.fromPartial(object.processProposal)
|
|
565
|
-
: undefined;
|
|
566
510
|
return message;
|
|
567
511
|
},
|
|
568
512
|
};
|
|
@@ -647,7 +591,6 @@ const baseRequestInfo = {
|
|
|
647
591
|
version: "",
|
|
648
592
|
blockVersion: long_1.default.UZERO,
|
|
649
593
|
p2pVersion: long_1.default.UZERO,
|
|
650
|
-
abciVersion: "",
|
|
651
594
|
};
|
|
652
595
|
exports.RequestInfo = {
|
|
653
596
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -660,9 +603,6 @@ exports.RequestInfo = {
|
|
|
660
603
|
if (!message.p2pVersion.isZero()) {
|
|
661
604
|
writer.uint32(24).uint64(message.p2pVersion);
|
|
662
605
|
}
|
|
663
|
-
if (message.abciVersion !== "") {
|
|
664
|
-
writer.uint32(34).string(message.abciVersion);
|
|
665
|
-
}
|
|
666
606
|
return writer;
|
|
667
607
|
},
|
|
668
608
|
decode(input, length) {
|
|
@@ -681,9 +621,6 @@ exports.RequestInfo = {
|
|
|
681
621
|
case 3:
|
|
682
622
|
message.p2pVersion = reader.uint64();
|
|
683
623
|
break;
|
|
684
|
-
case 4:
|
|
685
|
-
message.abciVersion = reader.string();
|
|
686
|
-
break;
|
|
687
624
|
default:
|
|
688
625
|
reader.skipType(tag & 7);
|
|
689
626
|
break;
|
|
@@ -705,10 +642,6 @@ exports.RequestInfo = {
|
|
|
705
642
|
object.p2pVersion !== undefined && object.p2pVersion !== null
|
|
706
643
|
? long_1.default.fromString(object.p2pVersion)
|
|
707
644
|
: long_1.default.UZERO;
|
|
708
|
-
message.abciVersion =
|
|
709
|
-
object.abciVersion !== undefined && object.abciVersion !== null
|
|
710
|
-
? String(object.abciVersion)
|
|
711
|
-
: "";
|
|
712
645
|
return message;
|
|
713
646
|
},
|
|
714
647
|
toJSON(message) {
|
|
@@ -718,12 +651,10 @@ exports.RequestInfo = {
|
|
|
718
651
|
(obj.blockVersion = (message.blockVersion || long_1.default.UZERO).toString());
|
|
719
652
|
message.p2pVersion !== undefined &&
|
|
720
653
|
(obj.p2pVersion = (message.p2pVersion || long_1.default.UZERO).toString());
|
|
721
|
-
message.abciVersion !== undefined &&
|
|
722
|
-
(obj.abciVersion = message.abciVersion);
|
|
723
654
|
return obj;
|
|
724
655
|
},
|
|
725
656
|
fromPartial(object) {
|
|
726
|
-
var _a
|
|
657
|
+
var _a;
|
|
727
658
|
const message = Object.assign({}, baseRequestInfo);
|
|
728
659
|
message.version = (_a = object.version) !== null && _a !== void 0 ? _a : "";
|
|
729
660
|
message.blockVersion =
|
|
@@ -734,7 +665,61 @@ exports.RequestInfo = {
|
|
|
734
665
|
object.p2pVersion !== undefined && object.p2pVersion !== null
|
|
735
666
|
? long_1.default.fromValue(object.p2pVersion)
|
|
736
667
|
: long_1.default.UZERO;
|
|
737
|
-
message
|
|
668
|
+
return message;
|
|
669
|
+
},
|
|
670
|
+
};
|
|
671
|
+
const baseRequestSetOption = { key: "", value: "" };
|
|
672
|
+
exports.RequestSetOption = {
|
|
673
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
674
|
+
if (message.key !== "") {
|
|
675
|
+
writer.uint32(10).string(message.key);
|
|
676
|
+
}
|
|
677
|
+
if (message.value !== "") {
|
|
678
|
+
writer.uint32(18).string(message.value);
|
|
679
|
+
}
|
|
680
|
+
return writer;
|
|
681
|
+
},
|
|
682
|
+
decode(input, length) {
|
|
683
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
684
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
685
|
+
const message = Object.assign({}, baseRequestSetOption);
|
|
686
|
+
while (reader.pos < end) {
|
|
687
|
+
const tag = reader.uint32();
|
|
688
|
+
switch (tag >>> 3) {
|
|
689
|
+
case 1:
|
|
690
|
+
message.key = reader.string();
|
|
691
|
+
break;
|
|
692
|
+
case 2:
|
|
693
|
+
message.value = reader.string();
|
|
694
|
+
break;
|
|
695
|
+
default:
|
|
696
|
+
reader.skipType(tag & 7);
|
|
697
|
+
break;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
return message;
|
|
701
|
+
},
|
|
702
|
+
fromJSON(object) {
|
|
703
|
+
const message = Object.assign({}, baseRequestSetOption);
|
|
704
|
+
message.key =
|
|
705
|
+
object.key !== undefined && object.key !== null ? String(object.key) : "";
|
|
706
|
+
message.value =
|
|
707
|
+
object.value !== undefined && object.value !== null
|
|
708
|
+
? String(object.value)
|
|
709
|
+
: "";
|
|
710
|
+
return message;
|
|
711
|
+
},
|
|
712
|
+
toJSON(message) {
|
|
713
|
+
const obj = {};
|
|
714
|
+
message.key !== undefined && (obj.key = message.key);
|
|
715
|
+
message.value !== undefined && (obj.value = message.value);
|
|
716
|
+
return obj;
|
|
717
|
+
},
|
|
718
|
+
fromPartial(object) {
|
|
719
|
+
var _a, _b;
|
|
720
|
+
const message = Object.assign({}, baseRequestSetOption);
|
|
721
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
722
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
|
|
738
723
|
return message;
|
|
739
724
|
},
|
|
740
725
|
};
|
|
@@ -748,7 +733,7 @@ exports.RequestInitChain = {
|
|
|
748
733
|
writer.uint32(18).string(message.chainId);
|
|
749
734
|
}
|
|
750
735
|
if (message.consensusParams !== undefined) {
|
|
751
|
-
|
|
736
|
+
exports.ConsensusParams.encode(message.consensusParams, writer.uint32(26).fork()).ldelim();
|
|
752
737
|
}
|
|
753
738
|
for (const v of message.validators) {
|
|
754
739
|
exports.ValidatorUpdate.encode(v, writer.uint32(34).fork()).ldelim();
|
|
@@ -777,7 +762,7 @@ exports.RequestInitChain = {
|
|
|
777
762
|
message.chainId = reader.string();
|
|
778
763
|
break;
|
|
779
764
|
case 3:
|
|
780
|
-
message.consensusParams =
|
|
765
|
+
message.consensusParams = exports.ConsensusParams.decode(reader, reader.uint32());
|
|
781
766
|
break;
|
|
782
767
|
case 4:
|
|
783
768
|
message.validators.push(exports.ValidatorUpdate.decode(reader, reader.uint32()));
|
|
@@ -808,7 +793,7 @@ exports.RequestInitChain = {
|
|
|
808
793
|
: "";
|
|
809
794
|
message.consensusParams =
|
|
810
795
|
object.consensusParams !== undefined && object.consensusParams !== null
|
|
811
|
-
?
|
|
796
|
+
? exports.ConsensusParams.fromJSON(object.consensusParams)
|
|
812
797
|
: undefined;
|
|
813
798
|
message.validators = ((_a = object.validators) !== null && _a !== void 0 ? _a : []).map((e) => exports.ValidatorUpdate.fromJSON(e));
|
|
814
799
|
message.appStateBytes =
|
|
@@ -827,7 +812,7 @@ exports.RequestInitChain = {
|
|
|
827
812
|
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
828
813
|
message.consensusParams !== undefined &&
|
|
829
814
|
(obj.consensusParams = message.consensusParams
|
|
830
|
-
?
|
|
815
|
+
? exports.ConsensusParams.toJSON(message.consensusParams)
|
|
831
816
|
: undefined);
|
|
832
817
|
if (message.validators) {
|
|
833
818
|
obj.validators = message.validators.map((e) => e ? exports.ValidatorUpdate.toJSON(e) : undefined);
|
|
@@ -850,7 +835,7 @@ exports.RequestInitChain = {
|
|
|
850
835
|
message.chainId = (_b = object.chainId) !== null && _b !== void 0 ? _b : "";
|
|
851
836
|
message.consensusParams =
|
|
852
837
|
object.consensusParams !== undefined && object.consensusParams !== null
|
|
853
|
-
?
|
|
838
|
+
? exports.ConsensusParams.fromPartial(object.consensusParams)
|
|
854
839
|
: undefined;
|
|
855
840
|
message.validators = ((_c = object.validators) !== null && _c !== void 0 ? _c : []).map((e) => exports.ValidatorUpdate.fromPartial(e));
|
|
856
841
|
message.appStateBytes = (_d = object.appStateBytes) !== null && _d !== void 0 ? _d : new Uint8Array();
|
|
@@ -958,10 +943,10 @@ exports.RequestBeginBlock = {
|
|
|
958
943
|
types_1.Header.encode(message.header, writer.uint32(18).fork()).ldelim();
|
|
959
944
|
}
|
|
960
945
|
if (message.lastCommitInfo !== undefined) {
|
|
961
|
-
exports.
|
|
946
|
+
exports.LastCommitInfo.encode(message.lastCommitInfo, writer.uint32(26).fork()).ldelim();
|
|
962
947
|
}
|
|
963
948
|
for (const v of message.byzantineValidators) {
|
|
964
|
-
exports.
|
|
949
|
+
exports.Evidence.encode(v, writer.uint32(34).fork()).ldelim();
|
|
965
950
|
}
|
|
966
951
|
return writer;
|
|
967
952
|
},
|
|
@@ -981,10 +966,10 @@ exports.RequestBeginBlock = {
|
|
|
981
966
|
message.header = types_1.Header.decode(reader, reader.uint32());
|
|
982
967
|
break;
|
|
983
968
|
case 3:
|
|
984
|
-
message.lastCommitInfo = exports.
|
|
969
|
+
message.lastCommitInfo = exports.LastCommitInfo.decode(reader, reader.uint32());
|
|
985
970
|
break;
|
|
986
971
|
case 4:
|
|
987
|
-
message.byzantineValidators.push(exports.
|
|
972
|
+
message.byzantineValidators.push(exports.Evidence.decode(reader, reader.uint32()));
|
|
988
973
|
break;
|
|
989
974
|
default:
|
|
990
975
|
reader.skipType(tag & 7);
|
|
@@ -1006,9 +991,9 @@ exports.RequestBeginBlock = {
|
|
|
1006
991
|
: undefined;
|
|
1007
992
|
message.lastCommitInfo =
|
|
1008
993
|
object.lastCommitInfo !== undefined && object.lastCommitInfo !== null
|
|
1009
|
-
? exports.
|
|
994
|
+
? exports.LastCommitInfo.fromJSON(object.lastCommitInfo)
|
|
1010
995
|
: undefined;
|
|
1011
|
-
message.byzantineValidators = ((_a = object.byzantineValidators) !== null && _a !== void 0 ? _a : []).map((e) => exports.
|
|
996
|
+
message.byzantineValidators = ((_a = object.byzantineValidators) !== null && _a !== void 0 ? _a : []).map((e) => exports.Evidence.fromJSON(e));
|
|
1012
997
|
return message;
|
|
1013
998
|
},
|
|
1014
999
|
toJSON(message) {
|
|
@@ -1019,10 +1004,10 @@ exports.RequestBeginBlock = {
|
|
|
1019
1004
|
(obj.header = message.header ? types_1.Header.toJSON(message.header) : undefined);
|
|
1020
1005
|
message.lastCommitInfo !== undefined &&
|
|
1021
1006
|
(obj.lastCommitInfo = message.lastCommitInfo
|
|
1022
|
-
? exports.
|
|
1007
|
+
? exports.LastCommitInfo.toJSON(message.lastCommitInfo)
|
|
1023
1008
|
: undefined);
|
|
1024
1009
|
if (message.byzantineValidators) {
|
|
1025
|
-
obj.byzantineValidators = message.byzantineValidators.map((e) => e ? exports.
|
|
1010
|
+
obj.byzantineValidators = message.byzantineValidators.map((e) => e ? exports.Evidence.toJSON(e) : undefined);
|
|
1026
1011
|
}
|
|
1027
1012
|
else {
|
|
1028
1013
|
obj.byzantineValidators = [];
|
|
@@ -1039,9 +1024,9 @@ exports.RequestBeginBlock = {
|
|
|
1039
1024
|
: undefined;
|
|
1040
1025
|
message.lastCommitInfo =
|
|
1041
1026
|
object.lastCommitInfo !== undefined && object.lastCommitInfo !== null
|
|
1042
|
-
? exports.
|
|
1027
|
+
? exports.LastCommitInfo.fromPartial(object.lastCommitInfo)
|
|
1043
1028
|
: undefined;
|
|
1044
|
-
message.byzantineValidators = ((_b = object.byzantineValidators) !== null && _b !== void 0 ? _b : []).map((e) => exports.
|
|
1029
|
+
message.byzantineValidators = ((_b = object.byzantineValidators) !== null && _b !== void 0 ? _b : []).map((e) => exports.Evidence.fromPartial(e));
|
|
1045
1030
|
return message;
|
|
1046
1031
|
},
|
|
1047
1032
|
};
|
|
@@ -1476,327 +1461,6 @@ exports.RequestApplySnapshotChunk = {
|
|
|
1476
1461
|
return message;
|
|
1477
1462
|
},
|
|
1478
1463
|
};
|
|
1479
|
-
const baseRequestPrepareProposal = {
|
|
1480
|
-
maxTxBytes: long_1.default.ZERO,
|
|
1481
|
-
height: long_1.default.ZERO,
|
|
1482
|
-
};
|
|
1483
|
-
exports.RequestPrepareProposal = {
|
|
1484
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1485
|
-
if (!message.maxTxBytes.isZero()) {
|
|
1486
|
-
writer.uint32(8).int64(message.maxTxBytes);
|
|
1487
|
-
}
|
|
1488
|
-
for (const v of message.txs) {
|
|
1489
|
-
writer.uint32(18).bytes(v);
|
|
1490
|
-
}
|
|
1491
|
-
if (message.localLastCommit !== undefined) {
|
|
1492
|
-
exports.ExtendedCommitInfo.encode(message.localLastCommit, writer.uint32(26).fork()).ldelim();
|
|
1493
|
-
}
|
|
1494
|
-
for (const v of message.misbehavior) {
|
|
1495
|
-
exports.Misbehavior.encode(v, writer.uint32(34).fork()).ldelim();
|
|
1496
|
-
}
|
|
1497
|
-
if (!message.height.isZero()) {
|
|
1498
|
-
writer.uint32(40).int64(message.height);
|
|
1499
|
-
}
|
|
1500
|
-
if (message.time !== undefined) {
|
|
1501
|
-
timestamp_1.Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim();
|
|
1502
|
-
}
|
|
1503
|
-
if (message.nextValidatorsHash.length !== 0) {
|
|
1504
|
-
writer.uint32(58).bytes(message.nextValidatorsHash);
|
|
1505
|
-
}
|
|
1506
|
-
if (message.proposerAddress.length !== 0) {
|
|
1507
|
-
writer.uint32(66).bytes(message.proposerAddress);
|
|
1508
|
-
}
|
|
1509
|
-
return writer;
|
|
1510
|
-
},
|
|
1511
|
-
decode(input, length) {
|
|
1512
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1513
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1514
|
-
const message = Object.assign({}, baseRequestPrepareProposal);
|
|
1515
|
-
message.txs = [];
|
|
1516
|
-
message.misbehavior = [];
|
|
1517
|
-
message.nextValidatorsHash = new Uint8Array();
|
|
1518
|
-
message.proposerAddress = new Uint8Array();
|
|
1519
|
-
while (reader.pos < end) {
|
|
1520
|
-
const tag = reader.uint32();
|
|
1521
|
-
switch (tag >>> 3) {
|
|
1522
|
-
case 1:
|
|
1523
|
-
message.maxTxBytes = reader.int64();
|
|
1524
|
-
break;
|
|
1525
|
-
case 2:
|
|
1526
|
-
message.txs.push(reader.bytes());
|
|
1527
|
-
break;
|
|
1528
|
-
case 3:
|
|
1529
|
-
message.localLastCommit = exports.ExtendedCommitInfo.decode(reader, reader.uint32());
|
|
1530
|
-
break;
|
|
1531
|
-
case 4:
|
|
1532
|
-
message.misbehavior.push(exports.Misbehavior.decode(reader, reader.uint32()));
|
|
1533
|
-
break;
|
|
1534
|
-
case 5:
|
|
1535
|
-
message.height = reader.int64();
|
|
1536
|
-
break;
|
|
1537
|
-
case 6:
|
|
1538
|
-
message.time = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
1539
|
-
break;
|
|
1540
|
-
case 7:
|
|
1541
|
-
message.nextValidatorsHash = reader.bytes();
|
|
1542
|
-
break;
|
|
1543
|
-
case 8:
|
|
1544
|
-
message.proposerAddress = reader.bytes();
|
|
1545
|
-
break;
|
|
1546
|
-
default:
|
|
1547
|
-
reader.skipType(tag & 7);
|
|
1548
|
-
break;
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
return message;
|
|
1552
|
-
},
|
|
1553
|
-
fromJSON(object) {
|
|
1554
|
-
var _a, _b;
|
|
1555
|
-
const message = Object.assign({}, baseRequestPrepareProposal);
|
|
1556
|
-
message.maxTxBytes =
|
|
1557
|
-
object.maxTxBytes !== undefined && object.maxTxBytes !== null
|
|
1558
|
-
? long_1.default.fromString(object.maxTxBytes)
|
|
1559
|
-
: long_1.default.ZERO;
|
|
1560
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => bytesFromBase64(e));
|
|
1561
|
-
message.localLastCommit =
|
|
1562
|
-
object.localLastCommit !== undefined && object.localLastCommit !== null
|
|
1563
|
-
? exports.ExtendedCommitInfo.fromJSON(object.localLastCommit)
|
|
1564
|
-
: undefined;
|
|
1565
|
-
message.misbehavior = ((_b = object.misbehavior) !== null && _b !== void 0 ? _b : []).map((e) => exports.Misbehavior.fromJSON(e));
|
|
1566
|
-
message.height =
|
|
1567
|
-
object.height !== undefined && object.height !== null
|
|
1568
|
-
? long_1.default.fromString(object.height)
|
|
1569
|
-
: long_1.default.ZERO;
|
|
1570
|
-
message.time =
|
|
1571
|
-
object.time !== undefined && object.time !== null
|
|
1572
|
-
? fromJsonTimestamp(object.time)
|
|
1573
|
-
: undefined;
|
|
1574
|
-
message.nextValidatorsHash =
|
|
1575
|
-
object.nextValidatorsHash !== undefined &&
|
|
1576
|
-
object.nextValidatorsHash !== null
|
|
1577
|
-
? bytesFromBase64(object.nextValidatorsHash)
|
|
1578
|
-
: new Uint8Array();
|
|
1579
|
-
message.proposerAddress =
|
|
1580
|
-
object.proposerAddress !== undefined && object.proposerAddress !== null
|
|
1581
|
-
? bytesFromBase64(object.proposerAddress)
|
|
1582
|
-
: new Uint8Array();
|
|
1583
|
-
return message;
|
|
1584
|
-
},
|
|
1585
|
-
toJSON(message) {
|
|
1586
|
-
const obj = {};
|
|
1587
|
-
message.maxTxBytes !== undefined &&
|
|
1588
|
-
(obj.maxTxBytes = (message.maxTxBytes || long_1.default.ZERO).toString());
|
|
1589
|
-
if (message.txs) {
|
|
1590
|
-
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1591
|
-
}
|
|
1592
|
-
else {
|
|
1593
|
-
obj.txs = [];
|
|
1594
|
-
}
|
|
1595
|
-
message.localLastCommit !== undefined &&
|
|
1596
|
-
(obj.localLastCommit = message.localLastCommit
|
|
1597
|
-
? exports.ExtendedCommitInfo.toJSON(message.localLastCommit)
|
|
1598
|
-
: undefined);
|
|
1599
|
-
if (message.misbehavior) {
|
|
1600
|
-
obj.misbehavior = message.misbehavior.map((e) => e ? exports.Misbehavior.toJSON(e) : undefined);
|
|
1601
|
-
}
|
|
1602
|
-
else {
|
|
1603
|
-
obj.misbehavior = [];
|
|
1604
|
-
}
|
|
1605
|
-
message.height !== undefined &&
|
|
1606
|
-
(obj.height = (message.height || long_1.default.ZERO).toString());
|
|
1607
|
-
message.time !== undefined && (obj.time = message.time.toISOString());
|
|
1608
|
-
message.nextValidatorsHash !== undefined &&
|
|
1609
|
-
(obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined
|
|
1610
|
-
? message.nextValidatorsHash
|
|
1611
|
-
: new Uint8Array()));
|
|
1612
|
-
message.proposerAddress !== undefined &&
|
|
1613
|
-
(obj.proposerAddress = base64FromBytes(message.proposerAddress !== undefined
|
|
1614
|
-
? message.proposerAddress
|
|
1615
|
-
: new Uint8Array()));
|
|
1616
|
-
return obj;
|
|
1617
|
-
},
|
|
1618
|
-
fromPartial(object) {
|
|
1619
|
-
var _a, _b, _c, _d, _e;
|
|
1620
|
-
const message = Object.assign({}, baseRequestPrepareProposal);
|
|
1621
|
-
message.maxTxBytes =
|
|
1622
|
-
object.maxTxBytes !== undefined && object.maxTxBytes !== null
|
|
1623
|
-
? long_1.default.fromValue(object.maxTxBytes)
|
|
1624
|
-
: long_1.default.ZERO;
|
|
1625
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => e);
|
|
1626
|
-
message.localLastCommit =
|
|
1627
|
-
object.localLastCommit !== undefined && object.localLastCommit !== null
|
|
1628
|
-
? exports.ExtendedCommitInfo.fromPartial(object.localLastCommit)
|
|
1629
|
-
: undefined;
|
|
1630
|
-
message.misbehavior = ((_b = object.misbehavior) !== null && _b !== void 0 ? _b : []).map((e) => exports.Misbehavior.fromPartial(e));
|
|
1631
|
-
message.height =
|
|
1632
|
-
object.height !== undefined && object.height !== null
|
|
1633
|
-
? long_1.default.fromValue(object.height)
|
|
1634
|
-
: long_1.default.ZERO;
|
|
1635
|
-
message.time = (_c = object.time) !== null && _c !== void 0 ? _c : undefined;
|
|
1636
|
-
message.nextValidatorsHash = (_d = object.nextValidatorsHash) !== null && _d !== void 0 ? _d : new Uint8Array();
|
|
1637
|
-
message.proposerAddress = (_e = object.proposerAddress) !== null && _e !== void 0 ? _e : new Uint8Array();
|
|
1638
|
-
return message;
|
|
1639
|
-
},
|
|
1640
|
-
};
|
|
1641
|
-
const baseRequestProcessProposal = { height: long_1.default.ZERO };
|
|
1642
|
-
exports.RequestProcessProposal = {
|
|
1643
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1644
|
-
for (const v of message.txs) {
|
|
1645
|
-
writer.uint32(10).bytes(v);
|
|
1646
|
-
}
|
|
1647
|
-
if (message.proposedLastCommit !== undefined) {
|
|
1648
|
-
exports.CommitInfo.encode(message.proposedLastCommit, writer.uint32(18).fork()).ldelim();
|
|
1649
|
-
}
|
|
1650
|
-
for (const v of message.misbehavior) {
|
|
1651
|
-
exports.Misbehavior.encode(v, writer.uint32(26).fork()).ldelim();
|
|
1652
|
-
}
|
|
1653
|
-
if (message.hash.length !== 0) {
|
|
1654
|
-
writer.uint32(34).bytes(message.hash);
|
|
1655
|
-
}
|
|
1656
|
-
if (!message.height.isZero()) {
|
|
1657
|
-
writer.uint32(40).int64(message.height);
|
|
1658
|
-
}
|
|
1659
|
-
if (message.time !== undefined) {
|
|
1660
|
-
timestamp_1.Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim();
|
|
1661
|
-
}
|
|
1662
|
-
if (message.nextValidatorsHash.length !== 0) {
|
|
1663
|
-
writer.uint32(58).bytes(message.nextValidatorsHash);
|
|
1664
|
-
}
|
|
1665
|
-
if (message.proposerAddress.length !== 0) {
|
|
1666
|
-
writer.uint32(66).bytes(message.proposerAddress);
|
|
1667
|
-
}
|
|
1668
|
-
return writer;
|
|
1669
|
-
},
|
|
1670
|
-
decode(input, length) {
|
|
1671
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
1672
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1673
|
-
const message = Object.assign({}, baseRequestProcessProposal);
|
|
1674
|
-
message.txs = [];
|
|
1675
|
-
message.misbehavior = [];
|
|
1676
|
-
message.hash = new Uint8Array();
|
|
1677
|
-
message.nextValidatorsHash = new Uint8Array();
|
|
1678
|
-
message.proposerAddress = new Uint8Array();
|
|
1679
|
-
while (reader.pos < end) {
|
|
1680
|
-
const tag = reader.uint32();
|
|
1681
|
-
switch (tag >>> 3) {
|
|
1682
|
-
case 1:
|
|
1683
|
-
message.txs.push(reader.bytes());
|
|
1684
|
-
break;
|
|
1685
|
-
case 2:
|
|
1686
|
-
message.proposedLastCommit = exports.CommitInfo.decode(reader, reader.uint32());
|
|
1687
|
-
break;
|
|
1688
|
-
case 3:
|
|
1689
|
-
message.misbehavior.push(exports.Misbehavior.decode(reader, reader.uint32()));
|
|
1690
|
-
break;
|
|
1691
|
-
case 4:
|
|
1692
|
-
message.hash = reader.bytes();
|
|
1693
|
-
break;
|
|
1694
|
-
case 5:
|
|
1695
|
-
message.height = reader.int64();
|
|
1696
|
-
break;
|
|
1697
|
-
case 6:
|
|
1698
|
-
message.time = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
1699
|
-
break;
|
|
1700
|
-
case 7:
|
|
1701
|
-
message.nextValidatorsHash = reader.bytes();
|
|
1702
|
-
break;
|
|
1703
|
-
case 8:
|
|
1704
|
-
message.proposerAddress = reader.bytes();
|
|
1705
|
-
break;
|
|
1706
|
-
default:
|
|
1707
|
-
reader.skipType(tag & 7);
|
|
1708
|
-
break;
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
return message;
|
|
1712
|
-
},
|
|
1713
|
-
fromJSON(object) {
|
|
1714
|
-
var _a, _b;
|
|
1715
|
-
const message = Object.assign({}, baseRequestProcessProposal);
|
|
1716
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => bytesFromBase64(e));
|
|
1717
|
-
message.proposedLastCommit =
|
|
1718
|
-
object.proposedLastCommit !== undefined &&
|
|
1719
|
-
object.proposedLastCommit !== null
|
|
1720
|
-
? exports.CommitInfo.fromJSON(object.proposedLastCommit)
|
|
1721
|
-
: undefined;
|
|
1722
|
-
message.misbehavior = ((_b = object.misbehavior) !== null && _b !== void 0 ? _b : []).map((e) => exports.Misbehavior.fromJSON(e));
|
|
1723
|
-
message.hash =
|
|
1724
|
-
object.hash !== undefined && object.hash !== null
|
|
1725
|
-
? bytesFromBase64(object.hash)
|
|
1726
|
-
: new Uint8Array();
|
|
1727
|
-
message.height =
|
|
1728
|
-
object.height !== undefined && object.height !== null
|
|
1729
|
-
? long_1.default.fromString(object.height)
|
|
1730
|
-
: long_1.default.ZERO;
|
|
1731
|
-
message.time =
|
|
1732
|
-
object.time !== undefined && object.time !== null
|
|
1733
|
-
? fromJsonTimestamp(object.time)
|
|
1734
|
-
: undefined;
|
|
1735
|
-
message.nextValidatorsHash =
|
|
1736
|
-
object.nextValidatorsHash !== undefined &&
|
|
1737
|
-
object.nextValidatorsHash !== null
|
|
1738
|
-
? bytesFromBase64(object.nextValidatorsHash)
|
|
1739
|
-
: new Uint8Array();
|
|
1740
|
-
message.proposerAddress =
|
|
1741
|
-
object.proposerAddress !== undefined && object.proposerAddress !== null
|
|
1742
|
-
? bytesFromBase64(object.proposerAddress)
|
|
1743
|
-
: new Uint8Array();
|
|
1744
|
-
return message;
|
|
1745
|
-
},
|
|
1746
|
-
toJSON(message) {
|
|
1747
|
-
const obj = {};
|
|
1748
|
-
if (message.txs) {
|
|
1749
|
-
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1750
|
-
}
|
|
1751
|
-
else {
|
|
1752
|
-
obj.txs = [];
|
|
1753
|
-
}
|
|
1754
|
-
message.proposedLastCommit !== undefined &&
|
|
1755
|
-
(obj.proposedLastCommit = message.proposedLastCommit
|
|
1756
|
-
? exports.CommitInfo.toJSON(message.proposedLastCommit)
|
|
1757
|
-
: undefined);
|
|
1758
|
-
if (message.misbehavior) {
|
|
1759
|
-
obj.misbehavior = message.misbehavior.map((e) => e ? exports.Misbehavior.toJSON(e) : undefined);
|
|
1760
|
-
}
|
|
1761
|
-
else {
|
|
1762
|
-
obj.misbehavior = [];
|
|
1763
|
-
}
|
|
1764
|
-
message.hash !== undefined &&
|
|
1765
|
-
(obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array()));
|
|
1766
|
-
message.height !== undefined &&
|
|
1767
|
-
(obj.height = (message.height || long_1.default.ZERO).toString());
|
|
1768
|
-
message.time !== undefined && (obj.time = message.time.toISOString());
|
|
1769
|
-
message.nextValidatorsHash !== undefined &&
|
|
1770
|
-
(obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined
|
|
1771
|
-
? message.nextValidatorsHash
|
|
1772
|
-
: new Uint8Array()));
|
|
1773
|
-
message.proposerAddress !== undefined &&
|
|
1774
|
-
(obj.proposerAddress = base64FromBytes(message.proposerAddress !== undefined
|
|
1775
|
-
? message.proposerAddress
|
|
1776
|
-
: new Uint8Array()));
|
|
1777
|
-
return obj;
|
|
1778
|
-
},
|
|
1779
|
-
fromPartial(object) {
|
|
1780
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1781
|
-
const message = Object.assign({}, baseRequestProcessProposal);
|
|
1782
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => e);
|
|
1783
|
-
message.proposedLastCommit =
|
|
1784
|
-
object.proposedLastCommit !== undefined &&
|
|
1785
|
-
object.proposedLastCommit !== null
|
|
1786
|
-
? exports.CommitInfo.fromPartial(object.proposedLastCommit)
|
|
1787
|
-
: undefined;
|
|
1788
|
-
message.misbehavior = ((_b = object.misbehavior) !== null && _b !== void 0 ? _b : []).map((e) => exports.Misbehavior.fromPartial(e));
|
|
1789
|
-
message.hash = (_c = object.hash) !== null && _c !== void 0 ? _c : new Uint8Array();
|
|
1790
|
-
message.height =
|
|
1791
|
-
object.height !== undefined && object.height !== null
|
|
1792
|
-
? long_1.default.fromValue(object.height)
|
|
1793
|
-
: long_1.default.ZERO;
|
|
1794
|
-
message.time = (_d = object.time) !== null && _d !== void 0 ? _d : undefined;
|
|
1795
|
-
message.nextValidatorsHash = (_e = object.nextValidatorsHash) !== null && _e !== void 0 ? _e : new Uint8Array();
|
|
1796
|
-
message.proposerAddress = (_f = object.proposerAddress) !== null && _f !== void 0 ? _f : new Uint8Array();
|
|
1797
|
-
return message;
|
|
1798
|
-
},
|
|
1799
|
-
};
|
|
1800
1464
|
const baseResponse = {};
|
|
1801
1465
|
exports.Response = {
|
|
1802
1466
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -1812,6 +1476,9 @@ exports.Response = {
|
|
|
1812
1476
|
if (message.info !== undefined) {
|
|
1813
1477
|
exports.ResponseInfo.encode(message.info, writer.uint32(34).fork()).ldelim();
|
|
1814
1478
|
}
|
|
1479
|
+
if (message.setOption !== undefined) {
|
|
1480
|
+
exports.ResponseSetOption.encode(message.setOption, writer.uint32(42).fork()).ldelim();
|
|
1481
|
+
}
|
|
1815
1482
|
if (message.initChain !== undefined) {
|
|
1816
1483
|
exports.ResponseInitChain.encode(message.initChain, writer.uint32(50).fork()).ldelim();
|
|
1817
1484
|
}
|
|
@@ -1845,12 +1512,6 @@ exports.Response = {
|
|
|
1845
1512
|
if (message.applySnapshotChunk !== undefined) {
|
|
1846
1513
|
exports.ResponseApplySnapshotChunk.encode(message.applySnapshotChunk, writer.uint32(130).fork()).ldelim();
|
|
1847
1514
|
}
|
|
1848
|
-
if (message.prepareProposal !== undefined) {
|
|
1849
|
-
exports.ResponsePrepareProposal.encode(message.prepareProposal, writer.uint32(138).fork()).ldelim();
|
|
1850
|
-
}
|
|
1851
|
-
if (message.processProposal !== undefined) {
|
|
1852
|
-
exports.ResponseProcessProposal.encode(message.processProposal, writer.uint32(146).fork()).ldelim();
|
|
1853
|
-
}
|
|
1854
1515
|
return writer;
|
|
1855
1516
|
},
|
|
1856
1517
|
decode(input, length) {
|
|
@@ -1872,6 +1533,9 @@ exports.Response = {
|
|
|
1872
1533
|
case 4:
|
|
1873
1534
|
message.info = exports.ResponseInfo.decode(reader, reader.uint32());
|
|
1874
1535
|
break;
|
|
1536
|
+
case 5:
|
|
1537
|
+
message.setOption = exports.ResponseSetOption.decode(reader, reader.uint32());
|
|
1538
|
+
break;
|
|
1875
1539
|
case 6:
|
|
1876
1540
|
message.initChain = exports.ResponseInitChain.decode(reader, reader.uint32());
|
|
1877
1541
|
break;
|
|
@@ -1905,12 +1569,6 @@ exports.Response = {
|
|
|
1905
1569
|
case 16:
|
|
1906
1570
|
message.applySnapshotChunk = exports.ResponseApplySnapshotChunk.decode(reader, reader.uint32());
|
|
1907
1571
|
break;
|
|
1908
|
-
case 17:
|
|
1909
|
-
message.prepareProposal = exports.ResponsePrepareProposal.decode(reader, reader.uint32());
|
|
1910
|
-
break;
|
|
1911
|
-
case 18:
|
|
1912
|
-
message.processProposal = exports.ResponseProcessProposal.decode(reader, reader.uint32());
|
|
1913
|
-
break;
|
|
1914
1572
|
default:
|
|
1915
1573
|
reader.skipType(tag & 7);
|
|
1916
1574
|
break;
|
|
@@ -1936,6 +1594,10 @@ exports.Response = {
|
|
|
1936
1594
|
object.info !== undefined && object.info !== null
|
|
1937
1595
|
? exports.ResponseInfo.fromJSON(object.info)
|
|
1938
1596
|
: undefined;
|
|
1597
|
+
message.setOption =
|
|
1598
|
+
object.setOption !== undefined && object.setOption !== null
|
|
1599
|
+
? exports.ResponseSetOption.fromJSON(object.setOption)
|
|
1600
|
+
: undefined;
|
|
1939
1601
|
message.initChain =
|
|
1940
1602
|
object.initChain !== undefined && object.initChain !== null
|
|
1941
1603
|
? exports.ResponseInitChain.fromJSON(object.initChain)
|
|
@@ -1982,14 +1644,6 @@ exports.Response = {
|
|
|
1982
1644
|
object.applySnapshotChunk !== null
|
|
1983
1645
|
? exports.ResponseApplySnapshotChunk.fromJSON(object.applySnapshotChunk)
|
|
1984
1646
|
: undefined;
|
|
1985
|
-
message.prepareProposal =
|
|
1986
|
-
object.prepareProposal !== undefined && object.prepareProposal !== null
|
|
1987
|
-
? exports.ResponsePrepareProposal.fromJSON(object.prepareProposal)
|
|
1988
|
-
: undefined;
|
|
1989
|
-
message.processProposal =
|
|
1990
|
-
object.processProposal !== undefined && object.processProposal !== null
|
|
1991
|
-
? exports.ResponseProcessProposal.fromJSON(object.processProposal)
|
|
1992
|
-
: undefined;
|
|
1993
1647
|
return message;
|
|
1994
1648
|
},
|
|
1995
1649
|
toJSON(message) {
|
|
@@ -2006,6 +1660,10 @@ exports.Response = {
|
|
|
2006
1660
|
: undefined);
|
|
2007
1661
|
message.info !== undefined &&
|
|
2008
1662
|
(obj.info = message.info ? exports.ResponseInfo.toJSON(message.info) : undefined);
|
|
1663
|
+
message.setOption !== undefined &&
|
|
1664
|
+
(obj.setOption = message.setOption
|
|
1665
|
+
? exports.ResponseSetOption.toJSON(message.setOption)
|
|
1666
|
+
: undefined);
|
|
2009
1667
|
message.initChain !== undefined &&
|
|
2010
1668
|
(obj.initChain = message.initChain
|
|
2011
1669
|
? exports.ResponseInitChain.toJSON(message.initChain)
|
|
@@ -2048,15 +1706,7 @@ exports.Response = {
|
|
|
2048
1706
|
: undefined);
|
|
2049
1707
|
message.applySnapshotChunk !== undefined &&
|
|
2050
1708
|
(obj.applySnapshotChunk = message.applySnapshotChunk
|
|
2051
|
-
? exports.ResponseApplySnapshotChunk.toJSON(message.applySnapshotChunk)
|
|
2052
|
-
: undefined);
|
|
2053
|
-
message.prepareProposal !== undefined &&
|
|
2054
|
-
(obj.prepareProposal = message.prepareProposal
|
|
2055
|
-
? exports.ResponsePrepareProposal.toJSON(message.prepareProposal)
|
|
2056
|
-
: undefined);
|
|
2057
|
-
message.processProposal !== undefined &&
|
|
2058
|
-
(obj.processProposal = message.processProposal
|
|
2059
|
-
? exports.ResponseProcessProposal.toJSON(message.processProposal)
|
|
1709
|
+
? exports.ResponseApplySnapshotChunk.toJSON(message.applySnapshotChunk)
|
|
2060
1710
|
: undefined);
|
|
2061
1711
|
return obj;
|
|
2062
1712
|
},
|
|
@@ -2078,6 +1728,10 @@ exports.Response = {
|
|
|
2078
1728
|
object.info !== undefined && object.info !== null
|
|
2079
1729
|
? exports.ResponseInfo.fromPartial(object.info)
|
|
2080
1730
|
: undefined;
|
|
1731
|
+
message.setOption =
|
|
1732
|
+
object.setOption !== undefined && object.setOption !== null
|
|
1733
|
+
? exports.ResponseSetOption.fromPartial(object.setOption)
|
|
1734
|
+
: undefined;
|
|
2081
1735
|
message.initChain =
|
|
2082
1736
|
object.initChain !== undefined && object.initChain !== null
|
|
2083
1737
|
? exports.ResponseInitChain.fromPartial(object.initChain)
|
|
@@ -2124,14 +1778,6 @@ exports.Response = {
|
|
|
2124
1778
|
object.applySnapshotChunk !== null
|
|
2125
1779
|
? exports.ResponseApplySnapshotChunk.fromPartial(object.applySnapshotChunk)
|
|
2126
1780
|
: undefined;
|
|
2127
|
-
message.prepareProposal =
|
|
2128
|
-
object.prepareProposal !== undefined && object.prepareProposal !== null
|
|
2129
|
-
? exports.ResponsePrepareProposal.fromPartial(object.prepareProposal)
|
|
2130
|
-
: undefined;
|
|
2131
|
-
message.processProposal =
|
|
2132
|
-
object.processProposal !== undefined && object.processProposal !== null
|
|
2133
|
-
? exports.ResponseProcessProposal.fromPartial(object.processProposal)
|
|
2134
|
-
: undefined;
|
|
2135
1781
|
return message;
|
|
2136
1782
|
},
|
|
2137
1783
|
};
|
|
@@ -2367,11 +2013,78 @@ exports.ResponseInfo = {
|
|
|
2367
2013
|
return message;
|
|
2368
2014
|
},
|
|
2369
2015
|
};
|
|
2016
|
+
const baseResponseSetOption = { code: 0, log: "", info: "" };
|
|
2017
|
+
exports.ResponseSetOption = {
|
|
2018
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2019
|
+
if (message.code !== 0) {
|
|
2020
|
+
writer.uint32(8).uint32(message.code);
|
|
2021
|
+
}
|
|
2022
|
+
if (message.log !== "") {
|
|
2023
|
+
writer.uint32(26).string(message.log);
|
|
2024
|
+
}
|
|
2025
|
+
if (message.info !== "") {
|
|
2026
|
+
writer.uint32(34).string(message.info);
|
|
2027
|
+
}
|
|
2028
|
+
return writer;
|
|
2029
|
+
},
|
|
2030
|
+
decode(input, length) {
|
|
2031
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
2032
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2033
|
+
const message = Object.assign({}, baseResponseSetOption);
|
|
2034
|
+
while (reader.pos < end) {
|
|
2035
|
+
const tag = reader.uint32();
|
|
2036
|
+
switch (tag >>> 3) {
|
|
2037
|
+
case 1:
|
|
2038
|
+
message.code = reader.uint32();
|
|
2039
|
+
break;
|
|
2040
|
+
case 3:
|
|
2041
|
+
message.log = reader.string();
|
|
2042
|
+
break;
|
|
2043
|
+
case 4:
|
|
2044
|
+
message.info = reader.string();
|
|
2045
|
+
break;
|
|
2046
|
+
default:
|
|
2047
|
+
reader.skipType(tag & 7);
|
|
2048
|
+
break;
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
return message;
|
|
2052
|
+
},
|
|
2053
|
+
fromJSON(object) {
|
|
2054
|
+
const message = Object.assign({}, baseResponseSetOption);
|
|
2055
|
+
message.code =
|
|
2056
|
+
object.code !== undefined && object.code !== null
|
|
2057
|
+
? Number(object.code)
|
|
2058
|
+
: 0;
|
|
2059
|
+
message.log =
|
|
2060
|
+
object.log !== undefined && object.log !== null ? String(object.log) : "";
|
|
2061
|
+
message.info =
|
|
2062
|
+
object.info !== undefined && object.info !== null
|
|
2063
|
+
? String(object.info)
|
|
2064
|
+
: "";
|
|
2065
|
+
return message;
|
|
2066
|
+
},
|
|
2067
|
+
toJSON(message) {
|
|
2068
|
+
const obj = {};
|
|
2069
|
+
message.code !== undefined && (obj.code = message.code);
|
|
2070
|
+
message.log !== undefined && (obj.log = message.log);
|
|
2071
|
+
message.info !== undefined && (obj.info = message.info);
|
|
2072
|
+
return obj;
|
|
2073
|
+
},
|
|
2074
|
+
fromPartial(object) {
|
|
2075
|
+
var _a, _b, _c;
|
|
2076
|
+
const message = Object.assign({}, baseResponseSetOption);
|
|
2077
|
+
message.code = (_a = object.code) !== null && _a !== void 0 ? _a : 0;
|
|
2078
|
+
message.log = (_b = object.log) !== null && _b !== void 0 ? _b : "";
|
|
2079
|
+
message.info = (_c = object.info) !== null && _c !== void 0 ? _c : "";
|
|
2080
|
+
return message;
|
|
2081
|
+
},
|
|
2082
|
+
};
|
|
2370
2083
|
const baseResponseInitChain = {};
|
|
2371
2084
|
exports.ResponseInitChain = {
|
|
2372
2085
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2373
2086
|
if (message.consensusParams !== undefined) {
|
|
2374
|
-
|
|
2087
|
+
exports.ConsensusParams.encode(message.consensusParams, writer.uint32(10).fork()).ldelim();
|
|
2375
2088
|
}
|
|
2376
2089
|
for (const v of message.validators) {
|
|
2377
2090
|
exports.ValidatorUpdate.encode(v, writer.uint32(18).fork()).ldelim();
|
|
@@ -2391,7 +2104,7 @@ exports.ResponseInitChain = {
|
|
|
2391
2104
|
const tag = reader.uint32();
|
|
2392
2105
|
switch (tag >>> 3) {
|
|
2393
2106
|
case 1:
|
|
2394
|
-
message.consensusParams =
|
|
2107
|
+
message.consensusParams = exports.ConsensusParams.decode(reader, reader.uint32());
|
|
2395
2108
|
break;
|
|
2396
2109
|
case 2:
|
|
2397
2110
|
message.validators.push(exports.ValidatorUpdate.decode(reader, reader.uint32()));
|
|
@@ -2411,7 +2124,7 @@ exports.ResponseInitChain = {
|
|
|
2411
2124
|
const message = Object.assign({}, baseResponseInitChain);
|
|
2412
2125
|
message.consensusParams =
|
|
2413
2126
|
object.consensusParams !== undefined && object.consensusParams !== null
|
|
2414
|
-
?
|
|
2127
|
+
? exports.ConsensusParams.fromJSON(object.consensusParams)
|
|
2415
2128
|
: undefined;
|
|
2416
2129
|
message.validators = ((_a = object.validators) !== null && _a !== void 0 ? _a : []).map((e) => exports.ValidatorUpdate.fromJSON(e));
|
|
2417
2130
|
message.appHash =
|
|
@@ -2424,7 +2137,7 @@ exports.ResponseInitChain = {
|
|
|
2424
2137
|
const obj = {};
|
|
2425
2138
|
message.consensusParams !== undefined &&
|
|
2426
2139
|
(obj.consensusParams = message.consensusParams
|
|
2427
|
-
?
|
|
2140
|
+
? exports.ConsensusParams.toJSON(message.consensusParams)
|
|
2428
2141
|
: undefined);
|
|
2429
2142
|
if (message.validators) {
|
|
2430
2143
|
obj.validators = message.validators.map((e) => e ? exports.ValidatorUpdate.toJSON(e) : undefined);
|
|
@@ -2441,7 +2154,7 @@ exports.ResponseInitChain = {
|
|
|
2441
2154
|
const message = Object.assign({}, baseResponseInitChain);
|
|
2442
2155
|
message.consensusParams =
|
|
2443
2156
|
object.consensusParams !== undefined && object.consensusParams !== null
|
|
2444
|
-
?
|
|
2157
|
+
? exports.ConsensusParams.fromPartial(object.consensusParams)
|
|
2445
2158
|
: undefined;
|
|
2446
2159
|
message.validators = ((_a = object.validators) !== null && _a !== void 0 ? _a : []).map((e) => exports.ValidatorUpdate.fromPartial(e));
|
|
2447
2160
|
message.appHash = (_b = object.appHash) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
@@ -3008,7 +2721,7 @@ exports.ResponseEndBlock = {
|
|
|
3008
2721
|
exports.ValidatorUpdate.encode(v, writer.uint32(10).fork()).ldelim();
|
|
3009
2722
|
}
|
|
3010
2723
|
if (message.consensusParamUpdates !== undefined) {
|
|
3011
|
-
|
|
2724
|
+
exports.ConsensusParams.encode(message.consensusParamUpdates, writer.uint32(18).fork()).ldelim();
|
|
3012
2725
|
}
|
|
3013
2726
|
for (const v of message.events) {
|
|
3014
2727
|
exports.Event.encode(v, writer.uint32(26).fork()).ldelim();
|
|
@@ -3028,7 +2741,7 @@ exports.ResponseEndBlock = {
|
|
|
3028
2741
|
message.validatorUpdates.push(exports.ValidatorUpdate.decode(reader, reader.uint32()));
|
|
3029
2742
|
break;
|
|
3030
2743
|
case 2:
|
|
3031
|
-
message.consensusParamUpdates =
|
|
2744
|
+
message.consensusParamUpdates = exports.ConsensusParams.decode(reader, reader.uint32());
|
|
3032
2745
|
break;
|
|
3033
2746
|
case 3:
|
|
3034
2747
|
message.events.push(exports.Event.decode(reader, reader.uint32()));
|
|
@@ -3047,7 +2760,7 @@ exports.ResponseEndBlock = {
|
|
|
3047
2760
|
message.consensusParamUpdates =
|
|
3048
2761
|
object.consensusParamUpdates !== undefined &&
|
|
3049
2762
|
object.consensusParamUpdates !== null
|
|
3050
|
-
?
|
|
2763
|
+
? exports.ConsensusParams.fromJSON(object.consensusParamUpdates)
|
|
3051
2764
|
: undefined;
|
|
3052
2765
|
message.events = ((_b = object.events) !== null && _b !== void 0 ? _b : []).map((e) => exports.Event.fromJSON(e));
|
|
3053
2766
|
return message;
|
|
@@ -3062,7 +2775,7 @@ exports.ResponseEndBlock = {
|
|
|
3062
2775
|
}
|
|
3063
2776
|
message.consensusParamUpdates !== undefined &&
|
|
3064
2777
|
(obj.consensusParamUpdates = message.consensusParamUpdates
|
|
3065
|
-
?
|
|
2778
|
+
? exports.ConsensusParams.toJSON(message.consensusParamUpdates)
|
|
3066
2779
|
: undefined);
|
|
3067
2780
|
if (message.events) {
|
|
3068
2781
|
obj.events = message.events.map((e) => (e ? exports.Event.toJSON(e) : undefined));
|
|
@@ -3079,7 +2792,7 @@ exports.ResponseEndBlock = {
|
|
|
3079
2792
|
message.consensusParamUpdates =
|
|
3080
2793
|
object.consensusParamUpdates !== undefined &&
|
|
3081
2794
|
object.consensusParamUpdates !== null
|
|
3082
|
-
?
|
|
2795
|
+
? exports.ConsensusParams.fromPartial(object.consensusParamUpdates)
|
|
3083
2796
|
: undefined;
|
|
3084
2797
|
message.events = ((_b = object.events) !== null && _b !== void 0 ? _b : []).map((e) => exports.Event.fromPartial(e));
|
|
3085
2798
|
return message;
|
|
@@ -3381,72 +3094,41 @@ exports.ResponseApplySnapshotChunk = {
|
|
|
3381
3094
|
return message;
|
|
3382
3095
|
},
|
|
3383
3096
|
};
|
|
3384
|
-
const
|
|
3385
|
-
exports.
|
|
3097
|
+
const baseConsensusParams = {};
|
|
3098
|
+
exports.ConsensusParams = {
|
|
3386
3099
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3387
|
-
|
|
3388
|
-
writer.uint32(10).
|
|
3389
|
-
}
|
|
3390
|
-
return writer;
|
|
3391
|
-
},
|
|
3392
|
-
decode(input, length) {
|
|
3393
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
3394
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3395
|
-
const message = Object.assign({}, baseResponsePrepareProposal);
|
|
3396
|
-
message.txs = [];
|
|
3397
|
-
while (reader.pos < end) {
|
|
3398
|
-
const tag = reader.uint32();
|
|
3399
|
-
switch (tag >>> 3) {
|
|
3400
|
-
case 1:
|
|
3401
|
-
message.txs.push(reader.bytes());
|
|
3402
|
-
break;
|
|
3403
|
-
default:
|
|
3404
|
-
reader.skipType(tag & 7);
|
|
3405
|
-
break;
|
|
3406
|
-
}
|
|
3100
|
+
if (message.block !== undefined) {
|
|
3101
|
+
exports.BlockParams.encode(message.block, writer.uint32(10).fork()).ldelim();
|
|
3407
3102
|
}
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
fromJSON(object) {
|
|
3411
|
-
var _a;
|
|
3412
|
-
const message = Object.assign({}, baseResponsePrepareProposal);
|
|
3413
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => bytesFromBase64(e));
|
|
3414
|
-
return message;
|
|
3415
|
-
},
|
|
3416
|
-
toJSON(message) {
|
|
3417
|
-
const obj = {};
|
|
3418
|
-
if (message.txs) {
|
|
3419
|
-
obj.txs = message.txs.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
3103
|
+
if (message.evidence !== undefined) {
|
|
3104
|
+
params_1.EvidenceParams.encode(message.evidence, writer.uint32(18).fork()).ldelim();
|
|
3420
3105
|
}
|
|
3421
|
-
|
|
3422
|
-
|
|
3106
|
+
if (message.validator !== undefined) {
|
|
3107
|
+
params_1.ValidatorParams.encode(message.validator, writer.uint32(26).fork()).ldelim();
|
|
3423
3108
|
}
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
fromPartial(object) {
|
|
3427
|
-
var _a;
|
|
3428
|
-
const message = Object.assign({}, baseResponsePrepareProposal);
|
|
3429
|
-
message.txs = ((_a = object.txs) !== null && _a !== void 0 ? _a : []).map((e) => e);
|
|
3430
|
-
return message;
|
|
3431
|
-
},
|
|
3432
|
-
};
|
|
3433
|
-
const baseResponseProcessProposal = { status: 0 };
|
|
3434
|
-
exports.ResponseProcessProposal = {
|
|
3435
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3436
|
-
if (message.status !== 0) {
|
|
3437
|
-
writer.uint32(8).int32(message.status);
|
|
3109
|
+
if (message.version !== undefined) {
|
|
3110
|
+
params_1.VersionParams.encode(message.version, writer.uint32(34).fork()).ldelim();
|
|
3438
3111
|
}
|
|
3439
3112
|
return writer;
|
|
3440
3113
|
},
|
|
3441
3114
|
decode(input, length) {
|
|
3442
3115
|
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
3443
3116
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3444
|
-
const message = Object.assign({},
|
|
3117
|
+
const message = Object.assign({}, baseConsensusParams);
|
|
3445
3118
|
while (reader.pos < end) {
|
|
3446
3119
|
const tag = reader.uint32();
|
|
3447
3120
|
switch (tag >>> 3) {
|
|
3448
3121
|
case 1:
|
|
3449
|
-
message.
|
|
3122
|
+
message.block = exports.BlockParams.decode(reader, reader.uint32());
|
|
3123
|
+
break;
|
|
3124
|
+
case 2:
|
|
3125
|
+
message.evidence = params_1.EvidenceParams.decode(reader, reader.uint32());
|
|
3126
|
+
break;
|
|
3127
|
+
case 3:
|
|
3128
|
+
message.validator = params_1.ValidatorParams.decode(reader, reader.uint32());
|
|
3129
|
+
break;
|
|
3130
|
+
case 4:
|
|
3131
|
+
message.version = params_1.VersionParams.decode(reader, reader.uint32());
|
|
3450
3132
|
break;
|
|
3451
3133
|
default:
|
|
3452
3134
|
reader.skipType(tag & 7);
|
|
@@ -3456,50 +3138,89 @@ exports.ResponseProcessProposal = {
|
|
|
3456
3138
|
return message;
|
|
3457
3139
|
},
|
|
3458
3140
|
fromJSON(object) {
|
|
3459
|
-
const message = Object.assign({},
|
|
3460
|
-
message.
|
|
3461
|
-
object.
|
|
3462
|
-
?
|
|
3463
|
-
:
|
|
3141
|
+
const message = Object.assign({}, baseConsensusParams);
|
|
3142
|
+
message.block =
|
|
3143
|
+
object.block !== undefined && object.block !== null
|
|
3144
|
+
? exports.BlockParams.fromJSON(object.block)
|
|
3145
|
+
: undefined;
|
|
3146
|
+
message.evidence =
|
|
3147
|
+
object.evidence !== undefined && object.evidence !== null
|
|
3148
|
+
? params_1.EvidenceParams.fromJSON(object.evidence)
|
|
3149
|
+
: undefined;
|
|
3150
|
+
message.validator =
|
|
3151
|
+
object.validator !== undefined && object.validator !== null
|
|
3152
|
+
? params_1.ValidatorParams.fromJSON(object.validator)
|
|
3153
|
+
: undefined;
|
|
3154
|
+
message.version =
|
|
3155
|
+
object.version !== undefined && object.version !== null
|
|
3156
|
+
? params_1.VersionParams.fromJSON(object.version)
|
|
3157
|
+
: undefined;
|
|
3464
3158
|
return message;
|
|
3465
3159
|
},
|
|
3466
3160
|
toJSON(message) {
|
|
3467
3161
|
const obj = {};
|
|
3468
|
-
message.
|
|
3469
|
-
(obj.
|
|
3162
|
+
message.block !== undefined &&
|
|
3163
|
+
(obj.block = message.block
|
|
3164
|
+
? exports.BlockParams.toJSON(message.block)
|
|
3165
|
+
: undefined);
|
|
3166
|
+
message.evidence !== undefined &&
|
|
3167
|
+
(obj.evidence = message.evidence
|
|
3168
|
+
? params_1.EvidenceParams.toJSON(message.evidence)
|
|
3169
|
+
: undefined);
|
|
3170
|
+
message.validator !== undefined &&
|
|
3171
|
+
(obj.validator = message.validator
|
|
3172
|
+
? params_1.ValidatorParams.toJSON(message.validator)
|
|
3173
|
+
: undefined);
|
|
3174
|
+
message.version !== undefined &&
|
|
3175
|
+
(obj.version = message.version
|
|
3176
|
+
? params_1.VersionParams.toJSON(message.version)
|
|
3177
|
+
: undefined);
|
|
3470
3178
|
return obj;
|
|
3471
3179
|
},
|
|
3472
3180
|
fromPartial(object) {
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3181
|
+
const message = Object.assign({}, baseConsensusParams);
|
|
3182
|
+
message.block =
|
|
3183
|
+
object.block !== undefined && object.block !== null
|
|
3184
|
+
? exports.BlockParams.fromPartial(object.block)
|
|
3185
|
+
: undefined;
|
|
3186
|
+
message.evidence =
|
|
3187
|
+
object.evidence !== undefined && object.evidence !== null
|
|
3188
|
+
? params_1.EvidenceParams.fromPartial(object.evidence)
|
|
3189
|
+
: undefined;
|
|
3190
|
+
message.validator =
|
|
3191
|
+
object.validator !== undefined && object.validator !== null
|
|
3192
|
+
? params_1.ValidatorParams.fromPartial(object.validator)
|
|
3193
|
+
: undefined;
|
|
3194
|
+
message.version =
|
|
3195
|
+
object.version !== undefined && object.version !== null
|
|
3196
|
+
? params_1.VersionParams.fromPartial(object.version)
|
|
3197
|
+
: undefined;
|
|
3476
3198
|
return message;
|
|
3477
3199
|
},
|
|
3478
3200
|
};
|
|
3479
|
-
const
|
|
3480
|
-
exports.
|
|
3201
|
+
const baseBlockParams = { maxBytes: long_1.default.ZERO, maxGas: long_1.default.ZERO };
|
|
3202
|
+
exports.BlockParams = {
|
|
3481
3203
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3482
|
-
if (message.
|
|
3483
|
-
writer.uint32(8).
|
|
3204
|
+
if (!message.maxBytes.isZero()) {
|
|
3205
|
+
writer.uint32(8).int64(message.maxBytes);
|
|
3484
3206
|
}
|
|
3485
|
-
|
|
3486
|
-
|
|
3207
|
+
if (!message.maxGas.isZero()) {
|
|
3208
|
+
writer.uint32(16).int64(message.maxGas);
|
|
3487
3209
|
}
|
|
3488
3210
|
return writer;
|
|
3489
3211
|
},
|
|
3490
3212
|
decode(input, length) {
|
|
3491
3213
|
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
3492
3214
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3493
|
-
const message = Object.assign({},
|
|
3494
|
-
message.votes = [];
|
|
3215
|
+
const message = Object.assign({}, baseBlockParams);
|
|
3495
3216
|
while (reader.pos < end) {
|
|
3496
3217
|
const tag = reader.uint32();
|
|
3497
3218
|
switch (tag >>> 3) {
|
|
3498
3219
|
case 1:
|
|
3499
|
-
message.
|
|
3220
|
+
message.maxBytes = reader.int64();
|
|
3500
3221
|
break;
|
|
3501
3222
|
case 2:
|
|
3502
|
-
message.
|
|
3223
|
+
message.maxGas = reader.int64();
|
|
3503
3224
|
break;
|
|
3504
3225
|
default:
|
|
3505
3226
|
reader.skipType(tag & 7);
|
|
@@ -3509,49 +3230,53 @@ exports.CommitInfo = {
|
|
|
3509
3230
|
return message;
|
|
3510
3231
|
},
|
|
3511
3232
|
fromJSON(object) {
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3233
|
+
const message = Object.assign({}, baseBlockParams);
|
|
3234
|
+
message.maxBytes =
|
|
3235
|
+
object.maxBytes !== undefined && object.maxBytes !== null
|
|
3236
|
+
? long_1.default.fromString(object.maxBytes)
|
|
3237
|
+
: long_1.default.ZERO;
|
|
3238
|
+
message.maxGas =
|
|
3239
|
+
object.maxGas !== undefined && object.maxGas !== null
|
|
3240
|
+
? long_1.default.fromString(object.maxGas)
|
|
3241
|
+
: long_1.default.ZERO;
|
|
3519
3242
|
return message;
|
|
3520
3243
|
},
|
|
3521
3244
|
toJSON(message) {
|
|
3522
3245
|
const obj = {};
|
|
3523
|
-
message.
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
else {
|
|
3528
|
-
obj.votes = [];
|
|
3529
|
-
}
|
|
3246
|
+
message.maxBytes !== undefined &&
|
|
3247
|
+
(obj.maxBytes = (message.maxBytes || long_1.default.ZERO).toString());
|
|
3248
|
+
message.maxGas !== undefined &&
|
|
3249
|
+
(obj.maxGas = (message.maxGas || long_1.default.ZERO).toString());
|
|
3530
3250
|
return obj;
|
|
3531
3251
|
},
|
|
3532
3252
|
fromPartial(object) {
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3253
|
+
const message = Object.assign({}, baseBlockParams);
|
|
3254
|
+
message.maxBytes =
|
|
3255
|
+
object.maxBytes !== undefined && object.maxBytes !== null
|
|
3256
|
+
? long_1.default.fromValue(object.maxBytes)
|
|
3257
|
+
: long_1.default.ZERO;
|
|
3258
|
+
message.maxGas =
|
|
3259
|
+
object.maxGas !== undefined && object.maxGas !== null
|
|
3260
|
+
? long_1.default.fromValue(object.maxGas)
|
|
3261
|
+
: long_1.default.ZERO;
|
|
3537
3262
|
return message;
|
|
3538
3263
|
},
|
|
3539
3264
|
};
|
|
3540
|
-
const
|
|
3541
|
-
exports.
|
|
3265
|
+
const baseLastCommitInfo = { round: 0 };
|
|
3266
|
+
exports.LastCommitInfo = {
|
|
3542
3267
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3543
3268
|
if (message.round !== 0) {
|
|
3544
3269
|
writer.uint32(8).int32(message.round);
|
|
3545
3270
|
}
|
|
3546
3271
|
for (const v of message.votes) {
|
|
3547
|
-
exports.
|
|
3272
|
+
exports.VoteInfo.encode(v, writer.uint32(18).fork()).ldelim();
|
|
3548
3273
|
}
|
|
3549
3274
|
return writer;
|
|
3550
3275
|
},
|
|
3551
3276
|
decode(input, length) {
|
|
3552
3277
|
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
3553
3278
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3554
|
-
const message = Object.assign({},
|
|
3279
|
+
const message = Object.assign({}, baseLastCommitInfo);
|
|
3555
3280
|
message.votes = [];
|
|
3556
3281
|
while (reader.pos < end) {
|
|
3557
3282
|
const tag = reader.uint32();
|
|
@@ -3560,7 +3285,7 @@ exports.ExtendedCommitInfo = {
|
|
|
3560
3285
|
message.round = reader.int32();
|
|
3561
3286
|
break;
|
|
3562
3287
|
case 2:
|
|
3563
|
-
message.votes.push(exports.
|
|
3288
|
+
message.votes.push(exports.VoteInfo.decode(reader, reader.uint32()));
|
|
3564
3289
|
break;
|
|
3565
3290
|
default:
|
|
3566
3291
|
reader.skipType(tag & 7);
|
|
@@ -3571,19 +3296,19 @@ exports.ExtendedCommitInfo = {
|
|
|
3571
3296
|
},
|
|
3572
3297
|
fromJSON(object) {
|
|
3573
3298
|
var _a;
|
|
3574
|
-
const message = Object.assign({},
|
|
3299
|
+
const message = Object.assign({}, baseLastCommitInfo);
|
|
3575
3300
|
message.round =
|
|
3576
3301
|
object.round !== undefined && object.round !== null
|
|
3577
3302
|
? Number(object.round)
|
|
3578
3303
|
: 0;
|
|
3579
|
-
message.votes = ((_a = object.votes) !== null && _a !== void 0 ? _a : []).map((e) => exports.
|
|
3304
|
+
message.votes = ((_a = object.votes) !== null && _a !== void 0 ? _a : []).map((e) => exports.VoteInfo.fromJSON(e));
|
|
3580
3305
|
return message;
|
|
3581
3306
|
},
|
|
3582
3307
|
toJSON(message) {
|
|
3583
3308
|
const obj = {};
|
|
3584
3309
|
message.round !== undefined && (obj.round = message.round);
|
|
3585
3310
|
if (message.votes) {
|
|
3586
|
-
obj.votes = message.votes.map((e) => e ? exports.
|
|
3311
|
+
obj.votes = message.votes.map((e) => e ? exports.VoteInfo.toJSON(e) : undefined);
|
|
3587
3312
|
}
|
|
3588
3313
|
else {
|
|
3589
3314
|
obj.votes = [];
|
|
@@ -3592,9 +3317,9 @@ exports.ExtendedCommitInfo = {
|
|
|
3592
3317
|
},
|
|
3593
3318
|
fromPartial(object) {
|
|
3594
3319
|
var _a, _b;
|
|
3595
|
-
const message = Object.assign({},
|
|
3320
|
+
const message = Object.assign({}, baseLastCommitInfo);
|
|
3596
3321
|
message.round = (_a = object.round) !== null && _a !== void 0 ? _a : 0;
|
|
3597
|
-
message.votes = ((_b = object.votes) !== null && _b !== void 0 ? _b : []).map((e) => exports.
|
|
3322
|
+
message.votes = ((_b = object.votes) !== null && _b !== void 0 ? _b : []).map((e) => exports.VoteInfo.fromPartial(e));
|
|
3598
3323
|
return message;
|
|
3599
3324
|
},
|
|
3600
3325
|
};
|
|
@@ -3659,14 +3384,14 @@ exports.Event = {
|
|
|
3659
3384
|
return message;
|
|
3660
3385
|
},
|
|
3661
3386
|
};
|
|
3662
|
-
const baseEventAttribute = {
|
|
3387
|
+
const baseEventAttribute = { index: false };
|
|
3663
3388
|
exports.EventAttribute = {
|
|
3664
3389
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3665
|
-
if (message.key !==
|
|
3666
|
-
writer.uint32(10).
|
|
3390
|
+
if (message.key.length !== 0) {
|
|
3391
|
+
writer.uint32(10).bytes(message.key);
|
|
3667
3392
|
}
|
|
3668
|
-
if (message.value !==
|
|
3669
|
-
writer.uint32(18).
|
|
3393
|
+
if (message.value.length !== 0) {
|
|
3394
|
+
writer.uint32(18).bytes(message.value);
|
|
3670
3395
|
}
|
|
3671
3396
|
if (message.index === true) {
|
|
3672
3397
|
writer.uint32(24).bool(message.index);
|
|
@@ -3677,14 +3402,16 @@ exports.EventAttribute = {
|
|
|
3677
3402
|
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
3678
3403
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3679
3404
|
const message = Object.assign({}, baseEventAttribute);
|
|
3405
|
+
message.key = new Uint8Array();
|
|
3406
|
+
message.value = new Uint8Array();
|
|
3680
3407
|
while (reader.pos < end) {
|
|
3681
3408
|
const tag = reader.uint32();
|
|
3682
3409
|
switch (tag >>> 3) {
|
|
3683
3410
|
case 1:
|
|
3684
|
-
message.key = reader.
|
|
3411
|
+
message.key = reader.bytes();
|
|
3685
3412
|
break;
|
|
3686
3413
|
case 2:
|
|
3687
|
-
message.value = reader.
|
|
3414
|
+
message.value = reader.bytes();
|
|
3688
3415
|
break;
|
|
3689
3416
|
case 3:
|
|
3690
3417
|
message.index = reader.bool();
|
|
@@ -3699,11 +3426,13 @@ exports.EventAttribute = {
|
|
|
3699
3426
|
fromJSON(object) {
|
|
3700
3427
|
const message = Object.assign({}, baseEventAttribute);
|
|
3701
3428
|
message.key =
|
|
3702
|
-
object.key !== undefined && object.key !== null
|
|
3429
|
+
object.key !== undefined && object.key !== null
|
|
3430
|
+
? bytesFromBase64(object.key)
|
|
3431
|
+
: new Uint8Array();
|
|
3703
3432
|
message.value =
|
|
3704
3433
|
object.value !== undefined && object.value !== null
|
|
3705
|
-
?
|
|
3706
|
-
:
|
|
3434
|
+
? bytesFromBase64(object.value)
|
|
3435
|
+
: new Uint8Array();
|
|
3707
3436
|
message.index =
|
|
3708
3437
|
object.index !== undefined && object.index !== null
|
|
3709
3438
|
? Boolean(object.index)
|
|
@@ -3712,16 +3441,18 @@ exports.EventAttribute = {
|
|
|
3712
3441
|
},
|
|
3713
3442
|
toJSON(message) {
|
|
3714
3443
|
const obj = {};
|
|
3715
|
-
message.key !== undefined &&
|
|
3716
|
-
|
|
3444
|
+
message.key !== undefined &&
|
|
3445
|
+
(obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array()));
|
|
3446
|
+
message.value !== undefined &&
|
|
3447
|
+
(obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array()));
|
|
3717
3448
|
message.index !== undefined && (obj.index = message.index);
|
|
3718
3449
|
return obj;
|
|
3719
3450
|
},
|
|
3720
3451
|
fromPartial(object) {
|
|
3721
3452
|
var _a, _b, _c;
|
|
3722
3453
|
const message = Object.assign({}, baseEventAttribute);
|
|
3723
|
-
message.key = (_a = object.key) !== null && _a !== void 0 ? _a :
|
|
3724
|
-
message.value = (_b = object.value) !== null && _b !== void 0 ? _b :
|
|
3454
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
3455
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
3725
3456
|
message.index = (_c = object.index) !== null && _c !== void 0 ? _c : false;
|
|
3726
3457
|
return message;
|
|
3727
3458
|
},
|
|
@@ -4012,92 +3743,12 @@ exports.VoteInfo = {
|
|
|
4012
3743
|
return message;
|
|
4013
3744
|
},
|
|
4014
3745
|
};
|
|
4015
|
-
const
|
|
4016
|
-
exports.ExtendedVoteInfo = {
|
|
4017
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
4018
|
-
if (message.validator !== undefined) {
|
|
4019
|
-
exports.Validator.encode(message.validator, writer.uint32(10).fork()).ldelim();
|
|
4020
|
-
}
|
|
4021
|
-
if (message.signedLastBlock === true) {
|
|
4022
|
-
writer.uint32(16).bool(message.signedLastBlock);
|
|
4023
|
-
}
|
|
4024
|
-
if (message.voteExtension.length !== 0) {
|
|
4025
|
-
writer.uint32(26).bytes(message.voteExtension);
|
|
4026
|
-
}
|
|
4027
|
-
return writer;
|
|
4028
|
-
},
|
|
4029
|
-
decode(input, length) {
|
|
4030
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
4031
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4032
|
-
const message = Object.assign({}, baseExtendedVoteInfo);
|
|
4033
|
-
message.voteExtension = new Uint8Array();
|
|
4034
|
-
while (reader.pos < end) {
|
|
4035
|
-
const tag = reader.uint32();
|
|
4036
|
-
switch (tag >>> 3) {
|
|
4037
|
-
case 1:
|
|
4038
|
-
message.validator = exports.Validator.decode(reader, reader.uint32());
|
|
4039
|
-
break;
|
|
4040
|
-
case 2:
|
|
4041
|
-
message.signedLastBlock = reader.bool();
|
|
4042
|
-
break;
|
|
4043
|
-
case 3:
|
|
4044
|
-
message.voteExtension = reader.bytes();
|
|
4045
|
-
break;
|
|
4046
|
-
default:
|
|
4047
|
-
reader.skipType(tag & 7);
|
|
4048
|
-
break;
|
|
4049
|
-
}
|
|
4050
|
-
}
|
|
4051
|
-
return message;
|
|
4052
|
-
},
|
|
4053
|
-
fromJSON(object) {
|
|
4054
|
-
const message = Object.assign({}, baseExtendedVoteInfo);
|
|
4055
|
-
message.validator =
|
|
4056
|
-
object.validator !== undefined && object.validator !== null
|
|
4057
|
-
? exports.Validator.fromJSON(object.validator)
|
|
4058
|
-
: undefined;
|
|
4059
|
-
message.signedLastBlock =
|
|
4060
|
-
object.signedLastBlock !== undefined && object.signedLastBlock !== null
|
|
4061
|
-
? Boolean(object.signedLastBlock)
|
|
4062
|
-
: false;
|
|
4063
|
-
message.voteExtension =
|
|
4064
|
-
object.voteExtension !== undefined && object.voteExtension !== null
|
|
4065
|
-
? bytesFromBase64(object.voteExtension)
|
|
4066
|
-
: new Uint8Array();
|
|
4067
|
-
return message;
|
|
4068
|
-
},
|
|
4069
|
-
toJSON(message) {
|
|
4070
|
-
const obj = {};
|
|
4071
|
-
message.validator !== undefined &&
|
|
4072
|
-
(obj.validator = message.validator
|
|
4073
|
-
? exports.Validator.toJSON(message.validator)
|
|
4074
|
-
: undefined);
|
|
4075
|
-
message.signedLastBlock !== undefined &&
|
|
4076
|
-
(obj.signedLastBlock = message.signedLastBlock);
|
|
4077
|
-
message.voteExtension !== undefined &&
|
|
4078
|
-
(obj.voteExtension = base64FromBytes(message.voteExtension !== undefined
|
|
4079
|
-
? message.voteExtension
|
|
4080
|
-
: new Uint8Array()));
|
|
4081
|
-
return obj;
|
|
4082
|
-
},
|
|
4083
|
-
fromPartial(object) {
|
|
4084
|
-
var _a, _b;
|
|
4085
|
-
const message = Object.assign({}, baseExtendedVoteInfo);
|
|
4086
|
-
message.validator =
|
|
4087
|
-
object.validator !== undefined && object.validator !== null
|
|
4088
|
-
? exports.Validator.fromPartial(object.validator)
|
|
4089
|
-
: undefined;
|
|
4090
|
-
message.signedLastBlock = (_a = object.signedLastBlock) !== null && _a !== void 0 ? _a : false;
|
|
4091
|
-
message.voteExtension = (_b = object.voteExtension) !== null && _b !== void 0 ? _b : new Uint8Array();
|
|
4092
|
-
return message;
|
|
4093
|
-
},
|
|
4094
|
-
};
|
|
4095
|
-
const baseMisbehavior = {
|
|
3746
|
+
const baseEvidence = {
|
|
4096
3747
|
type: 0,
|
|
4097
3748
|
height: long_1.default.ZERO,
|
|
4098
3749
|
totalVotingPower: long_1.default.ZERO,
|
|
4099
3750
|
};
|
|
4100
|
-
exports.
|
|
3751
|
+
exports.Evidence = {
|
|
4101
3752
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
4102
3753
|
if (message.type !== 0) {
|
|
4103
3754
|
writer.uint32(8).int32(message.type);
|
|
@@ -4119,7 +3770,7 @@ exports.Misbehavior = {
|
|
|
4119
3770
|
decode(input, length) {
|
|
4120
3771
|
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
4121
3772
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4122
|
-
const message = Object.assign({},
|
|
3773
|
+
const message = Object.assign({}, baseEvidence);
|
|
4123
3774
|
while (reader.pos < end) {
|
|
4124
3775
|
const tag = reader.uint32();
|
|
4125
3776
|
switch (tag >>> 3) {
|
|
@@ -4146,10 +3797,10 @@ exports.Misbehavior = {
|
|
|
4146
3797
|
return message;
|
|
4147
3798
|
},
|
|
4148
3799
|
fromJSON(object) {
|
|
4149
|
-
const message = Object.assign({},
|
|
3800
|
+
const message = Object.assign({}, baseEvidence);
|
|
4150
3801
|
message.type =
|
|
4151
3802
|
object.type !== undefined && object.type !== null
|
|
4152
|
-
?
|
|
3803
|
+
? evidenceTypeFromJSON(object.type)
|
|
4153
3804
|
: 0;
|
|
4154
3805
|
message.validator =
|
|
4155
3806
|
object.validator !== undefined && object.validator !== null
|
|
@@ -4171,8 +3822,7 @@ exports.Misbehavior = {
|
|
|
4171
3822
|
},
|
|
4172
3823
|
toJSON(message) {
|
|
4173
3824
|
const obj = {};
|
|
4174
|
-
message.type !== undefined &&
|
|
4175
|
-
(obj.type = misbehaviorTypeToJSON(message.type));
|
|
3825
|
+
message.type !== undefined && (obj.type = evidenceTypeToJSON(message.type));
|
|
4176
3826
|
message.validator !== undefined &&
|
|
4177
3827
|
(obj.validator = message.validator
|
|
4178
3828
|
? exports.Validator.toJSON(message.validator)
|
|
@@ -4186,7 +3836,7 @@ exports.Misbehavior = {
|
|
|
4186
3836
|
},
|
|
4187
3837
|
fromPartial(object) {
|
|
4188
3838
|
var _a, _b;
|
|
4189
|
-
const message = Object.assign({},
|
|
3839
|
+
const message = Object.assign({}, baseEvidence);
|
|
4190
3840
|
message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
|
|
4191
3841
|
message.validator =
|
|
4192
3842
|
object.validator !== undefined && object.validator !== null
|
|
@@ -4311,6 +3961,7 @@ class ABCIApplicationClientImpl {
|
|
|
4311
3961
|
this.Echo = this.Echo.bind(this);
|
|
4312
3962
|
this.Flush = this.Flush.bind(this);
|
|
4313
3963
|
this.Info = this.Info.bind(this);
|
|
3964
|
+
this.SetOption = this.SetOption.bind(this);
|
|
4314
3965
|
this.DeliverTx = this.DeliverTx.bind(this);
|
|
4315
3966
|
this.CheckTx = this.CheckTx.bind(this);
|
|
4316
3967
|
this.Query = this.Query.bind(this);
|
|
@@ -4322,8 +3973,6 @@ class ABCIApplicationClientImpl {
|
|
|
4322
3973
|
this.OfferSnapshot = this.OfferSnapshot.bind(this);
|
|
4323
3974
|
this.LoadSnapshotChunk = this.LoadSnapshotChunk.bind(this);
|
|
4324
3975
|
this.ApplySnapshotChunk = this.ApplySnapshotChunk.bind(this);
|
|
4325
|
-
this.PrepareProposal = this.PrepareProposal.bind(this);
|
|
4326
|
-
this.ProcessProposal = this.ProcessProposal.bind(this);
|
|
4327
3976
|
}
|
|
4328
3977
|
Echo(request) {
|
|
4329
3978
|
const data = exports.RequestEcho.encode(request).finish();
|
|
@@ -4340,6 +3989,11 @@ class ABCIApplicationClientImpl {
|
|
|
4340
3989
|
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "Info", data);
|
|
4341
3990
|
return promise.then((data) => exports.ResponseInfo.decode(new minimal_1.default.Reader(data)));
|
|
4342
3991
|
}
|
|
3992
|
+
SetOption(request) {
|
|
3993
|
+
const data = exports.RequestSetOption.encode(request).finish();
|
|
3994
|
+
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "SetOption", data);
|
|
3995
|
+
return promise.then((data) => exports.ResponseSetOption.decode(new minimal_1.default.Reader(data)));
|
|
3996
|
+
}
|
|
4343
3997
|
DeliverTx(request) {
|
|
4344
3998
|
const data = exports.RequestDeliverTx.encode(request).finish();
|
|
4345
3999
|
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "DeliverTx", data);
|
|
@@ -4395,16 +4049,6 @@ class ABCIApplicationClientImpl {
|
|
|
4395
4049
|
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "ApplySnapshotChunk", data);
|
|
4396
4050
|
return promise.then((data) => exports.ResponseApplySnapshotChunk.decode(new minimal_1.default.Reader(data)));
|
|
4397
4051
|
}
|
|
4398
|
-
PrepareProposal(request) {
|
|
4399
|
-
const data = exports.RequestPrepareProposal.encode(request).finish();
|
|
4400
|
-
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "PrepareProposal", data);
|
|
4401
|
-
return promise.then((data) => exports.ResponsePrepareProposal.decode(new minimal_1.default.Reader(data)));
|
|
4402
|
-
}
|
|
4403
|
-
ProcessProposal(request) {
|
|
4404
|
-
const data = exports.RequestProcessProposal.encode(request).finish();
|
|
4405
|
-
const promise = this.rpc.request("tendermint.abci.ABCIApplication", "ProcessProposal", data);
|
|
4406
|
-
return promise.then((data) => exports.ResponseProcessProposal.decode(new minimal_1.default.Reader(data)));
|
|
4407
|
-
}
|
|
4408
4052
|
}
|
|
4409
4053
|
exports.ABCIApplicationClientImpl = ABCIApplicationClientImpl;
|
|
4410
4054
|
var globalThis = (() => {
|