"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ICrossDomainMessenger__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        type: "function",
        name: "sendMessage",
        inputs: [
            {
                name: "_target",
                type: "address",
                internalType: "address",
            },
            {
                name: "_message",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "_gasLimit",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "xDomainMessageSender",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "FailedRelayedMessage",
        inputs: [
            {
                name: "msgHash",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RelayedMessage",
        inputs: [
            {
                name: "msgHash",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "SentMessage",
        inputs: [
            {
                name: "target",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "sender",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "messageNonce",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "gasLimit",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
];
var ICrossDomainMessenger__factory = (function () {
    function ICrossDomainMessenger__factory() {
    }
    ICrossDomainMessenger__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    ICrossDomainMessenger__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    ICrossDomainMessenger__factory.abi = _abi;
    return ICrossDomainMessenger__factory;
}());
exports.ICrossDomainMessenger__factory = ICrossDomainMessenger__factory;
//# sourceMappingURL=ICrossDomainMessenger__factory.js.map