Regarding Cancel
The code
|
// Update the order status as not valid and cancelled. |
|
orderStatus.isValidated = false; |
|
orderStatus.isCancelled = true; |
So cancelation is only marking this hash to be cancled and not active, which means if the user already lowered a listing several time, like a true degen, they will need to cancel every single listing they made while lowering. Is it possible to use a nonce canceling instead of hash canceling, so basically each lowered listing will have the same nonce, hence when once is cancelled on chain, every single one of them is also canceled.
I am thinking of doing that cancelation on the zone. but I am kinda curious why we don't use this nonce cancelation method instead of hash canceling cus it kinda save more gas. CMIIW
Regarding Cancel
The code
seaport/contracts/lib/OrderValidator.sol
Lines 358 to 360 in 171f2cd
So cancelation is only marking this hash to be cancled and not active, which means if the user already lowered a listing several time, like a true degen, they will need to cancel every single listing they made while lowering. Is it possible to use a nonce canceling instead of hash canceling, so basically each lowered listing will have the same nonce, hence when once is cancelled on chain, every single one of them is also canceled.
I am thinking of doing that cancelation on the zone. but I am kinda curious why we don't use this nonce cancelation method instead of hash canceling cus it kinda save more gas. CMIIW