"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GatewayEVMUpgradeTest__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "ASSET_HANDLER_ROLE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "DEFAULT_ADMIN_ROLE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "MAX_PAYLOAD_SIZE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "PAUSER_ROLE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "TSS_ROLE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "UPGRADE_INTERFACE_VERSION",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "string",
                internalType: "string",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "call",
        inputs: [
            {
                name: "receiver",
                type: "address",
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "revertOptions",
                type: "tuple",
                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",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "custody",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "deposit",
        inputs: [
            {
                name: "receiver",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "asset",
                type: "address",
                internalType: "address",
            },
            {
                name: "revertOptions",
                type: "tuple",
                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",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "deposit",
        inputs: [
            {
                name: "receiver",
                type: "address",
                internalType: "address",
            },
            {
                name: "revertOptions",
                type: "tuple",
                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",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositAndCall",
        inputs: [
            {
                name: "receiver",
                type: "address",
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "revertOptions",
                type: "tuple",
                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",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "depositAndCall",
        inputs: [
            {
                name: "receiver",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "asset",
                type: "address",
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "revertOptions",
                type: "tuple",
                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",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "execute",
        inputs: [
            {
                name: "messageContext",
                type: "tuple",
                internalType: "struct MessageContext",
                components: [
                    {
                        name: "sender",
                        type: "address",
                        internalType: "address",
                    },
                ],
            },
            {
                name: "destination",
                type: "address",
                internalType: "address",
            },
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "executeRevert",
        inputs: [
            {
                name: "destination",
                type: "address",
                internalType: "address",
            },
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "revertContext",
                type: "tuple",
                internalType: "struct RevertContext",
                components: [
                    {
                        name: "sender",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "asset",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "amount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "executeWithERC20",
        inputs: [
            {
                name: "messageContext",
                type: "tuple",
                internalType: "struct MessageContext",
                components: [
                    {
                        name: "sender",
                        type: "address",
                        internalType: "address",
                    },
                ],
            },
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "getRoleAdmin",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "grantRole",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "account",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "hasRole",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "account",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "initialize",
        inputs: [
            {
                name: "tssAddress_",
                type: "address",
                internalType: "address",
            },
            {
                name: "zetaToken_",
                type: "address",
                internalType: "address",
            },
            {
                name: "admin_",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "pause",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "paused",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "proxiableUUID",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "renounceRole",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "callerConfirmation",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "revertWithERC20",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
            {
                name: "revertContext",
                type: "tuple",
                internalType: "struct RevertContext",
                components: [
                    {
                        name: "sender",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "asset",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "amount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "revokeRole",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "account",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setConnector",
        inputs: [
            {
                name: "zetaConnector_",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "setCustody",
        inputs: [
            {
                name: "custody_",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "supportsInterface",
        inputs: [
            {
                name: "interfaceId",
                type: "bytes4",
                internalType: "bytes4",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "tssAddress",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "unpause",
        inputs: [],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "updateTSSAddress",
        inputs: [
            {
                name: "newTSSAddress",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "upgradeToAndCall",
        inputs: [
            {
                name: "newImplementation",
                type: "address",
                internalType: "address",
            },
            {
                name: "data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "zetaConnector",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "zetaToken",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "Called",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "receiver",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                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: "Deposited",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "receiver",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "asset",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                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: "DepositedAndCalled",
        inputs: [
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "receiver",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "asset",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "payload",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                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: "Executed",
        inputs: [
            {
                name: "destination",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "value",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ExecutedV2",
        inputs: [
            {
                name: "destination",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "value",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ExecutedWithERC20",
        inputs: [
            {
                name: "token",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Initialized",
        inputs: [
            {
                name: "version",
                type: "uint64",
                indexed: false,
                internalType: "uint64",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Paused",
        inputs: [
            {
                name: "account",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Reverted",
        inputs: [
            {
                name: "to",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "token",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "data",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
            {
                name: "revertContext",
                type: "tuple",
                indexed: false,
                internalType: "struct RevertContext",
                components: [
                    {
                        name: "sender",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "asset",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "amount",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "revertMessage",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RoleAdminChanged",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "previousAdminRole",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "newAdminRole",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RoleGranted",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "account",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "RoleRevoked",
        inputs: [
            {
                name: "role",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "account",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "sender",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Unpaused",
        inputs: [
            {
                name: "account",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "UpdatedGatewayTSSAddress",
        inputs: [
            {
                name: "oldTSSAddress",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "newTSSAddress",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "Upgraded",
        inputs: [
            {
                name: "implementation",
                type: "address",
                indexed: true,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "AccessControlBadConfirmation",
        inputs: [],
    },
    {
        type: "error",
        name: "AccessControlUnauthorizedAccount",
        inputs: [
            {
                name: "account",
                type: "address",
                internalType: "address",
            },
            {
                name: "neededRole",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
    },
    {
        type: "error",
        name: "AddressEmptyCode",
        inputs: [
            {
                name: "target",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "AddressInsufficientBalance",
        inputs: [
            {
                name: "account",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "ApprovalFailed",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
            {
                name: "spender",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "CallOnRevertNotSupported",
        inputs: [],
    },
    {
        type: "error",
        name: "ConnectorInitialized",
        inputs: [],
    },
    {
        type: "error",
        name: "CustodyInitialized",
        inputs: [],
    },
    {
        type: "error",
        name: "DepositFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "ERC1967InvalidImplementation",
        inputs: [
            {
                name: "implementation",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "ERC1967NonPayable",
        inputs: [],
    },
    {
        type: "error",
        name: "EnforcedPause",
        inputs: [],
    },
    {
        type: "error",
        name: "ExecutionFailed",
        inputs: [],
    },
    {
        type: "error",
        name: "ExpectedPause",
        inputs: [],
    },
    {
        type: "error",
        name: "FailedInnerCall",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientERC20Amount",
        inputs: [],
    },
    {
        type: "error",
        name: "InsufficientETHAmount",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidInitialization",
        inputs: [],
    },
    {
        type: "error",
        name: "NotAllowedToCallOnCall",
        inputs: [],
    },
    {
        type: "error",
        name: "NotAllowedToCallOnRevert",
        inputs: [],
    },
    {
        type: "error",
        name: "NotInitializing",
        inputs: [],
    },
    {
        type: "error",
        name: "NotWhitelistedInCustody",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "PayloadSizeExceeded",
        inputs: [
            {
                name: "provided",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "maximum",
                type: "uint256",
                internalType: "uint256",
            },
        ],
    },
    {
        type: "error",
        name: "ReentrancyGuardReentrantCall",
        inputs: [],
    },
    {
        type: "error",
        name: "SafeERC20FailedOperation",
        inputs: [
            {
                name: "token",
                type: "address",
                internalType: "address",
            },
        ],
    },
    {
        type: "error",
        name: "UUPSUnauthorizedCallContext",
        inputs: [],
    },
    {
        type: "error",
        name: "UUPSUnsupportedProxiableUUID",
        inputs: [
            {
                name: "slot",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
    },
    {
        type: "error",
        name: "ZETANotSupported",
        inputs: [],
    },
    {
        type: "error",
        name: "ZeroAddress",
        inputs: [],
    },
];
const _bytecode = " ";
const isSuperArgs = (xs) => xs.length > 1;
class GatewayEVMUpgradeTest__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    connect(runner) {
        return super.connect(runner);
    }
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.GatewayEVMUpgradeTest__factory = GatewayEVMUpgradeTest__factory;
GatewayEVMUpgradeTest__factory.bytecode = _bytecode;
GatewayEVMUpgradeTest__factory.abi = _abi;
