Flow price: --
92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461

Transaction

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

error: mismatched types for type parameter
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461: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`
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461: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`
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461: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`
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461: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`
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461: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`
  --> 92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461:17:24
   |
17 |                         acct.link<&TMB2B.Collection{NonFungibleToken.CollectionPublic, TMB2B.TMB2BCollectionPublic}>(TMB2B.CollectionPublicPath, target: TMB2B.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
92572b79486ef5c0434d7e663e23d0ae94060501b6e06aa4cf612dc9f5513461
Status:
ERROR
Block height:
31804592
Block id:
13c8f38daaa34f4748c8de8c87aeaae3cd95d00420106d6d5e792cc57f4027f0
Timestamp:
Thursday 16 June 2022 at 21:34:47 UTC
()
Proposer:
Authorizers: