Submitted by hake, also found by csanuragjain, hickuphh3, hyh, Kenshin, kirk-baird, obront, pmerkleplant, rayn, Ruhum, shw, tintin, VAD37, WatchPug, and wuwe1
LibSwap.swap
GenericSwapFacet.sol
Remaining or unaccounted ERC20 balance could be freely taken through swapTokensGenerics and swap.
Given:
Ensure funds are always subtracted from users account in swap, even if LiFi has enough balance to do the swap.
H3xept (Li.Fi) acknowledged and commented:
gzeon (judge) commented:
ezynda3 (Li.Fi) resolved and commented:
