Skip to content

setRewardsToken must revert on known tokens #40

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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