"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 = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "address",
                name: "l2Token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "ERC20DepositInitiated",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: true,
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "ETHDepositInitiated",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "l1Token",
                type: "address",
            },
            {
                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: "depositERC20To",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "to",
                type: "address",
            },
            {
                internalType: "uint32",
                name: "",
                type: "uint32",
            },
            {
                internalType: "bytes",
                name: "",
                type: "bytes",
            },
        ],
        name: "depositETHTo",
        outputs: [],
        stateMutability: "payable",
        type: "function",
    },
];
const _bytecode = "0x60808060405234601557610396908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c908163838b2520146100d75750639a2ac6d514610032575f80fd5b60607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100d3576100646102e9565b61006c61031f565b5060443567ffffffffffffffff81116100d35761008d903690600401610332565b50507f516d262fbd93cb16a673e2c4f44c534ea1b04fa61f3fc86b5371ecb50b4a21f4602073ffffffffffffffffffffffffffffffffffffffff604051933485521692a2005b5f80fd5b346100d35760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100d35761010e6102e9565b9060243573ffffffffffffffffffffffffffffffffffffffff811681036100d3576044359273ffffffffffffffffffffffffffffffffffffffff84168094036100d3576064359261015d61030c565b5060a43567ffffffffffffffff81116100d35761017e903690600401610332565b50507f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018490526020816064815f73ffffffffffffffffffffffffffffffffffffffff87165af180156102de57610241575b5061023c7f196dfe78542a98e0698c5936c8e80fc6761dcaf79508fdcdc3cd8a81c77bc7e3936040519384938473ffffffffffffffffffffffffffffffffffffffff6040929594938160608401971683521660208201520152565b0390a2005b60203d6020116102d7575b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f820116820182811067ffffffffffffffff8211176102aa576020918391604052810103126100d3575180151581036100d3575061023c6101e1565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b503d61024c565b6040513d5f823e3d90fd5b6004359073ffffffffffffffffffffffffffffffffffffffff821682036100d357565b6084359063ffffffff821682036100d357565b6024359063ffffffff821682036100d357565b9181601f840112156100d35782359167ffffffffffffffff83116100d357602083818601950101116100d35756fea26469706673582212202b0f52a774fc10031b3dc6b0a3f61653037ad3db154f9c5715dcbec3400f4b2d64736f6c634300081e0033";
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;
