Flow price: --
09c3a0ff06b84dabfafc66e1e49c3ffdfc0c7c977b4a97dbc04e06fd4adfbbbb

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 09c3a0ff06b84dabfafc66e1e49c3ffdfc0c7c977b4a97dbc04e06fd4adfbbbb:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
09c3a0ff06b84dabfafc66e1e49c3ffdfc0c7c977b4a97dbc04e06fd4adfbbbb
Status:
ERROR
Block height:
31763897
Block id:
9e560c549979efb9c4cca555de2cea2dc98a6201df8dd8628614f930eb89eb67
Timestamp:
Thursday 16 June 2022 at 04:51:18 UTC
()
Proposer:
Authorizers: