"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 = [
    {
        inputs: [
            {
                internalType: "uint32",
                name: "_oftDstEid",
                type: "uint32",
            },
            {
                internalType: "uint256",
                name: "_feeCap",
                type: "uint256",
            },
            {
                internalType: "address",
                name: "_adapterStore",
                type: "address",
            },
        ],
        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_ADAPTER_STORE",
        outputs: [
            {
                internalType: "contract AdapterStore",
                name: "",
                type: "address",
            },
        ],
        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 = "0x60e03461009f57601f61032c38819003918201601f19168301916001600160401b038311848410176100a35780849260609460405283398101031261009f5780519063ffffffff8216820361009f5760208101516040909101516001600160a01b038116929083900361009f5760a05260805260c05260405161027490816100b882396080518161021b015260a051816101c4015260c051816101660152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c90816361a04d30146101e8575080636fd5c10e1461018a578063a6ec815e1461011c5763b4c0d7ab14610048575f80fd5b34610118575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610118576040516020908082019067ffffffffffffffff8211818310176100eb5760409182525f81527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f848301828601368237845195869481865251918280928701528686015e5f85828601015201168101030190f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80fd5b34610118575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261011857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610118575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261011857602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610118575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610118576020907f00000000000000000000000000000000000000000000000000000000000000008152f3fea2646970667358221220b7ac63d7232f6977fb95eeace6827e7d957af0f94fd547ab9f0fc2be4b688a4c64736f6c634300081e0033";
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;
