Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update transferable balance calculation formula #2118

Closed
Sokol142196 opened this issue Nov 1, 2023 · 7 comments · Fixed by #3042
Closed

Update transferable balance calculation formula #2118

Sokol142196 opened this issue Nov 1, 2023 · 7 comments · Fixed by #3042
Assignees
Labels
critical-error Critical error need to be fixed ASAP
Milestone

Comments

@Sokol142196
Copy link

Describe the task
Update transferable balance calculation formula

Expect: transferable = free - max(frozen - reserved, ED)

Image

@Sokol142196 Sokol142196 added this to the Milestone 8 milestone Nov 1, 2023
@S2kael S2kael assigned S2kael and unassigned nampc1 Nov 18, 2023
@nampc1 nampc1 self-assigned this Nov 18, 2023
@nampc1
Copy link

nampc1 commented Nov 18, 2023

@nampc1
Copy link

nampc1 commented Nov 18, 2023

image

@nampc1 nampc1 removed their assignment Nov 20, 2023
@nampc1 nampc1 added the important Import task need to be focused label Nov 20, 2023
@S2kael
Copy link

S2kael commented Nov 24, 2023

@nampc1 nampc1 added critical-error Critical error need to be fixed ASAP and removed important Import task need to be focused labels Nov 24, 2023
@nampc1 nampc1 assigned bluezdot and unassigned S2kael Nov 28, 2023
@bluezdot bluezdot linked a pull request Dec 5, 2023 that will close this issue
@hieudd hieudd modified the milestones: Milestone 8, Milestone 9 Dec 13, 2023
@nampc1
Copy link

nampc1 commented Dec 15, 2023

@nampc1 nampc1 assigned S2kael and unassigned bluezdot Apr 17, 2024
@nampc1 nampc1 assigned nampc1 and unassigned S2kael May 6, 2024
@nampc1
Copy link

nampc1 commented May 7, 2024

  • Update formula calculating transferable balance
  • Update parsing system pallet
  • Update transfer max formula
  • Update validation logic when transfer token
  • Review available balance formula for other features (staking, xcm,...)

@Sokol142196
Copy link
Author

Sokol142196 commented May 29, 2024

Version test: http://14.224.129.242:8900/s/k2JG8ArrHFW443f

Please check issues:

  • Re-check swap with HydraDX provider
  • Update message in case not enough balance to stake with XCM
  • Update some other message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical-error Critical error need to be fixed ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants