Flow price: --
59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88

Transaction

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

error: mismatched types for type parameter
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88: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`
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88: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`
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88: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`
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88: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`
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88: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`
  --> 59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88:17:24
   |
17 |                         acct.link<&NFL.Collection{NonFungibleToken.CollectionPublic, NFL.NFLCollectionPublic}>(NFL.CollectionPublicPath, target: NFL.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
59c976a1af71552218732aa780c621ecd2a5943d9f65d483dbc1c8a688e2fc88
Status:
ERROR
Block height:
31767720
Block id:
3d3fa6ec7e1929451a01a577380d5d5a152452b87b9d63b365e16cae80f35bfd
Timestamp:
Thursday 16 June 2022 at 06:35:32 UTC
()
Proposer:
Authorizers: