Flow price: --
b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329

Transaction

Hash: b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329
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`
 --> b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329: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`
 --> b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329:8:61
  |
8 |         if acct.borrow<&FanfareNFTContract.Collection>(from: FanfareNFTContract.CollectionStoragePath) == nil {
  |                                                              ^^^^^^^^^^^^^^^^^^ not found in this scope

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

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

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

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

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

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

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

error: cannot infer type parameter: `T`
  --> b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329:11:12
   |
11 |             acct.link<&{FanfareNFTContract.FanfareNFTCollectionPublic}>(FanfareNFTContract.CollectionPublicPath, target: FanfareNFTContract.CollectionStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
b0492e2b3715d0c6892c53ecaf76edddd5a12a4e74723235b1f9c7e2241b1329
Status:
ERROR
Block height:
32163486
Block id:
f453ca8f30ff11eae8a7aa3ffcf0a23f04b60f2642be603292766d83b983e5b4
Timestamp:
Saturday 25 June 2022 at 08:31:45 UTC
()
Proposer:
Authorizers: