interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
981 lines (980 loc) • 37.2 kB
TypeScript
import { Any, AnyAmino } from "../../../../google/protobuf/any";
import { ConnectionEnd, ConnectionEndAmino } from "../../../core/connection/v1/connection";
import { Channel, ChannelAmino } from "../../../core/channel/v1/channel";
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* DataType defines the type of solo machine proof being created. This is done
* to preserve uniqueness of different data sign byte encodings.
*/
export declare enum DataType {
/** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */
DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0,
/** DATA_TYPE_CLIENT_STATE - Data type for client state verification */
DATA_TYPE_CLIENT_STATE = 1,
/** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */
DATA_TYPE_CONSENSUS_STATE = 2,
/** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */
DATA_TYPE_CONNECTION_STATE = 3,
/** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */
DATA_TYPE_CHANNEL_STATE = 4,
/** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */
DATA_TYPE_PACKET_COMMITMENT = 5,
/** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */
DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6,
/** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */
DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7,
/** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */
DATA_TYPE_NEXT_SEQUENCE_RECV = 8,
/** DATA_TYPE_HEADER - Data type for header verification */
DATA_TYPE_HEADER = 9,
UNRECOGNIZED = -1
}
export declare const DataTypeAmino: typeof DataType;
export declare function dataTypeFromJSON(object: any): DataType;
export declare function dataTypeToJSON(object: DataType): string;
/**
* ClientState defines a solo machine client that tracks the current consensus
* state and if the client is frozen.
* @name ClientState
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientState
*/
export interface ClientState {
/**
* latest sequence of the client state
*/
sequence: bigint;
/**
* frozen sequence of the solo machine
*/
isFrozen: boolean;
consensusState?: ConsensusState;
/**
* when set to true, will allow governance to update a solo machine client.
* The client will be unfrozen if it is frozen.
*/
allowUpdateAfterProposal: boolean;
}
export interface ClientStateProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ClientState";
value: Uint8Array;
}
/**
* ClientState defines a solo machine client that tracks the current consensus
* state and if the client is frozen.
* @name ClientStateAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientState
*/
export interface ClientStateAmino {
/**
* latest sequence of the client state
*/
sequence: string;
/**
* frozen sequence of the solo machine
*/
is_frozen: boolean;
consensus_state?: ConsensusStateAmino;
/**
* when set to true, will allow governance to update a solo machine client.
* The client will be unfrozen if it is frozen.
*/
allow_update_after_proposal: boolean;
}
export interface ClientStateAminoMsg {
type: "cosmos-sdk/ClientState";
value: ClientStateAmino;
}
/**
* ConsensusState defines a solo machine consensus state. The sequence of a
* consensus state is contained in the "height" key used in storing the
* consensus state.
* @name ConsensusState
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusState
*/
export interface ConsensusState {
/**
* public key of the solo machine
*/
publicKey?: Any;
/**
* diversifier allows the same public key to be reused across different solo
* machine clients (potentially on different chains) without being considered
* misbehaviour.
*/
diversifier: string;
timestamp: bigint;
}
export interface ConsensusStateProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState";
value: Uint8Array;
}
/**
* ConsensusState defines a solo machine consensus state. The sequence of a
* consensus state is contained in the "height" key used in storing the
* consensus state.
* @name ConsensusStateAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusState
*/
export interface ConsensusStateAmino {
/**
* public key of the solo machine
*/
public_key?: AnyAmino;
/**
* diversifier allows the same public key to be reused across different solo
* machine clients (potentially on different chains) without being considered
* misbehaviour.
*/
diversifier: string;
timestamp: string;
}
export interface ConsensusStateAminoMsg {
type: "cosmos-sdk/ConsensusState";
value: ConsensusStateAmino;
}
/**
* Header defines a solo machine consensus header
* @name Header
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Header
*/
export interface Header {
/**
* sequence to update solo machine public key at
*/
sequence: bigint;
timestamp: bigint;
signature: Uint8Array;
newPublicKey?: Any;
newDiversifier: string;
}
export interface HeaderProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.Header";
value: Uint8Array;
}
/**
* Header defines a solo machine consensus header
* @name HeaderAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Header
*/
export interface HeaderAmino {
/**
* sequence to update solo machine public key at
*/
sequence: string;
timestamp: string;
signature: string;
new_public_key?: AnyAmino;
new_diversifier: string;
}
export interface HeaderAminoMsg {
type: "cosmos-sdk/Header";
value: HeaderAmino;
}
/**
* Misbehaviour defines misbehaviour for a solo machine which consists
* of a sequence and two signatures over different messages at that sequence.
* @name Misbehaviour
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Misbehaviour
*/
export interface Misbehaviour {
clientId: string;
sequence: bigint;
signatureOne?: SignatureAndData;
signatureTwo?: SignatureAndData;
}
export interface MisbehaviourProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour";
value: Uint8Array;
}
/**
* Misbehaviour defines misbehaviour for a solo machine which consists
* of a sequence and two signatures over different messages at that sequence.
* @name MisbehaviourAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Misbehaviour
*/
export interface MisbehaviourAmino {
client_id: string;
sequence: string;
signature_one?: SignatureAndDataAmino;
signature_two?: SignatureAndDataAmino;
}
export interface MisbehaviourAminoMsg {
type: "cosmos-sdk/Misbehaviour";
value: MisbehaviourAmino;
}
/**
* SignatureAndData contains a signature and the data signed over to create that
* signature.
* @name SignatureAndData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignatureAndData
*/
export interface SignatureAndData {
signature: Uint8Array;
dataType: DataType;
data: Uint8Array;
timestamp: bigint;
}
export interface SignatureAndDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData";
value: Uint8Array;
}
/**
* SignatureAndData contains a signature and the data signed over to create that
* signature.
* @name SignatureAndDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignatureAndData
*/
export interface SignatureAndDataAmino {
signature: string;
data_type: DataType;
data: string;
timestamp: string;
}
export interface SignatureAndDataAminoMsg {
type: "cosmos-sdk/SignatureAndData";
value: SignatureAndDataAmino;
}
/**
* TimestampedSignatureData contains the signature data and the timestamp of the
* signature.
* @name TimestampedSignatureData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.TimestampedSignatureData
*/
export interface TimestampedSignatureData {
signatureData: Uint8Array;
timestamp: bigint;
}
export interface TimestampedSignatureDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData";
value: Uint8Array;
}
/**
* TimestampedSignatureData contains the signature data and the timestamp of the
* signature.
* @name TimestampedSignatureDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.TimestampedSignatureData
*/
export interface TimestampedSignatureDataAmino {
signature_data: string;
timestamp: string;
}
export interface TimestampedSignatureDataAminoMsg {
type: "cosmos-sdk/TimestampedSignatureData";
value: TimestampedSignatureDataAmino;
}
/**
* SignBytes defines the signed bytes used for signature verification.
* @name SignBytes
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignBytes
*/
export interface SignBytes {
sequence: bigint;
timestamp: bigint;
diversifier: string;
/**
* type of the data used
*/
dataType: DataType;
/**
* marshaled data
*/
data: Uint8Array;
}
export interface SignBytesProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes";
value: Uint8Array;
}
/**
* SignBytes defines the signed bytes used for signature verification.
* @name SignBytesAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignBytes
*/
export interface SignBytesAmino {
sequence: string;
timestamp: string;
diversifier: string;
/**
* type of the data used
*/
data_type: DataType;
/**
* marshaled data
*/
data: string;
}
export interface SignBytesAminoMsg {
type: "cosmos-sdk/SignBytes";
value: SignBytesAmino;
}
/**
* HeaderData returns the SignBytes data for update verification.
* @name HeaderData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.HeaderData
*/
export interface HeaderData {
/**
* header public key
*/
newPubKey?: Any;
/**
* header diversifier
*/
newDiversifier: string;
}
export interface HeaderDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData";
value: Uint8Array;
}
/**
* HeaderData returns the SignBytes data for update verification.
* @name HeaderDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.HeaderData
*/
export interface HeaderDataAmino {
/**
* header public key
*/
new_pub_key?: AnyAmino;
/**
* header diversifier
*/
new_diversifier: string;
}
export interface HeaderDataAminoMsg {
type: "cosmos-sdk/HeaderData";
value: HeaderDataAmino;
}
/**
* ClientStateData returns the SignBytes data for client state verification.
* @name ClientStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientStateData
*/
export interface ClientStateData {
path: Uint8Array;
clientState?: Any;
}
export interface ClientStateDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData";
value: Uint8Array;
}
/**
* ClientStateData returns the SignBytes data for client state verification.
* @name ClientStateDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientStateData
*/
export interface ClientStateDataAmino {
path: string;
client_state?: AnyAmino;
}
export interface ClientStateDataAminoMsg {
type: "cosmos-sdk/ClientStateData";
value: ClientStateDataAmino;
}
/**
* ConsensusStateData returns the SignBytes data for consensus state
* verification.
* @name ConsensusStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusStateData
*/
export interface ConsensusStateData {
path: Uint8Array;
consensusState?: Any;
}
export interface ConsensusStateDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData";
value: Uint8Array;
}
/**
* ConsensusStateData returns the SignBytes data for consensus state
* verification.
* @name ConsensusStateDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusStateData
*/
export interface ConsensusStateDataAmino {
path: string;
consensus_state?: AnyAmino;
}
export interface ConsensusStateDataAminoMsg {
type: "cosmos-sdk/ConsensusStateData";
value: ConsensusStateDataAmino;
}
/**
* ConnectionStateData returns the SignBytes data for connection state
* verification.
* @name ConnectionStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConnectionStateData
*/
export interface ConnectionStateData {
path: Uint8Array;
connection?: ConnectionEnd;
}
export interface ConnectionStateDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData";
value: Uint8Array;
}
/**
* ConnectionStateData returns the SignBytes data for connection state
* verification.
* @name ConnectionStateDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConnectionStateData
*/
export interface ConnectionStateDataAmino {
path: string;
connection?: ConnectionEndAmino;
}
export interface ConnectionStateDataAminoMsg {
type: "cosmos-sdk/ConnectionStateData";
value: ConnectionStateDataAmino;
}
/**
* ChannelStateData returns the SignBytes data for channel state
* verification.
* @name ChannelStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ChannelStateData
*/
export interface ChannelStateData {
path: Uint8Array;
channel?: Channel;
}
export interface ChannelStateDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData";
value: Uint8Array;
}
/**
* ChannelStateData returns the SignBytes data for channel state
* verification.
* @name ChannelStateDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ChannelStateData
*/
export interface ChannelStateDataAmino {
path: string;
channel?: ChannelAmino;
}
export interface ChannelStateDataAminoMsg {
type: "cosmos-sdk/ChannelStateData";
value: ChannelStateDataAmino;
}
/**
* PacketCommitmentData returns the SignBytes data for packet commitment
* verification.
* @name PacketCommitmentData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketCommitmentData
*/
export interface PacketCommitmentData {
path: Uint8Array;
commitment: Uint8Array;
}
export interface PacketCommitmentDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData";
value: Uint8Array;
}
/**
* PacketCommitmentData returns the SignBytes data for packet commitment
* verification.
* @name PacketCommitmentDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketCommitmentData
*/
export interface PacketCommitmentDataAmino {
path: string;
commitment: string;
}
export interface PacketCommitmentDataAminoMsg {
type: "cosmos-sdk/PacketCommitmentData";
value: PacketCommitmentDataAmino;
}
/**
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
* verification.
* @name PacketAcknowledgementData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketAcknowledgementData
*/
export interface PacketAcknowledgementData {
path: Uint8Array;
acknowledgement: Uint8Array;
}
export interface PacketAcknowledgementDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData";
value: Uint8Array;
}
/**
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
* verification.
* @name PacketAcknowledgementDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketAcknowledgementData
*/
export interface PacketAcknowledgementDataAmino {
path: string;
acknowledgement: string;
}
export interface PacketAcknowledgementDataAminoMsg {
type: "cosmos-sdk/PacketAcknowledgementData";
value: PacketAcknowledgementDataAmino;
}
/**
* PacketReceiptAbsenceData returns the SignBytes data for
* packet receipt absence verification.
* @name PacketReceiptAbsenceData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData
*/
export interface PacketReceiptAbsenceData {
path: Uint8Array;
}
export interface PacketReceiptAbsenceDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData";
value: Uint8Array;
}
/**
* PacketReceiptAbsenceData returns the SignBytes data for
* packet receipt absence verification.
* @name PacketReceiptAbsenceDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData
*/
export interface PacketReceiptAbsenceDataAmino {
path: string;
}
export interface PacketReceiptAbsenceDataAminoMsg {
type: "cosmos-sdk/PacketReceiptAbsenceData";
value: PacketReceiptAbsenceDataAmino;
}
/**
* NextSequenceRecvData returns the SignBytes data for verification of the next
* sequence to be received.
* @name NextSequenceRecvData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.NextSequenceRecvData
*/
export interface NextSequenceRecvData {
path: Uint8Array;
nextSeqRecv: bigint;
}
export interface NextSequenceRecvDataProtoMsg {
typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData";
value: Uint8Array;
}
/**
* NextSequenceRecvData returns the SignBytes data for verification of the next
* sequence to be received.
* @name NextSequenceRecvDataAmino
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.NextSequenceRecvData
*/
export interface NextSequenceRecvDataAmino {
path: string;
next_seq_recv: string;
}
export interface NextSequenceRecvDataAminoMsg {
type: "cosmos-sdk/NextSequenceRecvData";
value: NextSequenceRecvDataAmino;
}
/**
* ClientState defines a solo machine client that tracks the current consensus
* state and if the client is frozen.
* @name ClientState
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientState
*/
export declare const ClientState: {
typeUrl: string;
aminoType: string;
is(o: any): o is ClientState;
isAmino(o: any): o is ClientStateAmino;
encode(message: ClientState, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ClientState;
fromPartial(object: DeepPartial<ClientState>): ClientState;
fromAmino(object: ClientStateAmino): ClientState;
toAmino(message: ClientState): ClientStateAmino;
fromAminoMsg(object: ClientStateAminoMsg): ClientState;
toAminoMsg(message: ClientState): ClientStateAminoMsg;
fromProtoMsg(message: ClientStateProtoMsg): ClientState;
toProto(message: ClientState): Uint8Array;
toProtoMsg(message: ClientState): ClientStateProtoMsg;
registerTypeUrl(): void;
};
/**
* ConsensusState defines a solo machine consensus state. The sequence of a
* consensus state is contained in the "height" key used in storing the
* consensus state.
* @name ConsensusState
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusState
*/
export declare const ConsensusState: {
typeUrl: string;
aminoType: string;
is(o: any): o is ConsensusState;
isAmino(o: any): o is ConsensusStateAmino;
encode(message: ConsensusState, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState;
fromPartial(object: DeepPartial<ConsensusState>): ConsensusState;
fromAmino(object: ConsensusStateAmino): ConsensusState;
toAmino(message: ConsensusState): ConsensusStateAmino;
fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState;
toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg;
fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState;
toProto(message: ConsensusState): Uint8Array;
toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg;
registerTypeUrl(): void;
};
/**
* Header defines a solo machine consensus header
* @name Header
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Header
*/
export declare const Header: {
typeUrl: string;
aminoType: string;
is(o: any): o is Header;
isAmino(o: any): o is HeaderAmino;
encode(message: Header, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Header;
fromPartial(object: DeepPartial<Header>): Header;
fromAmino(object: HeaderAmino): Header;
toAmino(message: Header): HeaderAmino;
fromAminoMsg(object: HeaderAminoMsg): Header;
toAminoMsg(message: Header): HeaderAminoMsg;
fromProtoMsg(message: HeaderProtoMsg): Header;
toProto(message: Header): Uint8Array;
toProtoMsg(message: Header): HeaderProtoMsg;
registerTypeUrl(): void;
};
/**
* Misbehaviour defines misbehaviour for a solo machine which consists
* of a sequence and two signatures over different messages at that sequence.
* @name Misbehaviour
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.Misbehaviour
*/
export declare const Misbehaviour: {
typeUrl: string;
aminoType: string;
is(o: any): o is Misbehaviour;
isAmino(o: any): o is MisbehaviourAmino;
encode(message: Misbehaviour, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour;
fromPartial(object: DeepPartial<Misbehaviour>): Misbehaviour;
fromAmino(object: MisbehaviourAmino): Misbehaviour;
toAmino(message: Misbehaviour): MisbehaviourAmino;
fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour;
toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg;
fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour;
toProto(message: Misbehaviour): Uint8Array;
toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg;
registerTypeUrl(): void;
};
/**
* SignatureAndData contains a signature and the data signed over to create that
* signature.
* @name SignatureAndData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignatureAndData
*/
export declare const SignatureAndData: {
typeUrl: string;
aminoType: string;
is(o: any): o is SignatureAndData;
isAmino(o: any): o is SignatureAndDataAmino;
encode(message: SignatureAndData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): SignatureAndData;
fromPartial(object: DeepPartial<SignatureAndData>): SignatureAndData;
fromAmino(object: SignatureAndDataAmino): SignatureAndData;
toAmino(message: SignatureAndData): SignatureAndDataAmino;
fromAminoMsg(object: SignatureAndDataAminoMsg): SignatureAndData;
toAminoMsg(message: SignatureAndData): SignatureAndDataAminoMsg;
fromProtoMsg(message: SignatureAndDataProtoMsg): SignatureAndData;
toProto(message: SignatureAndData): Uint8Array;
toProtoMsg(message: SignatureAndData): SignatureAndDataProtoMsg;
registerTypeUrl(): void;
};
/**
* TimestampedSignatureData contains the signature data and the timestamp of the
* signature.
* @name TimestampedSignatureData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.TimestampedSignatureData
*/
export declare const TimestampedSignatureData: {
typeUrl: string;
aminoType: string;
is(o: any): o is TimestampedSignatureData;
isAmino(o: any): o is TimestampedSignatureDataAmino;
encode(message: TimestampedSignatureData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): TimestampedSignatureData;
fromPartial(object: DeepPartial<TimestampedSignatureData>): TimestampedSignatureData;
fromAmino(object: TimestampedSignatureDataAmino): TimestampedSignatureData;
toAmino(message: TimestampedSignatureData): TimestampedSignatureDataAmino;
fromAminoMsg(object: TimestampedSignatureDataAminoMsg): TimestampedSignatureData;
toAminoMsg(message: TimestampedSignatureData): TimestampedSignatureDataAminoMsg;
fromProtoMsg(message: TimestampedSignatureDataProtoMsg): TimestampedSignatureData;
toProto(message: TimestampedSignatureData): Uint8Array;
toProtoMsg(message: TimestampedSignatureData): TimestampedSignatureDataProtoMsg;
registerTypeUrl(): void;
};
/**
* SignBytes defines the signed bytes used for signature verification.
* @name SignBytes
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.SignBytes
*/
export declare const SignBytes: {
typeUrl: string;
aminoType: string;
is(o: any): o is SignBytes;
isAmino(o: any): o is SignBytesAmino;
encode(message: SignBytes, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): SignBytes;
fromPartial(object: DeepPartial<SignBytes>): SignBytes;
fromAmino(object: SignBytesAmino): SignBytes;
toAmino(message: SignBytes): SignBytesAmino;
fromAminoMsg(object: SignBytesAminoMsg): SignBytes;
toAminoMsg(message: SignBytes): SignBytesAminoMsg;
fromProtoMsg(message: SignBytesProtoMsg): SignBytes;
toProto(message: SignBytes): Uint8Array;
toProtoMsg(message: SignBytes): SignBytesProtoMsg;
registerTypeUrl(): void;
};
/**
* HeaderData returns the SignBytes data for update verification.
* @name HeaderData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.HeaderData
*/
export declare const HeaderData: {
typeUrl: string;
aminoType: string;
is(o: any): o is HeaderData;
isAmino(o: any): o is HeaderDataAmino;
encode(message: HeaderData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): HeaderData;
fromPartial(object: DeepPartial<HeaderData>): HeaderData;
fromAmino(object: HeaderDataAmino): HeaderData;
toAmino(message: HeaderData): HeaderDataAmino;
fromAminoMsg(object: HeaderDataAminoMsg): HeaderData;
toAminoMsg(message: HeaderData): HeaderDataAminoMsg;
fromProtoMsg(message: HeaderDataProtoMsg): HeaderData;
toProto(message: HeaderData): Uint8Array;
toProtoMsg(message: HeaderData): HeaderDataProtoMsg;
registerTypeUrl(): void;
};
/**
* ClientStateData returns the SignBytes data for client state verification.
* @name ClientStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ClientStateData
*/
export declare const ClientStateData: {
typeUrl: string;
aminoType: string;
is(o: any): o is ClientStateData;
isAmino(o: any): o is ClientStateDataAmino;
encode(message: ClientStateData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ClientStateData;
fromPartial(object: DeepPartial<ClientStateData>): ClientStateData;
fromAmino(object: ClientStateDataAmino): ClientStateData;
toAmino(message: ClientStateData): ClientStateDataAmino;
fromAminoMsg(object: ClientStateDataAminoMsg): ClientStateData;
toAminoMsg(message: ClientStateData): ClientStateDataAminoMsg;
fromProtoMsg(message: ClientStateDataProtoMsg): ClientStateData;
toProto(message: ClientStateData): Uint8Array;
toProtoMsg(message: ClientStateData): ClientStateDataProtoMsg;
registerTypeUrl(): void;
};
/**
* ConsensusStateData returns the SignBytes data for consensus state
* verification.
* @name ConsensusStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConsensusStateData
*/
export declare const ConsensusStateData: {
typeUrl: string;
aminoType: string;
is(o: any): o is ConsensusStateData;
isAmino(o: any): o is ConsensusStateDataAmino;
encode(message: ConsensusStateData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateData;
fromPartial(object: DeepPartial<ConsensusStateData>): ConsensusStateData;
fromAmino(object: ConsensusStateDataAmino): ConsensusStateData;
toAmino(message: ConsensusStateData): ConsensusStateDataAmino;
fromAminoMsg(object: ConsensusStateDataAminoMsg): ConsensusStateData;
toAminoMsg(message: ConsensusStateData): ConsensusStateDataAminoMsg;
fromProtoMsg(message: ConsensusStateDataProtoMsg): ConsensusStateData;
toProto(message: ConsensusStateData): Uint8Array;
toProtoMsg(message: ConsensusStateData): ConsensusStateDataProtoMsg;
registerTypeUrl(): void;
};
/**
* ConnectionStateData returns the SignBytes data for connection state
* verification.
* @name ConnectionStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ConnectionStateData
*/
export declare const ConnectionStateData: {
typeUrl: string;
aminoType: string;
is(o: any): o is ConnectionStateData;
isAmino(o: any): o is ConnectionStateDataAmino;
encode(message: ConnectionStateData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ConnectionStateData;
fromPartial(object: DeepPartial<ConnectionStateData>): ConnectionStateData;
fromAmino(object: ConnectionStateDataAmino): ConnectionStateData;
toAmino(message: ConnectionStateData): ConnectionStateDataAmino;
fromAminoMsg(object: ConnectionStateDataAminoMsg): ConnectionStateData;
toAminoMsg(message: ConnectionStateData): ConnectionStateDataAminoMsg;
fromProtoMsg(message: ConnectionStateDataProtoMsg): ConnectionStateData;
toProto(message: ConnectionStateData): Uint8Array;
toProtoMsg(message: ConnectionStateData): ConnectionStateDataProtoMsg;
registerTypeUrl(): void;
};
/**
* ChannelStateData returns the SignBytes data for channel state
* verification.
* @name ChannelStateData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.ChannelStateData
*/
export declare const ChannelStateData: {
typeUrl: string;
aminoType: string;
is(o: any): o is ChannelStateData;
isAmino(o: any): o is ChannelStateDataAmino;
encode(message: ChannelStateData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ChannelStateData;
fromPartial(object: DeepPartial<ChannelStateData>): ChannelStateData;
fromAmino(object: ChannelStateDataAmino): ChannelStateData;
toAmino(message: ChannelStateData): ChannelStateDataAmino;
fromAminoMsg(object: ChannelStateDataAminoMsg): ChannelStateData;
toAminoMsg(message: ChannelStateData): ChannelStateDataAminoMsg;
fromProtoMsg(message: ChannelStateDataProtoMsg): ChannelStateData;
toProto(message: ChannelStateData): Uint8Array;
toProtoMsg(message: ChannelStateData): ChannelStateDataProtoMsg;
registerTypeUrl(): void;
};
/**
* PacketCommitmentData returns the SignBytes data for packet commitment
* verification.
* @name PacketCommitmentData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketCommitmentData
*/
export declare const PacketCommitmentData: {
typeUrl: string;
aminoType: string;
is(o: any): o is PacketCommitmentData;
isAmino(o: any): o is PacketCommitmentDataAmino;
encode(message: PacketCommitmentData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): PacketCommitmentData;
fromPartial(object: DeepPartial<PacketCommitmentData>): PacketCommitmentData;
fromAmino(object: PacketCommitmentDataAmino): PacketCommitmentData;
toAmino(message: PacketCommitmentData): PacketCommitmentDataAmino;
fromAminoMsg(object: PacketCommitmentDataAminoMsg): PacketCommitmentData;
toAminoMsg(message: PacketCommitmentData): PacketCommitmentDataAminoMsg;
fromProtoMsg(message: PacketCommitmentDataProtoMsg): PacketCommitmentData;
toProto(message: PacketCommitmentData): Uint8Array;
toProtoMsg(message: PacketCommitmentData): PacketCommitmentDataProtoMsg;
registerTypeUrl(): void;
};
/**
* PacketAcknowledgementData returns the SignBytes data for acknowledgement
* verification.
* @name PacketAcknowledgementData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketAcknowledgementData
*/
export declare const PacketAcknowledgementData: {
typeUrl: string;
aminoType: string;
is(o: any): o is PacketAcknowledgementData;
isAmino(o: any): o is PacketAcknowledgementDataAmino;
encode(message: PacketAcknowledgementData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): PacketAcknowledgementData;
fromPartial(object: DeepPartial<PacketAcknowledgementData>): PacketAcknowledgementData;
fromAmino(object: PacketAcknowledgementDataAmino): PacketAcknowledgementData;
toAmino(message: PacketAcknowledgementData): PacketAcknowledgementDataAmino;
fromAminoMsg(object: PacketAcknowledgementDataAminoMsg): PacketAcknowledgementData;
toAminoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataAminoMsg;
fromProtoMsg(message: PacketAcknowledgementDataProtoMsg): PacketAcknowledgementData;
toProto(message: PacketAcknowledgementData): Uint8Array;
toProtoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataProtoMsg;
registerTypeUrl(): void;
};
/**
* PacketReceiptAbsenceData returns the SignBytes data for
* packet receipt absence verification.
* @name PacketReceiptAbsenceData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData
*/
export declare const PacketReceiptAbsenceData: {
typeUrl: string;
aminoType: string;
is(o: any): o is PacketReceiptAbsenceData;
isAmino(o: any): o is PacketReceiptAbsenceDataAmino;
encode(message: PacketReceiptAbsenceData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): PacketReceiptAbsenceData;
fromPartial(object: DeepPartial<PacketReceiptAbsenceData>): PacketReceiptAbsenceData;
fromAmino(object: PacketReceiptAbsenceDataAmino): PacketReceiptAbsenceData;
toAmino(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAmino;
fromAminoMsg(object: PacketReceiptAbsenceDataAminoMsg): PacketReceiptAbsenceData;
toAminoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAminoMsg;
fromProtoMsg(message: PacketReceiptAbsenceDataProtoMsg): PacketReceiptAbsenceData;
toProto(message: PacketReceiptAbsenceData): Uint8Array;
toProtoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataProtoMsg;
registerTypeUrl(): void;
};
/**
* NextSequenceRecvData returns the SignBytes data for verification of the next
* sequence to be received.
* @name NextSequenceRecvData
* @package ibc.lightclients.solomachine.v2
* @see proto type: ibc.lightclients.solomachine.v2.NextSequenceRecvData
*/
export declare const NextSequenceRecvData: {
typeUrl: string;
aminoType: string;
is(o: any): o is NextSequenceRecvData;
isAmino(o: any): o is NextSequenceRecvDataAmino;
encode(message: NextSequenceRecvData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): NextSequenceRecvData;
fromPartial(object: DeepPartial<NextSequenceRecvData>): NextSequenceRecvData;
fromAmino(object: NextSequenceRecvDataAmino): NextSequenceRecvData;
toAmino(message: NextSequenceRecvData): NextSequenceRecvDataAmino;
fromAminoMsg(object: NextSequenceRecvDataAminoMsg): NextSequenceRecvData;
toAminoMsg(message: NextSequenceRecvData): NextSequenceRecvDataAminoMsg;
fromProtoMsg(message: NextSequenceRecvDataProtoMsg): NextSequenceRecvData;
toProto(message: NextSequenceRecvData): Uint8Array;
toProtoMsg(message: NextSequenceRecvData): NextSequenceRecvDataProtoMsg;
registerTypeUrl(): void;
};