Flow price: --
0138dca1eca7ebaeeab8dfcec594225de4c8caa9a7cf6e9e5d78f783128ff22f

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> 0138dca1eca7ebaeeab8dfcec594225de4c8caa9a7cf6e9e5d78f783128ff22f:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
0138dca1eca7ebaeeab8dfcec594225de4c8caa9a7cf6e9e5d78f783128ff22f
Status:
ERROR
Block height:
31829746
Block id:
e8fccbecd6b850bc7dc525e9b8ff5b34767edc50fdccadf76e4efabc14b31fb3
Timestamp:
Friday 17 June 2022 at 10:55:26 UTC
()
Proposer:
Authorizers: