ODCinterfaces

IWrapperFactory

deploy

function deploy(address dpRegistry, address dataIndex, address vaultDO, address vaultFactory, string name, string symbol) external returns (address, bytes32)

Deploy a Wrapper Proxy

Parameters

NameTypeDescription
dpRegistryaddressDataPoint Registry address
dataIndexaddressDataIndex diamond address
vaultDOaddressVault DataObject address
vaultFactoryaddressVault Factory address
namestringName of the ERC721 token which Wrapper will create
symbolstringSymbol of the ERC721 token which Wrapper will create

Return Values

NameTypeDescription
[0]addressAddress of deployed Wrapper
[1]bytes32DataPoint created for the Wrapper

On this page