Last active
November 13, 2020 23:25
-
-
Save iphelix/c45a5c27db73654005dca34b7c277d16 to your computer and use it in GitHub Desktop.
Damn Vulnerable DeFi - Unstoppable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('Exploit', async function () { | |
/** YOUR EXPLOIT GOES HERE */ | |
}); | |
after(async function () { | |
/** SUCCESS CONDITION */ | |
await expectRevert.unspecified( | |
this.receiverContract.executeFlashLoan(10, { from: someUser }) | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment