Flow price: --
b8747198e61c054bfdf9b443951dee390c4f952456db4821fb55a2c4e6aad19b

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> b8747198e61c054bfdf9b443951dee390c4f952456db4821fb55a2c4e6aad19b:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
b8747198e61c054bfdf9b443951dee390c4f952456db4821fb55a2c4e6aad19b
Status:
ERROR
Block height:
31813192
Block id:
812c887f876d7e82707bcdd93e93f0580c8606785058c4c6a1ffe35d9e022198
Timestamp:
Friday 17 June 2022 at 02:00:12 UTC
()
Proposer:
Authorizers: