"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 = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_messenger",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "MESSENGER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
];
const _bytecode = "0x60a034606457601f61012638819003918201601f19168301916001600160401b03831184841017606857808492602094604052833981010312606457516001600160a01b038116810360645760805260405160a9908161007d823960805181604b0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60808060405260043610156011575f80fd5b5f3560e01c63927ede2d146023575f80fd5b34606f575f366003190112606f5760209073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b5f80fdfea2646970667358221220a421ccefe5aa6109622fd5f19ab69dffb700ad228da6d6b4af6c6c5899965d9d64736f6c634300081e0033";
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;
