feat: change to generic ERC-20 ABI json file
fix: coinUtils rename import
This commit is contained in:
parent
dff407e30e
commit
8e099e3283
36 changed files with 364 additions and 249 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue