Flow price: --
587fdad4a01fe03ce5ecaa065b2ca0c504e6050cfb66a8a2a3801ae1f7c20a0d

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 587fdad4a01fe03ce5ecaa065b2ca0c504e6050cfb66a8a2a3801ae1f7c20a0d:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
587fdad4a01fe03ce5ecaa065b2ca0c504e6050cfb66a8a2a3801ae1f7c20a0d
Status:
ERROR
Block height:
31754477
Block id:
e9f7c03e7c9a06276e61a5180d3ecf56f673d6a3cd76cd20dcfdf5c97dc0d355
Timestamp:
Thursday 16 June 2022 at 01:12:40 UTC
()
Proposer:
Authorizers: