Flow price: --
6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97

Transaction

Hash: 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> 8f3e345219de6fed.NFL:93:20
   |
93 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT  
   |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> 8f3e345219de6fed.NFL:110:27
    |
110 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find variable in this scope: `NFL`
 --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:8:42
  |
8 |                         let collection <- NFL.createEmptyCollection()
  |                                           ^^^ not found in this scope

error: mismatched types for type parameter
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:11:64
   |
11 |                         acct.save<@NonFungibleToken.Collection>(<-collection, to: /storage/NFLCollection)
   |                                                                 ^^^^^^^^^^^^ type parameter T is bound to `NonFungibleToken.Collection`, but got `<<invalid>>` here

error: cannot find type in this scope: `NFL`
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:17:35
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                                    ^^^ not found in this scope

error: cannot find type in this scope: `NFL`
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:17:85
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                                                                                      ^^^ not found in this scope

error: cannot find variable in this scope: `NFL`
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:17:111
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                                                                                                                ^^^ not found in this scope

error: cannot find variable in this scope: `NFL`
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:17:145
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                                                                                                                                                  ^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97:17:24
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
6177ac41719c7b5bcafbb42c736477bc2e55f7e7e7046ee76903c0570a8f2a97
Status:
ERROR
Block height:
31782624
Block id:
c6199f9c532c376ad4649c4f3864e3373469f7a48fd96cd1bbcd21706bdcf652
Timestamp:
Thursday 16 June 2022 at 12:26:28 UTC
()
Proposer:
Authorizers: