refactor(token): port ERC-2612 to TRC-2612#93
Closed
km631 wants to merge 1 commit into
Closed
Conversation
Rename the leftover IERC2612 interface alias to ITIP2612. 2612's TRON-side standard is TIP-2612, the analogue of EIP-2612; the permit implementation (TRC20Permit) and ITRC20Permit were already ported and cite TIP-2612, so this brings the numbered alias in line. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Closed automatically when the branch was renamed |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the leftover numbered interface alias to TRON's TIP-2612.
TIP-2612 is the TRON-side analogue of EIP-2612 — same
permit(owner,spender,value,deadline,v,r,s)signed-approval scheme. The permit implementation (TRC20Permit) and its interface (ITRC20Permit) were already ported in the TRC20 batch (#52) and already cite TIP-2612;interfaces/IERC2612.solwas the one remaining ERC-named file.Changes
IERC2612→ITIP2612(contracts/interfaces/IERC2612.sol→ITIP2612.sol);interfaces/README.adocreferences updated.ITRC20Permit.Naming-only —
ITIP2612 is ITRC20Permit {}stays a pass-through alias kept under its standard number for discoverability. No implementation, no consumers affected (the alias had no in-repo importers).