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

Give users ability to not supply assets as collateral #24

Open
clabby opened this issue Jan 26, 2022 · 0 comments
Open

Give users ability to not supply assets as collateral #24

clabby opened this issue Jan 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@clabby
Copy link
Contributor

clabby commented Jan 26, 2022

We've modified the bdTokens to give users the option to flag assets as collateral as they mint, however at the moment, the UI always flags the supplied assets as collateral.

To save a bit of gas and allow the user to supply assets w/o flagging them as collateral, we should make this feature an option within the supply modal.

Relevant transactions in MarketButton.tsx: https://github.com/baofinance/bao-ui/blob/ropsten/src/views/Markets/components/MarketButton.tsx#L97-L101

mint function changes

@Vitalsine85 Vitalsine85 added the enhancement New feature or request label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants