Flow price: --
bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882

Transaction

Hash: bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882
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`
 --> bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882: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`
 --> bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882:9:81
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                                                                  ^^^^^ not found in this scope

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

error: cannot find variable in this scope: `TMNFT`
  --> bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
bc164f5cb79a908b832b9a9e80555d9ec3965f5f87c0edf045449ebe658ea882
Status:
ERROR
Block height:
31796952
Block id:
3e156d8153b6e18cba6ea7c5edce203bd074f10064bbf186fddd27efb678b545
Timestamp:
Thursday 16 June 2022 at 18:05:45 UTC
()
Proposer:
Authorizers: