[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find type in this scope: `ExampleNFT` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:16:17 | 16 | let minter: &ExampleNFT.NFTMinter | ^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `NonFungibleToken` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:19:34 | 19 | let recipientCollectionRef: &{NonFungibleToken.Receiver} | ^^^^^^^^^^^^^^^^ not found in this scope error: ambiguous intersection type --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:19:33 | 19 | let recipientCollectionRef: &{NonFungibleToken.Receiver} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `ExampleNFT` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:24:45 | 24 | self.minter = signer.storage.borrow<&ExampleNFT.NFTMinter>(from: /storage/exampleNFTMinter) | ^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:24:22 | 24 | self.minter = signer.storage.borrow<&ExampleNFT.NFTMinter>(from: /storage/exampleNFTMinter) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NonFungibleToken` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:28:82 | 28 | self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>( | ^^^^^^^^^^^^^^^^ not found in this scope error: ambiguous intersection type --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:28:81 | 28 | self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:28:38 | 28 | self.recipientCollectionRef = getAccount(recipient).capabilities.borrow<&{NonFungibleToken.Receiver}>( 29 | /public/exampleNFTCollection 30 | ) ?? panic("Could not get receiver reference to the NFT Collection") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `name` --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:37:18 | 37 | name: name, | ^^^^ not found in this scope error: cannot infer type from array literal: requires an explicit type annotation --> 06043e48830c1c08e6d6763cf7fc1739c042cc28da0f158b745a9440c46b81ab:40:23 | 40 | royalties: [] | ^
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!