Flow price: --
fd0f280463c371981e976534d498f9091e9a7fed949d31a1326f13af5f925af5

Transaction

Hash: fd0f280463c371981e976534d498f9091e9a7fed949d31a1326f13af5f925af5
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
 --> 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 |         }
    |         ^^^^^^^^^^^^^^^^^^^^^


Hash:
fd0f280463c371981e976534d498f9091e9a7fed949d31a1326f13af5f925af5
Status:
ERROR
Block height:
217033924
Block id:
021fbf27a7b4c6018a984c3808fd0d313a693d31b59863419c765fb06dc6e7b9
Timestamp:
Tuesday 17 September 2024 at 18:46:54 UTC
()
Proposer:
Authorizers:
Gas used:
0