"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnipilotPolygonFactory__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: 'address',
                name: '_uniswapFactory',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_governance',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_uniStrategy',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_indexFund',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_WETH',
                type: 'address',
            },
            {
                internalType: 'uint8',
                name: 'percentage',
                type: 'uint8',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'constructor',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: '_oldGovernance',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: '_newGovernance',
                type: 'address',
            },
        ],
        name: 'GovernanceChanged',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: '_tokenA',
                type: 'address',
            },
            {
                indexed: true,
                internalType: 'address',
                name: '_tokenB',
                type: 'address',
            },
            {
                indexed: false,
                internalType: 'uint16',
                name: '_strategyType',
                type: 'uint16',
            },
            {
                indexed: false,
                internalType: 'uint24',
                name: '_fee',
                type: 'uint24',
            },
            {
                indexed: true,
                internalType: 'address',
                name: '_vault',
                type: 'address',
            },
        ],
        name: 'VaultCreated',
        type: 'event',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_tokenA',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_tokenB',
                type: 'address',
            },
            {
                internalType: 'uint24',
                name: '_fee',
                type: 'uint24',
            },
            {
                internalType: 'uint16',
                name: '_vaultStrategy',
                type: 'uint16',
            },
            {
                internalType: 'uint160',
                name: '_sqrtPriceX96',
                type: 'uint160',
            },
            {
                internalType: 'string',
                name: '_name',
                type: 'string',
            },
            {
                internalType: 'string',
                name: '_symbol',
                type: 'string',
            },
        ],
        name: 'createVault',
        outputs: [
            {
                internalType: 'address',
                name: '_vault',
                type: 'address',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'getUnipilotDetails',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
            {
                internalType: 'uint8',
                name: '',
                type: 'uint8',
            },
            {
                internalType: 'uint8',
                name: '',
                type: 'uint8',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        name: 'isWhitelist',
        outputs: [
            {
                internalType: 'bool',
                name: '',
                type: 'bool',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_newGovernance',
                type: 'address',
            },
        ],
        name: 'setGovernance',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_strategy',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '_indexFund',
                type: 'address',
            },
            {
                internalType: 'uint8',
                name: '_indexFundPercentage',
                type: 'uint8',
            },
        ],
        name: 'setUnipilotDetails',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '_address',
                type: 'address',
            },
        ],
        name: 'toggleWhitelistAccount',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
            {
                internalType: 'uint24',
                name: '',
                type: 'uint24',
            },
            {
                internalType: 'uint16',
                name: '',
                type: 'uint16',
            },
        ],
        name: 'vaults',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
];
class UnipilotPolygonFactory__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.UnipilotPolygonFactory__factory = UnipilotPolygonFactory__factory;
UnipilotPolygonFactory__factory.abi = _abi;
//# sourceMappingURL=UnipilotPolygonFactory__factory.js.map