Flow price: --
e7174ffd1934cd23a7fac6c3b61ad04e0016705b466c391b27eb7c5fbfce77ed

Transaction

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

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