[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot deploy invalid contract --> b0088366e4062244da60b9670557668df78839216b999de05320974c2422fa85:4:3 | 4 | signer.contracts.add(name: name, code: code.utf8 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: structure declarations cannot be nested inside resource declarations --> 7bdef6f9ace2326a.ExampleNFT:408:27 | 408 | access(all) struct SignedData { | ^^^^^^^^^^ error: cannot find type in this scope: `Uint64` --> 7bdef6f9ace2326a.ExampleNFT:411:35 | 411 | access(all) var nonce: Uint64 | ^^^^^^ not found in this scope error: cannot find type in this scope: `Uint64` --> 7bdef6f9ace2326a.ExampleNFT:412:34 | 412 | access(all) var salt: Uint64 | ^^^^^^ not found in this scope error: cannot use incompletely initialized value: `self` --> 7bdef6f9ace2326a.ExampleNFT:485:8 | 485 | self.SignedData = {} | ^^^^ error: value of type `ExampleNFT` has no member `SignedData` --> 7bdef6f9ace2326a.ExampleNFT:485:13 | 485 | self.SignedData = {} | ^^^^^^^^^^ unknown member error: cannot infer type: requires an explicit type annotation --> 7bdef6f9ace2326a.ExampleNFT:485:26 | 485 | self.SignedData = {} | ^ error: too many arguments --> 7bdef6f9ace2326a.ExampleNFT:428:29 | 428 | let signedData = SignedData(questionID: questionID, side: side, nonce: ExampleNFT.getNonce(), salt: salt) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 0, got 4 error: value of type `ExampleNFT.NFTMinter.SignedData` has no member `toBigEndianBytes` --> 7bdef6f9ace2326a.ExampleNFT:429:43 | 429 | let signedData_u8 = signedData.toBigEndianBytes() | ^^^^^^^^^^^^^^^^ unknown member error: mismatched types --> 7bdef6f9ace2326a.ExampleNFT:432:52 | 432 | let isValid = ExampleNFT.signValidation(ExampleNFT.Signer, signature, messageHash) | ^^^^^^^^^^^^^^^^^ expected `String`, got `Address` error: mismatched types --> 7bdef6f9ace2326a.ExampleNFT:432:82 | 432 | let isValid = ExampleNFT.signValidation(ExampleNFT.Signer, signature, messageHash) | ^^^^^^^^^^^ expected `String`, got `[UInt8]` error: missing argument label: `publicKey` --> 7bdef6f9ace2326a.ExampleNFT:432:52 | 432 | let isValid = ExampleNFT.signValidation(ExampleNFT.Signer, signature, messageHash) | ^^^^^^^^^^^^^^^^^ error: missing argument label: `signature` --> 7bdef6f9ace2326a.ExampleNFT:432:71 | 432 | let isValid = ExampleNFT.signValidation(ExampleNFT.Signer, signature, messageHash) | ^^^^^^^^^ error: missing argument label: `message` --> 7bdef6f9ace2326a.ExampleNFT:432:82 | 432 | let isValid = ExampleNFT.signValidation(ExampleNFT.Signer, signature, messageHash) | ^^^^^^^^^^^ error: missing initializer for field `questionID` in type `ExampleNFT.NFTMinter.SignedData` --> 7bdef6f9ace2326a.ExampleNFT:409:28 | 409 | access(all) var questionID: String | ^^^^^^^^^^
Happy diving into the flow Remember to test your contracts in 1.0 here on testnet