Flow price: --
ec0065d2934611b4a29c833e84e9f7e0d0f29356d84e873d2b996b3cae7b5fb0

Transaction

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

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

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

error: cannot infer type parameter: `T`
  --> ec0065d2934611b4a29c833e84e9f7e0d0f29356d84e873d2b996b3cae7b5fb0:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
ec0065d2934611b4a29c833e84e9f7e0d0f29356d84e873d2b996b3cae7b5fb0
Status:
ERROR
Block height:
31789886
Block id:
d60e8a9da90d59bf024502b8c9b9fbbe97b76ebf0c892f479a48825b6f593bea
Timestamp:
Thursday 16 June 2022 at 15:18:17 UTC
()
Proposer:
Authorizers: