Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

investor-foxy: Wrong releaseTime #921

@gomesalexandre

Description

@gomesalexandre

Overview

Taking over shapeshift/web#2103

Currently in investor-foxy, getTimeUntilClaimable sometimes returns a wrong releaseTime:

releaseTime = await this.getTimeUntilClaimable(input)

The high-level reason for that is investor-foxy mimics the FOXy contract methods / state and has potential for a wrong reconciliation.

We should fix it so that getTimeUntilClaimable returns us the correct release time, making sure we don't disable the claim button when claims are actually available.

References and additional details

shapeshift/web#2103

releaseTime = await this.getTimeUntilClaimable(input)

Acceptance Criteria

  • The right releaseTime is return by getTimeUntilClaimable
  • getWithdrawInfo doesn't throw if user is available to claim

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions