Flow price: --
6213bedcc510611e6c420f373f0e4d3bcce897d84fb2ed3b6d7dd070789467eb

Transaction

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

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

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