Flow price: --
d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15

Transaction

Hash: d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [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`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15: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`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15:26:12
   |
26 |         if !signer.getCapability<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() {
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15: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`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15: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`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15:27:12
   |
27 |             signer.link<&MusicBlock.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: MusicBlock.CollectionStoragePath)
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `MusicBlock`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15: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`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15:45:61
   |
45 |         if let listingID = Marketplace.getListingID(nftType: Type<@MusicBlock.NFT>(), nftID: saleItemID) {
   |                                                              ^^^^^^^^^^^^^^^^^^^^^^^

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

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

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

error: cannot infer type parameter: `T`
  --> d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15:73:21
   |
73 |             nftType: Type<@MusicBlock.NFT>(),
   |                      ^^^^^^^^^^^^^^^^^^^^^^^


Hash:
d17b494f6500b633a61cce7ef4820b970c37010afe41690622917b72f2c11c15
Status:
ERROR
Block height:
49553378
Block id:
36c81d5094c56eb7f087ce3a600a0d1621d5d8bf16e7d465dd5b6c9f5cf85f47
Timestamp:
Saturday 1 April 2023 at 08:42:18 UTC
()
Proposer:
Authorizers: