import { buildUseVueQuery } from "../../../vue-query";
import { getAccounts, getAccount, getAccountAddressByID, getParams, getModuleAccounts, getModuleAccountByName, getBech32Prefix, getAddressBytesToString, getAddressStringToBytes, getAccountInfo } from "./query.rpc.func";
/**
 * Accounts returns all the existing accounts.
 *
 * When called from another module, this query might consume a high amount of
 * gas if the pagination field is incorrectly set.
 * @name useGetAccounts
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Accounts
 */
export const useGetAccounts = buildUseVueQuery({
    builderQueryFn: getAccounts,
    queryKeyPrefix: "AccountsQuery"
});
/**
 * Account returns account details based on address.
 * @name useGetAccount
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Account
 */
export const useGetAccount = buildUseVueQuery({
    builderQueryFn: getAccount,
    queryKeyPrefix: "AccountQuery"
});
/**
 * AccountAddressByID returns account address based on account number.
 * @name useGetAccountAddressByID
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AccountAddressByID
 */
export const useGetAccountAddressByID = buildUseVueQuery({
    builderQueryFn: getAccountAddressByID,
    queryKeyPrefix: "AccountAddressByIDQuery"
});
/**
 * Params queries all parameters.
 * @name useGetParams
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Params
 */
export const useGetParams = buildUseVueQuery({
    builderQueryFn: getParams,
    queryKeyPrefix: "ParamsQuery"
});
/**
 * ModuleAccounts returns all the existing module accounts.
 * @name useGetModuleAccounts
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.ModuleAccounts
 */
export const useGetModuleAccounts = buildUseVueQuery({
    builderQueryFn: getModuleAccounts,
    queryKeyPrefix: "ModuleAccountsQuery"
});
/**
 * ModuleAccountByName returns the module account info by module name
 * @name useGetModuleAccountByName
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.ModuleAccountByName
 */
export const useGetModuleAccountByName = buildUseVueQuery({
    builderQueryFn: getModuleAccountByName,
    queryKeyPrefix: "ModuleAccountByNameQuery"
});
/**
 * Bech32Prefix queries bech32Prefix
 * @name useGetBech32Prefix
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Bech32Prefix
 */
export const useGetBech32Prefix = buildUseVueQuery({
    builderQueryFn: getBech32Prefix,
    queryKeyPrefix: "Bech32PrefixQuery"
});
/**
 * AddressBytesToString converts Account Address bytes to string
 * @name useGetAddressBytesToString
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AddressBytesToString
 */
export const useGetAddressBytesToString = buildUseVueQuery({
    builderQueryFn: getAddressBytesToString,
    queryKeyPrefix: "AddressBytesToStringQuery"
});
/**
 * AddressStringToBytes converts Address string to bytes
 * @name useGetAddressStringToBytes
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AddressStringToBytes
 */
export const useGetAddressStringToBytes = buildUseVueQuery({
    builderQueryFn: getAddressStringToBytes,
    queryKeyPrefix: "AddressStringToBytesQuery"
});
/**
 * AccountInfo queries account info which is common to all account types.
 * @name useGetAccountInfo
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AccountInfo
 */
export const useGetAccountInfo = buildUseVueQuery({
    builderQueryFn: getAccountInfo,
    queryKeyPrefix: "AccountInfoQuery"
});
