"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Mock_Bridge__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "target",
                type: "address",
            },
            {
                indexed: false,
                internalType: "bytes",
                name: "message",
                type: "bytes",
            },
        ],
        name: "BridgedMessage",
        type: "event",
    },
    {
        anonymous: false,
        inputs: [
            {
                indexed: false,
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                indexed: false,
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "BridgedTokens",
        type: "event",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "target",
                type: "address",
            },
            {
                internalType: "bytes",
                name: "message",
                type: "bytes",
            },
        ],
        name: "bridgeMessage",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "token",
                type: "address",
            },
            {
                internalType: "uint256",
                name: "amount",
                type: "uint256",
            },
        ],
        name: "bridgeTokens",
        outputs: [],
        stateMutability: "nonpayable",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "address",
                name: "",
                type: "address",
            },
        ],
        name: "deposits",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
];
const _bytecode = "0x608080604052346015576103b5908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c908163297d04641461025e57508063d411325b146100a35763fc7e286d1461003d575f80fd5b3461009f5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261009f5773ffffffffffffffffffffffffffffffffffffffff61008961035c565b165f525f602052602060405f2054604051908152f35b5f80fd5b3461009f5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261009f576100da61035c565b73ffffffffffffffffffffffffffffffffffffffff60243591166040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201528260448201526020816064815f865af18015610253576101bb575b50805f525f60205260405f209081549280840180941161018e577f1da67e78d7a059d567d755dcffcfeefb8bc6967dbed9f631c088b729098a612e936040935582519182526020820152a1005b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b60203d60201161024c575b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f820116820182811067ffffffffffffffff82111761021f5760209183916040528101031261009f57518015158114610141575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b503d6101c6565b6040513d5f823e3d90fd5b3461009f5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261009f5761029561035c565b906024359167ffffffffffffffff831161009f573660238401121561009f57826004013567ffffffffffffffff811161009f57366024828601011161009f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f82859360247f5bd2d0850f0cb81f5796e2b5d3a09cb16e35c4d616a6ae0189d2b93ec13bce2b9873ffffffffffffffffffffffffffffffffffffffff6060981687526040602088015282604088015201868601375f85828601015201168101030190a1005b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361009f5756fea2646970667358221220ad68e70aaa0306cf40eb80bcc67952d3c54b293cf956b6990e8f17c55e41c2aa64736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class Mock_Bridge__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.Mock_Bridge__factory = Mock_Bridge__factory;
Mock_Bridge__factory.bytecode = _bytecode;
Mock_Bridge__factory.abi = _abi;
