Flow price: --
f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b

Transaction

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

error: mismatched types for type parameter
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b: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`
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b: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`
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b: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`
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b: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`
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b: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`
  --> f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b:17:24
   |
17 |                         acct.link<&TMNFT.Collection{NonFungibleToken.CollectionPublic, TMNFT.TMNFTCollectionPublic}>(TMNFT.CollectionPublicPath, target: TMNFT.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
f5ea2a3cb37ca6f1dce512be78ec99c8d414c7d6e5f95481d5b91eb931555a4b
Status:
ERROR
Block height:
31828608
Block id:
c37b90c1641facf52d3d823af2cbb5f5a1c97cb7feae41b8a98ffb1a5bf2e66f
Timestamp:
Friday 17 June 2022 at 10:19:49 UTC
()
Proposer:
Authorizers: