ParameterKeys
A parameter key is a string that uniquely identifies a parameter.
State Variables
DELIMITER
The delimiter used to combine key components.
string internal constant DELIMITER = ".";
Functions
getKey
Combines an array of key components into a single key, using the delimiter.
function getKey(string[] memory keyComponents_) internal pure returns (string memory key_);
Parameters
| Name | Type | Description |
|---|---|---|
keyComponents_ | string[] | The key components to combine. |
Returns
| Name | Type | Description |
|---|---|---|
key_ | string | The combined key. |
combineKeyComponents
function combineKeyComponents(string memory left_, string memory right_) internal pure returns (string memory key_);
addressToKeyComponent
function addressToKeyComponent(address account_) internal pure returns (string memory keyComponent_);
uint256ToKeyComponent
function uint256ToKeyComponent(uint256 value_) internal pure returns (string memory keyComponent_);