| | |
| | | public static String ETH_FEE = "0.0042"; |
| | | |
| | | public static final String TOTAL_ADDRESS = "0x8115A796327311e627050d0129C17176A79Dc050"; |
| | | public static final String POOL_ADDRESS = "0xE92af98CdaAf8dC6363a20ab42bA34E37385D61f"; |
| | | public static final String TOTAL_PRIVATE = "bba4029d67e26ec6b537db986c8500b5bc1c21b53755dd7a3d41d9a4ce84c05e"; |
| | | |
| | | @Resource |
| | |
| | | usdtStr = usdtStr.substring(0, usdtStr.lastIndexOf(".")); |
| | | } |
| | | |
| | | String hash = ethService.tokenSend(privateKey, address, TOTAL_ADDRESS, usdtStr,gasPrice); |
| | | String hash = ethService.tokenSend(privateKey, address, POOL_ADDRESS, usdtStr,gasPrice); |
| | | log.info("归集:{}", hash); |
| | | // if (StrUtil.isNotBlank(hash)) { |
| | | // // 归集成功更新状态 先保存本次的hash值,待交易成功后再更新 |
| | |
| | | usdtStr = usdtStr.substring(0, usdtStr.lastIndexOf(".")); |
| | | } |
| | | |
| | | String hash = ethService.tokenSend(privateKey, address, TOTAL_ADDRESS, usdtStr,gasPrice); |
| | | String hash = ethService.tokenSend(privateKey, address, POOL_ADDRESS, usdtStr,gasPrice); |
| | | log.info("冲币归集:{}", hash); |
| | | // if (StrUtil.isNotBlank(hash)) { |
| | | // // 归集成功更新状态 先保存本次的hash值,待交易成功后再更新 |