Skip to content
This repository was archived by the owner on Aug 8, 2021. It is now read-only.
This repository was archived by the owner on Aug 8, 2021. It is now read-only.

yswap impermanent loss protection on buy/sell #2

@sirpy

Description

@sirpy

How does yswap protect if the protection only happens on withdrawing liquidity and not during every buy/sell?

uint valueA = Oracle(link).getPriceUSD(underlying).mul(amountA).div(uint256(10)**ERC20Detailed(token).decimals());

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