"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefiedgeShareHelper__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        name: "DIVISOR",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IStrategyFactory",
                name: "_factory",
                type: "IStrategyFactory",
            },
            {
                internalType: "contract IStrategyManager",
                name: "_manager",
                type: "IStrategyManager",
            },
            {
                internalType: "uint256",
                name: "_accManagementFee",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_accPerformanceFee",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_accProtocolPerformanceFee",
                type: "uint256",
            },
        ],
        name: "calculateFeeShares",
        outputs: [
            {
                internalType: "address",
                name: "managerFeeTo",
                type: "address",
            },
            {
                internalType: "address",
                name: "protocolFeeTo",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "managerShare",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "protocolShare",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "contract IStrategyFactory",
                name: "_factory",
                type: "IStrategyFactory",
            },
            {
                internalType: "contract FeedRegistryInterface",
                name: "_registry",
                type: "FeedRegistryInterface",
            },
            {
                internalType: "contract IUniswapV3Pool",
                name: "_pool",
                type: "IUniswapV3Pool",
            },
            {
                internalType: "bool[2]",
                name: "_isBase",
                type: "bool[2]",
            },
            {
                internalType: "uint256",
                name: "_amount0",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_amount1",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_totalAmount0",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_totalAmount1",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "_totalShares",
                type: "uint256",
            },
        ],
        name: "calculateShares",
        outputs: [
            {
                internalType: "uint256",
                name: "share",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var DefiedgeShareHelper__factory = /** @class */ (function () {
    function DefiedgeShareHelper__factory() {
    }
    DefiedgeShareHelper__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    DefiedgeShareHelper__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    DefiedgeShareHelper__factory.abi = _abi;
    return DefiedgeShareHelper__factory;
}());
exports.DefiedgeShareHelper__factory = DefiedgeShareHelper__factory;
//# sourceMappingURL=DefiedgeShareHelper__factory.js.map