Flow price: --
da36556920418cc583750f6aae18c2a6649aa4f826b60a4e0a43d90a08357164

Transaction

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

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

error: cannot find variable in this scope: `TMNFT`
  --> da36556920418cc583750f6aae18c2a6649aa4f826b60a4e0a43d90a08357164:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
da36556920418cc583750f6aae18c2a6649aa4f826b60a4e0a43d90a08357164
Status:
ERROR
Block height:
31761205
Block id:
5a6210eb805f8ffc88b7b605137a1bf06c270651f635b5b4ab3b7603af73e4ea
Timestamp:
Thursday 16 June 2022 at 03:49:13 UTC
()
Proposer:
Authorizers: