"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Arbitrum_Adapter__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_l1ArbitrumInbox",
                type: "address",
                internalType: "contract ArbitrumInboxLike",
            },
            {
                name: "_l1ERC20GatewayRouter",
                type: "address",
                internalType: "contract ArbitrumL1ERC20GatewayLike",
            },
            {
                name: "_l2RefundL2Address",
                type: "address",
                internalType: "address",
            },
            {
                name: "_l1Usdc",
                type: "address",
                internalType: "contract IERC20",
            },
            {
                name: "_cctpTokenMessenger",
                type: "address",
                internalType: "contract ITokenMessenger",
            },
            {
                name: "_adapterStore",
                type: "address",
                internalType: "address",
            },
            {
                name: "_oftDstEid",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_oftFeeCap",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "EMPTY_MSG_BYTES",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L1_DAI",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L1_ERC20_GATEWAY_ROUTER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract ArbitrumL1ERC20GatewayLike",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L1_INBOX",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract ArbitrumInboxLike",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L2_CALL_VALUE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L2_GAS_PRICE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L2_MAX_SUBMISSION_COST",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L2_REFUND_L2_ADDRESS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        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: "RELAY_MESSAGE_L2_GAS_LIMIT",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "RELAY_TOKENS_L2_GAS_LIMIT",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        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: "getL1CallValue",
        inputs: [
            {
                name: "l2GasLimit",
                type: "uint32",
                internalType: "uint32",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "pure",
    },
    {
        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: "OftFeeCapExceeded",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountReceivedLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountSentLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftInsufficientBalanceForFee",
        inputs: [],
    },
    {
        type: "error",
        name: "OftLzFeeNotZero",
        inputs: [],
    },
];
class Arbitrum_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.Arbitrum_Adapter__factory = Arbitrum_Adapter__factory;
//# sourceMappingURL=Arbitrum_Adapter__factory.js.map