This contract is used to track the address of ITS Hub, and it uses immutable variables to save gas.
bytes32 itsHubAddressHash
The ITS Hub Address Hash
uint256 ADDRESS_LENGTH
uint256 PREFIX_OFFSET
uint256 MIDDLE_OFFSET
uint256 SUFFIX_OFFSET
constructor(string hubAddress) internal
function itsHubAddress() public view returns (string hubAddress)
Getter for the ITS Hub address.
Needs to be overwritten.
Name | Type | Description |
---|---|---|
hubAddress | string | The ITS Hub address. |