import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Any, AnySDKType } from "../../../google/protobuf/any"; import { Params, ParamsSDKType } from "./auth"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsRequestSDKType { /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsResponse { /** accounts are the existing accounts */ accounts: Any[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryAccountsResponse is the response type for the Query/Accounts RPC method. * * Since: cosmos-sdk 0.43 */ export interface QueryAccountsResponseSDKType { /** accounts are the existing accounts */ accounts: AnySDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryAccountRequest is the request type for the Query/Account RPC method. */ export interface QueryAccountRequest { /** address defines the address to query for. */ address: string; } /** QueryAccountRequest is the request type for the Query/Account RPC method. */ export interface QueryAccountRequestSDKType { /** address defines the address to query for. */ address: string; } /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ export interface QueryModuleAccountsRequest { } /** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ export interface QueryModuleAccountsRequestSDKType { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params: Params; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { /** params defines the parameters of the module. */ params: ParamsSDKType; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ account: Any; } /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponseSDKType { /** account defines the account of the corresponding address. */ account: AnySDKType; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { } /** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ export interface QueryModuleAccountsResponse { accounts: Any[]; } /** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ export interface QueryModuleAccountsResponseSDKType { accounts: AnySDKType[]; } /** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ export interface Bech32PrefixRequest { } /** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ export interface Bech32PrefixRequestSDKType { } /** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ export interface Bech32PrefixResponse { bech32Prefix: string; } /** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ export interface Bech32PrefixResponseSDKType { bech32_prefix: string; } /** AddressBytesToStringRequest is the request type for AddressString rpc method */ export interface AddressBytesToStringRequest { addressBytes: Uint8Array; } /** AddressBytesToStringRequest is the request type for AddressString rpc method */ export interface AddressBytesToStringRequestSDKType { address_bytes: Uint8Array; } /** AddressBytesToStringResponse is the response type for AddressString rpc method */ export interface AddressBytesToStringResponse { addressString: string; } /** AddressBytesToStringResponse is the response type for AddressString rpc method */ export interface AddressBytesToStringResponseSDKType { address_string: string; } /** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ export interface AddressStringToBytesRequest { addressString: string; } /** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ export interface AddressStringToBytesRequestSDKType { address_string: string; } /** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ export interface AddressStringToBytesResponse { addressBytes: Uint8Array; } /** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ export interface AddressStringToBytesResponseSDKType { address_bytes: Uint8Array; } export declare const QueryAccountsRequest: { encode(message: QueryAccountsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest; fromPartial(object: DeepPartial): QueryAccountsRequest; }; export declare const QueryAccountsResponse: { encode(message: QueryAccountsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse; fromPartial(object: DeepPartial): QueryAccountsResponse; }; export declare const QueryAccountRequest: { encode(message: QueryAccountRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest; fromPartial(object: DeepPartial): QueryAccountRequest; }; export declare const QueryModuleAccountsRequest: { encode(_: QueryModuleAccountsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest; fromPartial(_: DeepPartial): QueryModuleAccountsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; }; export declare const QueryAccountResponse: { encode(message: QueryAccountResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse; fromPartial(object: DeepPartial): QueryAccountResponse; }; export declare const QueryParamsRequest: { encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(_: DeepPartial): QueryParamsRequest; }; export declare const QueryModuleAccountsResponse: { encode(message: QueryModuleAccountsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse; fromPartial(object: DeepPartial): QueryModuleAccountsResponse; }; export declare const Bech32PrefixRequest: { encode(_: Bech32PrefixRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest; fromPartial(_: DeepPartial): Bech32PrefixRequest; }; export declare const Bech32PrefixResponse: { encode(message: Bech32PrefixResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse; fromPartial(object: DeepPartial): Bech32PrefixResponse; }; export declare const AddressBytesToStringRequest: { encode(message: AddressBytesToStringRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest; fromPartial(object: DeepPartial): AddressBytesToStringRequest; }; export declare const AddressBytesToStringResponse: { encode(message: AddressBytesToStringResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse; fromPartial(object: DeepPartial): AddressBytesToStringResponse; }; export declare const AddressStringToBytesRequest: { encode(message: AddressStringToBytesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest; fromPartial(object: DeepPartial): AddressStringToBytesRequest; }; export declare const AddressStringToBytesResponse: { encode(message: AddressStringToBytesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse; fromPartial(object: DeepPartial): AddressStringToBytesResponse; };