AppChainParameterRegistry

Git Source

Inherits: IAppChainParameterRegistry, ParameterRegistry

An AppChainParameterRegistry is a parameter registry used by the protocol contracts on an app chain.

Functions

migratorParameterKey

The parameter registry key used to fetch the migrator.

Uniquely, the parameter registry uses itself, so the key-value pair is stored in the contract itself.

function migratorParameterKey()
    public
    pure
    override(IParameterRegistry, ParameterRegistry)
    returns (string memory key_);

Returns

NameTypeDescription
key_stringThe key of the migrator parameter.

adminParameterKey

The parameter registry key used to fetch the status of an admin.

Uniquely, the parameter registry uses itself, so the key-value pair is stored in the contract itself.

function adminParameterKey() public pure override(IParameterRegistry, ParameterRegistry) returns (string memory key_);

Returns

NameTypeDescription
key_stringThe key of the admin parameter, which is a component of the full key, when prefixing an address.