cosmos-explorer/packages/codegen/dist/tendermint/bundle.d.ts
2023-03-02 13:21:24 +08:00

2067 lines
95 KiB
TypeScript

/// <reference types="long" />
import * as _134 from "./abci/types";
import * as _135 from "./crypto/keys";
import * as _136 from "./crypto/proof";
import * as _137 from "./libs/bits/types";
import * as _138 from "./p2p/types";
import * as _139 from "./types/block";
import * as _140 from "./types/evidence";
import * as _141 from "./types/params";
import * as _142 from "./types/types";
import * as _143 from "./types/validator";
import * as _144 from "./version/types";
export declare namespace tendermint {
const abci: {
checkTxTypeFromJSON(object: any): _134.CheckTxType;
checkTxTypeToJSON(object: _134.CheckTxType): string;
responseOfferSnapshot_ResultFromJSON(object: any): _134.ResponseOfferSnapshot_Result;
responseOfferSnapshot_ResultToJSON(object: _134.ResponseOfferSnapshot_Result): string;
responseApplySnapshotChunk_ResultFromJSON(object: any): _134.ResponseApplySnapshotChunk_Result;
responseApplySnapshotChunk_ResultToJSON(object: _134.ResponseApplySnapshotChunk_Result): string;
evidenceTypeFromJSON(object: any): _134.EvidenceType;
evidenceTypeToJSON(object: _134.EvidenceType): string;
CheckTxType: typeof _134.CheckTxType;
CheckTxTypeSDKType: typeof _134.CheckTxType;
ResponseOfferSnapshot_Result: typeof _134.ResponseOfferSnapshot_Result;
ResponseOfferSnapshot_ResultSDKType: typeof _134.ResponseOfferSnapshot_Result;
ResponseApplySnapshotChunk_Result: typeof _134.ResponseApplySnapshotChunk_Result;
ResponseApplySnapshotChunk_ResultSDKType: typeof _134.ResponseApplySnapshotChunk_Result;
EvidenceType: typeof _134.EvidenceType;
EvidenceTypeSDKType: typeof _134.EvidenceType;
Request: {
encode(message: _134.Request, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Request;
fromPartial(object: {
echo?: {
message?: string;
};
flush?: {};
info?: {
version?: string;
blockVersion?: string | number | import("long").Long;
p2pVersion?: string | number | import("long").Long;
};
setOption?: {
key?: string;
value?: string;
};
initChain?: {
time?: Date;
chainId?: string;
consensusParams?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
validators?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
appStateBytes?: Uint8Array;
initialHeight?: string | number | import("long").Long;
};
query?: {
data?: Uint8Array;
path?: string;
height?: string | number | import("long").Long;
prove?: boolean;
};
beginBlock?: {
hash?: Uint8Array;
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
lastCommitInfo?: {
round?: number;
votes?: {
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
signedLastBlock?: boolean;
}[];
};
byzantineValidators?: {
type?: _134.EvidenceType;
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
height?: string | number | import("long").Long;
time?: Date;
totalVotingPower?: string | number | import("long").Long;
}[];
};
checkTx?: {
tx?: Uint8Array;
type?: _134.CheckTxType;
};
deliverTx?: {
tx?: Uint8Array;
};
endBlock?: {
height?: string | number | import("long").Long;
};
commit?: {};
listSnapshots?: {};
offerSnapshot?: {
snapshot?: {
height?: string | number | import("long").Long;
format?: number;
chunks?: number;
hash?: Uint8Array;
metadata?: Uint8Array;
};
appHash?: Uint8Array;
};
loadSnapshotChunk?: {
height?: string | number | import("long").Long;
format?: number;
chunk?: number;
};
applySnapshotChunk?: {
index?: number;
chunk?: Uint8Array;
sender?: string;
};
}): _134.Request;
};
RequestEcho: {
encode(message: _134.RequestEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestEcho;
fromPartial(object: {
message?: string;
}): _134.RequestEcho;
};
RequestFlush: {
encode(_: _134.RequestFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestFlush;
fromPartial(_: {}): _134.RequestFlush;
};
RequestInfo: {
encode(message: _134.RequestInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestInfo;
fromPartial(object: {
version?: string;
blockVersion?: string | number | import("long").Long;
p2pVersion?: string | number | import("long").Long;
}): _134.RequestInfo;
};
RequestSetOption: {
encode(message: _134.RequestSetOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestSetOption;
fromPartial(object: {
key?: string;
value?: string;
}): _134.RequestSetOption;
};
RequestInitChain: {
encode(message: _134.RequestInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestInitChain;
fromPartial(object: {
time?: Date;
chainId?: string;
consensusParams?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
validators?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
appStateBytes?: Uint8Array;
initialHeight?: string | number | import("long").Long;
}): _134.RequestInitChain;
};
RequestQuery: {
encode(message: _134.RequestQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestQuery;
fromPartial(object: {
data?: Uint8Array;
path?: string;
height?: string | number | import("long").Long;
prove?: boolean;
}): _134.RequestQuery;
};
RequestBeginBlock: {
encode(message: _134.RequestBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestBeginBlock;
fromPartial(object: {
hash?: Uint8Array;
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
lastCommitInfo?: {
round?: number;
votes?: {
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
signedLastBlock?: boolean;
}[];
};
byzantineValidators?: {
type?: _134.EvidenceType;
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
height?: string | number | import("long").Long;
time?: Date;
totalVotingPower?: string | number | import("long").Long;
}[];
}): _134.RequestBeginBlock;
};
RequestCheckTx: {
encode(message: _134.RequestCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestCheckTx;
fromPartial(object: {
tx?: Uint8Array;
type?: _134.CheckTxType;
}): _134.RequestCheckTx;
};
RequestDeliverTx: {
encode(message: _134.RequestDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestDeliverTx;
fromPartial(object: {
tx?: Uint8Array;
}): _134.RequestDeliverTx;
};
RequestEndBlock: {
encode(message: _134.RequestEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestEndBlock;
fromPartial(object: {
height?: string | number | import("long").Long;
}): _134.RequestEndBlock;
};
RequestCommit: {
encode(_: _134.RequestCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestCommit;
fromPartial(_: {}): _134.RequestCommit;
};
RequestListSnapshots: {
encode(_: _134.RequestListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestListSnapshots;
fromPartial(_: {}): _134.RequestListSnapshots;
};
RequestOfferSnapshot: {
encode(message: _134.RequestOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestOfferSnapshot;
fromPartial(object: {
snapshot?: {
height?: string | number | import("long").Long;
format?: number;
chunks?: number;
hash?: Uint8Array;
metadata?: Uint8Array;
};
appHash?: Uint8Array;
}): _134.RequestOfferSnapshot;
};
RequestLoadSnapshotChunk: {
encode(message: _134.RequestLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestLoadSnapshotChunk;
fromPartial(object: {
height?: string | number | import("long").Long;
format?: number;
chunk?: number;
}): _134.RequestLoadSnapshotChunk;
};
RequestApplySnapshotChunk: {
encode(message: _134.RequestApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestApplySnapshotChunk;
fromPartial(object: {
index?: number;
chunk?: Uint8Array;
sender?: string;
}): _134.RequestApplySnapshotChunk;
};
Response: {
encode(message: _134.Response, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Response;
fromPartial(object: {
exception?: {
error?: string;
};
echo?: {
message?: string;
};
flush?: {};
info?: {
data?: string;
version?: string;
appVersion?: string | number | import("long").Long;
lastBlockHeight?: string | number | import("long").Long;
lastBlockAppHash?: Uint8Array;
};
setOption?: {
code?: number;
log?: string;
info?: string;
};
initChain?: {
consensusParams?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
validators?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
appHash?: Uint8Array;
};
query?: {
code?: number;
log?: string;
info?: string;
index?: string | number | import("long").Long;
key?: Uint8Array;
value?: Uint8Array;
proofOps?: {
ops?: {
type?: string;
key?: Uint8Array;
data?: Uint8Array;
}[];
};
height?: string | number | import("long").Long;
codespace?: string;
};
beginBlock?: {
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
};
checkTx?: {
code?: number;
data?: Uint8Array;
log?: string;
info?: string;
gasWanted?: string | number | import("long").Long;
gasUsed?: string | number | import("long").Long;
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
codespace?: string;
};
deliverTx?: {
code?: number;
data?: Uint8Array;
log?: string;
info?: string;
gasWanted?: string | number | import("long").Long;
gasUsed?: string | number | import("long").Long;
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
codespace?: string;
};
endBlock?: {
validatorUpdates?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
consensusParamUpdates?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
};
commit?: {
data?: Uint8Array;
retainHeight?: string | number | import("long").Long;
};
listSnapshots?: {
snapshots?: {
height?: string | number | import("long").Long;
format?: number;
chunks?: number;
hash?: Uint8Array;
metadata?: Uint8Array;
}[];
};
offerSnapshot?: {
result?: _134.ResponseOfferSnapshot_Result;
};
loadSnapshotChunk?: {
chunk?: Uint8Array;
};
applySnapshotChunk?: {
result?: _134.ResponseApplySnapshotChunk_Result;
refetchChunks?: number[];
rejectSenders?: string[];
};
}): _134.Response;
};
ResponseException: {
encode(message: _134.ResponseException, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseException;
fromPartial(object: {
error?: string;
}): _134.ResponseException;
};
ResponseEcho: {
encode(message: _134.ResponseEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseEcho;
fromPartial(object: {
message?: string;
}): _134.ResponseEcho;
};
ResponseFlush: {
encode(_: _134.ResponseFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseFlush;
fromPartial(_: {}): _134.ResponseFlush;
};
ResponseInfo: {
encode(message: _134.ResponseInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseInfo;
fromPartial(object: {
data?: string;
version?: string;
appVersion?: string | number | import("long").Long;
lastBlockHeight?: string | number | import("long").Long;
lastBlockAppHash?: Uint8Array;
}): _134.ResponseInfo;
};
ResponseSetOption: {
encode(message: _134.ResponseSetOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseSetOption;
fromPartial(object: {
code?: number;
log?: string;
info?: string;
}): _134.ResponseSetOption;
};
ResponseInitChain: {
encode(message: _134.ResponseInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseInitChain;
fromPartial(object: {
consensusParams?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
validators?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
appHash?: Uint8Array;
}): _134.ResponseInitChain;
};
ResponseQuery: {
encode(message: _134.ResponseQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseQuery;
fromPartial(object: {
code?: number;
log?: string;
info?: string;
index?: string | number | import("long").Long;
key?: Uint8Array;
value?: Uint8Array;
proofOps?: {
ops?: {
type?: string;
key?: Uint8Array;
data?: Uint8Array;
}[];
};
height?: string | number | import("long").Long;
codespace?: string;
}): _134.ResponseQuery;
};
ResponseBeginBlock: {
encode(message: _134.ResponseBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseBeginBlock;
fromPartial(object: {
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
}): _134.ResponseBeginBlock;
};
ResponseCheckTx: {
encode(message: _134.ResponseCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseCheckTx;
fromPartial(object: {
code?: number;
data?: Uint8Array;
log?: string;
info?: string;
gasWanted?: string | number | import("long").Long;
gasUsed?: string | number | import("long").Long;
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
codespace?: string;
}): _134.ResponseCheckTx;
};
ResponseDeliverTx: {
encode(message: _134.ResponseDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseDeliverTx;
fromPartial(object: {
code?: number;
data?: Uint8Array;
log?: string;
info?: string;
gasWanted?: string | number | import("long").Long;
gasUsed?: string | number | import("long").Long;
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
codespace?: string;
}): _134.ResponseDeliverTx;
};
ResponseEndBlock: {
encode(message: _134.ResponseEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseEndBlock;
fromPartial(object: {
validatorUpdates?: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}[];
consensusParamUpdates?: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
};
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
}): _134.ResponseEndBlock;
};
ResponseCommit: {
encode(message: _134.ResponseCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseCommit;
fromPartial(object: {
data?: Uint8Array;
retainHeight?: string | number | import("long").Long;
}): _134.ResponseCommit;
};
ResponseListSnapshots: {
encode(message: _134.ResponseListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseListSnapshots;
fromPartial(object: {
snapshots?: {
height?: string | number | import("long").Long;
format?: number;
chunks?: number;
hash?: Uint8Array;
metadata?: Uint8Array;
}[];
}): _134.ResponseListSnapshots;
};
ResponseOfferSnapshot: {
encode(message: _134.ResponseOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseOfferSnapshot;
fromPartial(object: {
result?: _134.ResponseOfferSnapshot_Result;
}): _134.ResponseOfferSnapshot;
};
ResponseLoadSnapshotChunk: {
encode(message: _134.ResponseLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseLoadSnapshotChunk;
fromPartial(object: {
chunk?: Uint8Array;
}): _134.ResponseLoadSnapshotChunk;
};
ResponseApplySnapshotChunk: {
encode(message: _134.ResponseApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseApplySnapshotChunk;
fromPartial(object: {
result?: _134.ResponseApplySnapshotChunk_Result;
refetchChunks?: number[];
rejectSenders?: string[];
}): _134.ResponseApplySnapshotChunk;
};
ConsensusParams: {
encode(message: _134.ConsensusParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ConsensusParams;
fromPartial(object: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
}): _134.ConsensusParams;
};
BlockParams: {
encode(message: _134.BlockParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.BlockParams;
fromPartial(object: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
}): _134.BlockParams;
};
LastCommitInfo: {
encode(message: _134.LastCommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.LastCommitInfo;
fromPartial(object: {
round?: number;
votes?: {
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
signedLastBlock?: boolean;
}[];
}): _134.LastCommitInfo;
};
Event: {
encode(message: _134.Event, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Event;
fromPartial(object: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}): _134.Event;
};
EventAttribute: {
encode(message: _134.EventAttribute, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.EventAttribute;
fromPartial(object: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}): _134.EventAttribute;
};
TxResult: {
encode(message: _134.TxResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.TxResult;
fromPartial(object: {
height?: string | number | import("long").Long;
index?: number;
tx?: Uint8Array;
result?: {
code?: number;
data?: Uint8Array;
log?: string;
info?: string;
gasWanted?: string | number | import("long").Long;
gasUsed?: string | number | import("long").Long;
events?: {
type?: string;
attributes?: {
key?: Uint8Array;
value?: Uint8Array;
index?: boolean;
}[];
}[];
codespace?: string;
};
}): _134.TxResult;
};
Validator: {
encode(message: _134.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Validator;
fromPartial(object: {
address?: Uint8Array;
power?: string | number | import("long").Long;
}): _134.Validator;
};
ValidatorUpdate: {
encode(message: _134.ValidatorUpdate, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ValidatorUpdate;
fromPartial(object: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
power?: string | number | import("long").Long;
}): _134.ValidatorUpdate;
};
VoteInfo: {
encode(message: _134.VoteInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.VoteInfo;
fromPartial(object: {
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
signedLastBlock?: boolean;
}): _134.VoteInfo;
};
Evidence: {
encode(message: _134.Evidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Evidence;
fromPartial(object: {
type?: _134.EvidenceType;
validator?: {
address?: Uint8Array;
power?: string | number | import("long").Long;
};
height?: string | number | import("long").Long;
time?: Date;
totalVotingPower?: string | number | import("long").Long;
}): _134.Evidence;
};
Snapshot: {
encode(message: _134.Snapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Snapshot;
fromPartial(object: {
height?: string | number | import("long").Long;
format?: number;
chunks?: number;
hash?: Uint8Array;
metadata?: Uint8Array;
}): _134.Snapshot;
};
};
const crypto: {
Proof: {
encode(message: _136.Proof, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.Proof;
fromPartial(object: {
total?: string | number | import("long").Long;
index?: string | number | import("long").Long;
leafHash?: Uint8Array;
aunts?: Uint8Array[];
}): _136.Proof;
};
ValueOp: {
encode(message: _136.ValueOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ValueOp;
fromPartial(object: {
key?: Uint8Array;
proof?: {
total?: string | number | import("long").Long;
index?: string | number | import("long").Long;
leafHash?: Uint8Array;
aunts?: Uint8Array[];
};
}): _136.ValueOp;
};
DominoOp: {
encode(message: _136.DominoOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.DominoOp;
fromPartial(object: {
key?: string;
input?: string;
output?: string;
}): _136.DominoOp;
};
ProofOp: {
encode(message: _136.ProofOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ProofOp;
fromPartial(object: {
type?: string;
key?: Uint8Array;
data?: Uint8Array;
}): _136.ProofOp;
};
ProofOps: {
encode(message: _136.ProofOps, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ProofOps;
fromPartial(object: {
ops?: {
type?: string;
key?: Uint8Array;
data?: Uint8Array;
}[];
}): _136.ProofOps;
};
PublicKey: {
encode(message: _135.PublicKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _135.PublicKey;
fromPartial(object: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
}): _135.PublicKey;
};
};
namespace libs {
const bits: {
BitArray: {
encode(message: _137.BitArray, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _137.BitArray;
fromPartial(object: {
bits?: string | number | import("long").Long;
elems?: (string | number | import("long").Long)[];
}): _137.BitArray;
};
};
}
const p2p: {
ProtocolVersion: {
encode(message: _138.ProtocolVersion, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.ProtocolVersion;
fromPartial(object: {
p2p?: string | number | import("long").Long;
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
}): _138.ProtocolVersion;
};
NodeInfo: {
encode(message: _138.NodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.NodeInfo;
fromPartial(object: {
protocolVersion?: {
p2p?: string | number | import("long").Long;
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
nodeId?: string;
listenAddr?: string;
network?: string;
version?: string;
channels?: Uint8Array;
moniker?: string;
other?: {
txIndex?: string;
rpcAddress?: string;
};
}): _138.NodeInfo;
};
NodeInfoOther: {
encode(message: _138.NodeInfoOther, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.NodeInfoOther;
fromPartial(object: {
txIndex?: string;
rpcAddress?: string;
}): _138.NodeInfoOther;
};
PeerInfo: {
encode(message: _138.PeerInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.PeerInfo;
fromPartial(object: {
id?: string;
addressInfo?: {
address?: string;
lastDialSuccess?: Date;
lastDialFailure?: Date;
dialFailures?: number;
}[];
lastConnected?: Date;
}): _138.PeerInfo;
};
PeerAddressInfo: {
encode(message: _138.PeerAddressInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.PeerAddressInfo;
fromPartial(object: {
address?: string;
lastDialSuccess?: Date;
lastDialFailure?: Date;
dialFailures?: number;
}): _138.PeerAddressInfo;
};
};
const types: {
ValidatorSet: {
encode(message: _143.ValidatorSet, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.ValidatorSet;
fromPartial(object: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
}): _143.ValidatorSet;
};
Validator: {
encode(message: _143.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.Validator;
fromPartial(object: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}): _143.Validator;
};
SimpleValidator: {
encode(message: _143.SimpleValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.SimpleValidator;
fromPartial(object: {
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
}): _143.SimpleValidator;
};
blockIDFlagFromJSON(object: any): _142.BlockIDFlag;
blockIDFlagToJSON(object: _142.BlockIDFlag): string;
signedMsgTypeFromJSON(object: any): _142.SignedMsgType;
signedMsgTypeToJSON(object: _142.SignedMsgType): string;
BlockIDFlag: typeof _142.BlockIDFlag;
BlockIDFlagSDKType: typeof _142.BlockIDFlag;
SignedMsgType: typeof _142.SignedMsgType;
SignedMsgTypeSDKType: typeof _142.SignedMsgType;
PartSetHeader: {
encode(message: _142.PartSetHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.PartSetHeader;
fromPartial(object: {
total?: number;
hash?: Uint8Array;
}): _142.PartSetHeader;
};
Part: {
encode(message: _142.Part, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Part;
fromPartial(object: {
index?: number;
bytes?: Uint8Array;
proof?: {
total?: string | number | import("long").Long;
index?: string | number | import("long").Long;
leafHash?: Uint8Array;
aunts?: Uint8Array[];
};
}): _142.Part;
};
BlockID: {
encode(message: _142.BlockID, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.BlockID;
fromPartial(object: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
}): _142.BlockID;
};
Header: {
encode(message: _142.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Header;
fromPartial(object: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
}): _142.Header;
};
Data: {
encode(message: _142.Data, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Data;
fromPartial(object: {
txs?: Uint8Array[];
}): _142.Data;
};
Vote: {
encode(message: _142.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Vote;
fromPartial(object: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
}): _142.Vote;
};
Commit: {
encode(message: _142.Commit, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Commit;
fromPartial(object: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
}): _142.Commit;
};
CommitSig: {
encode(message: _142.CommitSig, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.CommitSig;
fromPartial(object: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}): _142.CommitSig;
};
Proposal: {
encode(message: _142.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Proposal;
fromPartial(object: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
polRound?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
signature?: Uint8Array;
}): _142.Proposal;
};
SignedHeader: {
encode(message: _142.SignedHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.SignedHeader;
fromPartial(object: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
}): _142.SignedHeader;
};
LightBlock: {
encode(message: _142.LightBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.LightBlock;
fromPartial(object: {
signedHeader?: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
};
validatorSet?: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
};
}): _142.LightBlock;
};
BlockMeta: {
encode(message: _142.BlockMeta, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.BlockMeta;
fromPartial(object: {
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
blockSize?: string | number | import("long").Long;
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
numTxs?: string | number | import("long").Long;
}): _142.BlockMeta;
};
TxProof: {
encode(message: _142.TxProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.TxProof;
fromPartial(object: {
rootHash?: Uint8Array;
data?: Uint8Array;
proof?: {
total?: string | number | import("long").Long;
index?: string | number | import("long").Long;
leafHash?: Uint8Array;
aunts?: Uint8Array[];
};
}): _142.TxProof;
};
ConsensusParams: {
encode(message: _141.ConsensusParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.ConsensusParams;
fromPartial(object: {
block?: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
timeIotaMs?: string | number | import("long").Long;
};
evidence?: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
};
validator?: {
pubKeyTypes?: string[];
};
version?: {
appVersion?: string | number | import("long").Long;
};
}): _141.ConsensusParams;
};
BlockParams: {
encode(message: _141.BlockParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.BlockParams;
fromPartial(object: {
maxBytes?: string | number | import("long").Long;
maxGas?: string | number | import("long").Long;
timeIotaMs?: string | number | import("long").Long;
}): _141.BlockParams;
};
EvidenceParams: {
encode(message: _141.EvidenceParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.EvidenceParams;
fromPartial(object: {
maxAgeNumBlocks?: string | number | import("long").Long;
maxAgeDuration?: {
seconds?: string | number | import("long").Long;
nanos?: number;
};
maxBytes?: string | number | import("long").Long;
}): _141.EvidenceParams;
};
ValidatorParams: {
encode(message: _141.ValidatorParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.ValidatorParams;
fromPartial(object: {
pubKeyTypes?: string[];
}): _141.ValidatorParams;
};
VersionParams: {
encode(message: _141.VersionParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.VersionParams;
fromPartial(object: {
appVersion?: string | number | import("long").Long;
}): _141.VersionParams;
};
HashedParams: {
encode(message: _141.HashedParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.HashedParams;
fromPartial(object: {
blockMaxBytes?: string | number | import("long").Long;
blockMaxGas?: string | number | import("long").Long;
}): _141.HashedParams;
};
Evidence: {
encode(message: _140.Evidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.Evidence;
fromPartial(object: {
duplicateVoteEvidence?: {
voteA?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
voteB?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
totalVotingPower?: string | number | import("long").Long;
validatorPower?: string | number | import("long").Long;
timestamp?: Date;
};
lightClientAttackEvidence?: {
conflictingBlock?: {
signedHeader?: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
};
validatorSet?: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
};
};
commonHeight?: string | number | import("long").Long;
byzantineValidators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
totalVotingPower?: string | number | import("long").Long;
timestamp?: Date;
};
}): _140.Evidence;
};
DuplicateVoteEvidence: {
encode(message: _140.DuplicateVoteEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.DuplicateVoteEvidence;
fromPartial(object: {
voteA?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
voteB?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
totalVotingPower?: string | number | import("long").Long;
validatorPower?: string | number | import("long").Long;
timestamp?: Date;
}): _140.DuplicateVoteEvidence;
};
LightClientAttackEvidence: {
encode(message: _140.LightClientAttackEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.LightClientAttackEvidence;
fromPartial(object: {
conflictingBlock?: {
signedHeader?: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
};
validatorSet?: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
};
};
commonHeight?: string | number | import("long").Long;
byzantineValidators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
totalVotingPower?: string | number | import("long").Long;
timestamp?: Date;
}): _140.LightClientAttackEvidence;
};
EvidenceList: {
encode(message: _140.EvidenceList, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.EvidenceList;
fromPartial(object: {
evidence?: {
duplicateVoteEvidence?: {
voteA?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
voteB?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
totalVotingPower?: string | number | import("long").Long;
validatorPower?: string | number | import("long").Long;
timestamp?: Date;
};
lightClientAttackEvidence?: {
conflictingBlock?: {
signedHeader?: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
};
validatorSet?: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
};
};
commonHeight?: string | number | import("long").Long;
byzantineValidators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
totalVotingPower?: string | number | import("long").Long;
timestamp?: Date;
};
}[];
}): _140.EvidenceList;
};
Block: {
encode(message: _139.Block, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _139.Block;
fromPartial(object: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
data?: {
txs?: Uint8Array[];
};
evidence?: {
evidence?: {
duplicateVoteEvidence?: {
voteA?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
voteB?: {
type?: _142.SignedMsgType;
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
timestamp?: Date;
validatorAddress?: Uint8Array;
validatorIndex?: number;
signature?: Uint8Array;
};
totalVotingPower?: string | number | import("long").Long;
validatorPower?: string | number | import("long").Long;
timestamp?: Date;
};
lightClientAttackEvidence?: {
conflictingBlock?: {
signedHeader?: {
header?: {
version?: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
};
chainId?: string;
height?: string | number | import("long").Long;
time?: Date;
lastBlockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
lastCommitHash?: Uint8Array;
dataHash?: Uint8Array;
validatorsHash?: Uint8Array;
nextValidatorsHash?: Uint8Array;
consensusHash?: Uint8Array;
appHash?: Uint8Array;
lastResultsHash?: Uint8Array;
evidenceHash?: Uint8Array;
proposerAddress?: Uint8Array;
};
commit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
};
validatorSet?: {
validators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
proposer?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
};
totalVotingPower?: string | number | import("long").Long;
};
};
commonHeight?: string | number | import("long").Long;
byzantineValidators?: {
address?: Uint8Array;
pubKey?: {
ed25519?: Uint8Array;
secp256k1?: Uint8Array;
};
votingPower?: string | number | import("long").Long;
proposerPriority?: string | number | import("long").Long;
}[];
totalVotingPower?: string | number | import("long").Long;
timestamp?: Date;
};
}[];
};
lastCommit?: {
height?: string | number | import("long").Long;
round?: number;
blockId?: {
hash?: Uint8Array;
partSetHeader?: {
total?: number;
hash?: Uint8Array;
};
};
signatures?: {
blockIdFlag?: _142.BlockIDFlag;
validatorAddress?: Uint8Array;
timestamp?: Date;
signature?: Uint8Array;
}[];
};
}): _139.Block;
};
};
const version: {
App: {
encode(message: _144.App, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _144.App;
fromPartial(object: {
protocol?: string | number | import("long").Long;
software?: string;
}): _144.App;
};
Consensus: {
encode(message: _144.Consensus, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _144.Consensus;
fromPartial(object: {
block?: string | number | import("long").Long;
app?: string | number | import("long").Long;
}): _144.Consensus;
};
};
}