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

Subtract the gas cost from the current max addable collateral amount #308

Open
yichiehliu opened this issue Apr 7, 2022 · 0 comments
Open

Comments

@yichiehliu
Copy link
Contributor

yichiehliu commented Apr 7, 2022

Please describe the problem you're having.
Currently we use user eth balances as max addable amount for collateral, but it should subtract the gas will cost in the add collateral tx for user, otherwise user cant not send the tx because of insufficient fund

Screenshots
image
image

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

2 participants