Flow price: --
13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381

Transaction

Hash: 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381
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 variable in this scope: `TMNFT`
 --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:8:42
  |
8 |                         let collection <- TMNFT.createEmptyCollection()
  |                                           ^^^^^ not found in this scope

error: mismatched types for type parameter
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:11:64
   |
11 |                         acct.save<@NonFungibleToken.Collection>(<-collection, to: /storage/TMNFTCollection)
   |                                                                 ^^^^^^^^^^^^ type parameter T is bound to `NonFungibleToken.Collection`, but got `<<invalid>>` here

error: cannot find type in this scope: `TMNFT`
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:17:35
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                    ^^^^^ not found in this scope

error: cannot find type in this scope: `TMNFT`
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:17:87
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                        ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:17:117
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                                                      ^^^^^ not found in this scope

error: cannot find variable in this scope: `TMNFT`
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:17:153
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                                                                                                                                                          ^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381:17:24
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
13107d2f2fdd74a8ffd3258ae6d235f0d17a745fc6a0c36a3e6b0c4db5c68381
Status:
ERROR
Block height:
31830005
Block id:
ce6018c3e30f33ba08ac7b1fc79f91f43893a8cb2a04efdf2cb1526194911899
Timestamp:
Friday 17 June 2022 at 11:03:45 UTC
()
Proposer:
Authorizers: