all files / contracts/interfaces/utils/ ICloneable.sol

100% Statements 0/0
100% Branches 0/0
100% Functions 0/0
100% Lines 0/0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                     
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
 
/**
 * @title Factory for arbitrary code deployment using the "CREATE" and "CREATE2" opcodes
 */
interface ICloneable {
 
    /***************************************
    EVENTS
    ***************************************/
 
    /// @notice Emitted when a contract is deployed.
    event ContractDeployed(address indexed deployment);
 
    /***************************************
    VIEW FUNCTIONS
    ***************************************/
 
    /**
     * @notice calculate the deployment address for a given target and salt
     * @param salt input for deterministic address calculation
     * @return deployment address
     */
    function calculateMinimalProxyDeploymentAddress(bytes32 salt) external view returns (address);
}