Flow price: --
ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b

Transaction

Hash: ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b
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`
 --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b: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`
 --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b:6:63
  |
6 |               if signer.borrow<&BlueBeltNFTs.Collection>(from: BlueBeltNFTs.CollectionStoragePath) == nil {
  |                                                                ^^^^^^^^^^^^ not found in this scope

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

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

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

error: cannot find type in this scope: `BlueBeltNFTs`
  --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b: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`
  --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b: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`
  --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b: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`
  --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b: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`
  --> ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b:15:18
   |
15 |                   signer.link<&BlueBeltNFTs.Collection{NonFungibleToken.CollectionPublic, BlueBeltNFTs.BlueBeltNFTsCollectionPublic}>(BlueBeltNFTs.CollectionPublicPath, target: BlueBeltNFTs.CollectionStoragePath)
   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
ff946834256b25c425f830e0af6a5bd9fc43e3b5b1cc63c8472070793b4cfa7b
Status:
ERROR
Block height:
34656332
Block id:
7dd37b818da332d29ed37d178722ee27a830e3f4c333e13b20ba16b9ed65eb23
Timestamp:
Thursday 4 August 2022 at 19:49:19 UTC
()
Proposer:
Authorizers: