Flow price: --
f20b5efa1295f217573c2eac45e291eae60e9e7ead7ccaa01c0cbb81fc828b5c

Transaction

Hash: f20b5efa1295f217573c2eac45e291eae60e9e7ead7ccaa01c0cbb81fc828b5c
error
Error

Whoops! 😨 Something unexpected happened...

[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
 --> f20b5efa1295f217573c2eac45e291eae60e9e7ead7ccaa01c0cbb81fc828b5c:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.utf8 )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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 |         }
    |         ^^^^^^^^^^^^^^^^^^^^^


Hash:
f20b5efa1295f217573c2eac45e291eae60e9e7ead7ccaa01c0cbb81fc828b5c
Status:
ERROR
Block height:
217034729
Block id:
8e6da451665f66edae43bcb6fa1d9e0c8b30b3ddb6794b6ab08dc074f40b4f89
Timestamp:
Tuesday 17 September 2024 at 18:53:37 UTC
()
Proposer:
Authorizers:
Gas used:
0