UNPKG

@routerprotocol/chain-api

Version:

Router Chain API Query client with generated gRPC bindings.

59 lines (48 loc) 2.37 kB
// package: routerprotocol.routerchain.pricefeed // file: routerprotocol/routerchain/pricefeed/whitelist_ibc_channels.proto import * as jspb from "google-protobuf"; import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb"; export class Channels extends jspb.Message { clearChannelList(): void; getChannelList(): Array<string>; setChannelList(value: Array<string>): void; addChannel(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Channels.AsObject; static toObject(includeInstance: boolean, msg: Channels): Channels.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: Channels, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Channels; static deserializeBinaryFromReader(message: Channels, reader: jspb.BinaryReader): Channels; } export namespace Channels { export type AsObject = { channelList: Array<string>, } } export class CreateWhitelistedIBCChannelProposal extends jspb.Message { getTitle(): string; setTitle(value: string): void; getDescription(): string; setDescription(value: string): void; hasChannels(): boolean; clearChannels(): void; getChannels(): Channels | undefined; setChannels(value?: Channels): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CreateWhitelistedIBCChannelProposal.AsObject; static toObject(includeInstance: boolean, msg: CreateWhitelistedIBCChannelProposal): CreateWhitelistedIBCChannelProposal.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: CreateWhitelistedIBCChannelProposal, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): CreateWhitelistedIBCChannelProposal; static deserializeBinaryFromReader(message: CreateWhitelistedIBCChannelProposal, reader: jspb.BinaryReader): CreateWhitelistedIBCChannelProposal; } export namespace CreateWhitelistedIBCChannelProposal { export type AsObject = { title: string, description: string, channels?: Channels.AsObject, } }