Flow price: --
589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f

Transaction

Hash: 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f
error
Error

Whoops! 😨 Something unexpected happened...

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

error: mismatched types
  --> 4c44f3b1e4e70b20.FanfareNFTContract:97:27
   |
97 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
   |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `FanfareNFTContract`
 --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:8:24
  |
8 |         if acct.borrow<&FanfareNFTContract.Collection>(from: FanfareNFTContract.CollectionStoragePath) == nil {
  |                         ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FanfareNFTContract`
 --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:8:61
  |
8 |         if acct.borrow<&FanfareNFTContract.Collection>(from: FanfareNFTContract.CollectionStoragePath) == nil {
  |                                                              ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:8:11
  |
8 |         if acct.borrow<&FanfareNFTContract.Collection>(from: FanfareNFTContract.CollectionStoragePath) == nil {
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `FanfareNFTContract`
 --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:9:78
  |
9 |             let collection <- FanfareNFTContract.createEmptyCollection() as! @FanfareNFTContract.Collection
  |                                                                               ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FanfareNFTContract`
 --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:9:30
  |
9 |             let collection <- FanfareNFTContract.createEmptyCollection() as! @FanfareNFTContract.Collection
  |                               ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FanfareNFTContract`
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:10:40
   |
10 |             acct.save(<-collection, to: FanfareNFTContract.CollectionStoragePath)
   |                                         ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `FanfareNFTContract`
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:11:24
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^ not found in this scope

error: ambiguous restricted type
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:11:23
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `FanfareNFTContract`
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:11:72
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |                                                                         ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `FanfareNFTContract`
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:11:121
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |                                                                                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f:11:12
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
589da56aa531e6faab71d4bd6fae7e2a22c0b8dbbd45dc0ac60d92149be5fa3f
Status:
ERROR
Block height:
33537207
Block id:
599958b19ce4afb4d8a47d0b16aacfa2102c650a8480681676765f5413c1b8f4
Timestamp:
Sunday 17 July 2022 at 16:36:18 UTC
()
Proposer:
Authorizers: