ODCdataManagerswrappers

WrapperFactory

WrongImplementation

error WrongImplementation(address wrapperImplementation)

implementation

address implementation

constructor

constructor(address implementation_) public

setImplementation

function setImplementation(address implementation_) external

Set an address of Wrapper implementation

Parameters

NameTypeDescription
implementation_addressWrapper implementation address

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