"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
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.Comptroller__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        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: false,
                internalType: "uint8",
                name: "version",
                type: "uint8"
            },
        ],
        name: "Initialized",
        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: "uint8",
                name: "groupId",
                type: "uint8"
            },
            {
                indexed: true,
                internalType: "string",
                name: "groupName",
                type: "string"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "intraCRateMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "intraMintRateMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "intraSuRateMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "interCRateMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "interSuRateMantissa",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "assetsGroupNum",
                type: "uint8"
            },
        ],
        name: "NewAssetGroup",
        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: "uint256",
                name: "oldHeteroIncentive",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newHeteroIncentive",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "oldHomoIncentive",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newHomoIncentive",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "oldSutokenIncentive",
                type: "uint256"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "newSutokenIncentive",
                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: "uint8",
                name: "groupId",
                type: "uint8"
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "equalAssetsGroupNum",
                type: "uint8"
            },
        ],
        name: "RemoveAssetGroup",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "previousAdminRole",
                type: "bytes32"
            },
            {
                indexed: true,
                internalType: "bytes32",
                name: "newAdminRole",
                type: "bytes32"
            },
        ],
        name: "RoleAdminChanged",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "sender",
                type: "address"
            },
        ],
        name: "RoleGranted",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                indexed: true,
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                indexed: true,
                internalType: "address",
                name: "sender",
                type: "address"
            },
        ],
        name: "RoleRevoked",
        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"
    },
    {
        inputs: [],
        name: "CAPPER_ROLE",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "COMP_LOGIC",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "DEFAULT_ADMIN_ROLE",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "PAUSER_ROLE",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_borrowGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_getBorrowCapGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "_getBorrowPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "_getMarketBorrowCap",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "_getMintPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_getPauseGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_getSeizePaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_getTransferPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newBorrowCapGuardian",
                type: "address"
            },
        ],
        name: "_setBorrowCapGuardian",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "bool",
                name: "state",
                type: "bool"
            },
        ],
        name: "_setBorrowPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "newCloseFactorMantissa",
                type: "uint256"
            },
        ],
        name: "_setCloseFactor",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "newHeteroLiquidationIncentiveMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "newHomoLiquidationIncentiveMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "newSutokenLiquidationIncentiveMantissa",
                type: "uint256"
            },
        ],
        name: "_setLiquidationIncentive",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract ICToken[]",
                name: "cTokens",
                type: "address[]"
            },
            {
                internalType: "uint256[]",
                name: "newBorrowCaps",
                type: "uint256[]"
            },
        ],
        name: "_setMarketBorrowCaps",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract ICToken[]",
                name: "cTokens",
                type: "address[]"
            },
            {
                internalType: "uint256[]",
                name: "newMaxSupplys",
                type: "uint256[]"
            },
        ],
        name: "_setMaxSupply",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract ICToken",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "bool",
                name: "state",
                type: "bool"
            },
        ],
        name: "_setMintPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newPauseGuardian",
                type: "address"
            },
        ],
        name: "_setPauseGuardian",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IPriceOracle",
                name: "newOracle",
                type: "address"
            },
        ],
        name: "_setPriceOracle",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bool",
                name: "state",
                type: "bool"
            },
        ],
        name: "_setSeizePaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bool",
                name: "state",
                type: "bool"
            },
        ],
        name: "_setTransferPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
        ],
        name: "_supportMarket",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        name: "accountAssets",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "accountLiquidity",
        outputs: [
            {
                internalType: "contract IAccountLiquidity",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        name: "allMarkets",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        name: "assetGroupIdToIndex",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "borrowCapGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "borrowCaps",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "borrowGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
        ],
        name: "checkMembership",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "cleanAssetGroup",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "closeFactorMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "compLogic",
        outputs: [
            {
                internalType: "contract ICompLogic",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address[]",
                name: "cTokens",
                type: "address[]"
            },
        ],
        name: "enterMarkets",
        outputs: [
            {
                internalType: "uint256[]",
                name: "",
                type: "uint256[]"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
        ],
        name: "eqAssetGroup",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "string",
                        name: "groupName",
                        type: "string"
                    },
                    {
                        internalType: "uint256",
                        name: "intraCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraMintRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "bool",
                        name: "exist",
                        type: "bool"
                    },
                ],
                internalType: "struct IComptroller.AssetGroup",
                name: "",
                type: "tuple"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cTokenAddress",
                type: "address"
            },
        ],
        name: "exitMarket",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cTokenTarget",
                type: "address"
            },
        ],
        name: "getAccountGroupSummary",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "uint256",
                        name: "cDepositVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "cBorrowVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "suDepositVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "suBorrowVal",
                        type: "uint256"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraCRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraMintRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraSuRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "interCRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "interSuRate",
                        type: "tuple"
                    },
                ],
                internalType: "struct IAccountLiquidity.AccountGroupLocalVars",
                name: "",
                type: "tuple"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cTokenTarget",
                type: "address"
            },
        ],
        name: "getAccountGroupVars",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "uint256",
                        name: "cDepositVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "cBorrowVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "suDepositVal",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "suBorrowVal",
                        type: "uint256"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraCRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraMintRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "intraSuRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "interCRate",
                        type: "tuple"
                    },
                    {
                        components: [
                            {
                                internalType: "uint256",
                                name: "mantissa",
                                type: "uint256"
                            },
                        ],
                        internalType: "struct Exp",
                        name: "interSuRate",
                        type: "tuple"
                    },
                ],
                internalType: "struct IAccountLiquidity.AccountGroupLocalVars[]",
                name: "",
                type: "tuple[]"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
            {
                internalType: "address",
                name: "cTokenTarget",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "intraSafeLimitMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "interSafeLimitMantissa",
                type: "uint256"
            },
        ],
        name: "getAccountSafeLimit",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getAllAssetGroup",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "string",
                        name: "groupName",
                        type: "string"
                    },
                    {
                        internalType: "uint256",
                        name: "intraCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraMintRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "bool",
                        name: "exist",
                        type: "bool"
                    },
                ],
                internalType: "struct IComptroller.AssetGroup[]",
                name: "",
                type: "tuple[]"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupIndex",
                type: "uint8"
            },
        ],
        name: "getAllAssetGroupByIndex",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "string",
                        name: "groupName",
                        type: "string"
                    },
                    {
                        internalType: "uint256",
                        name: "intraCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraMintRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "bool",
                        name: "exist",
                        type: "bool"
                    },
                ],
                internalType: "struct IComptroller.AssetGroup",
                name: "",
                type: "tuple"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getAllMarkets",
        outputs: [
            {
                internalType: "address[]",
                name: "",
                type: "address[]"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
        ],
        name: "getAssetGroup",
        outputs: [
            {
                components: [
                    {
                        internalType: "uint8",
                        name: "groupId",
                        type: "uint8"
                    },
                    {
                        internalType: "string",
                        name: "groupName",
                        type: "string"
                    },
                    {
                        internalType: "uint256",
                        name: "intraCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraMintRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "intraSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interCRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "uint256",
                        name: "interSuRateMantissa",
                        type: "uint256"
                    },
                    {
                        internalType: "bool",
                        name: "exist",
                        type: "bool"
                    },
                ],
                internalType: "struct IComptroller.AssetGroup",
                name: "",
                type: "tuple"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getAssetGroupNum",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "getAssetsIn",
        outputs: [
            {
                internalType: "address[]",
                name: "",
                type: "address[]"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "getCompAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
        ],
        name: "getRoleAdmin",
        outputs: [
            {
                internalType: "bytes32",
                name: "",
                type: "bytes32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                internalType: "uint256",
                name: "index",
                type: "uint256"
            },
        ],
        name: "getRoleMember",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
        ],
        name: "getRoleMemberCount",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "governanceToken",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "grantRole",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "hasRole",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "heteroLiquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "homoLiquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_admin",
                type: "address"
            },
            {
                internalType: "contract IPriceOracle",
                name: "_oracle",
                type: "address"
            },
            {
                internalType: "address",
                name: "_gov",
                type: "address"
            },
            {
                internalType: "contract ICompLogic",
                name: "_compLogic",
                type: "address"
            },
            {
                internalType: "contract IAccountLiquidity",
                name: "_accountLiquidity",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "_closeFactorMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_heteroLiquidationIncentiveMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_homoLiquidationIncentiveMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "_sutokenLiquidationIncentiveMantissa",
                type: "uint256"
            },
        ],
        name: "initialize",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "isComptroller",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "asset",
                type: "address"
            },
        ],
        name: "isListed",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "liquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "asset",
                type: "address"
            },
        ],
        name: "marketGroupId",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "markets",
        outputs: [
            {
                internalType: "bool",
                name: "isListed",
                type: "bool"
            },
            {
                internalType: "uint8",
                name: "assetGroupId",
                type: "uint8"
            },
            {
                internalType: "bool",
                name: "isComped",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "maxSupply",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "oracle",
        outputs: [
            {
                internalType: "contract IPriceOracle",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pauseGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        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: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
        ],
        name: "removeAssetGroup",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "renounceRole",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "role",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "account",
                type: "address"
            },
        ],
        name: "revokeRole",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "seizeGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract IAccountLiquidity",
                name: "_accountLiquidity",
                type: "address"
            },
        ],
        name: "setAccountLiquidity",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint8",
                name: "groupId",
                type: "uint8"
            },
            {
                internalType: "string",
                name: "groupName",
                type: "string"
            },
            {
                internalType: "uint256",
                name: "intraCRateMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "intraMintRateMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "intraSuRateMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "interCRateMantissa",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "interSuRateMantissa",
                type: "uint256"
            },
        ],
        name: "setAssetGroup",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "contract ICompLogic",
                name: "_compLogic",
                type: "address"
            },
        ],
        name: "setCompLogic",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "cToken",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "supplySpeed",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "borrowSpeed",
                type: "uint256"
            },
        ],
        name: "setCompSpeed",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_governanceToken",
                type: "address"
            },
        ],
        name: "setGovTokenAddress",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_timelock",
                type: "address"
            },
        ],
        name: "setTimelock",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "suTokenRateMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes4",
                name: "interfaceId",
                type: "bytes4"
            },
        ],
        name: "supportsInterface",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "sutokenLiquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "timelock",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "nonpayable",
        type: "function"
    },
    {
        inputs: [],
        name: "transferGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = " ";
var Comptroller__factory = /** @class */ (function (_super) {
    __extends(Comptroller__factory, _super);
    function Comptroller__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (args.length === 1) {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        else {
            _this = _super.apply(this, args) || this;
        }
        return _this;
    }
    Comptroller__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    Comptroller__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    Comptroller__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    Comptroller__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    Comptroller__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    Comptroller__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    Comptroller__factory.bytecode = _bytecode;
    Comptroller__factory.abi = _abi;
    return Comptroller__factory;
}(ethers_1.ContractFactory));
exports.Comptroller__factory = Comptroller__factory;
//# sourceMappingURL=Comptroller__factory.js.map