Skip to content
Request an audit

‹ Findings database

Duplicated _permit() function

Low/InfoMaple Syrup audit·Three Sigma·Permissionless lending·23rd August, 20243S-SY-N03

Description

The _permit() function, utilized in the MplUserActions, SyrupRouter, and SyrupUserActions contracts, is duplicated across them.

Recommendation

To enhance code reusability and maintainability, this function can be relocated to the utils folder.