Flow price: --
263334bc84c86109aaafb263e6afd7d3db6696f21b75c5e3f4ad70a4fb25f935

Transaction

Hash: 263334bc84c86109aaafb263e6afd7d3db6696f21b75c5e3f4ad70a4fb25f935
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
  --> e3ac5e6a6b6c63db.TMB2B:92:20
   |
92 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT  
   |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> e3ac5e6a6b6c63db.TMB2B:109:27
    |
109 |                 let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                            ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find variable in this scope: `TMB2B`
 --> 263334bc84c86109aaafb263e6afd7d3db6696f21b75c5e3f4ad70a4fb25f935:8:42
  |
8 |                         let collection <- TMB2B.createEmptyCollection()
  |                                           ^^^^^ not found in this scope

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

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

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

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

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

error: cannot infer type parameter: `T`
  --> 263334bc84c86109aaafb263e6afd7d3db6696f21b75c5e3f4ad70a4fb25f935:17:24
   |
17 |                         acct.link<&TMB2B.Collection{NonFungibleToken.CollectionPublic, TMB2B.TMB2BCollectionPublic}>(TMB2B.CollectionPublicPath, target: TMB2B.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
263334bc84c86109aaafb263e6afd7d3db6696f21b75c5e3f4ad70a4fb25f935
Status:
ERROR
Block height:
31798939
Block id:
8de18a19540a60fd03d468b5ef3f1614dfc02f736d60e82b6f9958d471d967b1
Timestamp:
Thursday 16 June 2022 at 18:58:04 UTC
()
Proposer:
Authorizers: