Flow price: --
879cf64e10020af10cfbc1787612a7d87f0724eeb3bf656f0c5c419a5eb18edd

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 879cf64e10020af10cfbc1787612a7d87f0724eeb3bf656f0c5c419a5eb18edd:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
879cf64e10020af10cfbc1787612a7d87f0724eeb3bf656f0c5c419a5eb18edd
Status:
ERROR
Block height:
31746129
Block id:
6457e72661746d470843d3c85e751bb3b07dac3d2a2cc09a4492e98ccff657ac
Timestamp:
Wednesday 15 June 2022 at 22:00:46 UTC
()
Proposer:
Authorizers: