"use strict";
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.QUERY_HANDLERS_DIVIDEND = exports.COMMAND_HANDLERS_DIVIDEND = void 0;
const Tokens_1 = require("../Tokens");
const SetDividendCommandHandler_1 = require("../../../app/usecase/command/dividend/set/SetDividendCommandHandler");
const CancelDividendCommandHandler_1 = require("../../../app/usecase/command/dividend/cancel/CancelDividendCommandHandler");
const GetDividendForQueryHandler_1 = require("../../../app/usecase/query/dividend/getDividendFor/GetDividendForQueryHandler");
const GetDividendAmountForQueryHandler_1 = require("../../../app/usecase/query/dividend/getDividendAmountFor/GetDividendAmountForQueryHandler");
const GetDividendQueryHandler_1 = require("../../../app/usecase/query/dividend/getDividend/GetDividendQueryHandler");
const GetDividendsCountQueryHandler_1 = require("../../../app/usecase/query/dividend/getDividendsCount/GetDividendsCountQueryHandler");
const GetDividendHoldersQueryHandler_1 = require("../../../app/usecase/query/dividend/getDividendHolders/GetDividendHoldersQueryHandler");
const GetTotalDividendHoldersQueryHandler_1 = require("../../../app/usecase/query/dividend/getTotalDividendHolders/GetTotalDividendHoldersQueryHandler");
exports.COMMAND_HANDLERS_DIVIDEND = [
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: SetDividendCommandHandler_1.SetDividendCommandHandler,
    },
    {
        token: Tokens_1.TOKENS.COMMAND_HANDLER,
        useClass: CancelDividendCommandHandler_1.CancelDividendCommandHandler,
    },
];
exports.QUERY_HANDLERS_DIVIDEND = [
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetDividendForQueryHandler_1.GetDividendForQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetDividendAmountForQueryHandler_1.GetDividendAmountForQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetDividendQueryHandler_1.GetDividendQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetDividendsCountQueryHandler_1.GetDividendsCountQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetDividendHoldersQueryHandler_1.GetDividendHoldersQueryHandler,
    },
    {
        token: Tokens_1.TOKENS.QUERY_HANDLER,
        useClass: GetTotalDividendHoldersQueryHandler_1.GetTotalDividendHoldersQueryHandler,
    },
];
