Skip to content

Fix testData Buffer rate when fixedPointOne is different than 1e18 #151

@brunoguerios

Description

@brunoguerios

Example for ghUSDC on SONIC:

main token decimals -> 18
underlying token decimals -> 6
fixedPointOne -> 30 decimals
convertToAssets should be called with 1e30 to result in the correct rate of -> 1040198652125

here's the link to the rate provider

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