| | |
| | | ALL_ADDRESS_LIST.addAll(tdCoinWallets); |
| | | } |
| | | // 获取最新区块 |
| | | // String string = redisUtils.getString(ETH_USDT_BLOCK_NUM); |
| | | String string = "24317595"; |
| | | String string = redisUtils.getString(ETH_USDT_BLOCK_NUM); |
| | | // String string = "24317595"; |
| | | if(string==null){ |
| | | string = "24317595"; |
| | | } |
| | |
| | | Credentials credentials = Credentials.create(privateKey); |
| | | EthUsdtContract contract = EthUsdtContract.load(contractAddr, getInstance(), credentials, getStaticGasProvider()); |
| | | |
| | | EthFilter filter = getFilter(blockNum,null,contractAddr); |
| | | EthFilter filter = getFilter(blockNum,blockNum,contractAddr); |
| | | |
| | | Map<String,BigInteger> map = new HashMap<String,BigInteger>(); |
| | | map.put("blockNum",blockNum); |