Flow price: --
bedd2981030427a9287a09809844ef520c79f9f1057304a99ce1b01690b5d998

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> bedd2981030427a9287a09809844ef520c79f9f1057304a99ce1b01690b5d998:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
bedd2981030427a9287a09809844ef520c79f9f1057304a99ce1b01690b5d998
Status:
ERROR
Block height:
31831765
Block id:
0b448778bd45c32ce7e6ddbc2a60107184c75a1c34334052307c4d23126d80a8
Timestamp:
Friday 17 June 2022 at 11:59:45 UTC
()
Proposer:
Authorizers: