chainline-contracts / chainline.contracts / HubContract / res_findByValueAndRecipient

res_findByValueAndRecipient

private fun ReservationList.res_findByValueAndRecipient(value: BigInteger, recipient: ScriptHash): Int (source)

Finds the reserved funds object with the given value and recipient in a ReservationList.

Parameters

value - the value to match as a fixed8 int

recipient - the recipient to match (AND)

Return
the index at which the Reservation is at in the ReservationList