| | |
| | | @Resource
|
| | | private MemberWalletCoinDao memberWalletCoinDao;
|
| | |
|
| | | @Test
|
| | | public void pool() throws ExecutionException, InterruptedException {
|
| | | //List<MemberCoinChargeEntity> list = memberCoinChargeDao.selectAllBySymbolAndTag(CoinTypeEnum.USDT.name(), "ERC20", 1);
|
| | | List<MemberCoinChargeEntity> list = new ArrayList<MemberCoinChargeEntity>();
|
| | |
| | | */
|
| | | @Test
|
| | | public void pushFee() {
|
| | | String toAddress = "";
|
| | | String toAddress = "0xbc6050a2898511bda406660267e6667448070552";
|
| | | EthService ethService = new EthService();
|
| | | try {
|
| | | String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, toAddress, ETH_FEE);
|
| | | String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, toAddress, "0.0032");
|
| | | System.out.println("转手续费:"+hash);
|
| | | } catch (InterruptedException e) {
|
| | | // TODO Auto-generated catch block
|
| | |
| | | e.printStackTrace();
|
| | | }
|
| | | }
|
| | | |
| | | |
| | |
|
| | |
|
| | |
|
| | | }
|
| | |
|