Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 4ff8625e15b91c9f2b6b15080029bb765a19d2a09cbc086fad89281fa1e5a5e5:102:8
|
102 | self.storefront.createListing(
103 | nftProviderCapability: self.nftProvider,
104 | nftType: Type<@MFLPlayer.NFT>(),
105 | nftID: saleItemID,
106 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
107 | saleCuts: [saleCutSeller, saleCutRoyalty]
108 | )
| ^
--> 4eb8a10cb9f87357.NFTStorefront:422:34
|
422 | let listing <- create Listing(
423 | nftProviderCapability: nftProviderCapability,
424 | nftType: nftType,
425 | nftID: nftID,
426 | salePaymentVaultType: salePaymentVaultType,
427 | saleCuts: saleCuts,
428 | storefrontID: self.uuid
429 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Could not borrow a reference to the NFT
--> 4eb8a10cb9f87357.NFTStorefront:357:12
|
357 | assert(nft != nil, message: "Could not borrow a reference to the NFT")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^