View Source: contracts/FeatureRegistry.solโ
โ Extends: IFeatureRegistry, ReclaimTokensโ
FeatureRegistry
Constants & Variables
mapping(bytes32 => bool) public featureStatus;
โคพ overrides IFeatureRegistry.getFeatureStatusโ
Get the status of a feature
function getFeatureStatus(string _nameKey) external viewreturns(bool)
Returns
bool
Arguments
Name | Type | Description |
_nameKey | string | is the key for the feature status mapping |
โคพ overrides IFeatureRegistry.setFeatureStatusโ
change a feature status
function setFeatureStatus(string _nameKey, bool _newStatus) external nonpayable onlyOwner
Arguments
Name | Type | Description |
_nameKey | string | is the key for the feature status mapping |
_newStatus | bool | is the new feature status |