Flow price: --
2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557

Transaction

Hash: 2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557
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`
 --> 2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557:9:57
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                                          ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
 --> 2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557:9:81
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                                                                  ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557:9:44
  |
9 |                         let collectionRef = acct.borrow<&TMNFT.Collection>(from: TMNFT.CollectionStoragePath)
  |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `TMNFT`
  --> 2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557:17:104
   |
17 |                         let receiverRef = recipient.getCapability<&{NonFungibleToken.CollectionPublic}>(TMNFT.CollectionPublicPath)
   |                                                                                                         ^^^^^ not found in this scope
Hash:
2a763db0a7d4f6fb9beb17253f7211c39d84fa69718023fbb0f630e9bd43c557
Status:
ERROR
Block height:
31758876
Block id:
4285db71f24db449227bb1a43a19a1645f77ffecb54bc5967b52a64aa73eb97a
Timestamp:
Thursday 16 June 2022 at 02:55:00 UTC
()
Proposer:
Authorizers: