"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createGetTotalEscrowForDenom = exports.createGetEscrowAddress = exports.createGetDenomHash = exports.createGetParams = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const query_1 = require("./query");
const createGetParams = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "Params",
    clientResolver
});
exports.createGetParams = createGetParams;
const createGetDenomHash = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDenomHashRequest.encode,
    decode: query_1.QueryDenomHashResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "DenomHash",
    clientResolver
});
exports.createGetDenomHash = createGetDenomHash;
const createGetEscrowAddress = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryEscrowAddressRequest.encode,
    decode: query_1.QueryEscrowAddressResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "EscrowAddress",
    clientResolver
});
exports.createGetEscrowAddress = createGetEscrowAddress;
const createGetTotalEscrowForDenom = (clientResolver) => (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryTotalEscrowForDenomRequest.encode,
    decode: query_1.QueryTotalEscrowForDenomResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "TotalEscrowForDenom",
    clientResolver
});
exports.createGetTotalEscrowForDenom = createGetTotalEscrowForDenom;
