View Source: contracts/interfaces/IModuleRegistry.sol
↘ Derived Contracts: ModuleRegistry
IModuleRegistry
Events
event Pause(address account);
event Unpause(address account);
event ModuleUsed(address indexed _moduleFactory, address indexed _securityToken);
event ModuleRegistered(address indexed _moduleFactory, address indexed _owner);
event ModuleVerified(address indexed _moduleFactory);
event ModuleUnverified(address indexed _moduleFactory);
event ModuleRemoved(address indexed _moduleFactory, address indexed _decisionMaker);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
⤿ Overridden Implementation(s): ModuleRegistry.useModule
Called by a security token (2.x) to notify the registry it is using a module
Arguments
is the address of the relevant module factory
⤿ Overridden Implementation(s): ModuleRegistry.useModule
Called by a security token to notify the registry it is using a module
Arguments
is the address of the relevant module factory
whether the use is part of an existing module upgrade
⤿ Overridden Implementation(s): ModuleRegistry.registerModule
Called by the ModuleFactory owner to register new modules for SecurityToken to use
Arguments
is the address of the module factory to be registered
⤿ Overridden Implementation(s): ModuleRegistry.removeModule
Called by the ModuleFactory owner or registry curator to delete a ModuleFactory
Arguments
is the address of the module factory to be deleted
isCompatibleModule
⤿ Overridden Implementation(s): ModuleRegistry.isCompatibleModule
Check that a module and its factory are compatible
Returns
bool whether module and token are compatible
Arguments
is the address of the relevant module factory
is the address of the relevant security token
⤿ Overridden Implementation(s): ModuleRegistry.verifyModule
Called by Polymath to verify modules for SecurityToken to use.
Arguments
is the address of the module factory to be registered
⤿ Overridden Implementation(s): ModuleRegistry.unverifyModule
Called by Polymath to unverify modules for SecurityToken to use.
Arguments
is the address of the module factory to be registered
getFactoryDetails
⤿ Overridden Implementation(s): ModuleRegistry.getFactoryDetails
Returns the verified status, and reputation of the entered Module Factory
Returns
bool indicating whether module factory is verified
Arguments
is the address of the module factory
⤿ Overridden Implementation(s): ModuleRegistry.getTagsByTypeAndToken
Returns all the tags related to the a module type which are valid for the given token
Returns
list of tags
Arguments
⤿ Overridden Implementation(s): ModuleRegistry.getTagsByType
Returns all the tags related to the a module type which are valid for the given token
Returns
list of tags
Arguments
getAllModulesByType
⤿ Overridden Implementation(s): ModuleRegistry.getAllModulesByType
Returns the list of addresses of all Module Factory of a particular type
Returns
address array that contains the list of addresses of module factory contracts.
Arguments
getModulesByType
⤿ Overridden Implementation(s): ModuleRegistry.getModulesByType
Returns the list of addresses of Module Factory of a particular type
Returns
address array that contains the list of addresses of module factory contracts.
Arguments
getModulesByTypeAndToken
⤿ Overridden Implementation(s): ModuleRegistry.getModulesByTypeAndToken
Returns the list of available Module factory addresses of a particular type for a given token.
Returns
address array that contains the list of available addresses of module factory contracts.
Arguments
is the module type to look for
is the address of SecurityToken
updateFromRegistry
⤿ Overridden Implementation(s): ModuleRegistry.updateFromRegistry
Use to get the latest contract address of the regstries
Arguments
⤿ Overridden Implementation(s): ModuleRegistry.owner
Get the owner of the contract
Returns
address owner
Arguments
⤿ Overridden Implementation(s): ModuleRegistry.isPaused
Check whether the contract operations is paused or not
Returns
bool
Arguments
⤿ Overridden Implementation(s): ModuleRegistry.reclaimERC20
Reclaims all ERC20Basic compatible tokens
Arguments
The address of the token contract
⤿ Overridden Implementation(s): ModuleRegistry.pause
Called by the owner to pause, triggers stopped state
Arguments
⤿ Overridden Implementation(s): ModuleRegistry.unpause
Called by the owner to unpause, returns to normal state
Arguments
transferOwnership
⤿ Overridden Implementation(s): ModuleRegistry.transferOwnership
Allows the current owner to transfer control of the contract to a newOwner.
Arguments
The address to transfer ownership to.