"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OFTTransportAdapterWithStore__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",
            },
            {
                name: "_adapterStore",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "EMPTY_MSG_BYTES",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "OFT_ADAPTER_STORE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract AdapterStore",
            },
        ],
        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 = "0x60e03461009e57601f61027e38819003918201601f19168301916001600160401b038311848410176100a25780849260609460405283398101031261009e5780519063ffffffff8216820361009e5760208101516040909101516001600160a01b038116929083900361009e5760a05260805260c0526040516101c790816100b782396080518161016e015260a05181610135015260c0518160f50152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c90816361a04d3014610159575080636fd5c10e14610119578063a6ec815e146100c95763b4c0d7ab14610048575f80fd5b346100c5575f3660031901126100c5576040516020908082019067ffffffffffffffff8211818310176100b15760409182525f8152828101601f198401368237825193849281845251918280928501528484015e5f828201840152601f01601f19168101030190f35b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b346100c5575f3660031901126100c557602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100c5575f3660031901126100c557602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346100c5575f3660031901126100c5576020907f00000000000000000000000000000000000000000000000000000000000000008152f3fea2646970667358221220a5f0847498943a6e9059f520b3b035248a4f0d97612c4a535b927601d6bf2adb64736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class OFTTransportAdapterWithStore__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(_oftDstEid, _feeCap, _adapterStore, overrides) {
        return super.deploy(_oftDstEid, _feeCap, _adapterStore, overrides || {});
    }
    getDeployTransaction(_oftDstEid, _feeCap, _adapterStore, overrides) {
        return super.getDeployTransaction(_oftDstEid, _feeCap, _adapterStore, 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.OFTTransportAdapterWithStore__factory = OFTTransportAdapterWithStore__factory;
OFTTransportAdapterWithStore__factory.bytecode = _bytecode;
OFTTransportAdapterWithStore__factory.abi = _abi;
