"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 __());
    };
})();
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SectorRegistry__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
var ethers_1 = require("ethers");
var _abi = [
    {
        inputs: [],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "vault",
                type: "address",
            },
            {
                indexed: false,
                internalType: "string",
                name: "vaultType",
                type: "string",
            },
        ],
        name: "AddVault",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "previousOwner",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "OwnershipTransferred",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "vault",
                type: "address",
            },
            {
                internalType: "string",
                name: "vaultType",
                type: "string",
            },
        ],
        name: "addVault",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [],
        name: "owner",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "renounceOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "transferOwnership",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103e38061007e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630e1c2e6114610051578063715018a6146100665780638da5cb5b1461006e578063f2fde38b14610092575b600080fd5b61006461005f36600461026c565b6100a5565b005b6100646100ea565b6100766100fe565b6040516001600160a01b03909116815260200160405180910390f35b6100646100a036600461032d565b61010d565b6100ad61018b565b7f0c019453de26a6614772cf3055b6b28dd574dac0c40b8b5abb3259ff898b09ea82826040516100de92919061034f565b60405180910390a15050565b6100f261018b565b6100fc60006101ea565b565b6000546001600160a01b031690565b61011561018b565b6001600160a01b03811661017f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610188816101ea565b50565b336101946100fe565b6001600160a01b0316146100fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610176565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461025157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561027f57600080fd5b6102888361023a565b915060208301356001600160401b03808211156102a457600080fd5b818501915085601f8301126102b857600080fd5b8135818111156102ca576102ca610256565b604051601f8201601f19908116603f011681019083821181831017156102f2576102f2610256565b8160405282815288602084870101111561030b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561033f57600080fd5b6103488261023a565b9392505050565b60018060a01b038316815260006020604081840152835180604085015260005b8181101561038b5785810183015185820160600152820161036f565b506000606082860101526060601f19601f83011685010192505050939250505056fea2646970667358221220dfd77a9f6afea79244434f4116841bbd8f63812a2914f3a06377d17c926c431b64736f6c63430008100033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var SectorRegistry__factory = /** @class */ (function (_super) {
    __extends(SectorRegistry__factory, _super);
    function SectorRegistry__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, __spreadArray([], __read(args), false)) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    SectorRegistry__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    SectorRegistry__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    SectorRegistry__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    SectorRegistry__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    SectorRegistry__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    SectorRegistry__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    SectorRegistry__factory.bytecode = _bytecode;
    SectorRegistry__factory.abi = _abi;
    return SectorRegistry__factory;
}(ethers_1.ContractFactory));
exports.SectorRegistry__factory = SectorRegistry__factory;
//# sourceMappingURL=SectorRegistry__factory.js.map