"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddressWhitelistInterface__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        type: "function",
        name: "addToWhitelist",
        inputs: [
            {
                name: "newElement",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "getWhitelist",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address[]",
                internalType: "address[]",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "isOnWhitelist",
        inputs: [
            {
                name: "newElement",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "removeFromWhitelist",
        inputs: [
            {
                name: "newElement",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
];
var AddressWhitelistInterface__factory = (function () {
    function AddressWhitelistInterface__factory() {
    }
    AddressWhitelistInterface__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    AddressWhitelistInterface__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    AddressWhitelistInterface__factory.abi = _abi;
    return AddressWhitelistInterface__factory;
}());
exports.AddressWhitelistInterface__factory = AddressWhitelistInterface__factory;
//# sourceMappingURL=AddressWhitelistInterface__factory.js.map