Closed Tieumsan closed 1 year ago
@bgodlin Total balance of XOR is different in main Sora app on ios and web: on ios total = free + reserved on web total = free + reserved + bonded need to clarify this moment and make it same on all platforms
@bgodlin Total balance of XOR is different in main Sora app on ios and web: on ios total = free + reserved on web total = free + reserved + bonded need to clarify this moment and make it same on all platforms
Total refers to the sum of all balances obtained from the data
object within the system.account
chain state call response
@bgodlin total = freeBalance + nativeStaking + liquidityPool
cc. @ra9mls
@BenoXYZ Kindly take note that only the previously aforementioned balances are considered (neither referral program bonded balances nor single-sided Demeter staking are encompassed). If you believe these should be taken into the consideration, I encourage you to let us know. This will allow us to either revise the requirements or create a new task based on your feedback.
system.account
storage:
total = free + reserved + bonded
@bgodlin please include referral program bonded and single-sided Demeter staking
@bgodlin please include referral program bonded and single-sided Demeter staking
Derived from the cited comment, modifications were made to the requirements @arvifox @2bogd @RustemYuzlibaev @Tieumsan
Problem Statement
The business requirement for users to have 2 free KYC attempts is that they should be cumulated across the different balances. It seems that this requirement is not correctly implemented in the mobile wallets. We need to fix that.
Definition of Done
Incorporate the following steps when computing the necessary amount:
XOR
returned fromsystem.account
(refer to https://soramitsu.atlassian.net/browse/SN-1468).referrals.referrerBalances
for the amount bonded in the referral program.demeterFarmingPlatform.userInfos
, filter the returned values so that onlyXOR
objects are considered, and ensure thatisFarm
is set tofalse
(indicating single-sided staking).Sub-tasks