We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e598d2 commit 6b16db0Copy full SHA for 6b16db0
src/interfaces/token/IERC20Permit.sol
@@ -0,0 +1,20 @@
1
+// SPDX-License-Identifier: Apache 2
2
+
3
+pragma solidity ^0.8.0;
4
5
+import "IERC20/IERC20.sol";
6
7
+//https://eips.ethereum.org/EIPS/eip-2612
8
+interface IERC20Permit is IERC20 {
9
+ function permit(
10
+ address owner,
11
+ address spender,
12
+ uint value,
13
+ uint deadline,
14
+ uint8 v,
15
+ bytes32 r,
16
+ bytes32 s
17
+ ) external;
18
+ function nonces(address owner) external view returns (uint);
19
+ function DOMAIN_SEPARATOR() external view returns (bytes32);
20
+}
0 commit comments