Flow price: --
c1e9788ec4278a7417774ca0b71a14d88a32257761fbf06f63f3a3bedcbabfea

Transaction

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

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