Flow price: --
076e4fb402cd91079c9fb51f04732aed2fe9e139c4cf9d72de85e0b94eabf428

Transaction

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

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

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

error: cannot infer type parameter: `T`
  --> 076e4fb402cd91079c9fb51f04732aed2fe9e139c4cf9d72de85e0b94eabf428:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
076e4fb402cd91079c9fb51f04732aed2fe9e139c4cf9d72de85e0b94eabf428
Status:
ERROR
Block height:
31803391
Block id:
d682b28697c89eb064648c2e33e47f3103bfc286384116bc4eb70dc819bf3cbe
Timestamp:
Thursday 16 June 2022 at 21:00:41 UTC
()
Proposer:
Authorizers: