| | |
| | | } |
| | | |
| | | public String tokenTransfer(String privateKey, String fromAddress, String toAddress, String amount) throws ExecutionException, InterruptedException { |
| | | String gas = getGas(); |
| | | // String gas = "5"; |
| | | // String gas = getGas(); |
| | | String gas = "5"; |
| | | |
| | | BigDecimal amountPow = new BigDecimal(amount).multiply(BigDecimal.TEN.pow(decimals())); |
| | | amount = amountPow.toPlainString(); |
| | |
| | | @Test |
| | | public void tranfer(){ |
| | | // dappSystemService.antKLineMsg(1); |
| | | dappSystemService.aKlineJobHour(); |
| | | dappSystemService.AntACoinInMsg(780L); |
| | | // dappSystemService.aKlineJobHour(); |
| | | // dappSystemService.aKlineJobDay(); |
| | | // dappSystemService.AntACoinInMsg(164L); |
| | | |