chainline-contracts / chainline.contracts / HubContract / demand_reserveValueAndFee2

demand_reserveValueAndFee2

private fun Demand.demand_reserveValueAndFee2(owner: ScriptHash, matchedTravel: Travel): Unit (source)

Reserves the item's value and reward fee for a new demand. This form of the method is used when a Travel was found to be matched with the Demand.

Parameters

owner - the owner of the demand

matchedTravel - the travel that was matched with the demand