Flow price: --
cb486778b473ec5f8f96432eb15149fa6f70ddba72b804939d3ebd8d002bb3bc

Transaction

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

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

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

error: cannot infer type parameter: `T`
  --> cb486778b473ec5f8f96432eb15149fa6f70ddba72b804939d3ebd8d002bb3bc:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
cb486778b473ec5f8f96432eb15149fa6f70ddba72b804939d3ebd8d002bb3bc
Status:
ERROR
Block height:
31791898
Block id:
476a40370696d0341a9a10c1a4c1757f8503d4be551c381f743010d432d872ec
Timestamp:
Thursday 16 June 2022 at 16:05:37 UTC
()
Proposer:
Authorizers: