-
Notifications
You must be signed in to change notification settings - Fork 15
/
model_wallet.go
33 lines (31 loc) · 1.49 KB
/
model_wallet.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
package bitmexgo
import (
"time"
)
type Wallet struct {
Account int `json:"account"`
Currency string `json:"currency"`
PrevDeposited int `json:"prevDeposited,omitempty"`
PrevWithdrawn int `json:"prevWithdrawn,omitempty"`
PrevTransferIn int `json:"prevTransferIn,omitempty"`
PrevTransferOut int `json:"prevTransferOut,omitempty"`
PrevAmount int `json:"prevAmount,omitempty"`
PrevTimestamp time.Time `json:"prevTimestamp,omitempty"`
DeltaDeposited int `json:"deltaDeposited,omitempty"`
DeltaWithdrawn int `json:"deltaWithdrawn,omitempty"`
DeltaTransferIn int `json:"deltaTransferIn,omitempty"`
DeltaTransferOut int `json:"deltaTransferOut,omitempty"`
DeltaAmount int `json:"deltaAmount,omitempty"`
Deposited int `json:"deposited,omitempty"`
Withdrawn int `json:"withdrawn,omitempty"`
TransferIn int `json:"transferIn,omitempty"`
TransferOut int `json:"transferOut,omitempty"`
Amount int `json:"amount,omitempty"`
PendingCredit int `json:"pendingCredit,omitempty"`
PendingDebit int `json:"pendingDebit,omitempty"`
ConfirmedDebit int `json:"confirmedDebit,omitempty"`
Timestamp time.Time `json:"timestamp,omitempty"`
Addr string `json:"addr,omitempty"`
Script string `json:"script,omitempty"`
WithdrawalLock []string `json:"withdrawalLock,omitempty"`
}