/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
const _abi = [
    {
        type: "function",
        name: "relayMessage",
        inputs: [
            {
                name: "target",
                type: "address",
                internalType: "address",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "relayTokens",
        inputs: [
            {
                name: "l2Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "l3Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "destinationChainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "event",
        name: "ExecutedTokenRelay",
        inputs: [
            {
                name: "tokenRelayId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "MessageForwarded",
        inputs: [
            {
                name: "target",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "chainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ReceivedTokenRelay",
        inputs: [
            {
                name: "tokenRelayId",
                type: "uint32",
                indexed: true,
                internalType: "uint32",
            },
            {
                name: "tokenRelay",
                type: "tuple",
                indexed: false,
                internalType: "struct ForwarderInterface.TokenRelay",
                components: [
                    {
                        name: "l2Token",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "l3Token",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "to",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "amount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "destinationChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "executed",
                        type: "bool",
                        internalType: "bool",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "RelayMessageFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "RelayTokensFailed",
        inputs: [
            {
                name: "l2Token",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "TokenRelayExecuted",
        inputs: [],
    },
];
export class ForwarderInterface__factory {
    static abi = _abi;
    static createInterface() {
        return new utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    }
}
//# sourceMappingURL=ForwarderInterface__factory.js.map