import { BinaryReader, BinaryWriter } from "../../../../../binary"; import { DeepPartial } from "../../../../../helpers"; /** * Params defines the set of on-chain interchain accounts parameters. * The following parameters may be used to disable the host submodule. * @name Params * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.Params */ export interface Params { /** * host_enabled enables or disables the host submodule. */ hostEnabled: boolean; /** * allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. */ allowMessages: string[]; } export interface ParamsProtoMsg { typeUrl: "/ibc.applications.interchain_accounts.host.v1.Params"; value: Uint8Array; } /** * Params defines the set of on-chain interchain accounts parameters. * The following parameters may be used to disable the host submodule. * @name ParamsAmino * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.Params */ export interface ParamsAmino { /** * host_enabled enables or disables the host submodule. */ host_enabled: boolean; /** * allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. */ allow_messages: string[]; } export interface ParamsAminoMsg { type: "cosmos-sdk/Params"; value: ParamsAmino; } /** * QueryRequest defines the parameters for a particular query request * by an interchain account. * @name QueryRequest * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.QueryRequest */ export interface QueryRequest { /** * path defines the path of the query request as defined by ADR-021. * https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing */ path: string; /** * data defines the payload of the query request as defined by ADR-021. * https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing */ data: Uint8Array; } export interface QueryRequestProtoMsg { typeUrl: "/ibc.applications.interchain_accounts.host.v1.QueryRequest"; value: Uint8Array; } /** * QueryRequest defines the parameters for a particular query request * by an interchain account. * @name QueryRequestAmino * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.QueryRequest */ export interface QueryRequestAmino { /** * path defines the path of the query request as defined by ADR-021. * https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing */ path: string; /** * data defines the payload of the query request as defined by ADR-021. * https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-021-protobuf-query-encoding.md#custom-query-registration-and-routing */ data: string; } export interface QueryRequestAminoMsg { type: "cosmos-sdk/QueryRequest"; value: QueryRequestAmino; } /** * Params defines the set of on-chain interchain accounts parameters. * The following parameters may be used to disable the host submodule. * @name Params * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.Params */ export declare const Params: { typeUrl: string; aminoType: string; is(o: any): o is Params; isAmino(o: any): o is ParamsAmino; encode(message: Params, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Params; fromPartial(object: DeepPartial): Params; fromAmino(object: ParamsAmino): Params; toAmino(message: Params): ParamsAmino; fromAminoMsg(object: ParamsAminoMsg): Params; toAminoMsg(message: Params): ParamsAminoMsg; fromProtoMsg(message: ParamsProtoMsg): Params; toProto(message: Params): Uint8Array; toProtoMsg(message: Params): ParamsProtoMsg; registerTypeUrl(): void; }; /** * QueryRequest defines the parameters for a particular query request * by an interchain account. * @name QueryRequest * @package ibc.applications.interchain_accounts.host.v1 * @see proto type: ibc.applications.interchain_accounts.host.v1.QueryRequest */ export declare const QueryRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryRequest; isAmino(o: any): o is QueryRequestAmino; encode(message: QueryRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryRequest; fromPartial(object: DeepPartial): QueryRequest; fromAmino(object: QueryRequestAmino): QueryRequest; toAmino(message: QueryRequest): QueryRequestAmino; fromAminoMsg(object: QueryRequestAminoMsg): QueryRequest; toAminoMsg(message: QueryRequest): QueryRequestAminoMsg; fromProtoMsg(message: QueryRequestProtoMsg): QueryRequest; toProto(message: QueryRequest): Uint8Array; toProtoMsg(message: QueryRequest): QueryRequestProtoMsg; registerTypeUrl(): void; };