Flow price: --
9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808

Transaction

Hash: 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] cadence runtime error Execution failed:
error: mismatched types
   --> 5634aefcb76e7d8c.MusicBlock:133:23
    |
133 |             let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT
    |                        ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: mismatched types
   --> 5634aefcb76e7d8c.MusicBlock:147:20
    |
147 |             return &self.ownedNFTs[id] as &NonFungibleToken.NFT
    |                     ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?`

error: cannot find type in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:16:26
   |
16 |         if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil {
   |                           ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:16:55
   |
16 |         if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil {
   |                                                        ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:16:11
   |
16 |         if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:17:27
   |
17 |             signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath)
   |                            ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:17:67
   |
17 |             signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath)
   |                                                                    ^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:18:61
   |
18 |             signer.link<&{NonFungibleToken.CollectionPublic, MusicBlock.MusicBlockCollectionPublic}>(
   |                                                              ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:19:7
   |
19 | 			    MusicBlock.CollectionPublicPath,
   |        ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:20:15
   |
20 | 			    target: MusicBlock.CollectionStoragePath
   |                ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808:39:79
   |
39 |         self.nftCollection = signer.borrow<&{NonFungibleToken.Receiver}>(from: MusicBlock.CollectionStoragePath)
   |                                                                                ^^^^^^^^^^ not found in this scope
Hash:
9c7c2a5005d5b8f8f427823ae52e60e5bb4af5ebd09d54537f813132dd2cf808
Status:
ERROR
Block height:
31944522
Block id:
b0f5989483b1d98968b9fe1132a80de772967cb503c62da740c0b1e2e18ed795
Timestamp:
Monday 20 June 2022 at 22:34:34 UTC
()
Proposer:
Authorizers: