Flow price: --
66d449c29cd563ac66a1188c43ccfb44e1bb71185d1c00743fbb6f67b7d0d310

Transaction

Hash: 66d449c29cd563ac66a1188c43ccfb44e1bb71185d1c00743fbb6f67b7d0d310
error
Error

Whoops! 😨 Something unexpected happened...

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

error: mismatched types
   --> 058ab2d5d9808702.BLUES:130:23
    |
130 |             let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                        ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> 058ab2d5d9808702.BLUES:148:23
    |
148 |             let nft = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                        ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

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

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

error: cannot find type in this scope: `BLUES`
  --> 66d449c29cd563ac66a1188c43ccfb44e1bb71185d1c00743fbb6f67b7d0d310:11:35
   |
11 |                         acct.save<@BLUES.Collection>(<-collection, to: /storage/BLUESCollection)
   |                                    ^^^^^ not found in this scope

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

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

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

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

error: cannot infer type parameter: `T`
  --> 66d449c29cd563ac66a1188c43ccfb44e1bb71185d1c00743fbb6f67b7d0d310:17:24
   |
17 |                         acct.link<&BLUES.Collection{NonFungibleToken.CollectionPublic, BLUES.BLUESCollectionPublic}>(BLUES.CollectionPublicPath, target: BLUES.CollectionStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
66d449c29cd563ac66a1188c43ccfb44e1bb71185d1c00743fbb6f67b7d0d310
Status:
ERROR
Block height:
31774271
Block id:
d64fb9922ea8db9e2fde6275e2c10af3b2dced542192b249461bf834c47901b5
Timestamp:
Thursday 16 June 2022 at 09:09:02 UTC
()
Proposer:
Authorizers: