ArkProjectNFTs / ark-project

ArkProject is a liquidity layer for digital assets, uniting markets, empowering creators, and bridging the gap to mass adoption. Built on top of Starknet, ArkProject is designed to provide a fully decentralized and trustless orderbook on-chain.
https://arkproject.dev
Apache License 2.0
25 stars 18 forks source link

BUG: orderbook, listing order still exist but not indexed after accepting an order #328

Closed kwiss closed 6 months ago

kwiss commented 6 months ago

Describe the bug

It seems that we don't invalidate existing orders after user accept an offer

To Reproduce

Expected behavior

We should cancel any existing listing order when an order for a token is executed (not the offers as they still come with the token)