Flow price: --
22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47

Transaction

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

error: mismatched types for type parameter
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47: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`
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47: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`
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47: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`
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47: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`
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47: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`
  --> 22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47:17:24
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
22f047f4ade15acf6173e315749fb644b6038bde93cc51b21eb4e1a79da48b47
Status:
ERROR
Block height:
31773165
Block id:
97665dad22825eb15ff3b5f5a5b39f96c52185393a645b0dbed832e442819f18
Timestamp:
Thursday 16 June 2022 at 08:42:53 UTC
()
Proposer:
Authorizers: