Flow price: --
cb7c9454760b10a96da75a48579c313c9913f0f561b3dc333fa3fa83bcd6d081

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> cb7c9454760b10a96da75a48579c313c9913f0f561b3dc333fa3fa83bcd6d081:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
cb7c9454760b10a96da75a48579c313c9913f0f561b3dc333fa3fa83bcd6d081
Status:
ERROR
Block height:
31790645
Block id:
2ecbf20d7a7896460a9b11b35e13098656b6251c18272c378d5b176ee2fa1438
Timestamp:
Thursday 16 June 2022 at 15:35:59 UTC
()
Proposer:
Authorizers: