"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OlympusLiquidityRegistry__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: 'contract Kernel',
                name: 'kernel_',
                type: 'address',
            },
        ],
        stateMutability: 'nonpayable',
        type: 'constructor',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'caller_',
                type: 'address',
            },
        ],
        name: 'KernelAdapter_OnlyKernel',
        type: 'error',
    },
    {
        inputs: [],
        name: 'LQREG_RemovalMismatch',
        type: 'error',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'policy_',
                type: 'address',
            },
        ],
        name: 'Module_PolicyNotPermitted',
        type: 'error',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'vault',
                type: 'address',
            },
        ],
        name: 'VaultAdded',
        type: 'event',
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: 'address',
                name: 'vault',
                type: 'address',
            },
        ],
        name: 'VaultRemoved',
        type: 'event',
    },
    {
        inputs: [],
        name: 'INIT',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'KEYCODE',
        outputs: [
            {
                internalType: 'Keycode',
                name: '',
                type: 'bytes5',
            },
        ],
        stateMutability: 'pure',
        type: 'function',
    },
    {
        inputs: [],
        name: 'VERSION',
        outputs: [
            {
                internalType: 'uint8',
                name: 'major',
                type: 'uint8',
            },
            {
                internalType: 'uint8',
                name: 'minor',
                type: 'uint8',
            },
        ],
        stateMutability: 'pure',
        type: 'function',
    },
    {
        inputs: [],
        name: 'activeVaultCount',
        outputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: '',
                type: 'uint256',
            },
        ],
        name: 'activeVaults',
        outputs: [
            {
                internalType: 'address',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'address',
                name: 'vault_',
                type: 'address',
            },
        ],
        name: 'addVault',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'contract Kernel',
                name: 'newKernel_',
                type: 'address',
            },
        ],
        name: 'changeKernel',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
    {
        inputs: [],
        name: 'kernel',
        outputs: [
            {
                internalType: 'contract Kernel',
                name: '',
                type: 'address',
            },
        ],
        stateMutability: 'view',
        type: 'function',
    },
    {
        inputs: [
            {
                internalType: 'uint256',
                name: 'index_',
                type: 'uint256',
            },
            {
                internalType: 'address',
                name: 'vault_',
                type: 'address',
            },
        ],
        name: 'removeVault',
        outputs: [],
        stateMutability: 'nonpayable',
        type: 'function',
    },
];
class OlympusLiquidityRegistry__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.OlympusLiquidityRegistry__factory = OlympusLiquidityRegistry__factory;
OlympusLiquidityRegistry__factory.abi = _abi;
//# sourceMappingURL=OlympusLiquidityRegistry__factory.js.map