"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.ComptrollerScenario__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "constructor"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "string",
                name: "action",
                type: "string"
            },
            {
                indexed: false,
                internalType: "bool",
                name: "pauseState",
                type: "bool"
            },
        ],
        name: "ActionPaused",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "string",
                name: "action",
                type: "string"
            },
            {
                indexed: false,
                internalType: "bool",
                name: "pauseState",
                type: "bool"
            },
        ],
        name: "ActionPaused",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newSpeed",
                type: "uint256"
            },
        ],
        name: "CompBorrowSpeedUpdated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "recipient",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256"
            },
        ],
        name: "CompGranted",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newSpeed",
                type: "uint256"
            },
        ],
        name: "CompSupplySpeedUpdated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "contributor",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newSpeed",
                type: "uint256"
            },
        ],
        name: "ContributorCompSpeedUpdated",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "borrower",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "compDelta",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "compBorrowIndex",
                type: "uint256"
            },
        ],
        name: "DistributedBorrowerComp",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "supplier",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "compDelta",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "compSupplyIndex",
                type: "uint256"
            },
        ],
        name: "DistributedSupplierComp",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "error",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "info",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "detail",
                type: "uint256"
            },
        ],
        name: "Failure",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "MarketEntered",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "MarketExited",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "MarketListed",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newBorrowCap",
                type: "uint256"
            },
        ],
        name: "NewBorrowCap",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldBorrowCapGuardian",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newBorrowCapGuardian",
                type: "address"
            },
        ],
        name: "NewBorrowCapGuardian",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "oldCloseFactorMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newCloseFactorMantissa",
                type: "uint256"
            },
        ],
        name: "NewCloseFactor",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "oldCollateralFactorMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newCollateralFactorMantissa",
                type: "uint256"
            },
        ],
        name: "NewCollateralFactor",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "uint256",
                name: "oldLiquidationIncentiveMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newLiquidationIncentiveMantissa",
                type: "uint256"
            },
        ],
        name: "NewLiquidationIncentive",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldPauseGuardian",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newPauseGuardian",
                type: "address"
            },
        ],
        name: "NewPauseGuardian",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "oldPriceOracle",
                type: "address"
            },
            {
                indexed: false,
                internalType: "address",
                name: "newPriceOracle",
                type: "address"
            },
        ],
        name: "NewPriceOracle",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256"
            },
        ],
        name: "SetMaxSupply",
        type: "event"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "unitroller",
                type: "address"
            },
        ],
        name: "_become",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "recipient",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256"
            },
        ],
        name: "_grantComp",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "uint256",
                name: "newCloseFactorMantissa",
                type: "uint256"
            },
        ],
        name: "_setCloseFactor",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address[]",
                name: "cTokens",
                type: "address[]"
            },
            {
                internalType: "uint256[]",
                name: "supplySpeeds",
                type: "uint256[]"
            },
            {
                internalType: "uint256[]",
                name: "borrowSpeeds",
                type: "uint256[]"
            },
        ],
        name: "_setCompSpeeds",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "contributor",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "compSpeed",
                type: "uint256"
            },
        ],
        name: "_setContributorCompSpeed",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "uint256",
                name: "newLiquidationIncentiveMantissa",
                type: "uint256"
            },
        ],
        name: "_setLiquidationIncentive",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "newOracle",
                type: "address"
            },
        ],
        name: "_setPriceOracle",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "underWriter",
                type: "address"
            },
        ],
        name: "_setUnderWriterAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
        ],
        name: "_supportMarket",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        name: "accountAssets",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "admin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        name: "allMarkets",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "blockNumber",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        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: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "checkMembership",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "holder",
                type: "address"
            },
            {
                internalType: "address[]",
                name: "cTokens",
                type: "address[]"
            },
        ],
        name: "claimComp",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address[]",
                name: "holders",
                type: "address[]"
            },
            {
                internalType: "address[]",
                name: "cTokens",
                type: "address[]"
            },
            {
                internalType: "bool",
                name: "borrowers",
                type: "bool"
            },
            {
                internalType: "bool",
                name: "suppliers",
                type: "bool"
            },
        ],
        name: "claimComp",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "holder",
                type: "address"
            },
        ],
        name: "claimComp",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "closeFactorMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compAccrued",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "compAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowState",
        outputs: [
            {
                internalType: "uint224",
                name: "index",
                type: "uint224"
            },
            {
                internalType: "uint32",
                name: "block",
                type: "uint32"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowerIndex",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compContributorSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "compInitialIndex",
        outputs: [
            {
                internalType: "uint224",
                name: "",
                type: "uint224"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "compRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplierIndex",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplySpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplyState",
        outputs: [
            {
                internalType: "uint224",
                name: "index",
                type: "uint224"
            },
            {
                internalType: "uint32",
                name: "block",
                type: "uint32"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "comptrollerImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        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: "cTokenAddress",
                type: "address"
            },
        ],
        name: "exitMarket",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "uint256",
                name: "blocks",
                type: "uint256"
            },
        ],
        name: "fastForward",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "getAccountLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "getAllMarkets",
        outputs: [
            {
                internalType: "address[]",
                name: "",
                type: "address[]"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "getAssetsIn",
        outputs: [
            {
                internalType: "address[]",
                name: "",
                type: "address[]"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "getBlockNumber",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "getCompAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cTokenModify",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "redeemTokens",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrowAmount",
                type: "uint256"
            },
        ],
        name: "getHypotheticalAccountLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cTokenModify",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "redeemTokens",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrowAmount",
                type: "uint256"
            },
        ],
        name: "ghlp",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint256",
                        name: "mantissa",
                        type: "uint256"
                    },
                ],
                internalType: "struct ExponentialNoError.Exp",
                name: "a",
                type: "tuple"
            },
            {
                internalType: "uint256",
                name: "scalar",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "addend",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "isComptroller",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "isDeprecated",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "lastContributorBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        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: "actualRepayAmount",
                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: "actualRepayAmount",
                type: "uint256"
            },
        ],
        name: "liquidateCalculateSeizeTokens",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "liquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "markets",
        outputs: [
            {
                internalType: "bool",
                name: "isListed",
                type: "bool"
            },
            {
                internalType: "uint8",
                name: "equalAssetGrouId",
                type: "uint8"
            },
            {
                internalType: "bool",
                name: "isComped",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "maxAssets",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "maxSupply",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "string",
                name: "groupName",
                type: "string"
            },
        ],
        name: "membershipLength",
        outputs: [
            {
                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: "actualMintAmount",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "mintTokens",
                type: "uint256"
            },
        ],
        name: "mintVerify",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "oracle",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "pendingAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "pendingComptrollerImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        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: [],
        name: "refreshCompSpeeds",
        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: "actualRepayAmount",
                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: "uint256",
                name: "number",
                type: "uint256"
            },
        ],
        name: "setBlockNumber",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "compAddress_",
                type: "address"
            },
        ],
        name: "setCompAddress",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "borrower",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "index",
                type: "uint256"
            },
        ],
        name: "setCompBorrowerIndex",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "address",
                name: "supplier",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "index",
                type: "uint256"
            },
        ],
        name: "setCompSupplierIndex",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256"
            },
        ],
        name: "setMaxSupply",
        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: "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"
    },
    {
        constant: true,
        inputs: [],
        name: "underWriterAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "unlist",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        constant: false,
        inputs: [
            {
                internalType: "address",
                name: "contributor",
                type: "address"
            },
        ],
        name: "updateContributorRewards",
        outputs: [],
        payable: false,
        stateMutability: "nonpayable",
        type: "function"
    },
];
var _bytecode = " ";
var isSuperArgs = function (xs) { return xs.length > 1; };
var ComptrollerScenario__factory = /** @class */ (function (_super) {
    __extends(ComptrollerScenario__factory, _super);
    function ComptrollerScenario__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;
    }
    ComptrollerScenario__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ComptrollerScenario__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ComptrollerScenario__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ComptrollerScenario__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ComptrollerScenario__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ComptrollerScenario__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ComptrollerScenario__factory.bytecode = _bytecode;
    ComptrollerScenario__factory.abi = _abi;
    return ComptrollerScenario__factory;
}(ethers_1.ContractFactory));
exports.ComptrollerScenario__factory = ComptrollerScenario__factory;
//# sourceMappingURL=ComptrollerScenario__factory.js.map