"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 = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_oftDstEid",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_feeCap",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "EMPTY_MSG_BYTES",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "OFT_DST_EID",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "OFT_FEE_CAP",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "error",
        name: "OftFeeCapExceeded",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountReceivedLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountSentLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftInsufficientBalanceForFee",
        inputs: [],
    },
    {
        type: "error",
        name: "OftLzFeeNotZero",
        inputs: [],
    },
];
const _bytecode = "0x60c034607457601f6101f938819003918201601f19168301916001600160401b03831184841017607857808492604094855283398101031260745780519063ffffffff82168203607457602001519060a05260805260405161016c908161008d823960805181610113015260a0518160da0152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c90816361a04d30146100fe575080636fd5c10e146100be5763b4c0d7ab1461003d575f80fd5b346100ba575f3660031901126100ba576040516020908082019067ffffffffffffffff8211818310176100a65760409182525f8152828101601f198401368237825193849281845251918280928501528484015e5f828201840152601f01601f19168101030190f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b346100ba575f3660031901126100ba57602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100ba575f3660031901126100ba576020907f00000000000000000000000000000000000000000000000000000000000000008152f3fea2646970667358221220e64f01931fad639970cfe58232506e1c809f152cb481869005344f648f62b73464736f6c634300081e0033";
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;
