Skip to content

Optimize ERC20Recover by turning the denylist into a mapping #44

@PaulRBerg

Description

@PaulRBerg

As suggested by kanth here:

Can we have deny tokens as mapping instead of list ? To avoid looping each time recover call is made ?
address => IERC20 or address => address?

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: mediumDefault level of effort.good first issueGood for newcomers.priority: 1This is important. It should be dealt with shortly.type: perfChange that improves performance.work: clearSense-categorize-respond. The relationship between cause and effect is clear.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions