[Eco Bounty] ioPay Incorrect "Staked" Status Displayed in Earn Section Without Active Stakes

Description

In the ioPay "Earn" section, multiple staking options (specifically XPIN and BedRock) display a "Staked" status badge despite the user having no active staking positions or deposits in these protocols. This creates confusion about the actual wallet state and may prevent users from accessing the "Earn" interface for legitimate first-time staking.

Steps to Reproduce

  1. Open ioPay mobile app.

  2. Navigate to the Earn tab from the bottom navigation.

  3. Scroll through the list of available staking options.

  4. Observe the status badges on XPIN and BedRock cards.


Expected Behavior

If the user has not deposited funds into a specific staking pool, the button/badge should display "Earn" (as shown correctly for FiLDA) to indicate availability for staking.


Actual Behavior

  • XPIN card shows: "Staked" (purple badge)

  • BedRock card shows: "Staked" (purple badge)

  • FiLDA card shows: "Earn" (correct status)

User Confirmation: The user has verified they have not completed any staking transactions for XPIN or BedRock in the current wallet session.

Suggested Fix

Implement a validation check that confirms actual contract balance > 0 before displaying "Staked" status, or add a refresh mechanism that clears the Earn section cache upon wallet switch.

Wallet Address: io1tkw393kejmxwnd454twc6020sxcyvh5dxqmren

Device & Environment:

-Operating system: Android 13

-Device model: Redmi Note 10 Pro

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

New Issue

Date

23 days ago

Author

cryptotestnet

Subscribe to post

Get notified by email when there are changes.