| | |
| | | /**
|
| | | * A入金,90%进入A底池--A底池钱包
|
| | | */
|
| | | public static final String ADDRESS_A_POOL_PEOJECT = "0xA60AaC0da34C76F3f60207ee09e9F75043319ab4";
|
| | | public static final String ADDRESS_A_POOL_PEOJECT = "0xC0bc98555C3d03A374c27cd247b12667a3eDf766";
|
| | |
|
| | |
|
| | | /**
|
| | | * A入金,10%进入B底池--B底池钱包
|
| | | */
|
| | | public static final String ADDRESS_B_POOL_PEOJECT = "0xA60AaC0da34C76F3f60207ee09e9F75043319ab4";
|
| | | public static final String ADDRESS_B_POOL_PEOJECT = "0x9Bfb58c6649B85AB417b9FF482c38158353c7c97";
|
| | |
|
| | | public static final BigDecimal NODE_PERK_PERCENT = new BigDecimal(0.2);
|
| | |
|
| | |
| | | /** |
| | | * 提现USDT |
| | | */ |
| | | BSC_USDT_W_POOL("BSC", "0x891884eed30219DE39CCAE8b796F5fAE231A2Ea0", |
| | | "446b506156020a5f1160903fd298ad4621dadcb357b31aa166ce420e4ec82f88", |
| | | BSC_USDT_W_POOL("BSC", "0xBa4BCd0e752A0dda78ecD0AA94Fae0E8713d027F", |
| | | "0x270a863ec3161ac15bb7825b480a39a8d8eae91bdba97cb21061f46ca75586ae", |
| | | "https://bsc-dataseed1.ninicoin.io", |
| | | "0x55d398326f99059fF775485246999027B3197955", |
| | | ""), |
| | |
| | | * 发起USDT转账 |
| | | */ |
| | | log.info("amount:{},address:{}",amount,address); |
| | | // String hash = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL.name()).transfer(address, amount); |
| | | // if(StrUtil.isEmpty(hash)){ |
| | | // return; |
| | | // } |
| | | // log.info("{},{}",id,hash); |
| | | // dappFundFlowEntity.setFromHash(hash); |
| | | // dappFundFlowEntity.setStatus(2); |
| | | // dappFundFlowDao.updateById(dappFundFlowEntity); |
| | | String hash = ChainService.getInstance(ChainEnum.BSC_USDT_W_POOL.name()).transfer(address, amount); |
| | | if(StrUtil.isEmpty(hash)){ |
| | | return; |
| | | } |
| | | log.info("{},{}",id,hash); |
| | | dappFundFlowEntity.setFromHash(hash); |
| | | dappFundFlowEntity.setStatus(2); |
| | | dappFundFlowDao.updateById(dappFundFlowEntity); |
| | | } |
| | | |
| | | @Override |