"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZetaTokenConsumer__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "getEthFromZeta",
        inputs: [
            {
                name: "destinationAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "minAmountOut",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "zetaTokenAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "getTokenFromZeta",
        inputs: [
            {
                name: "destinationAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "minAmountOut",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "outputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "zetaTokenAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "getZetaFromEth",
        inputs: [
            {
                name: "destinationAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "minAmountOut",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "getZetaFromToken",
        inputs: [
            {
                name: "destinationAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "minAmountOut",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "inputToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "inputTokenAmount",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "hasZetaLiquidity",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "EthExchangedForZeta",
        inputs: [
            {
                name: "amountIn",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "amountOut",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "TokenExchangedForZeta",
        inputs: [
            {
                name: "token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "amountIn",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "amountOut",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ZetaExchangedForEth",
        inputs: [
            {
                name: "amountIn",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "amountOut",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ZetaExchangedForToken",
        inputs: [
            {
                name: "token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "amountIn",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "amountOut",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
];
class ZetaTokenConsumer__factory {
    static createInterface() {
        return new ethers_1.Interface(_abi);
    }
    static connect(address, runner) {
        return new ethers_1.Contract(address, _abi, runner);
    }
}
exports.ZetaTokenConsumer__factory = ZetaTokenConsumer__factory;
ZetaTokenConsumer__factory.abi = _abi;
