Flow price: --
3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03

Transaction

Hash: 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03
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 variable in this scope: `TMNFT`
 --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:8:42
  |
8 |                         let collection <- TMNFT.createEmptyCollection()
  |                                           ^^^^^ not found in this scope

error: mismatched types for type parameter
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:11:64
   |
11 |                         acct.save<@NonFungibleToken.Collection>(<-collection, to: /storage/TMNFTCollection)
   |                                                                 ^^^^^^^^^^^^ type parameter T is bound to `NonFungibleToken.Collection`, but got `<<invalid>>` here

error: cannot find type in this scope: `TMNFT`
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:17:35
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                    ^^^^^ not found in this scope

error: cannot find type in this scope: `TMNFT`
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:17:87
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                        ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:17:117
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                                                      ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:17:153
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                                                                                          ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03:17:24
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
3004f1259cb229117079678b9b5bb2c11641114205b36fa31c24fa673345ba03
Status:
ERROR
Block height:
31757113
Block id:
5e532b4f3089afdc773b3871e1654d1a8ea8eb12b83b93f19a82efef2a658fe6
Timestamp:
Thursday 16 June 2022 at 02:13:56 UTC
()
Proposer:
Authorizers: