Skip to content
KALANBLON
Show contents

Chapter 6 of 6 · 10 min

Quiz: protocol security

Constant product, price impact, MEV, sandwich attacks, oracles, flash loans and audit method: check that you can attack and defend a protocol. You need 70% correct answers to pass this quiz.

Quiz

7 questions · pass mark: 70%

  1. 1.In a constant-product exchange, a pool holds x TOKENS and y STABLE. Which quantity stays constant during a swap (excluding fees)?

    One answer

  2. 2.Why does a large purchase pay more on average than a small one on a constant-product exchange?

    One answer

  3. 3.In a sandwich attack, what does the attacker do?

    One answer

  4. 4.Which protection makes a transaction fail if executed at a price that is too unfavourable?

    One answer

  5. 5.Why is a single pool's instantaneous price a bad oracle for a lending protocol?

    One answer

  6. 6.What is an uncollateralised loan that must be repaid within the same transaction called?

    Complete the code

  7. 7.Which practices belong to a good protocol audit?

    Several answers possible

Your progress is saved on this device. Create a free account to keep your progress on all your devices.