"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockBedrockL2StandardBridge__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "l2Token",
                type: "address",
            },
            {
                indexed: true,
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "ERC20WithdrawalInitiated",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_localToken",
                type: "address",
            },
            {
                internalType: "address",
                name: "_remoteToken",
                type: "address",
            },
            {
                internalType: "address",
                name: "_to",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_amount",
                type: "uint256",
            },
            {
                internalType: "uint32",
                name: "",
                type: "uint32",
            },
            {
                internalType: "bytes",
                name: "",
                type: "bytes",
            },
        ],
        name: "bridgeERC20To",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "_l2Token",
                type: "address",
            },
            {
                internalType: "address",
                name: "_to",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "_amount",
                type: "uint256",
            },
            {
                internalType: "uint32",
                name: "",
                type: "uint32",
            },
            {
                internalType: "bytes",
                name: "",
                type: "bytes",
            },
        ],
        name: "withdrawTo",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
];
const _bytecode = "0x608080604052346100165761039d908161001b8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c908163540abf73146100ea575063a3a7954814610032575f80fd5b60a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100e65761006461026d565b61006c610290565b60643563ffffffff8116036100e65760843567ffffffffffffffff81116100e65761009b9036906004016102b3565b50507fff3571642cc53860da3cde3589361dacc09ac064cd9ea5318b609a2e2c4f93a0602073ffffffffffffffffffffffffffffffffffffffff8060405194604435865216941692a3005b5f80fd5b346100e65760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100e65761012161026d565b610129610290565b9060443573ffffffffffffffffffffffffffffffffffffffff938482168092036100e6576064359160843563ffffffff8116036100e65760a4359367ffffffffffffffff85116100e657610182879536906004016102b3565b50507f23b872dd000000000000000000000000000000000000000000000000000000008352336004840152306024840152836044840152826064815f60209a8b95165af180156102455786946044935f92610250575b5060405196879586947fa9059cbb00000000000000000000000000000000000000000000000000000000865260048601526024850152165af180156102455761021d57005b8161023c92903d1061023e575b61023481836102e1565b81019061034f565b005b503d61022a565b6040513d5f823e3d90fd5b61026690873d891161023e5761023481836102e1565b50886101d8565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036100e657565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036100e657565b9181601f840112156100e65782359167ffffffffffffffff83116100e657602083818601950101116100e657565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761032257604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b908160209103126100e6575180151581036100e6579056fea2646970667358221220a55e2b70596f486aced5b523508a8807a5779f2855ec7c508483ab3736d709a964736f6c63430008170033";
const isSuperArgs = (xs) => xs.length > 1;
class MockBedrockL2StandardBridge__factory extends ethers_1.ContractFactory {
    constructor(...args) {
        if (isSuperArgs(args)) {
            super(...args);
        }
        else {
            super(_abi, _bytecode, args[0]);
        }
    }
    deploy(overrides) {
        return super.deploy(overrides || {});
    }
    getDeployTransaction(overrides) {
        return super.getDeployTransaction(overrides || {});
    }
    attach(address) {
        return super.attach(address);
    }
    connect(signer) {
        return super.connect(signer);
    }
    static createInterface() {
        return new ethers_1.utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new ethers_1.Contract(address, _abi, signerOrProvider);
    }
}
exports.MockBedrockL2StandardBridge__factory = MockBedrockL2StandardBridge__factory;
MockBedrockL2StandardBridge__factory.bytecode = _bytecode;
MockBedrockL2StandardBridge__factory.abi = _abi;
