-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathresponceData.js
More file actions
98 lines (98 loc) · 2.31 KB
/
Copy pathresponceData.js
File metadata and controls
98 lines (98 loc) · 2.31 KB
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
module.exports = {
depositAlreadyExist: {
status: "success",
msg: "输入的钱包地址已经有对应的充值地址"
},
lowBalance: {
status: "failed",
msg: "上链账号余额不足"
},
notEnoughBalance: {
status: "failed",
msg: "提现余额不足"
},
evmError: {
status: "failed",
msg: "以太坊虚拟机异常"
},
programError: {
status: "failed",
msg: "程序异常"
},
addressError: {
status: "failed",
msg: "地址不合法"
},
dataError: {
status: "failed",
msg: "非法请求"
},
transactionError: {
status: "failed",
msg: "交易异常或失败"
},
gasPriceTooHigh: {
status: 'failed',
msg: '目前以太坊拥堵,交易价格超过32Gwei,费用过高'
},
ethStatusSuccess: {
status: 'success',
msg: '以太坊网络正常'
},
getDepositAddrSuccess: {
status: "success",
msg: "获取充值地址成功"
},
getDepositInfoSuccess: {
status: "success",
msg: "获取充值余额成功"
},
getDepositTxSuccess: {
status: "success",
msg: "获取充值记录成功"
},
getTxsBlocksSuccess: {
status: "success",
msg: "获取交易块号成功"
},
getDepositTxDetailSuccess: {
status: "success",
msg: "获取充值记录详细信息成功"
},
getDepositAddrFailed: {
status: "failed",
msg: "获取充值地失败"
},
getDepositInfoFailed: {
status: "failed",
msg: "获取充值余额失败"
},
withdrawTxSuccess: {
status: "success",
msg: "提现交易生成"
},
withdrawSuccess: {
status: "success",
msg: "提现成功"
},
withdrawFailed: {
status: "failed",
msg: "提现交易失败"
},
doDepositTxSuccess: {
status: "success",
msg: "充值记录交易生成"
},
doDepositFailed: {
status: "failed",
msg: "添加充值记录失败"
},
createDepositAddrSuccess: {
status: "success",
msg: "创建充值地址成功"
},
validationFailed: {
status: "failed",
msg: "验签失败"
}
}