Flow price: --
124b1dbeb39fa21a84a1d4d5dda78a8549c0441c50c6c1bb3d730e4f247a672d

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 124b1dbeb39fa21a84a1d4d5dda78a8549c0441c50c6c1bb3d730e4f247a672d:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
124b1dbeb39fa21a84a1d4d5dda78a8549c0441c50c6c1bb3d730e4f247a672d
Status:
ERROR
Block height:
31835780
Block id:
80f9b387d0a9751055f46992751b19aea6345eaeaefeb34d1f55fb3caf6b3416
Timestamp:
Friday 17 June 2022 at 14:07:46 UTC
()
Proposer:
Authorizers: