
Standalone
Delegate Call Detection

Detecting Delegate Calls
Download quests in Questplay
Mindeaters exert control over their prey using delegate calls. For a contract to defend itself from a mindeater, it needs to distinguish delegate calls from regular function calls.
The Mind
contract needs to implement the following function:
Function | Description |
| Returns true if the current call is from a delegate call, returns false otherwise. |
Your Task
In contracts/Mind.sol
implement isDelegateCall()
.
You can modify the constructor body and add any state variables that you might need.
Run tests in Questplay
Submit work in Questplay

You begin to hear voices in your head; some are your own, some are not. But how can you know?