Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
extra check for balances on BTC tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Padraic-O-Mhuiris committed Jan 26, 2021
1 parent 7f4494d commit 1fd9840
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/dai-plugin-mcd/src/schemas/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ export const tokenBalance = {
[TOKEN_BALANCE]: v => {
if (symbol === 'USDC' || symbol === 'USDT') {
return currencyToken(v, -6);
} else if (symbol === 'WBTC' || symbol === 'RENBTC') {
} else if (
symbol === 'WBTC' ||
symbol === 'RENBTC' ||
symbol === 'UNIV2WBTCETH'
) {
return currencyToken(v, -8);
} else if (symbol === 'GUSD') {
return currencyToken(v, -2);
Expand Down

0 comments on commit 1fd9840

Please sign in to comment.