Skip to content

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

Merged
km631 merged 1 commit into
masterfrom
port/trc-2612
Jun 8, 2026
Merged

refactor(token): port ERC-2612 to TRC-2612#94
km631 merged 1 commit into
masterfrom
port/trc-2612

Conversation

@km631

@km631 km631 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Ports the leftover numbered interface alias to TRON's TRC-2612.

The permit implementation (TRC20Permit) and its interface (ITRC20Permit) were already ported in the TRC20 batch (#52) and cite TIP-2612; interfaces/IERC2612.sol was the one remaining ERC-named file. This brings it in line with the TRC family, matching the ITRC1271 naming (interface ITRC<num>, NatSpec citing the underlying TIP-2612 / EIP-2612 spec).

Changes

  • IERC2612ITRC2612 (contracts/interfaces/IERC2612.solITRC2612.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 — ITRC2612 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).

Supersedes #93, which was auto-closed when its branch was renamed from port/tip-2612.

Rename the leftover IERC2612 interface alias to ITRC2612. The permit
implementation (TRC20Permit) and ITRC20Permit were already ported and
cite TIP-2612, so this brings the numbered alias in line with the TRC
family (matching the ITRC1271 naming). NatSpec dual-cites TIP-2612 /
EIP-2612.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@km631 km631 merged commit b4d74a0 into master Jun 8, 2026
7 of 13 checks passed
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.

2 participants