CloneFactory

createClone

function createClone(address target) internal returns (address result)

Create a clone of the vault's code from a template and deploy it on the blockchain.

Parameters:

VariableTypeDescription

target

address

Address of the template to be cloned.

Return Value:

VariableTypeDescription

result

address

Address of the new vault that has cloned and deployed.

Last updated