[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 --> fd0f280463c371981e976534d498f9091e9a7fed949d31a1326f13af5f925af5:4:3 | 4 | signer.contracts.add(name: name, code: code.utf8 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `signature` --> 47d3b365f36b5bd1.ExampleNFT:545:23 | 545 | signature: signature, | ^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `salt` --> 47d3b365f36b5bd1.ExampleNFT:546:18 | 546 | salt: salt | ^^^^ not found in this scope error: incorrect transfer operation --> 47d3b365f36b5bd1.ExampleNFT:538:19 | 538 | let newNFT = ExampleNFT.mintNFT ( | ^ expected `<-` error: missing argument label: `name` --> 47d3b365f36b5bd1.ExampleNFT:497:16 | 497 | name, | ^^^^ error: missing argument label: `description` --> 47d3b365f36b5bd1.ExampleNFT:498:16 | 498 | description, | ^^^^^^^^^^^ error: missing argument label: `thumbnail` --> 47d3b365f36b5bd1.ExampleNFT:499:16 | 499 | thumbnail, | ^^^^^^^^^ error: missing argument label: `royalties` --> 47d3b365f36b5bd1.ExampleNFT:500:16 | 500 | royalties, | ^^^^^^^^^ error: missing argument label: `questionID` --> 47d3b365f36b5bd1.ExampleNFT:501:16 | 501 | questionID, | ^^^^^^^^^^ error: missing argument label: `side` --> 47d3b365f36b5bd1.ExampleNFT:502:16 | 502 | side, | ^^^^ error: missing argument label: `signature` --> 47d3b365f36b5bd1.ExampleNFT:503:16 | 503 | signature, | ^^^^^^^^^ error: missing argument label: `salt` --> 47d3b365f36b5bd1.ExampleNFT:504:16 | 504 | salt | ^^^^ error: loss of resource --> 47d3b365f36b5bd1.ExampleNFT:496:12 | 496 | ExampleNFT.mintNFT ( 497 | name, 498 | description, 499 | thumbnail, 500 | royalties, 501 | questionID, 502 | side, 503 | signature, 504 | salt 505 | ) | ^ error: missing return statement --> 47d3b365f36b5bd1.ExampleNFT:492:27 | 492 | ): @ExampleNFT.NFT { 493 | 494 | // Have to place sign verification here 495 | 496 | ExampleNFT.mintNFT ( 497 | name, 498 | description, 499 | thumbnail, 500 | royalties, 501 | questionID, 502 | side, 503 | signature, 504 | salt 505 | ) 506 | 507 | 508 | } | ^^^^^^^^^^^^^^^^^^^^^
Happy diving into the flow Remember to test your contracts in 1.0 here on testnet