"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZetaReceiver__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "onZetaMessage",
        inputs: [
            {
                name: "zetaMessage",
                type: "tuple",
                internalType: "struct ZetaInterfaces.ZetaMessage",
                components: [
                    {
                        name: "zetaTxSenderAddress",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "sourceChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "destinationAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "zetaValue",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "onZetaRevert",
        inputs: [
            {
                name: "zetaRevert",
                type: "tuple",
                internalType: "struct ZetaInterfaces.ZetaRevert",
                components: [
                    {
                        name: "zetaTxSenderAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "sourceChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "destinationAddress",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "destinationChainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "remainingZetaValue",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "message",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
];
class ZetaReceiver__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.ZetaReceiver__factory = ZetaReceiver__factory;
ZetaReceiver__factory.abi = _abi;
