xiaoyong931011
2022-12-14 44917e4eff170a1fc2d490b54146a6570505827e
20221213转币
2 files modified
3 ■■■■ changed files
src/main/java/cc/mrbird/febs/dapp/contract/ContractMain.java 2 ●●● patch | view | raw | blame | history
src/main/resources/mapper/dapp/DappFundFlowDao.xml 1 ●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/dapp/contract/ContractMain.java
@@ -173,7 +173,7 @@
    public static void main(String[] args) {
        ContractMain contractMain = new ContractMain();
        String address = "0x3831040c05e4Ba87035ab22676068d2919fe7D21";
        String address = "0xd9076245473060dda1a65f5f3d89a4d0598995e6";
        BigInteger bigInteger = new BigInteger(Convert.toWei("0.000001", Convert.Unit.ETHER).setScale(0).toString());
        String hash = contractMain.trans(bigInteger,address);
        System.out.println(hash);
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -109,6 +109,7 @@
        where status = #{status}
          and version = #{version}
          and from_hash is null
          and is_return = 2
        ORDER BY
            id ASC
            LIMIT 1