"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 __());
    };
})();
exports.__esModule = true;
exports.BoolComptroller__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_borrowAmount",
                type: "uint256"
            },
        ],
        name: "borrowAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_borrowAmount",
                type: "uint256"
            },
        ],
        name: "borrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address[]",
                name: "_cTokens",
                type: "address[]"
            },
        ],
        name: "enterMarkets",
        outputs: [
            {
                internalType: "uint256[]",
                name: "",
                type: "uint256[]"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
        ],
        name: "exitMarket",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cTokenBorrowed",
                type: "address"
            },
            {
                internalType: "address",
                name: "_cTokenCollateral",
                type: "address"
            },
            {
                internalType: "address",
                name: "_liquidator",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_repayAmount",
                type: "uint256"
            },
        ],
        name: "liquidateBorrowAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cTokenBorrowed",
                type: "address"
            },
            {
                internalType: "address",
                name: "_cTokenCollateral",
                type: "address"
            },
            {
                internalType: "address",
                name: "_liquidator",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_repayAmount",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_seizeTokens",
                type: "uint256"
            },
        ],
        name: "liquidateBorrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "_cTokenBorrowed",
                type: "address"
            },
            {
                internalType: "address",
                name: "_cTokenCollateral",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_repayAmount",
                type: "uint256"
            },
        ],
        name: "liquidateCalculateSeizeTokens",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_minter",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_mintAmount",
                type: "uint256"
            },
        ],
        name: "mintAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_minter",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_mintAmount",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_mintTokens",
                type: "uint256"
            },
        ],
        name: "mintVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_redeemer",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_redeemTokens",
                type: "uint256"
            },
        ],
        name: "redeemAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_redeemer",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_redeemAmount",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_redeemTokens",
                type: "uint256"
            },
        ],
        name: "redeemVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_payer",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_repayAmount",
                type: "uint256"
            },
        ],
        name: "repayBorrowAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_payer",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_repayAmount",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_borrowerIndex",
                type: "uint256"
            },
        ],
        name: "repayBorrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cTokenCollateral",
                type: "address"
            },
            {
                internalType: "address",
                name: "_cTokenBorrowed",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "address",
                name: "_liquidator",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_seizeTokens",
                type: "uint256"
            },
        ],
        name: "seizeAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cTokenCollateral",
                type: "address"
            },
            {
                internalType: "address",
                name: "_cTokenBorrowed",
                type: "address"
            },
            {
                internalType: "address",
                name: "_liquidator",
                type: "address"
            },
            {
                internalType: "address",
                name: "_borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_seizeTokens",
                type: "uint256"
            },
        ],
        name: "seizeVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowBorrow_",
                type: "bool"
            },
        ],
        name: "setBorrowAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyBorrow_",
                type: "bool"
            },
        ],
        name: "setBorrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "uint256",
                name: "seizeTokens_",
                type: "uint256"
            },
        ],
        name: "setCalculatedSeizeTokens",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "shouldFail",
                type: "bool"
            },
        ],
        name: "setFailCalculateSeizeTokens",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowLiquidateBorrow_",
                type: "bool"
            },
        ],
        name: "setLiquidateBorrowAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyLiquidateBorrow_",
                type: "bool"
            },
        ],
        name: "setLiquidateBorrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowMint_",
                type: "bool"
            },
        ],
        name: "setMintAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyMint_",
                type: "bool"
            },
        ],
        name: "setMintVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowRedeem_",
                type: "bool"
            },
        ],
        name: "setRedeemAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyRedeem_",
                type: "bool"
            },
        ],
        name: "setRedeemVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowRepayBorrow_",
                type: "bool"
            },
        ],
        name: "setRepayBorrowAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyRepayBorrow_",
                type: "bool"
            },
        ],
        name: "setRepayBorrowVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowSeize_",
                type: "bool"
            },
        ],
        name: "setSeizeAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifySeize_",
                type: "bool"
            },
        ],
        name: "setSeizeVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "allowTransfer_",
                type: "bool"
            },
        ],
        name: "setTransferAllowed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "bool",
                name: "verifyTransfer_",
                type: "bool"
            },
        ],
        name: "setTransferVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_src",
                type: "address"
            },
            {
                internalType: "address",
                name: "_dst",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_transferTokens",
                type: "uint256"
            },
        ],
        name: "transferAllowed",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "_cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "_src",
                type: "address"
            },
            {
                internalType: "address",
                name: "_dst",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_transferTokens",
                type: "uint256"
            },
        ],
        name: "transferVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
];
var _bytecode = " ";
var isSuperArgs = function (xs) { return xs.length > 1; };
var BoolComptroller__factory = /** @class */ (function (_super) {
    __extends(BoolComptroller__factory, _super);
    function BoolComptroller__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, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    BoolComptroller__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    BoolComptroller__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    BoolComptroller__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    BoolComptroller__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    BoolComptroller__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    BoolComptroller__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    BoolComptroller__factory.bytecode = _bytecode;
    BoolComptroller__factory.abi = _abi;
    return BoolComptroller__factory;
}(ethers_1.ContractFactory));
exports.BoolComptroller__factory = BoolComptroller__factory;
//# sourceMappingURL=BoolComptroller__factory.js.map