Skip to content

Cancel all listings for a specific NFT #533

Description

@pamungkaski

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions