zj
2025-05-28 bcd36411feb0351347289476eb7ee9e5dd1c3b9d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
package project.monitor.etherscan;
 
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
 
public class Transaction  implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = 3269375455620589242L;
    /**
     * 时间
     */
    private String timeStamp;
    /**
     * 交易的哈希值
     */
    private String hash;
    private Integer nonce;
    private String from;
    private String to;
    /**
     * 交易量,单位为Wei.(单位是ETHER)
     */
    private Double value;
    /**
     * 0无数,1发生错误
     */
    private String isError;
    /**
     * 交易状态,要进一步确认值 含义
     * 1.成功,0.失败 ,"":pedding(未验证)
     */
    private String txreceipt_status;
    /**
     * 节点地址,固定的
     */
    private String contractAddress;
 
    private String input;
    /**
     * input里对应的合约method
     */
    private String inputMethod;
    
    /**
     * input根据不同的method解析出对应的值
     * 公有属性 method,
     * <p>    授权:approve</br>
            授权地址 key:approve_address</br>
            授权金额(具体的金额换算根据合约decimal决定) approve_value</br>
     * </p>
     */
    private Map<String,Object> inputValueMap = new HashMap<String, Object>();
 
    public String getTimeStamp() {
        return timeStamp;
    }
 
    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }
 
    public String getHash() {
        return hash;
    }
 
    public void setHash(String hash) {
        this.hash = hash;
    }
 
    public Integer getNonce() {
        return nonce;
    }
 
    public void setNonce(Integer nonce) {
        this.nonce = nonce;
    }
 
    public String getFrom() {
        return from;
    }
 
    public void setFrom(String from) {
        this.from = from;
    }
 
    public String getTo() {
        return to;
    }
 
    public void setTo(String to) {
        this.to = to;
    }
 
    public Double getValue() {
        return value;
    }
 
    public void setValue(Double value) {
        this.value = value;
    }
 
    public String getContractAddress() {
        return contractAddress;
    }
 
    public void setContractAddress(String contractAddress) {
        this.contractAddress = contractAddress;
    }
 
    public String getIsError() {
        return isError;
    }
 
    public void setIsError(String isError) {
        this.isError = isError;
    }
 
    public String getTxreceipt_status() {
        return txreceipt_status;
    }
 
    public void setTxreceipt_status(String txreceipt_status) {
        this.txreceipt_status = txreceipt_status;
    }
 
    public String getInput() {
        return input;
    }
 
    public void setInput(String input) {
        this.input = input;
    }
 
    public String getInputMethod() {
        return inputMethod;
    }
 
    public Map<String, Object> getInputValueMap() {
        return inputValueMap;
    }
 
    public void setInputMethod(String inputMethod) {
        this.inputMethod = inputMethod;
    }
 
    public void setInputValueMap(Map<String, Object> inputValueMap) {
        this.inputValueMap = inputValueMap;
    }
 
}