Closed opensourcex123 closed 1 year ago
Sorry for missing this issue. We have this check that we use to see if a token has support for Permit. Basically we check that the functions that are required for the EIP2612 standard are implemented. It's not watertight, but at least we know that if these functions are not implemented (correctly) the token does not support Permit.
I saw in the code for revoke that it was determined whether there was a DOMAIN_ SEPARATOR is a function, but I have seen some token contract codes that do not have this function. So how does this determine whether to connect to permit?