Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> d4a7b2768f9c27b8564583c705a8ed90b8eb86445d65b4363e4439a015a704b3:39:4
|
39 | self.adminResource.rent(saleCollectionAddress: saleCollectionAddress, tokenID: tokenID, price: price, recipient: self.receiverCollection, paymentID: paymentID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> e3faea00c5bb8d7d.TrmMarketV2_2:678:19
|
678 | return saleCollectionCapability.rent(tokenID: tokenID, price: price, recipient: recipient, paymentID: paymentID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: No token matching this ID for rent!
--> e3faea00c5bb8d7d.TrmMarketV2_2:440:16
|
440 | self.rentListings.containsKey(tokenID):
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^