Appearance
Solidity API
IERC20Permit
Combines ERC20 permit functionality from both internal operations and ERC2612 standard
_This interface inherits from:
- IERC20PermitInternal: Provides internal permit-related functions and events
- IERC2612: Implements the standard ERC2612 permit extension for ERC20 tokens
The permit functionality allows users to modify the allowance of their tokens using a signed message instead of requiring two separate transactions (approve + transfer). This saves gas and improves UX by eliminating the need for pre-approval transactions.
Note: IERC20Metadata import is required for compatibility with the eth-permit library, which uses metadata functions (name, decimals) for permit message signing._