Skip to content

refactor(token): port ERC-2612 to TRC-2612#93

Closed
km631 wants to merge 1 commit into
masterfrom
port/tip-2612
Closed

refactor(token): port ERC-2612 to TRC-2612#93
km631 wants to merge 1 commit into
masterfrom
port/tip-2612

Conversation

@km631

@km631 km631 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

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.sol was the one remaining ERC-named file.

Changes

  • IERC2612ITIP2612 (contracts/interfaces/IERC2612.solITIP2612.sol); interfaces/README.adoc references updated.
  • NatSpec dual-cites TIP-2612 / EIP-2612 and documents that it remains a thin alias of 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).

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>
@km631 km631 closed this Jun 8, 2026
@km631 km631 deleted the port/tip-2612 branch June 8, 2026 11:14
@km631 km631 changed the title refactor(token): port ERC-2612 to TIP-2612 refactor(token): port ERC-2612 to TRC-2612 Jun 8, 2026
@km631

km631 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator Author

Closed automatically when the branch was renamed port/tip-2612port/trc-2612. Superseded by #94 (interface renamed ITIP2612ITRC2612 per review).

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.

1 participant