Flow price: --
4bf14f20f10afa0c703e712c7d747d2c76367e1be4734b1e7d4de8b78071f864

Transaction

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

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

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

error: cannot infer type parameter: `T`
  --> 4bf14f20f10afa0c703e712c7d747d2c76367e1be4734b1e7d4de8b78071f864:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
4bf14f20f10afa0c703e712c7d747d2c76367e1be4734b1e7d4de8b78071f864
Status:
ERROR
Block height:
31775579
Block id:
8fa9e17c1f0763e0396aa13aabf5abbc7a139af42b378248255262d8dce75b13
Timestamp:
Thursday 16 June 2022 at 09:39:52 UTC
()
Proposer:
Authorizers: