Omniscia Swisscoast Audit

SafeERC20 Code Style Findings

SafeERC20 Code Style Findings

SER-01C: Incorrect & Unused Library Implementation

Description:

The SafeERC20 library is not compatible with the HTS token system and is not utilized anywhere in the HLiquity system.

Example:

packages/contracts/contracts/LPRewards/Dependencies/SafeERC20.sol
18library SafeERC20 {

Recommendation:

We advise it to be safely omitted, ensuring that it is not misused by an integrator.

Alleviation (04618e407bddce5b22e9cadd787fd3334bd3afe6):

The implementation has been safely removed from the codebase as advised.