"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.ComptrollerInterface__factory = void 0;
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: true,
        inputs: [],
        name: "isComptroller",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        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: "liquidator",
                type: "address"
            },
            {
                internalType: "address",
                name: "borrower",
                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: "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 ComptrollerInterface__factory = /** @class */ (function () {
    function ComptrollerInterface__factory() {
    }
    ComptrollerInterface__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ComptrollerInterface__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ComptrollerInterface__factory.abi = _abi;
    return ComptrollerInterface__factory;
}());
exports.ComptrollerInterface__factory = ComptrollerInterface__factory;
//# sourceMappingURL=ComptrollerInterface__factory.js.map