"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IL2ERC20Bridge__factory = void 0;
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "bridgeERC20To",
        inputs: [
            {
                name: "_localToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "_remoteToken",
                type: "address",
                internalType: "address",
            },
            {
                name: "_to",
                type: "address",
                internalType: "address",
            },
            {
                name: "_amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_minGasLimit",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_extraData",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "withdrawTo",
        inputs: [
            {
                name: "_l2Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "_to",
                type: "address",
                internalType: "address",
            },
            {
                name: "_amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_minGasLimit",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "_extraData",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
];
class IL2ERC20Bridge__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.IL2ERC20Bridge__factory = IL2ERC20Bridge__factory;
//# sourceMappingURL=IL2ERC20Bridge__factory.js.map