Skip to content

[Frontend] Display User Stake (get_user_stake) #48

Description

@martinvibes

Description:

Implement a feature to display the amount a user has staked on a specific pool using the get_user_stake method.

Tasks:

  • Fetch user stake amount when the pool details page loads.
  • Display the user’s stake amount clearly on the pool page.
  • Handle cases where the user has not staked yet.

Acceptance Criteria:

  • User’s stake amount is correctly fetched and displayed.
  • Shows proper loading and fallback states.
  • Edge cases where no stake exists are handled gracefully.

The contract addres can be found in the snfoundry.toml file

Metadata

Metadata

Assignees

No one assigned

    Labels

    onlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions