Skip to content
Request an audit

‹ All findings

Missing override keyword for interface inherited methods

Low/InfoM^0 Minter Gateway·Three Sigma · Stablecoin framework · 8th January, 2024Codebase3S-M^0-N01

Description

Most contracts are not implementing their interface methods with override keywords. For example, the DistributionVault contract implements all its interface functions, but it doesn't add the override keyword to any of the functions.

This means the compiler won't check that the implementation is properly implementing what is defined on the interface, making it prone to spelling errors and function signature mismatching.

Recommendation

Add the override keyword to those contracts functions as a best practice and for compiler checks.

Status

Acknowledged