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` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d: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` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:16:55 | 16 | if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil { | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:16:11 | 16 | if signer.borrow<&MusicBlock.Collection>(from: MusicBlock.CollectionStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:17:27 | 17 | signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:17:67 | 17 | signer.save(<- MusicBlock.createEmptyCollection(), to: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:18:61 | 18 | signer.link<&{NonFungibleToken.CollectionPublic, MusicBlock.MusicBlockCollectionPublic}>( | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:19:7 | 19 | MusicBlock.CollectionPublicPath, | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:20:15 | 20 | target: MusicBlock.CollectionStoragePath | ^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `MusicBlock` --> e77bd6d6859bd801d1aed69c44ce2eb4f37e23eed9c13a0e7a7d67edc825197d:39:79 | 39 | self.nftCollection = signer.borrow<&{NonFungibleToken.Receiver}>(from: MusicBlock.CollectionStoragePath) | ^^^^^^^^^^ not found in this scope
Arguments:
listingResourceID:
255975695
storefrontAddress:
0x451459400329a010
buyPrice:
0.88