onflow / nft-storefront

A general-purpose Cadence contract for trading NFTs on Flow
The Unlicense
102 stars 53 forks source link

Adds `burnCallback` function to emit `ListingCompleted` events #99

Closed joshuahannan closed 3 months ago

joshuahannan commented 3 months ago

Closes #100

In the Cadence 0.42 version of both NFTStorefront contracts, the destroy method would emit the ListingCompleted event whenever a Listing was destroyed. This PR adds that functionality to the 1.0 versions to continue to behave in the same way.