"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IOAppReceiver__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint32",
                        name: "srcEid",
                        type: "uint32",
                    },
                    {
                        internalType: "bytes32",
                        name: "sender",
                        type: "bytes32",
                    },
                    {
                        internalType: "uint64",
                        name: "nonce",
                        type: "uint64",
                    },
                ],
                internalType: "struct Origin",
                name: "_origin",
                type: "tuple",
            },
        ],
        name: "allowInitializePath",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint32",
                        name: "srcEid",
                        type: "uint32",
                    },
                    {
                        internalType: "bytes32",
                        name: "sender",
                        type: "bytes32",
                    },
                    {
                        internalType: "uint64",
                        name: "nonce",
                        type: "uint64",
                    },
                ],
                internalType: "struct Origin",
                name: "_origin",
                type: "tuple",
            },
            {
                internalType: "bytes",
                name: "_message",
                type: "bytes",
            },
            {
                internalType: "address",
                name: "_sender",
                type: "address",
            },
        ],
        name: "isComposeMsgSender",
        outputs: [
            {
                internalType: "bool",
                name: "isSender",
                type: "bool",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                components: [
                    {
                        internalType: "uint32",
                        name: "srcEid",
                        type: "uint32",
                    },
                    {
                        internalType: "bytes32",
                        name: "sender",
                        type: "bytes32",
                    },
                    {
                        internalType: "uint64",
                        name: "nonce",
                        type: "uint64",
                    },
                ],
                internalType: "struct Origin",
                name: "_origin",
                type: "tuple",
            },
            {
                internalType: "bytes32",
                name: "_guid",
                type: "bytes32",
            },
            {
                internalType: "bytes",
                name: "_message",
                type: "bytes",
            },
            {
                internalType: "address",
                name: "_executor",
                type: "address",
            },
            {
                internalType: "bytes",
                name: "_extraData",
                type: "bytes",
            },
        ],
        name: "lzReceive",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint32",
                name: "_eid",
                type: "uint32",
            },
            {
                internalType: "bytes32",
                name: "_sender",
                type: "bytes32",
            },
        ],
        name: "nextNonce",
        outputs: [
            {
                internalType: "uint64",
                name: "",
                type: "uint64",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
class IOAppReceiver__factory {
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.IOAppReceiver__factory = IOAppReceiver__factory;
IOAppReceiver__factory.abi = _abi;
//# sourceMappingURL=IOAppReceiver__factory.js.map