Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 6f9697d1b4765aa8809a37252f823333831b0bf09e0aef15d1988b9f5df2193d:36:10
|
36 | createListing(seller, storefront, request, paymentReceiver, nftRef, typeRef)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 6f9697d1b4765aa8809a37252f823333831b0bf09e0aef15d1988b9f5df2193d: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 | )
| ^^^^^^^^^^^^^^