Skip to content

setRewardsToken must revert on known tokens #40

@alcueca

Description

@alcueca

If setRewardsToken is called with the base, pool or fyToken known to the Strategy, it must revert. Otherwise the tokens kept as rewards will be absorbed at one point or another.

Likewise, if during invest the pool or fyToken match the rewards token, invest must revert. Same reason.

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