Skip to content

Don't reduce stake while adding liquidity #226

@reubenr0d

Description

@reubenr0d

Currently stake is reduced while adding liquidity, in the token.transfer handler. However if the transfer is due to adding liquidity then the stake is still held by the LP provider, so it shouldn't be reduced.

In that case same while removing liquidity, stake should not be added.

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