Get Available Modules
Last updated
Last updated
The following functions are used in order to get available modules, as exist in the .
See the Module type .
Get all available modules, optionally use a filter function in order to retrieve only a subset of the modules.
Arguments:
An optional filter function. For each , should return true
if the module should be included, false
otherwise.
Response:
An object that maps between module IDs and the corresponding module objects. A module ID is its implementation address.
Get a module object by its ID.
Arguments:
Module's ID (implementation address).
Response:
The module that matches the provided ID, or undefined
in case no matching module was found.
Get a module object by its implementation address.
Arguments:
Module's implementation address.
Response:
The module that matches the provided address, or undefined
in case no matching module was found.
Get the module object of an instance.
Arguments:
Module's instance address.
Response:
The module that matches the provided address, or undefined
in case no matching module was found.
Get the module objects of instances.
Arguments:
Addresses of the module instances.
Response:
The modules matching the provided addresses. For every address that is not an instance of a registry module, the corresponding return value in the array will be undefined
.