// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ibc/applications/interchain_accounts/host/v1/host.proto (package ibc.applications.interchain_accounts.host.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Params defines the set of on-chain interchain accounts parameters. * The following parameters may be used to disable the host submodule. * * @generated from message ibc.applications.interchain_accounts.host.v1.Params */ export class Params extends Message { /** * host_enabled enables or disables the host submodule. * * @generated from field: bool host_enabled = 1; */ hostEnabled = false; /** * allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. * * @generated from field: repeated string allow_messages = 2; */ allowMessages: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ibc.applications.interchain_accounts.host.v1.Params"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "host_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 2, name: "allow_messages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Params { return new Params().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Params { return new Params().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Params { return new Params().fromJsonString(jsonString, options); } static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean { return proto3.util.equals(Params, a, b); } }