Function: applyRedeem(HedgeOrder hedgeOrder, bytes orderSignature)
This function adds the redemption order.
Inputs
hedgeOrderControl: Fully controlled by the caller.
Constraints: Must be a valid redemption hedge order.
Impact: Specifies the hedge order to add.
orderSignatureControl: Fully controlled by the caller.
Constraints: Must be a valid signature for the hash.
Impact: Specifies the signature for the hedge order.
Branches and code coverage
Intended branches
Add the order to storage.
Receive the USSI token from the caller.
Negative behavior
The caller is a participant.
The caller is the requester of the given hedge order.
Given hedge order is valid.
Given hedge order redeems the token.