chainline-contracts / chainline.contracts / HubContract / travel_getLookupKey

travel_getLookupKey

private fun Travel.travel_getLookupKey(cityPairHash: Hash160, nowTime: Int): ByteArray (source)

Gets the key used to store the demand for tracking lookup. Tracking requires knowledge of the "identifier" and city pair.

Parameters

cityPairHash - the ripemd160 hash of: script hash (hex) (salt) + origin city + destination city (ascii)

Return
the lookup key for use with Storage