Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1159d074f48842e95ba6ece5f2f544e3859d60375dbea982698636002540522c:55:8
|
55 | self.storefront.createListing(
56 | nftProviderCapability: self.AllDayNFTProvider,
57 | nftType: Type<@AllDay.NFT>(),
58 | nftID: saleItemID,
59 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
60 | saleCuts: [saleCut, royaltyCut]
61 | )
| ^
--> 4eb8a10cb9f87357.NFTStorefront:402:34
|
402 | let listing <- create Listing(
403 | nftProviderCapability: nftProviderCapability,
404 | nftType: nftType,
405 | nftID: nftID,
406 | salePaymentVaultType: salePaymentVaultType,
407 | saleCuts: saleCuts,
408 | storefrontID: self.uuid
409 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: NFT does not exist in the collection!
--> 1d7e57aa55817448.NonFungibleToken:187:30