Function: checkOrderInfo(OrderInfo orderInfo)
This function validates the given order.
Inputs
orderInfoControl: Controlled by the caller of the contracts that use the swap.
Constraints: Must be valid.
Impact: Specifies the order to validate.
Branches and code coverage
Intended branches
Validate the order.
Negative behavior
Deadline of the order has not passed.
Order hash in the
OrderInfomatches the actual hash.Given order is signed by the maker.
Order is not duplicated.
Maker of the order has the maker role.
Output addresses are whitelisted.
Order is submitted to the correct chain.
Input and output tokens are whitelisted.