CODE_ERROR
There is an error in the cadence code of this transaction.
[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` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c: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` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:16:55 | 16 | if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil { | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:16:11 | 16 | if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:17:27 | 17 | signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:17:67 | 17 | signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:18:61 | 18 | signer.link<&{NonFungibleToken.CollectionPublic, MusicBlock.MusicBlockCollectionPublic}>( | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:19:7 | 19 | MusicBlock.CollectionPublicPath, | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:20:15 | 20 | target: MusicBlock.CollectionStoragePath | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> 46aeec647cf480421b7f78274366f3ed4a6f4090f98469eb83dc32546b18a02c:39:79 | 39 | self.nftCollection = signer.borrow<&{NonFungibleToken.Receiver}>(from: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope
Arguments:
listingResourceID:
255694951
storefrontAddress:
0xb759fca4b2aa2f13
buyPrice:
0.95