"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.ComptrollerV6Storage__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        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: "admin",
        outputs: [
            {
                internalType: "address",
                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: [],
        name: "closeFactorMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compAccrued",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowState",
        outputs: [
            {
                internalType: "uint224",
                name: "index",
                type: "uint224"
            },
            {
                internalType: "uint32",
                name: "block",
                type: "uint32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compBorrowerIndex",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compContributorSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "compRate",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplierIndex",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplySpeeds",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "compSupplyState",
        outputs: [
            {
                internalType: "uint224",
                name: "index",
                type: "uint224"
            },
            {
                internalType: "uint32",
                name: "block",
                type: "uint32"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "comptrollerImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "lastContributorBlock",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "liquidationIncentiveMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        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"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "maxAssets",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "oracle",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pendingAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pendingComptrollerImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "underWriterAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b506105dd806100206000396000f3fe608060405234801561001057600080fd5b506004361061011d5760003560e01c80631d7b33d7146101225780632408d5f01461014b57806326782247146101605780634ada90af1461016857806352d84d1e146101705780636aa875b5146101835780636b79c38d146101965780637dc0d1d0146101b75780638c57804e146101bf5780638e8f294b146101d257806394b2294b146101f4578063986ab838146101fc578063aa9007541461020f578063b21be7fd14610217578063bb82aa5e1461022a578063bea6b8b814610232578063ca0af04314610245578063cc7ebdc414610258578063dce154491461026b578063dcfbc0c71461027e578063e875544614610286578063f4a433c01461028e578063f851a440146102a1575b600080fd5b6101356101303660046104b6565b6102a9565b604051610142919061059e565b60405180910390f35b6101536102bb565b604051610142919061054e565b6101536102ca565b6101356102d9565b61015361017e366004610536565b6102df565b6101356101913660046104b6565b610306565b6101a96101a43660046104b6565b610318565b60405161014292919061057f565b610153610342565b6101a96101cd3660046104b6565b610351565b6101e56101e03660046104b6565b61037b565b60405161014293929190610562565b6101356103a3565b61013561020a3660046104b6565b6103a9565b6101356103bb565b6101356102253660046104d8565b6103c1565b6101536103de565b6101356102403660046104b6565b6103ed565b6101356102533660046104d8565b6103ff565b6101356102663660046104b6565b61041c565b61015361027936600461050c565b61042e565b610153610463565b610135610472565b61013561029c3660046104b6565b610478565b61015361048a565b600d6020526000908152604090205481565b6004546001600160a01b031681565b6001546001600160a01b031681565b60075481565b600b81815481106102ec57fe5b6000918252602090912001546001600160a01b0316905081565b60166020526000908152604090205481565b600e602052600090815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b6005546001600160a01b031681565b600f602052600090815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b600a602052600090815260409020805460029091015460ff8083169261010090048116911683565b60085481565b60136020526000908152604090205481565b600c5481565b601060209081526000928352604080842090915290825290205481565b6002546001600160a01b031681565b60146020526000908152604090205481565b601160209081526000928352604080842090915290825290205481565b60126020526000908152604090205481565b6009602052816000526040600020818154811061044757fe5b6000918252602090912001546001600160a01b03169150829050565b6003546001600160a01b031681565b60065481565b60156020526000908152604090205481565b6000546001600160a01b031681565b80356001600160a01b03811681146104b057600080fd5b92915050565b6000602082840312156104c7578081fd5b6104d18383610499565b9392505050565b600080604083850312156104ea578081fd5b6104f48484610499565b91506105038460208501610499565b90509250929050565b6000806040838503121561051e578182fd5b6105288484610499565b946020939093013593505050565b600060208284031215610547578081fd5b5035919050565b6001600160a01b0391909116815260200190565b921515835260ff9190911660208301521515604082015260600190565b6001600160e01b0392909216825263ffffffff16602082015260400190565b9081526020019056fea26469706673582212202f57902f9e165e4e0613e438b4fcd8de9c3b4502dfb9f5430d907e963fcf731b64736f6c634300060b0033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var ComptrollerV6Storage__factory = /** @class */ (function (_super) {
    __extends(ComptrollerV6Storage__factory, _super);
    function ComptrollerV6Storage__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;
    }
    ComptrollerV6Storage__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ComptrollerV6Storage__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ComptrollerV6Storage__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ComptrollerV6Storage__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ComptrollerV6Storage__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ComptrollerV6Storage__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ComptrollerV6Storage__factory.bytecode = _bytecode;
    ComptrollerV6Storage__factory.abi = _abi;
    return ComptrollerV6Storage__factory;
}(ethers_1.ContractFactory));
exports.ComptrollerV6Storage__factory = ComptrollerV6Storage__factory;
//# sourceMappingURL=ComptrollerV6Storage__factory.js.map