@routerprotocol/chain-api
Version:
Router Chain API Query client with generated gRPC bindings.
81 lines (66 loc) • 3.04 kB
TypeScript
// package: cosmwasm.wasm.v1
// file: cosmwasm/wasm/v1/ibc.proto
import * as jspb from "google-protobuf";
import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb";
export class MsgIBCSend extends jspb.Message {
getChannel(): string;
setChannel(value: string): void;
getTimeoutHeight(): number;
setTimeoutHeight(value: number): void;
getTimeoutTimestamp(): number;
setTimeoutTimestamp(value: number): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgIBCSend.AsObject;
static toObject(includeInstance: boolean, msg: MsgIBCSend): MsgIBCSend.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgIBCSend, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgIBCSend;
static deserializeBinaryFromReader(message: MsgIBCSend, reader: jspb.BinaryReader): MsgIBCSend;
}
export namespace MsgIBCSend {
export type AsObject = {
channel: string,
timeoutHeight: number,
timeoutTimestamp: number,
data: Uint8Array | string,
}
}
export class MsgIBCSendResponse extends jspb.Message {
getSequence(): number;
setSequence(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgIBCSendResponse.AsObject;
static toObject(includeInstance: boolean, msg: MsgIBCSendResponse): MsgIBCSendResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgIBCSendResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgIBCSendResponse;
static deserializeBinaryFromReader(message: MsgIBCSendResponse, reader: jspb.BinaryReader): MsgIBCSendResponse;
}
export namespace MsgIBCSendResponse {
export type AsObject = {
sequence: number,
}
}
export class MsgIBCCloseChannel extends jspb.Message {
getChannel(): string;
setChannel(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MsgIBCCloseChannel.AsObject;
static toObject(includeInstance: boolean, msg: MsgIBCCloseChannel): MsgIBCCloseChannel.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MsgIBCCloseChannel, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MsgIBCCloseChannel;
static deserializeBinaryFromReader(message: MsgIBCCloseChannel, reader: jspb.BinaryReader): MsgIBCCloseChannel;
}
export namespace MsgIBCCloseChannel {
export type AsObject = {
channel: string,
}
}