Flow price: --
3b1732b01efaa5a449eb6643930b8f9b3e0d4d71195dc60c903f7dad0c195ede

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 3b1732b01efaa5a449eb6643930b8f9b3e0d4d71195dc60c903f7dad0c195ede:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
3b1732b01efaa5a449eb6643930b8f9b3e0d4d71195dc60c903f7dad0c195ede
Status:
ERROR
Block height:
31813038
Block id:
d95b88f4631bcbc2612fd261d65d83c117928f8e59f2ebf3b527ac8abc710f7d
Timestamp:
Friday 17 June 2022 at 01:54:40 UTC
()
Proposer:
Authorizers: