ExocoreNetwork / exocore-contracts

5 stars 5 forks source link

Refactor transfer handlers to reduce code duplication #100

Open coderabbitai[bot] opened 1 month ago

coderabbitai[bot] commented 1 month ago

As discussed in PR #96, the functions handleLSTTransfer and handleNSTTransfer in ExocoreGateway.sol share similar logic. Refactoring common code into a shared internal function could enhance maintainability and reduce redundancy.

This issue is created to track the refactoring for future optimization.

Referenced from Comment by @adu-web3.