Flow price: --
cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd

Transaction

Hash: cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd
error
Error

Whoops! 😨 Something unexpected happened...

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

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

error: cannot find type in this scope: `TMNFT`
 --> cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd:6:36
  |
6 |                     let minterRef: &TMNFT.NFTMinter
  |                                     ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
 --> cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd:9:100
  |
9 |                         self.receiverRef = acct.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
  |                                                                                                     ^^^^^ not found in this scope

error: cannot find type in this scope: `TMNFT`
  --> cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd:13:54
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                                       ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
  --> cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd:13:77
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                                                              ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
cc0177065219739ae66e4a24dd2c972ab72d5a66ebc835211e5a0e32d7e68cfd
Status:
ERROR
Block height:
31779298
Block id:
7386ecf7f1774f9bcd2996bf971b518eb8a817208fadc213aea0533c0d412696
Timestamp:
Thursday 16 June 2022 at 11:07:56 UTC
()
Proposer:
Authorizers: