chainline-contracts / chainline.contracts / HubContract / reservation_create

reservation_create

private fun reservation_create(expiry: BigInteger, value: BigInteger, recipient: ScriptHash): Reservation (source)

Creates a reserved funds object.

Parameters

expiry - timestamp of when the reserved funds get released automatically

value - the amount of GAS to hold in the reservation as a fixed8 int

recipient - the recipient wallet that the funds are reserved for

Return
the reserved funds object