Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1a3e4a1e97d0d113a9ad991241bb94e1c6e967cda797c70ec75ed6b3d0fecbbe:36:10
|
36 | createListing(seller, storefront, request, paymentReceiver, nftRef, typeRef)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1a3e4a1e97d0d113a9ad991241bb94e1c6e967cda797c70ec75ed6b3d0fecbbe:66:2
|
66 | storefront.createListing(
67 | nftProviderCapability: collectionCap,
68 | paymentReceiver: paymentReceiver,
69 | nftType: typeCache[r.nftTypeIdentifier]!,
70 | nftID: r.nftID,
71 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
72 | price: r.price,
73 | customID: r.customID,
74 | expiry: UInt64(getCurrentBlock().timestamp) + r.expiry,
75 | buyer: r.buyerAddress
76 | )
| ^
--> 3cdbb3d569211ff3.NFTStorefrontV2:618:17
|
618 | let nftRef = collectionRef.borrowNFT(nftID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 12450e4bb3b7666e.Genies:92:22
|
92 | Genies.recoveryPanic("Collection.borrowNFT")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Contract Genies is no longer functional. A version of the contract has been recovered to allow access to the fields declared in the NFT standard. Collection.borrowNFT is not available in recovered program.
--> 12450e4bb3b7666e.Genies:9:25
|
9 | return panic(
10 | "Contract Genies is no longer functional. A version of the contract has been recovered to allow access to the fields declared in the NFT standard. ".concat(functionName).concat(" is not available in recovered program.")
11 | )
| ^^^^^^^^^^^^^^