feat: change to generic ERC-20 ABI json file

fix: coinUtils rename import
This commit is contained in:
Sérgio Salgado 2021-06-10 01:43:22 +01:00 committed by Josh Harvey
parent dff407e30e
commit 8e099e3283
36 changed files with 364 additions and 249 deletions

View file

@ -1,6 +1,6 @@
import { makeStyles, Box } from '@material-ui/core'
import BigNumber from 'bignumber.js'
import { utils } from 'lamassu-coins'
import { utils as coinUtils } from 'lamassu-coins'
import * as R from 'ramda'
import React from 'react'
@ -103,7 +103,7 @@ const TransactionsList = ({ customer, data, loading, locale }) => {
textAlign: 'right',
view: it => (
<>
{`${utils
{`${coinUtils
.toUnit(new BigNumber(it.cryptoAtoms), it.cryptoCode)
.toFormat(5)} `}
<Label2 inline>{it.cryptoCode}</Label2>