Skip to content

feat: show available margin in Add/Remove margin modal (Bounty #19)#191

Open
arthurus36-alt wants to merge 1 commit into
capofficial:mainfrom
arthurus36-alt:feature/issue-19-margin-balance
Open

feat: show available margin in Add/Remove margin modal (Bounty #19)#191
arthurus36-alt wants to merge 1 commit into
capofficial:mainfrom
arthurus36-alt:feature/issue-19-margin-balance

Conversation

@arthurus36-alt
Copy link
Copy Markdown

This implements the requested feature for the Edit Margin modal:

  • When adding margin, the user's wallet balance is shown and is clickable to input the max balance.
  • When removing margin, the total available removable margin (margin + funding) is shown and is clickable to remove the maximum amount.

Fixes #19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show available margin in Add/Remove margin modal

1 participant