Skip to main content

Clonable.sol

Git Source

State Variables

original

Set to the address to auto clone from.

address public original;

Functions

_clone

Clone the contracts default original contract.

function _clone() internal virtual returns (address);

Returns

NameTypeDescription
<none>addressAddress of the new Minimal Proxy clone.

_clone

Clone any _original contract.

function _clone(address _original) internal virtual returns (address _newContract);

Returns

NameTypeDescription
_newContractaddressAddress of the new Minimal Proxy clone.