Flow price: --
1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc

Transaction

Hash: 1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> a8d1a60acba12a20.TMNFT:91:20
   |
91 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT  
   |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> a8d1a60acba12a20.TMNFT:108:27
    |
108 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `TMNFT`
 --> 1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc:9:57
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                                          ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
 --> 1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc:9:81
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                                                                  ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc:9:44
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `TMNFT`
  --> 1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
1c27111bc16e4b815194d410040b469224954e742557e49d7ccf734617bc79cc
Status:
ERROR
Block height:
31810214
Block id:
e433fd32bb4ab6e154763deb68cf176c6000a79c71ec09a9e64acf592f903b6a
Timestamp:
Friday 17 June 2022 at 00:27:39 UTC
()
Proposer:
Authorizers: