Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> de8edff917af4552d0c2ff501b0a4b66cda9b0e6c600001da8f54bfe4083536a:70:8
|
70 | self.storefront.createListing(
71 | nftProviderCapability: self.NFL_NFTProvider!,
72 | nftType: Type<@NFL_NFT.NFT>(),
73 | nftID: saleItemID,
74 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
75 | saleCuts: [saleCut, royaltyCut]
76 | )
| ^
--> 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")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^