Flow price: --
fe22b3551bfbf8f425a3ad82366a88ed7beffb4b41f31c88c8270cc13746bb8f

Transaction

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

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

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

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

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