From 8ce06347909eaa44482b86a7ec1652aa16d793e1 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 07 May 2024 10:26:46 +0800
Subject: [PATCH] 测试
---
src/main/java/cc/mrbird/febs/dapp/chain/EthUsdtContract.java | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/chain/EthUsdtContract.java b/src/main/java/cc/mrbird/febs/dapp/chain/EthUsdtContract.java
index f81debf..2668ea5 100644
--- a/src/main/java/cc/mrbird/febs/dapp/chain/EthUsdtContract.java
+++ b/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;
@@ -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;//上一次挖矿时间
}
}
--
Gitblit v1.9.1