"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Arbitrum_CustomGasToken_Adapter__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_l1ArbitrumInbox",
                type: "address",
                internalType: "contract ArbitrumCustomGasTokenInbox",
            },
            {
                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: "_cctpDomainId",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_nativeTokenDecimals",
                type: "uint8",
                internalType: "uint8",
            },
            {
                name: "_customGasTokenFunder",
                type: "address",
                internalType: "contract FunderInterface",
            },
            {
                name: "_l2MaxSubmissionCost",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_l2GasPrice",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "CUSTOM_GAS_TOKEN",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract IERC20",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "CUSTOM_GAS_TOKEN_FUNDER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract FunderInterface",
            },
        ],
        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 ArbitrumCustomGasTokenInbox",
            },
        ],
        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: "NATIVE_TOKEN_DECIMALS",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "uint8",
                internalType: "uint8",
            },
        ],
        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: "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: "InsufficientCustomGasToken",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidCustomGasToken",
        inputs: [],
    },
    {
        type: "error",
        name: "InvalidNativeTokenDecimals",
        inputs: [],
    },
];
class Arbitrum_CustomGasToken_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_CustomGasToken_Adapter__factory = Arbitrum_CustomGasToken_Adapter__factory;
//# sourceMappingURL=Arbitrum_CustomGasToken_Adapter__factory.js.map