"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Polygon_Adapter__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "constructor",
        inputs: [
            {
                name: "_rootChainManager",
                type: "address",
                internalType: "contract IRootChainManager",
            },
            {
                name: "_fxStateSender",
                type: "address",
                internalType: "contract IFxStateSender",
            },
            {
                name: "_depositManager",
                type: "address",
                internalType: "contract DepositManager",
            },
            {
                name: "_erc20Predicate",
                type: "address",
                internalType: "address",
            },
            {
                name: "_l1Matic",
                type: "address",
                internalType: "address",
            },
            {
                name: "_l1Weth",
                type: "address",
                internalType: "contract WETH9Interface",
            },
            {
                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: "DEPOSIT_MANAGER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract DepositManager",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "EMPTY_MSG_BYTES",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "ERC20_PREDICATE",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "FX_STATE_SENDER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract IFxStateSender",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L1_MATIC",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "L1_WETH",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract WETH9Interface",
            },
        ],
        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: "ROOT_CHAIN_MANAGER",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "contract IRootChainManager",
            },
        ],
        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: "OftFeeCapExceeded",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountReceivedLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftIncorrectAmountSentLD",
        inputs: [],
    },
    {
        type: "error",
        name: "OftInsufficientBalanceForFee",
        inputs: [],
    },
    {
        type: "error",
        name: "OftLzFeeNotZero",
        inputs: [],
    },
];
class Polygon_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.Polygon_Adapter__factory = Polygon_Adapter__factory;
//# sourceMappingURL=Polygon_Adapter__factory.js.map