/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
const _abi = [
    {
        type: "function",
        name: "quoteSend",
        inputs: [
            {
                name: "_sendParam",
                type: "tuple",
                internalType: "struct SendParam",
                components: [
                    {
                        name: "dstEid",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "to",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "amountLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "minAmountLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "extraOptions",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "composeMsg",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "oftCmd",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "_payInLzToken",
                type: "bool",
                internalType: "bool",
            },
        ],
        outputs: [
            {
                name: "",
                type: "tuple",
                internalType: "struct MessagingFee",
                components: [
                    {
                        name: "nativeFee",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "lzTokenFee",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "send",
        inputs: [
            {
                name: "_sendParam",
                type: "tuple",
                internalType: "struct SendParam",
                components: [
                    {
                        name: "dstEid",
                        type: "uint32",
                        internalType: "uint32",
                    },
                    {
                        name: "to",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "amountLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "minAmountLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "extraOptions",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "composeMsg",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "oftCmd",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
            {
                name: "_fee",
                type: "tuple",
                internalType: "struct MessagingFee",
                components: [
                    {
                        name: "nativeFee",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "lzTokenFee",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
            {
                name: "_refundAddress",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "tuple",
                internalType: "struct MessagingReceipt",
                components: [
                    {
                        name: "guid",
                        type: "bytes32",
                        internalType: "bytes32",
                    },
                    {
                        name: "nonce",
                        type: "uint64",
                        internalType: "uint64",
                    },
                    {
                        name: "fee",
                        type: "tuple",
                        internalType: "struct MessagingFee",
                        components: [
                            {
                                name: "nativeFee",
                                type: "uint256",
                                internalType: "uint256",
                            },
                            {
                                name: "lzTokenFee",
                                type: "uint256",
                                internalType: "uint256",
                            },
                        ],
                    },
                ],
            },
            {
                name: "",
                type: "tuple",
                internalType: "struct OFTReceipt",
                components: [
                    {
                        name: "amountSentLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "amountReceivedLD",
                        type: "uint256",
                        internalType: "uint256",
                    },
                ],
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "sharedDecimals",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint8",
                internalType: "uint8",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "token",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
];
export class IOFT__factory {
    static abi = _abi;
    static createInterface() {
        return new utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    }
}
//# sourceMappingURL=IOFT__factory.js.map