chore: Remove transfer flag from curve + balancer

we will never perform a manual transfer into these protocols, as they require the tokens to be in the router contract in order to perform a transferFrom.
This commit is contained in:
TAMARA LIPOWSKI
2025-05-15 09:15:32 -04:00
parent b0b98c5e5d
commit 4a0533b8ea
6 changed files with 29 additions and 53 deletions

View File

@@ -35,7 +35,6 @@ contract CurveExecutorExposed is CurveExecutor {
int128 i,
int128 j,
bool tokenApprovalNeeded,
bool transferNeeded,
address receiver
)
{
@@ -65,7 +64,6 @@ contract CurveExecutorTest is Test, Constants {
uint8(2),
uint8(0),
true,
false,
ALICE
);
@@ -77,7 +75,6 @@ contract CurveExecutorTest is Test, Constants {
int128 i,
int128 j,
bool tokenApprovalNeeded,
bool transferNeeded,
address receiver
) = curveExecutorExposed.decodeData(data);
@@ -291,7 +288,6 @@ contract CurveExecutorTest is Test, Constants {
uint8(uint256(uint128(i))),
uint8(uint256(uint128(j))),
true,
false,
receiver
);
}