feat: approve max

This commit is contained in:
Harsh Vardhan Roy
2025-01-28 23:49:28 +05:30
committed by GitHub
parent 8c41a28aa8
commit cb6d165e7f

View File

@@ -34,7 +34,7 @@ contract BalancerV2Executor is IExecutor {
if (needsApproval) {
// slither-disable-next-line unused-return
tokenIn.approve(VAULT, givenAmount);
tokenIn.approve(VAULT, type(uint256).max);
}
IVault.SingleSwap memory singleSwap = IVault.SingleSwap({