Flow price: --
764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb

Transaction

Hash: 764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb
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`
 --> 764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb:6:36
  |
6 |                     let minterRef: &TMNFT.NFTMinter
  |                                     ^^^^^ not found in this scope

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

error: cannot find type in this scope: `TMNFT`
  --> 764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb: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`
  --> 764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb:13:77
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                                                              ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
764a77dea3f70c433d055c51fe77be42a907389667ed197ea2704eaeb173e4eb
Status:
ERROR
Block height:
31810421
Block id:
b0c6db0be0f404b6799aa2076f81c7cf29d8504f2adebcf49ad9444c4867256c
Timestamp:
Friday 17 June 2022 at 00:34:07 UTC
()
Proposer:
Authorizers: