Flow price: --
f6e79abdcc10cc4968da5edeb1098c8c814a1f76f552c9b33a53fb6c16eafdc8

Transaction

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

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


Hash:
f6e79abdcc10cc4968da5edeb1098c8c814a1f76f552c9b33a53fb6c16eafdc8
Status:
ERROR
Block height:
217034435
Block id:
90d6e3e229a1a244d7d510232a98f2640778cbea38561a50ec0d702f01124beb
Timestamp:
Tuesday 17 September 2024 at 18:51:09 UTC
()
Proposer:
Authorizers:
Gas used:
0