Flow price: --
dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb

Transaction

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

error: mismatched types for type parameter
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb: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`
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb: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`
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb: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`
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb: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`
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb: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`
  --> dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb:17:24
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
dbd6d0bce9e13e5bdf6fe9073e0c9b1b3a84fb8a259949b9ab50ee3e78742dfb
Status:
ERROR
Block height:
31804481
Block id:
848440b49ee6cc4de70a1d5a712a623dff9c6b51f8667ebe79bb0dc3e5844785
Timestamp:
Thursday 16 June 2022 at 21:31:14 UTC
()
Proposer:
Authorizers: