Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: cairo <[email protected]>
  • Loading branch information
Amxx and cairoeth authored Jul 17, 2024
commit 17f34104972780bb75b4fb025dba411e0d5fbed1
2 changes: 1 addition & 1 deletion .changeset/serious-carrots-provide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'openzeppelin-solidity': minor
---

`ERC20TemporaryApproval`: Add an ERC-20 extension that implements temporary approval using transient storage (draft).
`ERC20TemporaryApproval`: Add an ERC-20 extension that implements temporary approval using transient storage, based on ERC7674 (draft).
2 changes: 1 addition & 1 deletion contracts/interfaces/draft-IERC7674.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pragma solidity ^0.8.20;
*/
interface IERC7674 {
/**
* @dev Set the temporary allowance, allowing allows `spender` to withdraw (within the same transaction) assets
* @dev Set the temporary allowance, allowing `spender` to withdraw (within the same transaction) assets
* held by the caller.
*/
function temporaryApprove(address spender, uint256 value) external returns (bool success);
Expand Down