"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IGatewayZEVMEvents__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "event",
        name: "Called",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "zrc20",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "receiver",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "callOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct CallOptions",
                components: [
                    {
                        name: "gasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "isArbitraryCall",
                        type: "bool",
                        internalType: "bool",
                    },
                ],
            },
            {
                name: "revertOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct RevertOptions",
                components: [
                    {
                        name: "revertAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "callOnRevert",
                        type: "bool",
                        internalType: "bool",
                    },
                    {
                        name: "abortAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "onRevertGasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Withdrawn",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "chainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "receiver",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "zrc20",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "value",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "gasfee",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "protocolFlatFee",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "callOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct CallOptions",
                components: [
                    {
                        name: "gasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "isArbitraryCall",
                        type: "bool",
                        internalType: "bool",
                    },
                ],
            },
            {
                name: "revertOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct RevertOptions",
                components: [
                    {
                        name: "revertAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "callOnRevert",
                        type: "bool",
                        internalType: "bool",
                    },
                    {
                        name: "abortAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "onRevertGasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "WithdrawnAndCalled",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "chainId",
                type: "uint256",
                indexed: true,
                internalType: "uint256",
            },
            {
                name: "receiver",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "zrc20",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "value",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "gasfee",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "protocolFlatFee",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "callOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct CallOptions",
                components: [
                    {
                        name: "gasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "isArbitraryCall",
                        type: "bool",
                        internalType: "bool",
                    },
                ],
            },
            {
                name: "revertOptions",
                type: "tuple",
                indexed: false,
                internalType: "struct RevertOptions",
                components: [
                    {
                        name: "revertAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "callOnRevert",
                        type: "bool",
                        internalType: "bool",
                    },
                    {
                        name: "abortAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "onRevertGasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
        ],
        anonymous: false,
    },
];
class IGatewayZEVMEvents__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IGatewayZEVMEvents__factory = IGatewayZEVMEvents__factory;
IGatewayZEVMEvents__factory.abi = _abi;
