Flow price: --
8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e

Transaction

Hash: 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e
error
Error

Whoops! 😨 Something unexpected happened...

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

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

error: cannot find type in this scope: `BlueBeltNFTs`
 --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:6:32
  |
6 |               if signer.borrow<&BlueBeltNFTs.Collection>(from: BlueBeltNFTs.CollectionStoragePath) == nil {
  |                                 ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `BlueBeltNFTs`
 --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:6:63
  |
6 |               if signer.borrow<&BlueBeltNFTs.Collection>(from: BlueBeltNFTs.CollectionStoragePath) == nil {
  |                                                                ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
 --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:6:17
  |
6 |               if signer.borrow<&BlueBeltNFTs.Collection>(from: BlueBeltNFTs.CollectionStoragePath) == nil {
  |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `BlueBeltNFTs`
 --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:9:36
  |
9 |                   let collection <- BlueBeltNFTs.createEmptyCollection()
  |                                     ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `BlueBeltNFTs`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:12:48
   |
12 |                   signer.save(<-collection, to: BlueBeltNFTs.CollectionStoragePath)
   |                                                 ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `BlueBeltNFTs`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:15:31
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                                ^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `BlueBeltNFTs`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:15:90
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                                                                                           ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `BlueBeltNFTs`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:15:134
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                                                                                                                                       ^^^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `BlueBeltNFTs`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:15:177
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                                                                                                                                                                                  ^^^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e:15:18
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
8bf67cd4b22c19f18a0e93ac31a439d888b838ab5d2c77db7c2659bf8ba8c92e
Status:
ERROR
Block height:
34637737
Block id:
4c05cfad21af4e839e4cecec696df2385c3a5ac4ef54016b66699b91646f4958
Timestamp:
Thursday 4 August 2022 at 12:34:10 UTC
()
Proposer:
Authorizers: