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:

Variable
Type
Description

target

address

Address of the template to be cloned.

Return Value:

Variable
Type
Description

result

address

Address of the new vault that has cloned and deployed.

Last updated