You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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-L101mint
function changesCErc20.sol
: https://github.com/baofinance/bao-markets-contracts/blob/CTokenProxy/contracts/CToken/CErc20.sol#L44CEther.sol
: https://github.com/baofinance/bao-markets-contracts/blob/CTokenProxy/contracts/CToken/CEther.sol#L46The text was updated successfully, but these errors were encountered: