"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetAccountInfo = exports.useGetAddressStringToBytes = exports.useGetAddressBytesToString = exports.useGetBech32Prefix = exports.useGetModuleAccountByName = exports.useGetModuleAccounts = exports.useGetParams = exports.useGetAccountAddressByID = exports.useGetAccount = exports.useGetAccounts = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./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
 */
exports.useGetAccounts = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getAccounts,
    queryKeyPrefix: "AccountsQuery"
});
/**
 * Account returns account details based on address.
 * @name useGetAccount
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Account
 */
exports.useGetAccount = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getAccount,
    queryKeyPrefix: "AccountQuery"
});
/**
 * AccountAddressByID returns account address based on account number.
 * @name useGetAccountAddressByID
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AccountAddressByID
 */
exports.useGetAccountAddressByID = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getAccountAddressByID,
    queryKeyPrefix: "AccountAddressByIDQuery"
});
/**
 * Params queries all parameters.
 * @name useGetParams
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Params
 */
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getParams,
    queryKeyPrefix: "ParamsQuery"
});
/**
 * ModuleAccounts returns all the existing module accounts.
 * @name useGetModuleAccounts
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.ModuleAccounts
 */
exports.useGetModuleAccounts = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetModuleAccountByName = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getModuleAccountByName,
    queryKeyPrefix: "ModuleAccountByNameQuery"
});
/**
 * Bech32Prefix queries bech32Prefix
 * @name useGetBech32Prefix
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.Bech32Prefix
 */
exports.useGetBech32Prefix = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getBech32Prefix,
    queryKeyPrefix: "Bech32PrefixQuery"
});
/**
 * AddressBytesToString converts Account Address bytes to string
 * @name useGetAddressBytesToString
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AddressBytesToString
 */
exports.useGetAddressBytesToString = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getAddressBytesToString,
    queryKeyPrefix: "AddressBytesToStringQuery"
});
/**
 * AddressStringToBytes converts Address string to bytes
 * @name useGetAddressStringToBytes
 * @package cosmos.auth.v1beta1
 * @see proto service: cosmos.auth.v1beta1.AddressStringToBytes
 */
exports.useGetAddressStringToBytes = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.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
 */
exports.useGetAccountInfo = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getAccountInfo,
    queryKeyPrefix: "AccountInfoQuery"
});
