SettlementChainParameterRegistry
Inherits: ISettlementChainParameterRegistry, ParameterRegistry
A SettlementChainParameterRegistry is a parameter registry used by the protocol contracts on the settlement 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
| Name | Type | Description |
|---|---|---|
key_ | string | The 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
| Name | Type | Description |
|---|---|---|
key_ | string | The key of the admin parameter, which is a component of the full key, when prefixing an address. |
version
Returns semver version string
function version() external pure returns (string memory version_);
Returns
| Name | Type | Description |
|---|---|---|
version_ | string | The semver version string |
contractName
Returns contract name
function contractName() external pure returns (string memory contractName_);
Returns
| Name | Type | Description |
|---|---|---|
contractName_ | string | The contract name |