"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDisabledList = exports.getAccounts = exports.getAccount = void 0;
const helper_func_types_1 = require("../../../helper-func-types");
const query_1 = require("./query");
/**
 * Account returns account permissions.
 * @name getAccount
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.Account
 */
exports.getAccount = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAccountRequest.encode,
    decode: query_1.AccountResponse.decode,
    service: "cosmos.circuit.v1.Query",
    method: "Account",
    deps: [query_1.QueryAccountRequest, query_1.AccountResponse]
});
/**
 * Account returns account permissions.
 * @name getAccounts
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.Accounts
 */
exports.getAccounts = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryAccountsRequest.encode,
    decode: query_1.AccountsResponse.decode,
    service: "cosmos.circuit.v1.Query",
    method: "Accounts",
    deps: [query_1.QueryAccountsRequest, query_1.AccountsResponse]
});
/**
 * DisabledList returns a list of disabled message urls
 * @name getDisabledList
 * @package cosmos.circuit.v1
 * @see proto service: cosmos.circuit.v1.DisabledList
 */
exports.getDisabledList = (0, helper_func_types_1.buildQuery)({
    encode: query_1.QueryDisabledListRequest.encode,
    decode: query_1.DisabledListResponse.decode,
    service: "cosmos.circuit.v1.Query",
    method: "DisabledList",
    deps: [query_1.QueryDisabledListRequest, query_1.DisabledListResponse]
});
