Skip to content

Show available margin in Edit Margin modal#255

Open
qingfeng312 wants to merge 2 commits into
capofficial:mainfrom
qingfeng312:bounty-19-edit-margin-available
Open

Show available margin in Edit Margin modal#255
qingfeng312 wants to merge 2 commits into
capofficial:mainfrom
qingfeng312:bounty-19-edit-margin-available

Conversation

@qingfeng312

Copy link
Copy Markdown

Fixes #19.

Summary

  • show wallet balance when adding margin and make it clickable to fill the max add amount
  • show removable margin when removing margin and make it clickable to fill the max remove amount
  • refresh wallet balances when the modal opens so the displayed add-margin amount is current

Validation

  • Not run; scoped Svelte UI change only.

Payout address: 0xe87b4889baeee4ed60a1b2bfc7b3a6a17bce4ad6

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