forked from btcsuite/btcd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dmresult.go
71 lines (65 loc) · 2.09 KB
/
dmresult.go
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
package dmjson
type DmBlockTransaction struct {
Amount string `json:"amount"`
AuthoritySign string `json:"authority_sign"`
Black string `json:"black"`
BlockNum string `json:"blockNum"`
Chaincode string `json:"chaincode"`
Error string `json:"error"`
Facc string `json:"facc"`
MinerNormal string `json:"minerNormal"`
MinerSuper string `json:"minerSuper"`
NMinerFee string `json:"nMinerFee"`
Remark string `json:"remark"`
SMinerFee string `json:"sMinerFee"`
Status string `json:"status"`
Tacc string `json:"tacc"`
Time string `json:"time"`
TxID string `json:"txId"`
Type string `json:"type"`
}
type DmGetTransactionIdResutl struct {
Txid string
Nonce string
}
type DmGetTransactionDetailResult struct {
Amount string `json:"amount"`
AuthoritySign string `json:"authority_sign"`
BlockNum string `json:"blockNum"`
Error string `json:"error"`
Fee string `json:"fee"`
In string `json:"in"`
Out string `json:"out"`
Remark string `json:"remark"`
Status string `json:"status"`
Sum string `json:"sum"`
Time string `json:"time"`
Token string `json:"token"`
TxID string `json:"txId"`
Type string `json:"type"`
}
type DmGetNewAddressResult struct {
Address string `json:"address"`
Crypto DmCryptoInfo `json:"crypto"`
}
type DmCryptoInfo struct {
Cipher string `json:"cipher"`
CipherText string `json:"ciphertext"`
}
type DmTokenInfo struct {
Name string `json:"name"`
Cc string `json:"cc"`
Creator string `json:"creator"`
Desc string `json:"desc"`
Total string `json:"total"`
URL string `json:"url"`
Decimal string `json:"decimal"`
Logo string `json:"logo"`
Mineral string `json:"mineral"`
Award string `json:"award"`
Email string `json:"email"`
TokenCharge string `json:"tokenCharge"`
Charge string `json:"charge"`
PublishTime string `json:"publishTime"`
Deflation string `json:"deflation"`
}