"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IGatewayZEVMErrors__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "error",
        name: "CallerIsNotProtocol",
        inputs: [],
    },
    {
        type: "error",
        name: "FailedZetaSent",
        inputs: [
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "GasFeeTransferFailed",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "InsufficientGasLimit",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientZRC20Amount",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientZetaAmount",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidTarget",
        inputs: [],
    },
    {
        type: "error",
        name: "MessageSizeExceeded",
        inputs: [
            {
                name: "provided",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "maximum",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "OnlyWZETAOrProtocol",
        inputs: [],
    },
    {
        type: "error",
        name: "WithdrawalFailed",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "recipient",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "ZRC20BurnFailed",
        inputs: [
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "ZRC20DepositFailed",
        inputs: [
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "ZRC20TransferFailed",
        inputs: [
            {
                name: "zrc20",
                type: "address",
                internalType: "address",
            },
            {
                name: "from",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
];
class IGatewayZEVMErrors__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.IGatewayZEVMErrors__factory = IGatewayZEVMErrors__factory;
IGatewayZEVMErrors__factory.abi = _abi;
