Flow price: --
6d21e49e0d40a7d4aedc6d2ed7c285abe9011df57e3581cf2a672544ef177e2e

Transaction

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

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

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

error: cannot infer type parameter: `T`
  --> 6d21e49e0d40a7d4aedc6d2ed7c285abe9011df57e3581cf2a672544ef177e2e:13:41
   |
13 |                         self.minterRef = acct.borrow<&TMNFT.NFTMinter>(from: TMNFT.MinterStoragePath)
   |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
6d21e49e0d40a7d4aedc6d2ed7c285abe9011df57e3581cf2a672544ef177e2e
Status:
ERROR
Block height:
31814166
Block id:
e4c562e8b66da264589601ee863bb65771a838502401c287f1c6cf5bd99270d5
Timestamp:
Friday 17 June 2022 at 02:32:58 UTC
()
Proposer:
Authorizers: