The absence of ERC-165 implementation means that other contracts and off-chain services cannot programmatically verify that the Nexus
contract supports the required interfaces. This can lead to interoperability issues and hinder the integration of the Nexus
contract with other systems that rely on interface detection.
The Nexus
contract is designed to handle modular smart accounts compliant with ERC-7579 and ERC-4337 standards. However, it currently lacks the implementation of the ERC-165 standard, which is a requirement for ERC-7579 compliance. ERC-165 provides a standard method to publish and detect what interfaces a smart contract implements.
Example:
A user or another contract attempts to verify if the Nexus
contract supports a specific interface using the supportsInterface
method.
Since the Nexus
contract does not implement supportsInterface
, the call fails, returning false or reverting.
This failure prevents the user or contract from confirming the Nexus
contract's capabilities, leading to potential integration failures.
Implement the supportsInterface
method as specified in ERC-165. This method should return true
for the interface IDs of all interfaces that the Nexus
contract supports, including ERC-165 itself.
The argument for medium severity here is the potential inconsistencies with external integrations that would like to query whether a contract supports the interface. The impact is arguable though, so would leave open for arguments during appeals period.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.