Flow price: --
742671fa24dc1dc9719c9b11edfdafbb3333a48007c036fa98583b199101c59e

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 742671fa24dc1dc9719c9b11edfdafbb3333a48007c036fa98583b199101c59e:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
742671fa24dc1dc9719c9b11edfdafbb3333a48007c036fa98583b199101c59e
Status:
ERROR
Block height:
31838684
Block id:
958f813c8a94b7cae83415c64c7d0ee1375cee4165122b5f94753d1ea3618412
Timestamp:
Friday 17 June 2022 at 15:42:12 UTC
()
Proposer:
Authorizers: