"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArbitrumMockErc20GatewayRouter__factory = void 0;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
const ethers_1 = require("ethers");
const _abi = [
    {
        type: "function",
        name: "getGateway",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "outboundTransfer",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "outboundTransferCustomRefund",
        inputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "address",
                internalType: "address",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_data",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [
            {
                name: "",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        stateMutability: "payable",
    },
];
const _bytecode = "0x6080806040523460155761026b908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80634fb1a07b146100bc578063bda009fe146100985763d2ce7d651461003a575f80fd5b60c03660031901126100945761004e610109565b5061005761012c565b5060a43567ffffffffffffffff81116100945761008461007e610090923690600401610172565b906101ca565b604051918291826101a0565b0390f35b5f80fd5b34610094576020366003190112610094576100b1610109565b506020604051308152f35b60e0366003190112610094576100d0610109565b506100d961012c565b506100e261014f565b5060c43567ffffffffffffffff81116100945761008461007e610090923690600401610172565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361009457565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361009457565b6044359073ffffffffffffffffffffffffffffffffffffffff8216820361009457565b9181601f840112156100945782359167ffffffffffffffff8311610094576020838186019501011161009457565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b9067ffffffffffffffff81116102215760405191601f8201601f19908116603f0116830167ffffffffffffffff81118482101761022157604052818352368282011161009457815f92602092838601378301015290565b634e487b7160e01b5f52604160045260245ffdfea2646970667358221220a2689300b764a446d757a904fdf1d4847cd8e39b0ef51b6172f14eb2067fb1a964736f6c634300081e0033";
const isSuperArgs = (xs) => xs.length > 1;
class ArbitrumMockErc20GatewayRouter__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.ArbitrumMockErc20GatewayRouter__factory = ArbitrumMockErc20GatewayRouter__factory;
ArbitrumMockErc20GatewayRouter__factory.bytecode = _bytecode;
ArbitrumMockErc20GatewayRouter__factory.abi = _abi;
