Exercise 1 - Building Secure Contracts (original) (raw)

Building Secure Contracts

Exercise 1 : Arithmetic rounding

Use Manticore to find an input allowing an attacker to generate free tokens in token.sol. Propose a fix of the contract, and test your fix using your Manticore script.

Proposed scenario

Follow the pattern initialization, exploration and property for the script.

Initialization

Exploration

Property

Hints

Solution

solution.py