"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OFTTransportAdapter__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        inputs: [
            {
                internalType: "uint32",
                name: "_oftDstEid",
                type: "uint32",
            },
            {
                internalType: "uint256",
                name: "_feeCap",
                type: "uint256",
            },
        ],
        stateMutability: "nonpayable",
        type: "constructor",
    },
    {
        inputs: [],
        name: "OftFeeCapExceeded",
        type: "error",
    },
    {
        inputs: [],
        name: "OftIncorrectAmountReceivedLD",
        type: "error",
    },
    {
        inputs: [],
        name: "OftIncorrectAmountSentLD",
        type: "error",
    },
    {
        inputs: [],
        name: "OftInsufficientBalanceForFee",
        type: "error",
    },
    {
        inputs: [],
        name: "OftLzFeeNotZero",
        type: "error",
    },
    {
        inputs: [],
        name: "EMPTY_MSG_BYTES",
        outputs: [
            {
                internalType: "bytes",
                name: "",
                type: "bytes",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "OFT_DST_EID",
        outputs: [
            {
                internalType: "uint32",
                name: "",
                type: "uint32",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [],
        name: "OFT_FEE_CAP",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x60c034607557601f61028938819003918201601f19168301916001600160401b03831184841017607957808492604094855283398101031260755780519063ffffffff82168203607557602001519060a0526080526040516101fb908161008e8239608051816101a2015260a0518161014b0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c90816361a04d301461016f575080636fd5c10e146101115763b4c0d7ab1461003d575f80fd5b3461010d575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010d576040516020908082019067ffffffffffffffff8211818310176100e05760409182525f81527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f848301828601368237845195869481865251918280928701528686015e5f85828601015201168101030190f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80fd5b3461010d575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010d57602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461010d575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010d576020907f00000000000000000000000000000000000000000000000000000000000000008152f3fea264697066735822122002e3942d3cd77c937e765519f9316a25b9dd486ea96b1685c3027c830a88c8a764736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class OFTTransportAdapter__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(_oftDstEid, _feeCap, overrides) {
        return super.deploy(_oftDstEid, _feeCap, overrides || {});
    }
    getDeployTransaction(_oftDstEid, _feeCap, overrides) {
        return super.getDeployTransaction(_oftDstEid, _feeCap, overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.OFTTransportAdapter__factory = OFTTransportAdapter__factory;
OFTTransportAdapter__factory.bytecode = _bytecode;
OFTTransportAdapter__factory.abi = _abi;
