import BigNumber from 'bignumber.js' ; export { parseSolidityStringArray , stringToBoolean } from '@celo/base/lib/parsing' ; export const parseInputAmount = ( inputString , decimalSeparator = '.' ) : BigNumber => { if ( decimalSeparator !== '.' ) { inputString = inputString . replace ( decimalSeparator , '.' ) ; } return new BigNumber ( inputString || '0' ) ; } ;