chainline-contracts / chainline.contracts / HubContract / demand_getStorageKey

demand_getStorageKey

private fun Hash160.demand_getStorageKey(): ByteArray (source)

Gets the storage key for a Demand, which is essentially just the city pair hash with a suffix. This is called on the city pair hash.

Return
the storage key (city pair hash + 1 byte suffix)