Skip to content

NftDetectionController: Refactor #1607

@mcmire

Description

@mcmire

The detectNfts method has a cyclomatic complexity of 16 which is due to the logic to normalize data from the OpenSea API. The code to make the request as well as the normalization code should be extracted to separate files so that it is easier to understand and test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions