| | |
| | | |
| | | @Test |
| | | public void chainListener(){ |
| | | ChainService.contractEventListener(new BigInteger("20860433"), new BigInteger("20860433"), bscUsdtContractEvent, ChainEnum.BSC_USDT.name()); |
| | | ChainService.contractEventListener(new BigInteger("22934633"), new BigInteger("22934633"), bscUsdtContractEvent, ChainEnum.BSC_USDT.name()); |
| | | |
| | | ChainService.contractEventListener(new BigInteger("20860178"), new BigInteger("20860178"), bscCoinContractEvent, ChainEnum.BSC_TFC.name()); |
| | | // ChainService.contractEventListener(new BigInteger("20860178"), new BigInteger("20860178"), bscCoinContractEvent, ChainEnum.BSC_TFC.name()); |
| | | |
| | | } |
| | | |
| | |
| | | ChainService.wssContractEventListener(new BigInteger("22819014"), bscUsdtContractEvent, ChainEnum.BSC_USDT.name()); |
| | | } |
| | | |
| | | @Autowired |
| | | private ProfitDailyJob profitDailyJob; |
| | | |
| | | @Test |
| | | public void profitTest() { |
| | | profitDailyJob.profitDailyJob(); |
| | | } |
| | | // @Autowired |
| | | // private ProfitDailyJob profitDailyJob; |
| | | // |
| | | // @Test |
| | | // public void profitTest() { |
| | | // profitDailyJob.profitDailyJob(); |
| | | // } |
| | | } |