Skip to content

[Data Source] Create Claim CTA + Claim rewards modal #52

@FrancoAguzzi

Description

@FrancoAguzzi

Claim rewards CTA + modal

  • The claim rewards CTA should only be shown if 1 or more SHU tokens are available to be claimed
  • The claim rewards modal should display a Number Input + Slider component with the min amount to claim being 1 and the max, user's total amount of rewards to be claimed
  • The click of claim rewards modal main CTA should trigger the claim rewards SC call with the total amount desired, informed
  • If transaction fails, a toast message should be shown
  • If transaction succeeds, a toast message should be shown
  • By the end of the transaction, a "Refresh page" toast message should be displayed

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions