• Solidity Developer Assessment

    Complete the candidate details first, then answer the Solidity assessment questions and practical deployment task.
  • Applicant Information

  • Part A — Checkbox Questions

    Est Time 5 mins
  • Valid visibility specifiers for a Solidity state variable*
  • Techniques to prevent a reentrancy attack*
  • Statements about gas and storage that are true*
  • Part B — Concept Check

    est time : 5 mins
  • Part C — Practical Task

    est time : 15 mins
  • 1. Clone the provided Hardhat starter project: 

    https://github.com/harry-poc/assessment_solidity_22_vault

    2. Add minDeposit and maxDeposit state variables,

       Add owner-only setMinDeposit / setMaxDeposit functions.

      deposit() must revert if msg.value is below minDeposit or above maxDeposit.

    3. Update or add tests in test/SimpleVault.test.js covering the new behavior.

    4. Deploy the updated contract to a public testnet (Sepolia, unless the assessor specifies otherwise) using Hardhat.

    (Use this privatekey It has sepolia ETH)

    0x3F21E113C74F8A1Abf27a700aF848BFB0F8188F8

    0x98b52dc7fa661d1fc2420e0e70ca880e35cb16c06d837fb8967987e33d448c51

  • Should be Empty: