Add a module

If you did not add modules already while creating the index, see Create an Index , you add the modules through the SetToken contract directly.


function addModule(address _module) external

Adding the module puts it in Pending state from which you have to initialize the SetToken in the module by calling initialize on the module contract itself. The initialize function signature differs from one module to the other.

  • _preIssueHook Instance of the Manager Contract with the Pre-Issuance Hook function

Last updated