"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.MinimalProxyFactory__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "proxy",
                type: "address"
            },
        ],
        name: "ProxyCreated",
        type: "event"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_salt",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "_implementation",
                type: "address"
            },
            {
                internalType: "address",
                name: "_deployer",
                type: "address"
            },
        ],
        name: "getDeploymentAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "pure",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes32",
                name: "_salt",
                type: "bytes32"
            },
            {
                internalType: "address",
                name: "_implementation",
                type: "address"
            },
        ],
        name: "getDeploymentAddress",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
];
var _bytecode = "0x608060405234801561001057600080fd5b50610329806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806343fb93d91461003b578063bdb62fbe146100d3575b600080fd5b6100a76004803603606081101561005157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061014b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61011f600480360360408110156100e957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610170565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006101678461015a85610185565b8051906020012084610262565b90509392505050565b600061017d83833061014b565b905092915050565b60606000693d602d80600a3d3981f360b01b9050600069363d3d373d3d3d363d7360b01b905060008460601b905060006e5af43d82803e903d91602b57fd5bf360881b905083838383604051602001808575ffffffffffffffffffffffffffffffffffffffffffff19168152600a018475ffffffffffffffffffffffffffffffffffffffffffff19168152600a01836bffffffffffffffffffffffff191681526014018270ffffffffffffffffffffffffffffffffff19168152600f01945050505050604051602081830303815290604052945050505050919050565b60008060ff60f81b83868660405160200180857effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526001018473ffffffffffffffffffffffffffffffffffffffff1660601b81526014018381526020018281526020019450505050506040516020818303038152906040528051906020012090508060001c915050939250505056fea26469706673582212209675851c684300d0c7fa6a7598ee0cffd920b8897f637174dba300047536e8dc64736f6c63430007030033";
var MinimalProxyFactory__factory = /** @class */ (function (_super) {
    __extends(MinimalProxyFactory__factory, _super);
    function MinimalProxyFactory__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;
    }
    MinimalProxyFactory__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    MinimalProxyFactory__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    MinimalProxyFactory__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    MinimalProxyFactory__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    MinimalProxyFactory__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    MinimalProxyFactory__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    MinimalProxyFactory__factory.bytecode = _bytecode;
    MinimalProxyFactory__factory.abi = _abi;
    return MinimalProxyFactory__factory;
}(ethers_1.ContractFactory));
exports.MinimalProxyFactory__factory = MinimalProxyFactory__factory;
