Skip to content

Integrate proper CP calculationΒ #447

@rossneilson

Description

@rossneilson

Currently there is a basic clearing price calculation in the useBids hook for the fairsale page. However the solution taken from gnosis for this calculation in src/aqua/Price.ts should be more like what we really want. Some of the variables and data used in the function seem strange and Im not sure entirely what they are supposed to be from. Time will be needed to understand this, likely with reference to the final clearing price in the SC to adapt it to work in the UI properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions