Flow price: --
49e430454253ed2cde2b28601557056859a3abb6b16d219a357a0edbf271a022

Transaction

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

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