"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
exports.__esModule = true;
exports.IOFTCore__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint16",
                name: "_srcChainId",
                type: "uint16"
            },
            {
                indexed: true,
                internalType: "address",
                name: "_to",
                type: "address"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_amount",
                type: "uint256"
            },
        ],
        name: "ReceiveFromChain",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "uint16",
                name: "_dstChainId",
                type: "uint16"
            },
            {
                indexed: true,
                internalType: "address",
                name: "_from",
                type: "address"
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "_toAddress",
                type: "bytes"
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "_amount",
                type: "uint256"
            },
        ],
        name: "SendToChain",
        type: "event"
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "bool",
                name: "_useCustomAdapterParams",
                type: "bool"
            },
        ],
        name: "SetUseCustomAdapterParams",
        type: "event"
    },
    {
        inputs: [],
        name: "circulatingSupply",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "uint16",
                name: "_dstChainId",
                type: "uint16"
            },
            {
                internalType: "bytes",
                name: "_toAddress",
                type: "bytes"
            },
            {
                internalType: "uint256",
                name: "_amount",
                type: "uint256"
            },
            {
                internalType: "bool",
                name: "_useZro",
                type: "bool"
            },
            {
                internalType: "bytes",
                name: "_adapterParams",
                type: "bytes"
            },
        ],
        name: "estimateSendFee",
        outputs: [
            {
                internalType: "uint256",
                name: "nativeFee",
                type: "uint256"
            },
            {
                internalType: "uint256",
                name: "zroFee",
                type: "uint256"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_from",
                type: "address"
            },
            {
                internalType: "uint16",
                name: "_dstChainId",
                type: "uint16"
            },
            {
                internalType: "bytes",
                name: "_toAddress",
                type: "bytes"
            },
            {
                internalType: "uint256",
                name: "_amount",
                type: "uint256"
            },
            {
                internalType: "address payable",
                name: "_refundAddress",
                type: "address"
            },
            {
                internalType: "address",
                name: "_zroPaymentAddress",
                type: "address"
            },
            {
                internalType: "bytes",
                name: "_adapterParams",
                type: "bytes"
            },
        ],
        name: "sendFrom",
        outputs: [],
        stateMutability: "payable",
        type: "function"
    },
    {
        inputs: [
            {
                internalType: "bytes4",
                name: "interfaceId",
                type: "bytes4"
            },
        ],
        name: "supportsInterface",
        outputs: [
            {
                internalType: "bool",
                name: "",
                type: "bool"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
    {
        inputs: [],
        name: "token",
        outputs: [
            {
                internalType: "address",
                name: "",
                type: "address"
            },
        ],
        stateMutability: "view",
        type: "function"
    },
];
var IOFTCore__factory = /** @class */ (function () {
    function IOFTCore__factory() {
    }
    IOFTCore__factory.createInterface = function () {
        return new ethers_1.utils.Interface(_abi);
    };
    IOFTCore__factory.connect = function (address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    };
    IOFTCore__factory.abi = _abi;
    return IOFTCore__factory;
}());
exports.IOFTCore__factory = IOFTCore__factory;
//# sourceMappingURL=IOFTCore__factory.js.map