"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.ScionRegistrar__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: true,
                internalType: "address",
                name: "previousOwner",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "newOwner",
                type: "address",
            },
        ],
        name: "OwnershipTransferred",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "vault",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint8",
                name: "vaultType",
                type: "uint8",
            },
        ],
        name: "VaultAdded",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "vault",
                type: "address",
            },
            {
                internalType: "uint8",
                name: "vaultType",
                type: "uint8",
            },
        ],
        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 = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103428061007e6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063715018a6146100515780637a9b27d01461005b5780638da5cb5b1461006e578063f2fde38b14610092575b600080fd5b6100596100a5565b005b610059610069366004610278565b6100e9565b61007661015d565b6040516001600160a01b03909116815260200160405180910390f35b6100596100a03660046102b5565b61016c565b336100ae61015d565b6001600160a01b0316146100dd5760405162461bcd60e51b81526004016100d4906102d7565b60405180910390fd5b6100e7600061020c565b565b336100f261015d565b6001600160a01b0316146101185760405162461bcd60e51b81526004016100d4906102d7565b60405160ff821681526001600160a01b038316907f770397a11a2f04b6c8c63354cd9d2f3e9cdb5ebbc3a2abb8b502b4e58ddb07d09060200160405180910390a25050565b6000546001600160a01b031690565b3361017561015d565b6001600160a01b03161461019b5760405162461bcd60e51b81526004016100d4906102d7565b6001600160a01b0381166102005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100d4565b6102098161020c565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461027357600080fd5b919050565b6000806040838503121561028b57600080fd5b6102948361025c565b9150602083013560ff811681146102aa57600080fd5b809150509250929050565b6000602082840312156102c757600080fd5b6102d08261025c565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220d2e6a4e8c30fcf2cac1d0d67a8cb8a8561d5545f51ceccabc2f065cab795985f64736f6c63430008100033";
var isSuperArgs = function (xs) { return xs.length > 1; };
var ScionRegistrar__factory = /** @class */ (function (_super) {
    __extends(ScionRegistrar__factory, _super);
    function ScionRegistrar__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;
    }
    ScionRegistrar__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    ScionRegistrar__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    ScionRegistrar__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    ScionRegistrar__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    ScionRegistrar__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ScionRegistrar__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ScionRegistrar__factory.bytecode = _bytecode;
    ScionRegistrar__factory.abi = _abi;
    return ScionRegistrar__factory;
}(ethers_1.ContractFactory));
exports.ScionRegistrar__factory = ScionRegistrar__factory;
//# sourceMappingURL=ScionRegistrar__factory.js.map