chore: OneTransferFromOnly docs + proper slots

Also revert instead of returning if multiple `transferFrom`s are attempted - as this signals that encoding is incorrect or has been messed with.
This commit is contained in:
TAMARA LIPOWSKI
2025-05-15 10:08:33 -04:00
parent 6cff470999
commit 69c8325a1d
2 changed files with 30 additions and 13 deletions

View File

@@ -73,7 +73,6 @@ contract TychoRouter is
ReentrancyGuard,
OneTransferFromOnly
{
IAllowanceTransfer public immutable permit2;
IWETH private immutable _weth;
using SafeERC20 for IERC20;