Flow price: --
aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208

Transaction

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

error: mismatched types for type parameter
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208: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`
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208: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`
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208: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`
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208: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`
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208: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`
  --> aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208:17:24
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
aae197dc41f73ee89fae3a214bad8efd8c323e86968838c9629ac8e2623ef208
Status:
ERROR
Block height:
31754884
Block id:
43bb27947cb75e55e61d3c240fa3ee920ff0175bf9d19ef63e835d7b675f8d92
Timestamp:
Thursday 16 June 2022 at 01:21:56 UTC
()
Proposer:
Authorizers: