CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: mismatched types --> e3d6aefbdc74f65f.FanfareNFTContract:97:20 | 97 | return &self.ownedNFTs[id] as &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: mismatched types --> e3d6aefbdc74f65f.FanfareNFTContract:104:27 | 104 | let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: cannot find variable in this scope: `FanfareNFTContract` --> 0ff5aee8375d0a9fe52aa554537d9b799f567d7d23ea70acc60a6639365f75f0:19:166 | 19 | account.link<&{NonFungibleToken.CollectionPublic,NonFungibleToken.Provider,NonFungibleToken.Receiver}>(/private/FanfareNFTContract_collectionRef, target: FanfareNFTContract.CollectionStoragePath) | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `FanfareNFTContract` --> 0ff5aee8375d0a9fe52aa554537d9b799f567d7d23ea70acc60a6639365f75f0:45:27 | 45 | nftType: Type<@FanfareNFTContract.NFT>(), | ^^^^^^^^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 0ff5aee8375d0a9fe52aa554537d9b799f567d7d23ea70acc60a6639365f75f0:45:21 | 45 | nftType: Type<@FanfareNFTContract.NFT>(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
tokenId:
1759
parts:
[127 89 157 109 215 253 126 123]:
1.2
[161 97 193 9 240 144 41 8]:
18
[98 91 73 90 244 162 15 1]:
100.8
Loading...