interchain-token-service

Solidity API

ItsHubAddressTracker

This contract is used to track the address of ITS Hub, and it uses immutable variables to save gas.

itsHubAddressHash

bytes32 itsHubAddressHash

The ITS Hub Address Hash

ADDRESS_LENGTH

uint256 ADDRESS_LENGTH

PREFIX_OFFSET

uint256 PREFIX_OFFSET

MIDDLE_OFFSET

uint256 MIDDLE_OFFSET

SUFFIX_OFFSET

uint256 SUFFIX_OFFSET

constructor

constructor(string hubAddress) internal

itsHubAddress

function itsHubAddress() public view returns (string hubAddress)

Getter for the ITS Hub address.

Needs to be overwritten.

Return Values

Name Type Description
hubAddress string The ITS Hub address.