Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EIP-2612: Move to Last Call #5196

Closed
wants to merge 1 commit into from
Closed

Conversation

z0r0z
Copy link
Contributor

@z0r0z z0r0z commented Jul 2, 2022

eip-2612 has been discussed for 2 years and seen wide implementation in production (uniswapV2) and in contract libraries like openzeppelin and solmate. It seems time to finalize and move this as a standard extension for erc20 fungible tokens.

move eip-2612 to Last Call
@eth-bot
Copy link
Collaborator

eth-bot commented Jul 2, 2022

All tests passed; auto-merging...

(pass) eip-2612.md

classification
updateEIP
  • passed!

Copy link
Contributor

@SamWilsn SamWilsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

error[markdown-rel-links]: non-relative link or image
  --> /tmp/eip-2612.md
   |
27 | While ERC-20 tokens have become ubiquitous in the Ethereum ecosystem, their status remains that of second class tokens from the perspective of the protocol. The ability for users to interact with Ethereum without holding any ETH has been a [long outstanding goal](./eip-101.md) and the [subject](./eip-1077.md) [of](./eip-777.md) [many](https://github.com/ethereum/EIPs/issues/1776) [EIPs](./eip-1271.md).
   |
error[markdown-rel-links]: non-relative link or image
  --> /tmp/eip-2612.md
   |
29 | So far, many of these proposals have seen very little adoption, and the ones that have been adopted (such as [ERC-777](./eip-777.md)), introduce a lot of additional functionality, causing [unexpected behavior in mainstream contracts](https://medium.com/consensys-diligence/uniswap-audit-b90335ac007).
   |
error[markdown-rel-links]: non-relative link or image
   --> /tmp/eip-2612.md
    |
154 | The `permit` function is sufficient for enabling any operation involving ERC-20 tokens to be paid for using the token itself, rather than using ETH. 
    |
error[markdown-rel-links]: non-relative link or image
   --> /tmp/eip-2612.md
    |
173 | There is also an implementation in the token [`Stake`](https://etherscan.io/address/0x0Ae055097C6d159879521C384F1D2123D1f195e6#code) with the same ABI as `dai` but with different semantics: it lets users issue "expiring approvals", that only allow `transferFrom` to occur while `expiry >= block.timestamp`.
    |
error[markdown-rel-links]: non-relative link or image
   --> /tmp/eip-2612.md
    |
175 | The specification presented here is in line with the implementation in [Uniswap-v2](https://github.com/uniswap/uniswap-v2-core).
    |
error[markdown-rel-links]: non-relative link or image
   --> /tmp/eip-2612.md
    |
184 | [UniswapV2ERC20.sol](https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
    |
error[markdown-rel-links]: non-relative link or image
   --> /tmp/eip-2612.md
    |
194 | The standard [ERC-20 race condition for approvals](https://swcregistry.io/docs/SWC-114) applies to `permit` as well.
    |

@Pandapip1
Copy link
Member

Pandapip1 commented Jul 15, 2022

@z0r0z please push an empty commit and then fix the CI errors. Thanks!

@eth-bot eth-bot enabled auto-merge (squash) August 15, 2022 09:28
Copy link
Member

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -4,7 +4,8 @@ title: permit – 712-signed approvals
description: ERC-20 approvals via secp256k1 signatures
author: Martin Lundfall (@Mrchico)
discussions-to: https://github.com/ethereum/EIPs/issues/2613
status: Review
status: Last Call
last-call-deadline: 2022-07-30
type: Standards Track
category: ERC
created: 2020-04-13
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm, is it the author's intention to not follow EIP-165? I believe it's the author's judgement call but just to make sure it's a conscious decision.

@Pandapip1 Pandapip1 changed the title move eip-2612 to Last Call Update EIP-2612: Move to Last Call Sep 1, 2022
@Pandapip1
Copy link
Member

Superseded by #5506

@Pandapip1 Pandapip1 closed this Sep 1, 2022
auto-merge was automatically disabled September 1, 2022 01:51

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants