Skip to content

Commit 3cdc77d

Browse files
committed
usdc
1 parent 9fdde4d commit 3cdc77d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/services/ExchangeService.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ const TYPES = {
2020
};
2121

2222
const eosMainnetId = 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906';
23-
const ethToken = (symbol, contract) => ({ blockchain:'eth', chainId:'1', contract, symbol, name:symbol, decimals:18, });
23+
const ethToken = (symbol, contract, decimals = 18) => ({ blockchain:'eth', chainId:'1', contract, symbol, name:symbol, decimals, });
2424
const trxToken = (symbol, contract) => ({ blockchain:'trx', chainId:'1', contract, symbol, name:symbol, decimals:6, });
2525
const eosToken = (symbol, contract, chainId = eosMainnetId) => ({ blockchain:'eos', chainId, contract, symbol, name:symbol, decimals:4, });
2626

2727
export const STABLETOKENS = [
28-
// Fuck this token.
29-
// ethToken('USDC', '0xb9e31a22e3a1c743c6720f3b723923e91f3c0f8b'),
28+
ethToken('USDC', '0xb9e31a22e3a1c743c6720f3b723923e91f3c0f8b', 6),
3029
ethToken('TUSD', '0x8dd5fbce2f6a956c3022ba3663759011dd51e73e'),
3130
ethToken('DAI', '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359'),
3231
];

0 commit comments

Comments
 (0)