Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 15b0d64ff4c672c8d9eb083d2e48f3c7e447b57e04619d2e2898e155ab8e5d61:101:12
|
101 | self.storefront.createListing(
102 | nftProviderCapability: self.nftProvider!,
103 | nftType: Type<@PackNFT.NFT>(),
104 | nftID: UInt64(packNftID),
105 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
106 | saleCuts: saleCuts,
107 | marketplacesCapability: nil,
108 | customID: self.customID,
109 | commissionAmount: self.commissionAmount,
110 | expiry: 32503708800 // year 3000
111 | )
| ^
--> 2d55b98eb200daef.NFTStorefrontV2:573:34
|
573 | let listing <- create Listing(
574 | nftProviderCapability: nftProviderCapability,
575 | nftType: nftType,
576 | nftUUID: uuid,
577 | nftID: nftID,
578 | salePaymentVaultType: salePaymentVaultType,
579 | saleCuts: saleCuts,
580 | marketplacesCapability: marketplacesCapability,
581 | storefrontID: self.uuid,
582 | customID: customID,
583 | commissionAmount: commissionAmount,
584 | expiry: expiry
585 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 2d55b98eb200daef.NFTStorefrontV2:463:27
|
463 | self.details = ListingDetails(
464 | nftType: nftType,
465 | nftUUID: nftUUID,
466 | nftID: nftID,
467 | salePaymentVaultType: salePaymentVaultType,
468 | saleCuts: saleCuts,
469 | storefrontID: storefrontID,
470 | customID: customID,
471 | commissionAmount: commissionAmount,
472 | expiry: expiry
473 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Cannot borrow receiver
--> 2d55b98eb200daef.NFTStorefrontV2:205:23
|
205 | ?? panic("Cannot borrow receiver")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^