Function: makerConfirmSwapRequest(OrderInfo orderInfo, bytes[] outTxHashs)
This function confirms the swap from the maker's side.
Inputs
orderInfoControl: Fully controlled by the caller.
Constraints: Must be a pending order.
Impact: Specifies the order to confirm.
outTxHashsControl: Fully controlled by the caller.
Constraints: Must have a number of elements equal to the number of outputs.
Impact: Specifies the output transactions if
outByContractis false.
Branches and code coverage
Intended branches
Change the status of the order to maker-confirmed.
Execute the output transactions if
outByContractis true.
Negative behavior
The caller is a maker.
Given order hash matches the actual hash.
The caller is the maker of the given order.