Flow price: --
92b58a7510b74f156c58c785ad01fcddd99b1603a9d9ad9cd6552dd271531491

Transaction

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

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