KKSU
2024-05-09 7c93f4f06f148546d4c760cf40194212d78878e0
src/main/java/cc/mrbird/febs/dapp/chain/EthUsdtContract.java
@@ -174,25 +174,25 @@
     *            {
     *             "indexed": false,
     *             "internalType": "uint256",
     *             "name": "sameCoin",
     *             "name": "usdtTarget",
     *             "type": "uint256"
     *            },
     *            {
     *             "indexed": false,
     *             "internalType": "uint256",
     *             "name": "finxMineCoin",
     *             "name": "coinTarget",
     *             "type": "uint256"
     *            },
     *            {
     *             "indexed": false,
     *             "internalType": "uint256",
     *             "name": "usdtCoin",
     *             "type": "uint256"
     *            },
     *            {
     *             "indexed": false,
     *             "internalType": "uint256",
     *             "name": "lastMineTime",
     *             "type": "uint256"
     *            },
     *            {
     *             "indexed": false,
     *             "internalType": "uint256",
     *             "name": "thisMineTime",
     *             "type": "uint256"
     *            }
     *       ],
@@ -410,10 +410,10 @@
                    typedResponse.adr = (String) eventValues.getNonIndexedValues().get(0).getValue();
                    typedResponse.amount = (BigInteger) eventValues.getNonIndexedValues().get(1).getValue();
                    typedResponse.price = (BigInteger) eventValues.getNonIndexedValues().get(2).getValue();
                    typedResponse.sameCoin = (BigInteger) eventValues.getNonIndexedValues().get(3).getValue();
                    typedResponse.finxMineCoin = (BigInteger) eventValues.getNonIndexedValues().get(4).getValue();
                    typedResponse.lastMineTime = (BigInteger) eventValues.getNonIndexedValues().get(5).getValue();
                    typedResponse.thisMineTime = (BigInteger) eventValues.getNonIndexedValues().get(6).getValue();
                    typedResponse.usdtTarget = (BigInteger) eventValues.getNonIndexedValues().get(3).getValue();
                    typedResponse.coinTarget = (BigInteger) eventValues.getNonIndexedValues().get(4).getValue();
                    typedResponse.usdtCoin = (BigInteger) eventValues.getNonIndexedValues().get(5).getValue();
                    typedResponse.lastMineTime = (BigInteger) eventValues.getNonIndexedValues().get(6).getValue();
                }
                return typedResponse;
@@ -427,7 +427,7 @@
    public Flowable<CoinRewardEventResponse> coinRewardEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
        EthFilter filter = new EthFilter(startBlock, endBlock, getContractAddress());
        filter.addSingleTopic(EventEncoder.encode(TRANSFER_EVENT));
        filter.addSingleTopic(EventEncoder.encode(COINREWARD_EVENT));
        return coinRewardEventFlowable(filter);
    }
@@ -831,13 +831,13 @@
    }
    public static class CoinRewardEventResponse extends BaseEventResponse {
        public String adr;
        public String adr;//地址
        public BigInteger amount;
        public BigInteger price;
        public BigInteger sameCoin;
        public BigInteger finxMineCoin;
        public BigInteger lastMineTime;
        public BigInteger thisMineTime;
        public BigInteger amount;//总挖矿币量
        public BigInteger price;//挖矿时价格
        public BigInteger usdtTarget;//金本位多少USDT,单位USDT
        public BigInteger coinTarget;//币本位多少币
        public BigInteger usdtCoin;//金本位换算后多少币
        public BigInteger lastMineTime;//上一次挖矿时间
    }
}