"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockBedrockL1StandardBridge__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "depositERC20To",
        inputs: [
            {
                name: "l1Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "l2Token",
                type: "address",
                internalType: "address",
            },
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "depositETHTo",
        inputs: [
            {
                name: "to",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "uint32",
                internalType: "uint32",
            },
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "event",
        name: "ERC20DepositInitiated",
        inputs: [
            {
                name: "to",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "l1Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "l2Token",
                type: "address",
                indexed: false,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
    {
        type: "event",
        name: "ETHDepositInitiated",
        inputs: [
            {
                name: "to",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "amount",
                type: "uint256",
                indexed: false,
                internalType: "uint256",
            },
        ],
        anonymous: false,
    },
];
const _bytecode = "0x608080604052346015576102bc908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c908163838b2520146100ac5750639a2ac6d514610032575f80fd5b60603660031901126100a85761004661021c565b61004e610245565b5060443567ffffffffffffffff81116100a85761006f903690600401610258565b50507f516d262fbd93cb16a673e2c4f44c534ea1b04fa61f3fc86b5371ecb50b4a21f460206001600160a01b03604051933485521692a2005b5f80fd5b346100a85760c03660031901126100a8576100c561021c565b906024356001600160a01b03811681036100a857604435926001600160a01b0384168094036100a857606435926100fa610232565b5060a43567ffffffffffffffff81116100a85761011b903690600401610258565b50506323b872dd60e01b8152336004820152306024820152604481018490526020816064815f6001600160a01b0387165af18015610211576101ab575b506101a67f196dfe78542a98e0698c5936c8e80fc6761dcaf79508fdcdc3cd8a81c77bc7e393604051938493846001600160a01b036040929594938160608401971683521660208201520152565b0390a2005b60203d60201161020a575b601f8101601f1916820167ffffffffffffffff8111838210176101f6576020918391604052810103126100a8575180151581036100a857506101a6610158565b634e487b7160e01b5f52604160045260245ffd5b503d6101b6565b6040513d5f823e3d90fd5b600435906001600160a01b03821682036100a857565b6084359063ffffffff821682036100a857565b6024359063ffffffff821682036100a857565b9181601f840112156100a85782359167ffffffffffffffff83116100a857602083818601950101116100a85756fea2646970667358221220d3755654d25f2f932293dc337cd269b23de77537d6d990eb021a052a73cd74c864736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class MockBedrockL1StandardBridge__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.MockBedrockL1StandardBridge__factory = MockBedrockL1StandardBridge__factory;
MockBedrockL1StandardBridge__factory.bytecode = _bytecode;
MockBedrockL1StandardBridge__factory.abi = _abi;
