// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file cosmos/auth/v1beta1/query.proto (package cosmos.auth.v1beta1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3, protoInt64 } from "@bufbuild/protobuf"; import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination_pb.js"; import { BaseAccount, Params } from "./auth_pb.js"; /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 * * @generated from message cosmos.auth.v1beta1.QueryAccountsRequest */ export class QueryAccountsRequest extends Message { /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsRequest { return new QueryAccountsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsRequest { return new QueryAccountsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountsRequest { return new QueryAccountsRequest().fromJsonString(jsonString, options); } static equals(a: QueryAccountsRequest | PlainMessage | undefined, b: QueryAccountsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountsRequest, a, b); } } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 * * @generated from message cosmos.auth.v1beta1.QueryAccountsResponse */ export class QueryAccountsResponse extends Message { /** * accounts are the existing accounts * * @generated from field: repeated google.protobuf.Any accounts = 1; */ accounts: Any[] = []; /** * pagination defines the pagination in the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "accounts", kind: "message", T: Any, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountsResponse { return new QueryAccountsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountsResponse { return new QueryAccountsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountsResponse { return new QueryAccountsResponse().fromJsonString(jsonString, options); } static equals(a: QueryAccountsResponse | PlainMessage | undefined, b: QueryAccountsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountsResponse, a, b); } } /** * QueryAccountRequest is the request type for the Query/Account RPC method. * * @generated from message cosmos.auth.v1beta1.QueryAccountRequest */ export class QueryAccountRequest extends Message { /** * address defines the address to query for. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountRequest, a, b); } } /** * QueryAccountResponse is the response type for the Query/Account RPC method. * * @generated from message cosmos.auth.v1beta1.QueryAccountResponse */ export class QueryAccountResponse extends Message { /** * account defines the account of the corresponding address. * * @generated from field: google.protobuf.Any account = 1; */ account?: Any; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "account", kind: "message", T: Any }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryAccountResponse | PlainMessage | undefined, b: QueryAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountResponse, a, b); } } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message cosmos.auth.v1beta1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * * @generated from message cosmos.auth.v1beta1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: cosmos.auth.v1beta1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } } /** * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountsRequest */ export class QueryModuleAccountsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountsRequest { return new QueryModuleAccountsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountsRequest { return new QueryModuleAccountsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountsRequest { return new QueryModuleAccountsRequest().fromJsonString(jsonString, options); } static equals(a: QueryModuleAccountsRequest | PlainMessage | undefined, b: QueryModuleAccountsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleAccountsRequest, a, b); } } /** * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountsResponse */ export class QueryModuleAccountsResponse extends Message { /** * @generated from field: repeated google.protobuf.Any accounts = 1; */ accounts: Any[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "accounts", kind: "message", T: Any, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountsResponse { return new QueryModuleAccountsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountsResponse { return new QueryModuleAccountsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountsResponse { return new QueryModuleAccountsResponse().fromJsonString(jsonString, options); } static equals(a: QueryModuleAccountsResponse | PlainMessage | undefined, b: QueryModuleAccountsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleAccountsResponse, a, b); } } /** * QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountByNameRequest */ export class QueryModuleAccountByNameRequest extends Message { /** * @generated from field: string name = 1; */ name = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountByNameRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountByNameRequest { return new QueryModuleAccountByNameRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountByNameRequest { return new QueryModuleAccountByNameRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountByNameRequest { return new QueryModuleAccountByNameRequest().fromJsonString(jsonString, options); } static equals(a: QueryModuleAccountByNameRequest | PlainMessage | undefined, b: QueryModuleAccountByNameRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleAccountByNameRequest, a, b); } } /** * QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. * * @generated from message cosmos.auth.v1beta1.QueryModuleAccountByNameResponse */ export class QueryModuleAccountByNameResponse extends Message { /** * @generated from field: google.protobuf.Any account = 1; */ account?: Any; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "account", kind: "message", T: Any }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryModuleAccountByNameResponse { return new QueryModuleAccountByNameResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryModuleAccountByNameResponse { return new QueryModuleAccountByNameResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryModuleAccountByNameResponse { return new QueryModuleAccountByNameResponse().fromJsonString(jsonString, options); } static equals(a: QueryModuleAccountByNameResponse | PlainMessage | undefined, b: QueryModuleAccountByNameResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryModuleAccountByNameResponse, a, b); } } /** * Bech32PrefixRequest is the request type for Bech32Prefix rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.Bech32PrefixRequest */ export class Bech32PrefixRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.Bech32PrefixRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): Bech32PrefixRequest { return new Bech32PrefixRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Bech32PrefixRequest { return new Bech32PrefixRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Bech32PrefixRequest { return new Bech32PrefixRequest().fromJsonString(jsonString, options); } static equals(a: Bech32PrefixRequest | PlainMessage | undefined, b: Bech32PrefixRequest | PlainMessage | undefined): boolean { return proto3.util.equals(Bech32PrefixRequest, a, b); } } /** * Bech32PrefixResponse is the response type for Bech32Prefix rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.Bech32PrefixResponse */ export class Bech32PrefixResponse extends Message { /** * @generated from field: string bech32_prefix = 1; */ bech32Prefix = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.Bech32PrefixResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "bech32_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Bech32PrefixResponse { return new Bech32PrefixResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Bech32PrefixResponse { return new Bech32PrefixResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Bech32PrefixResponse { return new Bech32PrefixResponse().fromJsonString(jsonString, options); } static equals(a: Bech32PrefixResponse | PlainMessage | undefined, b: Bech32PrefixResponse | PlainMessage | undefined): boolean { return proto3.util.equals(Bech32PrefixResponse, a, b); } } /** * AddressBytesToStringRequest is the request type for AddressString rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressBytesToStringRequest */ export class AddressBytesToStringRequest extends Message { /** * @generated from field: bytes address_bytes = 1; */ addressBytes = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressBytesToStringRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AddressBytesToStringRequest { return new AddressBytesToStringRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AddressBytesToStringRequest { return new AddressBytesToStringRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AddressBytesToStringRequest { return new AddressBytesToStringRequest().fromJsonString(jsonString, options); } static equals(a: AddressBytesToStringRequest | PlainMessage | undefined, b: AddressBytesToStringRequest | PlainMessage | undefined): boolean { return proto3.util.equals(AddressBytesToStringRequest, a, b); } } /** * AddressBytesToStringResponse is the response type for AddressString rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressBytesToStringResponse */ export class AddressBytesToStringResponse extends Message { /** * @generated from field: string address_string = 1; */ addressString = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressBytesToStringResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address_string", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AddressBytesToStringResponse { return new AddressBytesToStringResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AddressBytesToStringResponse { return new AddressBytesToStringResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AddressBytesToStringResponse { return new AddressBytesToStringResponse().fromJsonString(jsonString, options); } static equals(a: AddressBytesToStringResponse | PlainMessage | undefined, b: AddressBytesToStringResponse | PlainMessage | undefined): boolean { return proto3.util.equals(AddressBytesToStringResponse, a, b); } } /** * AddressStringToBytesRequest is the request type for AccountBytes rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressStringToBytesRequest */ export class AddressStringToBytesRequest extends Message { /** * @generated from field: string address_string = 1; */ addressString = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressStringToBytesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address_string", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AddressStringToBytesRequest { return new AddressStringToBytesRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AddressStringToBytesRequest { return new AddressStringToBytesRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AddressStringToBytesRequest { return new AddressStringToBytesRequest().fromJsonString(jsonString, options); } static equals(a: AddressStringToBytesRequest | PlainMessage | undefined, b: AddressStringToBytesRequest | PlainMessage | undefined): boolean { return proto3.util.equals(AddressStringToBytesRequest, a, b); } } /** * AddressStringToBytesResponse is the response type for AddressBytes rpc method. * * Since: cosmos-sdk 0.46 * * @generated from message cosmos.auth.v1beta1.AddressStringToBytesResponse */ export class AddressStringToBytesResponse extends Message { /** * @generated from field: bytes address_bytes = 1; */ addressBytes = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.AddressStringToBytesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): AddressStringToBytesResponse { return new AddressStringToBytesResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): AddressStringToBytesResponse { return new AddressStringToBytesResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): AddressStringToBytesResponse { return new AddressStringToBytesResponse().fromJsonString(jsonString, options); } static equals(a: AddressStringToBytesResponse | PlainMessage | undefined, b: AddressStringToBytesResponse | PlainMessage | undefined): boolean { return proto3.util.equals(AddressStringToBytesResponse, a, b); } } /** * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method * * Since: cosmos-sdk 0.46.2 * * @generated from message cosmos.auth.v1beta1.QueryAccountAddressByIDRequest */ export class QueryAccountAddressByIDRequest extends Message { /** * Deprecated, use account_id instead * * id is the account number of the address to be queried. This field * should have been an uint64 (like all account numbers), and will be * updated to uint64 in a future version of the auth query. * * @generated from field: int64 id = 1 [deprecated = true]; * @deprecated */ id = protoInt64.zero; /** * account_id is the account number of the address to be queried. * * Since: cosmos-sdk 0.47 * * @generated from field: uint64 account_id = 2; */ accountId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountAddressByIDRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "account_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressByIDRequest { return new QueryAccountAddressByIDRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressByIDRequest { return new QueryAccountAddressByIDRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressByIDRequest { return new QueryAccountAddressByIDRequest().fromJsonString(jsonString, options); } static equals(a: QueryAccountAddressByIDRequest | PlainMessage | undefined, b: QueryAccountAddressByIDRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountAddressByIDRequest, a, b); } } /** * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method * * Since: cosmos-sdk 0.46.2 * * @generated from message cosmos.auth.v1beta1.QueryAccountAddressByIDResponse */ export class QueryAccountAddressByIDResponse extends Message { /** * @generated from field: string account_address = 1; */ accountAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "account_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountAddressByIDResponse { return new QueryAccountAddressByIDResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountAddressByIDResponse { return new QueryAccountAddressByIDResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountAddressByIDResponse { return new QueryAccountAddressByIDResponse().fromJsonString(jsonString, options); } static equals(a: QueryAccountAddressByIDResponse | PlainMessage | undefined, b: QueryAccountAddressByIDResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountAddressByIDResponse, a, b); } } /** * QueryAccountInfoRequest is the Query/AccountInfo request type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.auth.v1beta1.QueryAccountInfoRequest */ export class QueryAccountInfoRequest extends Message { /** * address is the account address string. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountInfoRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountInfoRequest { return new QueryAccountInfoRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountInfoRequest { return new QueryAccountInfoRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountInfoRequest { return new QueryAccountInfoRequest().fromJsonString(jsonString, options); } static equals(a: QueryAccountInfoRequest | PlainMessage | undefined, b: QueryAccountInfoRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountInfoRequest, a, b); } } /** * QueryAccountInfoResponse is the Query/AccountInfo response type. * * Since: cosmos-sdk 0.47 * * @generated from message cosmos.auth.v1beta1.QueryAccountInfoResponse */ export class QueryAccountInfoResponse extends Message { /** * info is the account info which is represented by BaseAccount. * * @generated from field: cosmos.auth.v1beta1.BaseAccount info = 1; */ info?: BaseAccount; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "cosmos.auth.v1beta1.QueryAccountInfoResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "info", kind: "message", T: BaseAccount }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountInfoResponse { return new QueryAccountInfoResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountInfoResponse { return new QueryAccountInfoResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountInfoResponse { return new QueryAccountInfoResponse().fromJsonString(jsonString, options); } static equals(a: QueryAccountInfoResponse | PlainMessage | undefined, b: QueryAccountInfoResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountInfoResponse, a, b); } }