Flow price: --
395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014

Transaction

Hash: 395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014
error
Error

Whoops! 😨 Something unexpected happened...

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

error: mismatched types
   --> 85b8bbf926dcddfa.NowggNFT:171:27
    |
171 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `NowggNFT`
  --> 395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014:11:17
   |
11 |     let minter: &NowggNFT.NFTMinter
   |                  ^^^^^^^^ not found in this scope

error: cannot find type in this scope: `NowggNFT`
  --> 395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014:16:37
   |
16 |         self.minter = signer.borrow<&NowggNFT.NFTMinter>(from: NowggNFT.MinterStoragePath)
   |                                      ^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `NowggNFT`
  --> 395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014:16:63
   |
16 |         self.minter = signer.borrow<&NowggNFT.NFTMinter>(from: NowggNFT.MinterStoragePath)
   |                                                                ^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014:16:22
   |
16 |         self.minter = signer.borrow<&NowggNFT.NFTMinter>(from: NowggNFT.MinterStoragePath)
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
395761b6929494d1dcd0accf7b790bca2d597efd03e105d6a3a4f5c27ec6b014
Status:
ERROR
Block height:
31761112
Block id:
f37737a45f3dba4a73edddaf708be2ff4986c63058d58ca4ea315a13dbe9df7d
Timestamp:
Thursday 16 June 2022 at 03:47:06 UTC
()
Proposer:
Authorizers: