/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
const _abi = [
    {
        type: "function",
        name: "baseToken",
        inputs: [
            {
                name: "_chainId",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "l2TransactionBaseCost",
        inputs: [
            {
                name: "_chainId",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_gasPrice",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_l2GasLimit",
                type: "uint256",
                internalType: "uint256",
            },
            {
                name: "_l2GasPerPubdataByteLimit",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        outputs: [
            {
                name: "",
                type: "uint256",
                internalType: "uint256",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "function",
        name: "requestL2TransactionDirect",
        inputs: [
            {
                name: "_request",
                type: "tuple",
                internalType: "struct BridgeHubInterface.L2TransactionRequestDirect",
                components: [
                    {
                        name: "chainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "mintValue",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2Contract",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "l2Value",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2Calldata",
                        type: "bytes",
                        internalType: "bytes",
                    },
                    {
                        name: "l2GasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2GasPerPubdataByteLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "factoryDeps",
                        type: "bytes[]",
                        internalType: "bytes[]",
                    },
                    {
                        name: "refundRecipient",
                        type: "address",
                        internalType: "address",
                    },
                ],
            },
        ],
        outputs: [
            {
                name: "canonicalTxHash",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "requestL2TransactionTwoBridges",
        inputs: [
            {
                name: "_request",
                type: "tuple",
                internalType: "struct BridgeHubInterface.L2TransactionRequestTwoBridgesOuter",
                components: [
                    {
                        name: "chainId",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "mintValue",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2Value",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2GasLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "l2GasPerPubdataByteLimit",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "refundRecipient",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "secondBridgeAddress",
                        type: "address",
                        internalType: "address",
                    },
                    {
                        name: "secondBridgeValue",
                        type: "uint256",
                        internalType: "uint256",
                    },
                    {
                        name: "secondBridgeCalldata",
                        type: "bytes",
                        internalType: "bytes",
                    },
                ],
            },
        ],
        outputs: [
            {
                name: "canonicalTxHash",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "sharedBridge",
        inputs: [],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
];
export class BridgeHubInterface__factory {
    static abi = _abi;
    static createInterface() {
        return new utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    }
}
//# sourceMappingURL=BridgeHubInterface__factory.js.map