sora-xor / sora-card-ios

Designing a Better World Through Decentralized Technologies
Apache License 2.0
1 stars 0 forks source link

iOS - Calculate amount of XOR for 2 free KYC attempts #65

Closed Tieumsan closed 1 year ago

ra9mls commented 1 year ago

Waiting the Demeter Staking calculation

2bogd commented 1 year ago

requirements have changed, and we need to take account of demeter balance as well.

2bogd commented 1 year ago

build https://jenkins.soramitsu.co.jp/job/sora/job/sora-ios/job/3.3.0/9/console

ra9mls commented 1 year ago

Native staking has a problem. Staked amount is doubled. (SoraPassport.BalanceContext) $R0 = { free = 999.551691

reserved = 0 miscFrozen = 999.000000

feeFrozen = 999.000000

bonded = 999.000000

redeemable = 0 unbonding = 0 price = 0 priceChange = 0 } totalXorBalance = balanceContext.total + balanceContext.frozen + balanceContext.bonded

It strange why we see staked balance like a bonded.

ra9mls commented 1 year ago

Still a bug with native sora staking.

ra9mls commented 1 year ago

Fixed on 24 build soralution