MarketplaceSEALED
?●&%$&□■~#╱◆▪~▪■%█╱&╳^░##○@?&~◆@▓*○■░&?□▒╱░▪●█╱#%!●□~▪◆%@▒╳~◇╱■□
Transaction ID
Execution Fee
0.00134 FLOWScript Arguments
0listingResourceIDUInt64
69269235055838
Cadence Script
1import NFTStorefrontV2 from 0x4eb8a10cb9f87357
2
3/// Transaction to facilitate the removal of listing by the listing owner. Listing owner should provide the
4/// `listingResourceID` that needs to be removed.
5///
6transaction(listingResourceID: UInt64) {
7
8 let storefront: auth(NFTStorefrontV2.RemoveListing) &{NFTStorefrontV2.StorefrontManager}
9
10 prepare(acct: auth(BorrowValue) &Account) {
11 self.storefront = acct.storage.borrow<auth(NFTStorefrontV2.RemoveListing) &NFTStorefrontV2.Storefront>(
12 from: NFTStorefrontV2.StorefrontStoragePath
13 ) ?? panic("The signer does not store an NFT Storefront V2 object at the path (NFTStorefrontV2.StorefrontStoragePath). "
14 .concat("The signer must initialize their account with this vault first!"))
15 }
16
17 execute {
18 self.storefront.removeListing(listingResourceID: listingResourceID)
19 }
20}