fix: Tighten max feeBps in USV2 executor

Value was too lenient. We are assuming no forks will have higher fees than the original USV2.
This commit is contained in:
TAMARA LIPOWSKI
2025-04-22 17:45:56 -04:00
committed by Diana Carvalho
parent 4f9785fdac
commit af68016223

View File

@@ -31,7 +31,7 @@ contract UniswapV2Executor is IExecutor, TokenTransfer {
}
factory = _factory;
initCode = _initCode;
if (_feeBps > 10000) {
if (_feeBps > 30) {
revert UniswapV2Executor__InvalidFee();
}
feeBps = _feeBps;