Smart Contract
MarketplaceCleaner
A.88dd257fcf26d3cc.MarketplaceCleaner
1pub contract MarketplaceCleaner {
2
3 pub var removed: {UInt64: UInt64}
4
5 pub event MarketplaceCleanerCleaned(storefrontResourceID: UInt64, nftId: UInt64)
6
7 init () {
8 self.removed = {}
9 }
10
11 pub fun clean(storefrontResourceID: UInt64, nftId: UInt64) {
12 self.removed[nftId] = storefrontResourceID
13 emit MarketplaceCleanerCleaned(storefrontResourceID: storefrontResourceID, nftId: nftId)
14 }
15}
16