-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e2958f
commit a35ecf1
Showing
6 changed files
with
439 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
pragma solidity 0.8.9; | ||
|
||
interface AllowedPermit { | ||
/// @dev Non-standard permit interface used by DAI. | ||
/// @param holder The address of the token owner. | ||
/// @param spender The address of the token spender. | ||
/// @param nonce The owner's nonce, increases at each call to permit. | ||
/// @param expiry The timestamp at which the permit is no longer valid. | ||
/// @param allowed Boolean that sets approval amount, true for type(uint256).max and false for 0. | ||
/// @param v Must produce valid secp256k1 signature from the owner along with r and s. | ||
/// @param r Must produce valid secp256k1 signature from the owner along with v and s. | ||
/// @param s Must produce valid secp256k1 signature from the owner along with r and v. | ||
function permit( | ||
address holder, | ||
address spender, | ||
uint256 nonce, | ||
uint256 expiry, | ||
bool allowed, | ||
uint8 v, | ||
bytes32 r, | ||
bytes32 s | ||
) external; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.