Flow price: --
1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5

Transaction

Hash: 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find type in this scope: `NonFungibleToken`
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:20:34
   |
20 |     let recipientCollectionRef: &{NonFungibleToken.Receiver}
   |                                   ^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:20:33
   |
20 |     let recipientCollectionRef: &{NonFungibleToken.Receiver}
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `NonFungibleToken`
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:29:82
   |
29 |         self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>(
   |                                                                                   ^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous intersection type
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:29:81
   |
29 |         self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>(
   |                                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:29:38
   |
29 |         self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>(
30 |                 /public/exampleNFTCollection
31 |             ) ?? panic("Could not get receiver reference to the NFT Collection")
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `name`
  --> 1fc56064e0bbccafd8fcdd5c577c6238834084276c9b4b56b63ef02080e6cee5:38:18
   |
38 |             name: name,
   |                   ^^^^ not found in this scope


Loading...
0

Loading...