You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
package values |
|
|
|
import ( |
|
"server/common" |
|
"server/pb" |
|
) |
|
|
|
type BlockOrderReq struct { |
|
OrderID string `json:"OrderID" binding:"required"` |
|
TxID string `json:"TxID" binding:"required"` |
|
} |
|
|
|
type BlockAddrsResp struct { |
|
Addrs []*pb.OneBlockAddr |
|
} |
|
|
|
type AddBlockAddrsReq struct { |
|
Address string `json:"Address" binding:"required"` |
|
Private string `json:"Private" binding:"required"` |
|
} |
|
|
|
type BlockTransferListReq struct { |
|
Start string `json:"Start"` |
|
End string `json:"End"` |
|
Page int `json:"Page" binding:"required"` |
|
Num int `json:"Num" binding:"required"` |
|
Type int |
|
Status int |
|
Success *bool |
|
} |
|
|
|
type BlockTransferListResp struct { |
|
Count int64 |
|
List []common.ESTron |
|
} |
|
|
|
type BlockTransferReq struct { |
|
FromAddr string `json:"FromAddr" binding:"required"` |
|
ToAddr string `json:"ToAddr" binding:"required"` |
|
Amount int64 `json:"Amount" binding:"required"` |
|
Type int64 `json:"Type" binding:"required"` // 1TRX 2USDT |
|
} |
|
|
|
type PlayerWalletUsdtsResp struct { |
|
TotalAmount int64 // 总共的usdt |
|
Count int64 // 总共能需转账的个数 |
|
Fee int64 // 所需能量预估 |
|
} |
|
|
|
type PlayerWalletScanReq struct { |
|
Down int64 `json:"Down"` // 扫描u下限 |
|
Up int64 `json:"Up"` // 扫描u上限 |
|
} |
|
|
|
type PlayerWalletScanResp struct { |
|
Success int64 // 成功转账个数 |
|
Fail int64 // 失败转账个数 |
|
}
|
|
|