IModuleRegistry

Git Source

Functions

registerModule

function registerModule(address moduleAddress, uint256 moduleType) external returns (bool);

getModuleTypes

function getModuleTypes(address moduleAddress) external view returns (uint256);

isModuleRegistered

function isModuleRegistered(address moduleAddress) external view returns (bool);

isModuleRegisteredAs

function isModuleRegisteredAs(address moduleAddress, uint256 moduleType) external view returns (bool);

registerErc20Currency

function registerErc20Currency(address currencyAddress) external returns (bool);

isErc20CurrencyRegistered

function isErc20CurrencyRegistered(address currencyAddress) external view returns (bool);

Enums

ModuleType

enum ModuleType {
    __,
    PUBLICATION_ACTION_MODULE,
    REFERENCE_MODULE,
    FOLLOW_MODULE
}