"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.UnderwriterStorage__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        name: "_borrowGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "_mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "admin",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        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: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        name: "eqAssetGroup",
        outputs: [
            {
                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"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "equalAssetsGroupNum",
        outputs: [
            {
                internalType: "uint8",
                name: "",
                type: "uint8"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "governanceToken",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        name: "mintGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "pauseGuardian",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "seizeGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "suTokenRateMantissa",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "transferGuardianPaused",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b50610489806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806387f763031161008c578063b9412e3b11610066578063b9412e3b1461021a578063e6653f3d14610240578063f851a44014610254578063f96dae0a1461026757600080fd5b806387f76303146101d35780639baa4ed1146101e7578063ac0b0bb71461020657600080fd5b806347bd11ad116100c857806347bd11ad146101565780634a5844321461016d5780636d154ea51461018d578063731f0c2b146101b057600080fd5b806321af4569146100ef57806324a3d6221461011f5780633c94786f14610132575b600080fd5b600854610102906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b600554610102906001600160a01b031681565b60055461014690600160a01b900460ff1681565b6040519015158152602001610116565b61015f60025481565b604051908152602001610116565b61015f61017b366004610341565b60096020526000908152604090205481565b61014661019b366004610341565b60076020526000908152604090205460ff1681565b6101466101be366004610341565b60066020526000908152604090205460ff1681565b60055461014690600160b01b900460ff1681565b6003546101f49060ff1681565b60405160ff9091168152602001610116565b60055461014690600160b81b900460ff1681565b61022d610228366004610371565b61027a565b6040516101169796959493929190610394565b60055461014690600160a81b900460ff1681565b600054610102906001600160a01b031681565b600154610102906001600160a01b031681565b6004602052600090815260409020805460018201805460ff90921692916102a090610418565b80601f01602080910402602001604051908101604052809291908181526020018280546102cc90610418565b80156103195780601f106102ee57610100808354040283529160200191610319565b820191906000526020600020905b8154815290600101906020018083116102fc57829003601f168201915b5050505050908060020154908060030154908060040154908060050154908060060154905087565b60006020828403121561035357600080fd5b81356001600160a01b038116811461036a57600080fd5b9392505050565b60006020828403121561038357600080fd5b813560ff8116811461036a57600080fd5b60ff881681526000602060e08184015288518060e085015260005b818110156103cc578a8101830151858201610100015282016103af565b818111156103df57600061010083870101525b50604084019890985250506060810194909452608084019290925260a083015260c0820152610100601f909201601f1916010192915050565b600181811c9082168061042c57607f821691505b6020821081141561044d57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212208be8e07204335de7201bccb689b1f0f61c587a350aff832b8f419b04cf4ba9d564736f6c634300080b0033";
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 (args.length === 1) {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        else {
            _this = _super.apply(this, args) || 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