Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 5487cc090997ed8901d33a9779f5ef14092b5c723c8ac15e9c82590d61d3bc9c:66:8
|
66 | storefront.createListing(
67 | nftProviderCapability: self.providerCap,
68 | nftType: nft.getType(),
69 | nftID: nftId,
70 | salePaymentVaultType: Type<@FlowToken.Vault>(),
71 | saleCuts: self.saleCuts,
72 | marketplacesCapability: nil,
73 | customID: nil,
74 | commissionAmount: 0.0,
75 | expiry: UInt64(getCurrentBlock().timestamp) + 86400 // valid for one day
76 | )
| ^
--> 6225830c8c0957ba.NFTStorefrontV2:575:34
|
575 | let listing <- create Listing(
576 | nftProviderCapability: nftProviderCapability,
577 | nftType: nftType,
578 | nftUUID: uuid,
579 | nftID: nftID,
580 | salePaymentVaultType: salePaymentVaultType,
581 | saleCuts: saleCuts,
582 | marketplacesCapability: marketplacesCapability,
583 | storefrontID: self.uuid,
584 | customID: customID,
585 | commissionAmount: commissionAmount,
586 | expiry: expiry
587 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 6225830c8c0957ba.NFTStorefrontV2:465:27
|
465 | self.details = ListingDetails(
466 | nftType: nftType,
467 | nftUUID: nftUUID,
468 | nftID: nftID,
469 | salePaymentVaultType: salePaymentVaultType,
470 | saleCuts: saleCuts,
471 | storefrontID: storefrontID,
472 | customID: customID,
473 | commissionAmount: commissionAmount,
474 | expiry: expiry
475 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Cannot borrow receiver
--> 6225830c8c0957ba.NFTStorefrontV2:205:23
|
205 | ?? panic("Cannot borrow receiver")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^