Registry for managing polymath feature switches (FeatureRegistry.sol)

View Source: contracts/FeatureRegistry.solarrow-up-right

↗ Extends: IFeatureRegistryarrow-up-right, ReclaimTokensarrow-up-right

FeatureRegistry

Contract Members

Constants & Variables

mapping(bytes32 => bool) public featureStatus;

Functions

getFeatureStatus

⤾ overrides IFeatureRegistry.getFeatureStatusarrow-up-right

Get the status of a feature

function getFeatureStatus(string _nameKey) external view
returns(bool)

Returns

bool

Arguments

Name

Type

Description

_nameKey

string

is the key for the feature status mapping

setFeatureStatus

⤾ overrides IFeatureRegistry.setFeatureStatusarrow-up-right

change a feature status

Arguments

Name

Type

Description

_nameKey

string

is the key for the feature status mapping

_newStatus

bool

is the new feature status

Last updated

Was this helpful?