Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: low
Valid

Non Compliance With ERC4906

Summary

By definition if a contract is compliant with ERC4906, it should be also compliant with ERC165. However, SablierFlowBase does not implement the needed supportsInterface function.
This can be found here: https://eips.ethereum.org/EIPS/eip-4906

Vulnerability Details

By official EIP's documenation, the contract should implement a supportsInterface function which cannot be found in the SablierFlowBase implementation.
This can be found here: https://eips.ethereum.org/EIPS/eip-165

Impact

The missing implementation of supportsInterface can cause compatibility issues with other contracts or tools that rely on ERC165 to detect supported interfaces. This might result in failed interactions or reduced functionality when these contracts or tools attempt to work with SablierFlowBase.

Tools Used

Manual Review

Recommendations

Implement the supportsInterface function to comply with the ERC165 which is needed for the compliance with the ERC4906.

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Validated
Assigned finding tags:

EIP4906

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.