SetTokenCreator is a smart contract used to deploy new SetToken contracts. The SetTokenCreator is a Factory contract that is enabled by the controller to create and register new SetTokens.
function create(address memory _components, int256 memory _units, address memory _modules, address _manager, string memory _name, string memory _symbol) external returns (address)
Creates a SetToken smart contract and registers the SetToken with the controller. The SetTokens are composed of positions that are instantiated as DEFAULT (positionState = 0) state.
List of addresses of components for initial positions
List of units. Each unit is the # of components per 10^18 of a SetToken
List of modules to enable. All modules must be approved by the Controller
Address of the manager
Name of the SetToken
Symbol of the SetToken
Address of the newly created SetToken