"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetBuildAddress = exports.useGetWasmLimitsConfig = exports.useGetContractsByCreator = exports.useGetParams = exports.useGetPinnedCodes = exports.useGetCodeInfo = exports.useGetCodes = exports.useGetCode = exports.useGetSmartContractState = exports.useGetRawContractState = exports.useGetAllContractState = exports.useGetContractsByCode = exports.useGetContractHistory = exports.useGetContractInfo = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
exports.useGetContractInfo = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetContractInfo,
    queryKeyPrefix: "ContractInfoQuery"
});
exports.useGetContractHistory = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetContractHistory,
    queryKeyPrefix: "ContractHistoryQuery"
});
exports.useGetContractsByCode = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetContractsByCode,
    queryKeyPrefix: "ContractsByCodeQuery"
});
exports.useGetAllContractState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetAllContractState,
    queryKeyPrefix: "AllContractStateQuery"
});
exports.useGetRawContractState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetRawContractState,
    queryKeyPrefix: "RawContractStateQuery"
});
exports.useGetSmartContractState = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetSmartContractState,
    queryKeyPrefix: "SmartContractStateQuery"
});
exports.useGetCode = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetCode,
    queryKeyPrefix: "CodeQuery"
});
exports.useGetCodes = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetCodes,
    queryKeyPrefix: "CodesQuery"
});
exports.useGetCodeInfo = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetCodeInfo,
    queryKeyPrefix: "CodeInfoQuery"
});
exports.useGetPinnedCodes = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetPinnedCodes,
    queryKeyPrefix: "PinnedCodesQuery"
});
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetParams,
    queryKeyPrefix: "ParamsQuery"
});
exports.useGetContractsByCreator = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetContractsByCreator,
    queryKeyPrefix: "ContractsByCreatorQuery"
});
exports.useGetWasmLimitsConfig = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetWasmLimitsConfig,
    queryKeyPrefix: "WasmLimitsConfigQuery"
});
exports.useGetBuildAddress = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.createGetBuildAddress,
    queryKeyPrefix: "BuildAddressQuery"
});
