"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Blocklist__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_manager",
                type: "address",
            },
            {
                internalType: "address",
                name: "_ve",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "addr",
                type: "address",
            },
        ],
        name: "blockContract",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "addr",
                type: "address",
            },
        ],
        name: "isBlocked",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "manager",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "ve",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
var _bytecode = "0x60c060405234801561001057600080fd5b5060405161039c38038061039c83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102d66100c660003960008181605601526101f00152600081816093015261011101526102d66000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80631f85071614610051578063481c6a751461008e578063aba129b6146100b5578063fbac3951146100ca575b600080fd5b6100787f000000000000000000000000000000000000000000000000000000000000000081565b604051610085919061025c565b60405180910390f35b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6100c86100c3366004610270565b610106565b005b6100f66100d8366004610270565b6001600160a01b031660009081526020819052604090205460ff1690565b6040519015158152602001610085565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101725760405162461bcd60e51b815260206004820152600c60248201526b27b7363c9036b0b730b3b2b960a11b60448201526064015b60405180910390fd5b6000816001600160a01b03163b116101bd5760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c7920636f6e74726163747360901b6044820152606401610169565b6001600160a01b0380821660009081526020819052604090819020805460ff1916600117905551631c8e64fb60e11b81527f00000000000000000000000000000000000000000000000000000000000000009091169063391cc9f69061022790849060040161025c565b600060405180830381600087803b15801561024157600080fd5b505af1158015610255573d6000803e3d6000fd5b5050505050565b6001600160a01b0391909116815260200190565b60006020828403121561028257600080fd5b81356001600160a01b038116811461029957600080fd5b939250505056fea2646970667358221220c2167ded17b1b78ee21d106f04c430cee0299ceb9d7d094b21347be38a37e44a64736f6c63430008100033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var Blocklist__factory = /** @class */ (function (_super) {
    __extends(Blocklist__factory, _super);
    function Blocklist__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    Blocklist__factory.prototype.deploy = function (_manager, _ve, overrides) {
        return _super.prototype.deploy.call(this, _manager, _ve, overrides || {});
    };
    Blocklist__factory.prototype.getDeployTransaction = function (_manager, _ve, overrides) {
        return _super.prototype.getDeployTransaction.call(this, _manager, _ve, overrides || {});
    };
    Blocklist__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    Blocklist__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    Blocklist__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    Blocklist__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    Blocklist__factory.bytecode = _bytecode;
    Blocklist__factory.abi = _abi;
    return Blocklist__factory;
}(ethers_1.ContractFactory));
exports.Blocklist__factory = Blocklist__factory;
//# sourceMappingURL=Blocklist__factory.js.map