| | |
| | | import lombok.extern.slf4j.Slf4j;
|
| | |
|
| | | @Slf4j
|
| | | @SpringBootTest
|
| | | @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
| | | public class GuijiTest {
|
| | |
|
| | | private static final BigDecimal LIMIT = new BigDecimal("50");
|
| | |
| | | @Resource
|
| | | private MemberWalletCoinDao memberWalletCoinDao;
|
| | |
|
| | | @Test
|
| | | public void poolTest() {
|
| | | String address = "0x19177bfd062852a4398cae3ab701a82a6b959bf2";
|
| | | EthService ethService = new EthService();
|
| | | BigDecimal balance = ethService.tokenGetBalance(address);
|
| | | BigDecimal eth = EthService.getEthBlance(address);
|
| | |
|
| | | log.info("--->{}, {}", balance, eth);
|
| | | }
|
| | |
|
| | | public void pool() throws ExecutionException, InterruptedException {
|
| | | //List<MemberCoinChargeEntity> list = memberCoinChargeDao.selectAllBySymbolAndTag(CoinTypeEnum.USDT.name(), "ERC20", 1);
|
| | | List<MemberCoinChargeEntity> list = new ArrayList<MemberCoinChargeEntity>();
|