/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, utils } from "ethers";
const _abi = [
    {
        type: "function",
        name: "deploy",
        inputs: [
            {
                name: "counterfactualDepositImplementation",
                type: "address",
                internalType: "address",
            },
            {
                name: "paramsHash",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "salt",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [
            {
                name: "depositAddress",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "nonpayable",
    },
    {
        type: "function",
        name: "deployAndExecute",
        inputs: [
            {
                name: "counterfactualDepositImplementation",
                type: "address",
                internalType: "address",
            },
            {
                name: "paramsHash",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "salt",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "executeCalldata",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [
            {
                name: "depositAddress",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "deployIfNeededAndExecute",
        inputs: [
            {
                name: "counterfactualDepositImplementation",
                type: "address",
                internalType: "address",
            },
            {
                name: "paramsHash",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "salt",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "executeCalldata",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [
            {
                name: "depositAddress",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "execute",
        inputs: [
            {
                name: "depositAddress",
                type: "address",
                internalType: "address",
            },
            {
                name: "executeCalldata",
                type: "bytes",
                internalType: "bytes",
            },
        ],
        outputs: [],
        stateMutability: "payable",
    },
    {
        type: "function",
        name: "predictDepositAddress",
        inputs: [
            {
                name: "counterfactualDepositImplementation",
                type: "address",
                internalType: "address",
            },
            {
                name: "paramsHash",
                type: "bytes32",
                internalType: "bytes32",
            },
            {
                name: "salt",
                type: "bytes32",
                internalType: "bytes32",
            },
        ],
        outputs: [
            {
                name: "",
                type: "address",
                internalType: "address",
            },
        ],
        stateMutability: "view",
    },
    {
        type: "event",
        name: "DepositAddressCreated",
        inputs: [
            {
                name: "depositAddress",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "counterfactualDepositImplementation",
                type: "address",
                indexed: true,
                internalType: "address",
            },
            {
                name: "paramsHash",
                type: "bytes32",
                indexed: true,
                internalType: "bytes32",
            },
            {
                name: "salt",
                type: "bytes32",
                indexed: false,
                internalType: "bytes32",
            },
        ],
        anonymous: false,
    },
];
export class ICounterfactualDepositFactory__factory {
    static abi = _abi;
    static createInterface() {
        return new utils.Interface(_abi);
    }
    static connect(address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    }
}
//# sourceMappingURL=ICounterfactualDepositFactory__factory.js.map