"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTotalEscrowForDenom = exports.getEscrowAddress = exports.getDenomHash = exports.getDenom = exports.getDenoms = exports.getParams = void 0;
const helper_func_types_1 = require("../../../../helper-func-types");
const query_1 = require("./query");
/**
 * Params queries all parameters of the ibc-transfer module.
 * @name getParams
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.Params
 */
exports.getParams = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryParamsRequest.encode,
    decode: query_1.QueryParamsResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "Params",
    deps: [query_1.QueryParamsRequest, query_1.QueryParamsResponse]
});
/**
 * Denoms queries all denominations
 * @name getDenoms
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.Denoms
 */
exports.getDenoms = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDenomsRequest.encode,
    decode: query_1.QueryDenomsResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "Denoms",
    deps: [query_1.QueryDenomsRequest, query_1.QueryDenomsResponse]
});
/**
 * Denom queries a denomination
 * @name getDenom
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.Denom
 */
exports.getDenom = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDenomRequest.encode,
    decode: query_1.QueryDenomResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "Denom",
    deps: [query_1.QueryDenomRequest, query_1.QueryDenomResponse]
});
/**
 * DenomHash queries a denomination hash information.
 * @name getDenomHash
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.DenomHash
 */
exports.getDenomHash = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDenomHashRequest.encode,
    decode: query_1.QueryDenomHashResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "DenomHash",
    deps: [query_1.QueryDenomHashRequest, query_1.QueryDenomHashResponse]
});
/**
 * EscrowAddress returns the escrow address for a particular port and channel id.
 * @name getEscrowAddress
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.EscrowAddress
 */
exports.getEscrowAddress = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryEscrowAddressRequest.encode,
    decode: query_1.QueryEscrowAddressResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "EscrowAddress",
    deps: [query_1.QueryEscrowAddressRequest, query_1.QueryEscrowAddressResponse]
});
/**
 * TotalEscrowForDenom returns the total amount of tokens in escrow based on the denom.
 * @name getTotalEscrowForDenom
 * @package ibc.applications.transfer.v1
 * @see proto service: ibc.applications.transfer.v1.TotalEscrowForDenom
 */
exports.getTotalEscrowForDenom = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryTotalEscrowForDenomRequest.encode,
    decode: query_1.QueryTotalEscrowForDenomResponse.decode,
    service: "ibc.applications.transfer.v1.Query",
    method: "TotalEscrowForDenom",
    deps: [query_1.QueryTotalEscrowForDenomRequest, query_1.QueryTotalEscrowForDenomResponse]
});
