"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.ComptrollerV1Storage__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        name: "accountAssets",
        outputs: [
            {
                internalType: "contract CToken",
                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: [],
        name: "closeFactorMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "comptrollerImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        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: [],
        name: "maxAssets",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "oracle",
        outputs: [
            {
                internalType: "contract PriceOracle",
                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: true,
        inputs: [],
        name: "underWriterAdmin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b5061021b806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063bb82aa5e11610066578063bb82aa5e146100f9578063dce1544914610101578063dcfbc0c71461012d578063e875544614610135578063f851a4401461013d5761009e565b80632408d5f0146100a357806326782247146100c75780634ada90af146100cf5780637dc0d1d0146100e957806394b2294b146100f1575b600080fd5b6100ab610145565b604080516001600160a01b039092168252519081900360200190f35b6100ab610154565b6100d7610163565b60408051918252519081900360200190f35b6100ab610169565b6100d7610178565b6100ab61017e565b6100ab6004803603604081101561011757600080fd5b506001600160a01b03813516906020013561018d565b6100ab6101c2565b6100d76101d1565b6100ab6101d7565b6004546001600160a01b031681565b6001546001600160a01b031681565b60075481565b6005546001600160a01b031681565b60085481565b6002546001600160a01b031681565b600960205281600052604060002081815481106101a657fe5b6000918252602090912001546001600160a01b03169150829050565b6003546001600160a01b031681565b60065481565b6000546001600160a01b03168156fea265627a7a72315820a5df2c3ab3648802f9cb3cbd28d3a26160123548f6eeeebc2009fa9a30f1378564736f6c63430005100032";
var isSuperArgs = function (xs) { return xs.length > 1; };
var ComptrollerV1Storage__factory = /** @class */ (function (_super) {
    __extends(ComptrollerV1Storage__factory, _super);
    function ComptrollerV1Storage__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;
    }
    ComptrollerV1Storage__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ComptrollerV1Storage__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ComptrollerV1Storage__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ComptrollerV1Storage__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ComptrollerV1Storage__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ComptrollerV1Storage__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ComptrollerV1Storage__factory.bytecode = _bytecode;
    ComptrollerV1Storage__factory.abi = _abi;
    return ComptrollerV1Storage__factory;
}(ethers_1.ContractFactory));
exports.ComptrollerV1Storage__factory = ComptrollerV1Storage__factory;
//# sourceMappingURL=ComptrollerV1Storage__factory.js.map