Skip to content

Commit

Permalink
Merge branch 'main' into feat/adds-ierc20-metadata-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nonergodic authored Jan 22, 2025
2 parents 66fd2d2 + 6b16db0 commit 2860ce2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/interfaces/token/IERC20Permit.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: Apache 2

pragma solidity ^0.8.0;

import "IERC20/IERC20.sol";

//https://eips.ethereum.org/EIPS/eip-2612
interface IERC20Permit is IERC20 {
function permit(
address owner,
address spender,
uint value,
uint deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
function nonces(address owner) external view returns (uint);
function DOMAIN_SEPARATOR() external view returns (bytes32);
}

0 comments on commit 2860ce2

Please sign in to comment.