| | |
| | | dappFundFlowDao.updateById(dappFundFlowEntity); |
| | | } |
| | | |
| | | // public static void main(String[] args) { |
| | | // String address = "0x7a9bfE048d110EF90a467803653f9B8666f9096C"; |
| | | // /** |
| | | // * 发起USDT转账 |
| | | // */ |
| | | // String hash = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL_CONTRACT.name()).transferUSDT(address, new BigDecimal("0.99")); |
| | | // System.out.println(hash); |
| | | // } |
| | | |
| | | @Override |
| | | public void AntACoinBPollInMsg(Long id) { |
| | | log.info("{}",id); |
| | |
| | | */ |
| | | // public static void main(String[] args) { |
| | | // BigDecimal amount = new BigDecimal("0.01"); |
| | | // String address = "0xB3cF9669F398f444DfCAebbAd2A49bF32ba41fE3"; |
| | | // String address = "0xA60AaC0da34C76F3f60207ee09e9F75043319ab4"; |
| | | // |
| | | // String hash = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL_CONTRACT.name()).transferUSDT(address, amount); |
| | | // |
| | | // System.out.println(hash); |
| | | // |
| | | // |
| | | //// int i = ChainService.getInstance(ChainEnum.BSC_TFC.name()).allowanceCnt("0x80098f854950f9327C4F4E747d285Fd2d41fbf3e"); |
| | | // } |
| | | |
| | | @Override |
| | |
| | | * 更新用户为有效用户 |
| | | */ |
| | | dappMemberDao.updateMemberActiveStatus(1,memberId); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 测试转账 |
| | | * @param args |
| | | */ |
| | | public static void main(String[] args) { |
| | | // BigDecimal amount = new BigDecimal("2000"); |
| | | // String address = "0xCe74955CF5289E803EE518902076eF42BB09b7a8"; |
| | | //// String transfer = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL.name()).transferUSDT(address, amount); |
| | | // String transfer = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL_CONTRACT.name()).transferUSDT(address, amount); |
| | | // System.out.println(transfer); |
| | | BigDecimal amount = new BigDecimal("83.8172"); |
| | | String address = "0x8f936015D3cb70005A4b16f4b4793F91E500b8e0"; |
| | | String transfer = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL.name()).transfer(address |
| | | , amount); |
| | | System.out.println(transfer); |
| | | |
| | | } |
| | | |