-
Notifications
You must be signed in to change notification settings - Fork 42
/
model_currency_chain.go
29 lines (27 loc) · 1.1 KB
/
model_currency_chain.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
/*
* Gate API v4
*
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
*
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type CurrencyChain struct {
// Chain name
Chain string `json:"chain,omitempty"`
// Chain name in Chinese
NameCn string `json:"name_cn,omitempty"`
// Chain name in English
NameEn string `json:"name_en,omitempty"`
// Smart contract address for the currency; if no address is available, it will be an empty string
ContractAddress string `json:"contract_address,omitempty"`
// If it is disabled. 0 means NOT being disabled
IsDisabled int32 `json:"is_disabled,omitempty"`
// Is deposit disabled. 0 means not
IsDepositDisabled int32 `json:"is_deposit_disabled,omitempty"`
// Is withdrawal disabled. 0 means not
IsWithdrawDisabled int32 `json:"is_withdraw_disabled,omitempty"`
// Withdrawal precision
Decimal string `json:"decimal,omitempty"`
}