Flow price: --
220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e

Transaction

Hash: 220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e
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`
  --> 220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e:11:17
   |
11 |     let minter: &NowggNFT.NFTMinter
   |                  ^^^^^^^^ not found in this scope

error: cannot find type in this scope: `NowggNFT`
  --> 220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e: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`
  --> 220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e:16:63
   |
16 |         self.minter = signer.borrow<&NowggNFT.NFTMinter>(from: NowggNFT.MinterStoragePath)
   |                                                                ^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 220f538192c30127d796a41c2134fd38509e07e124ca331bd9bc529c2b7ada6e:16:22
   |
16 |         self.minter = signer.borrow<&NowggNFT.NFTMinter>(from: NowggNFT.MinterStoragePath)
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Loading...
0

Loading...

1

Loading...