The idea of this PR is to add BatchCancelOrders transition.
There is a new role introduced called Operator (In the case of Multi-Sig wallet, Admin can't call BatchCancelOrder transition due to various reasons, hence created a new role), BatchCancel can be done by the seller (for sell orders), the buyer (for buy orders), the admin & operator (for buy/sell orders).
While the seller/ buyer is trying to execute the BatchCancel transition, the contract should be in unpause status and should be in pause status while admin/operating is performing the same.
The idea of this PR is to add BatchCancelOrders transition.
There is a new role introduced called Operator (In the case of Multi-Sig wallet, Admin can't call BatchCancelOrder transition due to various reasons, hence created a new role), BatchCancel can be done by the seller (for sell orders), the buyer (for buy orders), the admin & operator (for buy/sell orders).
While the seller/ buyer is trying to execute the BatchCancel transition, the contract should be in unpause status and should be in pause status while admin/operating is performing the same.
Admin can manage the operator address.