UNPKG

@bandprotocol/bandchain.js

Version:

Library for interacting with BandChain in browser and Node.js environments

58 lines (47 loc) 2.11 kB
// package: ibc.applications.interchain_accounts.host.v1 // file: ibc/applications/interchain_accounts/host/v1/host.proto import * as jspb from "google-protobuf"; export class Params extends jspb.Message { getHostEnabled(): boolean; setHostEnabled(value: boolean): void; clearAllowMessagesList(): void; getAllowMessagesList(): Array<string>; setAllowMessagesList(value: Array<string>): void; addAllowMessages(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Params.AsObject; static toObject(includeInstance: boolean, msg: Params): Params.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: Params, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Params; static deserializeBinaryFromReader(message: Params, reader: jspb.BinaryReader): Params; } export namespace Params { export type AsObject = { hostEnabled: boolean, allowMessagesList: Array<string>, } } export class QueryRequest extends jspb.Message { getPath(): string; setPath(value: string): void; getData(): Uint8Array | string; getData_asU8(): Uint8Array; getData_asB64(): string; setData(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): QueryRequest.AsObject; static toObject(includeInstance: boolean, msg: QueryRequest): QueryRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: QueryRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): QueryRequest; static deserializeBinaryFromReader(message: QueryRequest, reader: jspb.BinaryReader): QueryRequest; } export namespace QueryRequest { export type AsObject = { path: string, data: Uint8Array | string, } }