"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 = "0x608080604052346015576103dd908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c908163540abf73146100e4575063a3a7954814610032575f80fd5b60a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100e057610064610287565b61006c6102aa565b6100746102e0565b5060843567ffffffffffffffff81116100e0576100959036906004016102f3565b50507fff3571642cc53860da3cde3589361dacc09ac064cd9ea5318b609a2e2c4f93a0602073ffffffffffffffffffffffffffffffffffffffff8060405194604435865216941692a3005b5f80fd5b346100e05760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100e05761011b610287565b906101246102aa565b9160443573ffffffffffffffffffffffffffffffffffffffff81168091036100e057606435916101526102cd565b5060a43567ffffffffffffffff81116100e0576064855f73ffffffffffffffffffffffffffffffffffffffff602095610190849636906004016102f3565b50507f23b872dd000000000000000000000000000000000000000000000000000000008452336004850152306024850152886044850152165af19081156102615760209360449261026c575b505f73ffffffffffffffffffffffffffffffffffffffff60405196879586947fa9059cbb00000000000000000000000000000000000000000000000000000000865260048601526024850152165af180156102615761023757005b6102589060203d60201161025a575b6102508183610321565b81019061038f565b005b503d610246565b6040513d5f823e3d90fd5b61028290853d871161025a576102508183610321565b6101dc565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036100e057565b6024359073ffffffffffffffffffffffffffffffffffffffff821682036100e057565b6084359063ffffffff821682036100e057565b6064359063ffffffff821682036100e057565b9181601f840112156100e05782359167ffffffffffffffff83116100e057602083818601950101116100e057565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761036257604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b908160209103126100e0575180151581036100e0579056fea2646970667358221220da03f70557c99614e5d297fc26382753a856bbff5a0d5e12f3271e27da9360b164736f6c634300081e0033";
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;
