solady
solady copied to clipboard
✨ Allow additional addresses to be added to infinite allowance for erc20
you can change the _givePermit2InfiniteAllowance() function to doesAddressHasInfiniteAllowance(address spender) returns (bool) and in the default implementation return spender == PERMIT2
this makes it simple to add to this list