Change Metadata of deployed Factories

Once you have deployed a Factory through the FoF, you can change the host and the Factory Metadata. The uri is used to reconstruct the Metadata on the EthereansOS frontend.

function setFactoryListsMetadata(uint256[] calldata listPositions, address[] calldata newHosts, string[] calldata newUris) external returns (address[] memory replacedHosts, string[] memory replacedUris);

The function takes as input:

  • uint256[] listPositions -> a list of positions

  • address[] newHosts -> a list of new Hosts (one for each Factory passed in listPositions)

  • string[] newUris -> a list of new uris (one for each Factory passed in listPositions)

The function returns the list of replaced hosts and replaced uris.

Last updated