
v0.39: Grademe is back in your terminal.
Try the CLI betaPay out a list of withdrawal requests without ever handing over money the account does not have.
June 17, 2016. The DAO was a smart contract holding around 150 million dollars of other people's ether, and its withdrawal code checked the balance before sending the money but updated it afterwards. An attacker called back into it before the update landed, so the same balance kept authorising fresh payouts. About 3.6 million ether walked out, and Ethereum ended up splitting into two chains over how to answer it. Here is the same vault.
drain(100, {60,60}, 2)Expected result
60For your own tracking. Tests grade your code.
drain(50, {10,50,40}, 3)Expected result
50drain(100, {101}, 1)Expected result
0Expected files
vault.cAllowed functions
None. Write every helper yourself.
