Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove implementation of sweep methods
- removed implementation of sweep tokens methods in uniswap adapter. Since we do not support fee on transfer, sweep token would be encoded, but txn would would fail as we don't use router/npm as custody and router/npm nevel hold balance as a consequence. If, on the other hand, a client would set a fee when swapping for ETH, the unwrap method would not unwrap, i.e. user would receive the full amount in WETH. In NPM sweep method is encoded when removing liquidity to receive ETH, but we never use it since we don't use uniswap as custody for txn. - added missing override to wrapETH method
- Loading branch information