"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CrossDomainEnabled__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "address",
                name: "_messenger",
                type: "address",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "MESSENGER",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x60a03461006857601f61014838819003918201601f19168301916001600160401b0383118484101761006c5780849260209460405283398101031261006857516001600160a01b03811681036100685760805260405160c7908161008182396080518160690152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60808060405260043610156011575f80fd5b5f3560e01c63927ede2d146023575f80fd5b34608d575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112608d5760209073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b5f80fdfea2646970667358221220bd59283d3d46d1ced5b1494248aaa77a0b6e2a31185a7938890d0d44a1f8861264736f6c63430008170033";
const isSuperArgs = (xs) => xs.length > 1;
class CrossDomainEnabled__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(_messenger, overrides) {
        return super.deploy(_messenger, overrides || {});
    }
    getDeployTransaction(_messenger, overrides) {
        return super.getDeployTransaction(_messenger, overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.CrossDomainEnabled__factory = CrossDomainEnabled__factory;
CrossDomainEnabled__factory.bytecode = _bytecode;
CrossDomainEnabled__factory.abi = _abi;
