Function: applyMint(HedgeOrder hedgeOrder, bytes orderSignature)
This function adds the minting order.
Inputs
hedgeOrderControl: Fully controlled by the caller.
Constraints: Must be a valid minting 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 the storage.
Receive the asset 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 mints the token.
Rebalancing is not locked on the corresponding asset token.
Fee is recently collected on the corresponding asset token.