Skip to content

Projected weekly earnings on boosted pools is always calculated in USD #264

Description

@0xtuytuy

Describe the bug
It looks like boosted pools, if the user tries to deposit assets that are others then USD the projected weekly early figure is still calculated assuming the inputed asset is in USD.

Here are examples:
image
☝️ is the correct projected weekly earnings for this user

image
☝️ this should calculate what is the value of 1000 WBTC in USD then add that use that value in the projected weekly earning but it looks like its assuming the user is inputting 1000 USD as can be seen in the next image

image
☝️ this is correct as the asset selected is usdc

To Reproduce
try to input some non USD pegged assets on Boosted Pools.

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