"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Universal_Adapter__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_store",
                type: "address",
                internalType: "contract HubPoolStore",
            },
            {
                name: "_l1Usdc",
                type: "address",
                internalType: "contract IERC20",
            },
            {
                name: "_cctpTokenMessenger",
                type: "address",
                internalType: "contract ITokenMessenger",
            },
            {
                name: "_cctpDestinationDomainId",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_adapterStore",
                type: "address",
                internalType: "address",
            },
            {
                name: "_oftDstEid",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_oftFeeCap",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "DATA_STORE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract HubPoolStore",
            },
        ],
        stateMutability: "view",
    },
    {
        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: "function",
        name: "cctpTokenMessenger",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract ITokenMessenger",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "cctpV2",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bool",
                internalType: "bool",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "recipientCircleDomainId",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "relayMessage",
        inputs: [
            {
                name: "target",
                type: "address",
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "relayTokens",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "l2Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "usdcToken",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract IERC20",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "MessageRelayed",
        inputs: [
            {
                name: "target",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "message",
                type: "bytes",
                indexed: false,
                internalType: "bytes",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "TokensRelayed",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "l2Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
            {
                name: "to",
                type: "address",
                indexed: false,
                internalType: "address",
            },
        ],
        anonymous: false,
    },
    {
        type: "error",
        name: "NotImplemented",
        inputs: [],
    },
    {
        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: [],
    },
];
class Universal_Adapter__factory {
    static abi = _abi;
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.Universal_Adapter__factory = Universal_Adapter__factory;
//# sourceMappingURL=Universal_Adapter__factory.js.map