Flow price: --
549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2

Transaction

Hash: 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2
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`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:26:34
   |
26 |         if !signer.getCapability<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() {
   |                                   ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:26:12
   |
26 |         if !signer.getCapability<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() {
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:27:25
   |
27 |             signer.link<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: MusicBlock.CollectionStoragePath)
   |                          ^^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `MusicBlock`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:27:152
   |
27 |             signer.link<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: MusicBlock.CollectionStoragePath)
   |                                                                                                                                                         ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:27:12
   |
27 |             signer.link<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: MusicBlock.CollectionStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:45:67
   |
45 |         if let listingID = Marketplace.getListingID(nftType: Type<@MusicBlock.NFT>(), nftID: saleItemID) {
   |                                                                    ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:45:61
   |
45 |         if let listingID = Marketplace.getListingID(nftType: Type<@MusicBlock.NFT>(), nftID: saleItemID) {
   |                                                              ^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:55:77
   |
55 |         let requirements = Marketplace.getSaleCutRequirements(nftType: Type<@MusicBlock.NFT>())
   |                                                                              ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:55:71
   |
55 |         let requirements = Marketplace.getSaleCutRequirements(nftType: Type<@MusicBlock.NFT>())
   |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:73:27
   |
73 |             nftType: Type<@MusicBlock.NFT>(),
   |                            ^^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2:73:21
   |
73 |             nftType: Type<@MusicBlock.NFT>(),
   |                      ^^^^^^^^^^^^^^^^^^^^^^^
Hash:
549dd299db3959a9f053f52ce38718ee99643f1f2b08427f392ac0ed9fdf47a2
Status:
ERROR
Block height:
34970522
Block id:
91bfd01178260cb36f229b4c8beaaa170ee3f05753c6a1ec79980ef5b1234bd2
Timestamp:
Tuesday 9 August 2022 at 21:41:10 UTC
()
Proposer:
Authorizers: