"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.UnderwriterStorage__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        constant: true,
        inputs: [],
        name: "_borrowGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "_mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        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: "borrowCapGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "borrowCaps",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "borrowGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "equalAssetsGroupNum",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "governanceToken",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "implementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "pauseGuardian",
        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: "pendingImplementation",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "seizeGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "suTokenRateMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
    {
        constant: true,
        inputs: [],
        name: "transferGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        payable: false,
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b506103f4806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636d154ea511610097578063ac0b0bb711610066578063ac0b0bb7146101c3578063e6653f3d146101cb578063f851a440146101d3578063f96dae0a146101db57610100565b80636d154ea514610180578063731f0c2b1461019357806387f76303146101a65780639baa4ed1146101ae57610100565b80633c94786f116100d35780633c94786f1461013b57806347bd11ad146101505780634a584432146101655780635c60da1b1461017857610100565b806321af45691461010557806324a3d62214610123578063267822471461012b578063396f7b2314610133575b600080fd5b61010d6101e3565b60405161011a919061033d565b60405180910390f35b61010d6101f2565b61010d610206565b61010d610215565b610143610224565b60405161011a919061034b565b610158610234565b60405161011a9190610359565b6101586101733660046102ed565b61023a565b61010d61024c565b61014361018e3660046102ed565b61025b565b6101436101a13660046102ed565b610270565b610143610285565b6101b6610295565b60405161011a9190610367565b61014361029e565b6101436102ae565b61010d6102be565b61010d6102cd565b600a546001600160a01b031681565b60075461010090046001600160a01b031681565b6001546001600160a01b031681565b6003546001600160a01b031681565b600754600160a81b900460ff1681565b60065481565b600b6020526000908152604090205481565b6002546001600160a01b031681565b60096020526000908152604090205460ff1681565b60086020526000908152604090205460ff1681565b600754600160b81b900460ff1681565b60075460ff1681565b600754600160c01b900460ff1681565b600754600160b01b900460ff1681565b6004546001600160a01b031681565b6005546001600160a01b031681565b80356102e78161039a565b92915050565b6000602082840312156102ff57600080fd5b600061030b84846102dc565b949350505050565b61031c81610375565b82525050565b61031c81610380565b61031c81610391565b61031c81610394565b602081016102e78284610313565b602081016102e78284610322565b602081016102e7828461032b565b602081016102e78284610334565b60006102e782610385565b151590565b6001600160a01b031690565b90565b60ff1690565b6103a381610375565b81146103ae57600080fd5b5056fea365627a7a723158207707ad03fd3020d69084ca49576b3726abddc469379adc77a0430f878a6c34ed6c6578706572696d656e74616cf564736f6c63430005100040";
var isSuperArgs = function (xs) { return xs.length > 1; };
var UnderwriterStorage__factory = /** @class */ (function (_super) {
    __extends(UnderwriterStorage__factory, _super);
    function UnderwriterStorage__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;
    }
    UnderwriterStorage__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    UnderwriterStorage__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    UnderwriterStorage__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    UnderwriterStorage__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    UnderwriterStorage__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    UnderwriterStorage__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    UnderwriterStorage__factory.bytecode = _bytecode;
    UnderwriterStorage__factory.abi = _abi;
    return UnderwriterStorage__factory;
}(ethers_1.ContractFactory));
exports.UnderwriterStorage__factory = UnderwriterStorage__factory;
//# sourceMappingURL=UnderwriterStorage__factory.js.map