mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
maxapi: align fields
This commit is contained in:
parent
be672c89e6
commit
877ea73435
|
@ -118,7 +118,7 @@ type Deposit struct {
|
|||
Fee string `json:"fee"`
|
||||
TxID string `json:"txid"`
|
||||
State string `json:"state"`
|
||||
Confirmations string `json:"confirmations"`
|
||||
Confirmations string `json:"confirmations"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
}
|
||||
|
@ -187,10 +187,8 @@ func (s *AccountService) NewGetDepositHistoryRequest() *GetDepositHistoryRequest
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
type Withdraw struct {
|
||||
UUID string `json:"uuid"`
|
||||
UUID string `json:"uuid"`
|
||||
Currency string `json:"currency"`
|
||||
CurrencyVersion string `json:"currency_version"` // "eth"
|
||||
Amount string `json:"amount"`
|
||||
|
@ -203,10 +201,10 @@ type Withdraw struct {
|
|||
// "failed", "pending", "confirmed",
|
||||
// "kgi_manually_processing", "kgi_manually_confirmed", "kgi_possible_failed",
|
||||
// "sygna_verifying"
|
||||
State string `json:"state"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
State string `json:"state"`
|
||||
Confirmations int `json:"confirmations"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
UpdatedAt int64 `json:"updated_at"`
|
||||
}
|
||||
|
||||
type GetWithdrawHistoryRequestParams struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user