Skip to content

[ARE-01C] Improper Declarations of Abstract Functions #39

@arthusc

Description

@arthusc

ARE-01C: Improper Declarations of Abstract Functions

Type Severity Location
Standard Conformity AsRescuable.sol:L65, L98

Description:

The AsRescuable::requestRescue and AsRescuable::rescue functions are meant to be virtual and implemented by derivative implementations, however, an empty declaration is present in both that would permit each to be invoked.

Example:

// to be overriden with the proper access control by inheriting contracts
function requestRescue(address _token) external virtual {}

Recommendation:

We advise the functions to be declared without a code block ({}) to ensure they are overridden by derivative implementations.

Sate:

Aknowledged and fixed in 7513dea0fa835032548249c16d43db08f9247c55

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions