Flow price: --
8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893

Transaction

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

error: mismatched types for type parameter
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893: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`
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893: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`
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893: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`
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893: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`
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893: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`
  --> 8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893:17:24
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
8d84e8994d60011a062c3f96c72899ba01d2b2837f96c2a55710a7a24e986893
Status:
ERROR
Block height:
31775543
Block id:
3df2428ab7c80a62db47e1065d5fce18e15406a3e54f913d8f4f5cfad326611d
Timestamp:
Thursday 16 June 2022 at 09:39:02 UTC
()
Proposer:
Authorizers: