Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balance ¶
type Balance struct { CurrencyID uint16 `json:"currency_id"` Available *big.Float `json:"available"` Locked *big.Float `json:"locked"` Frozen *big.Float `json:"frozen"` }
Balance model.
type Currency ¶
type Currency struct { ID uint16 `json:"id"` Currency string `json:"currency"` FullName string `json:"fullname"` LogoURL string `json:"logo_url"` Chain string `json:"chain"` Contract string `json:"contract"` Decimals uint8 `json:"decimals"` Confirm uint8 `json:"confirm"` DepositEnabled bool `json:"deposit_enabled"` WithdrawEnabled bool `json:"withdraw_enabled"` DepositMinAmount *big.Float `json:"deposit_min_amount"` WithdrawMinAmount *big.Float `json:"withdraw_min_amount"` WithdrawMaxAmount *big.Float `json:"withdraw_max_amount"` WithdrawFeeRate *big.Float `json:"withdraw_fee_rate"` WithdrawPrecision uint8 `json:"withdraw_precision"` }
Currency model.
type DepositInfo ¶
DepositInfo model.
type LockBalance ¶
type LockBalance struct {
IsIdempotentRequest bool `json:"is_idempotent_request"`
}
LockBalance model.
type LockedBalance ¶
type LockedBalance struct { CurrencyID uint16 `json:"currency_id"` AmountLocked *big.Float `json:"amount_locked"` }
LockedBalance model.
type Transfer ¶
type Transfer struct { TransactionID uint64 `json:"transaction_id"` IsIdempotentRequest bool `json:"is_idempotent_request"` }
Transfer model.
type UnlockBalance ¶
type UnlockBalance struct {
IsIdempotentRequest bool `json:"is_idempotent_request"`
}
UnlockBalance model.
Click to show internal directories.
Click to hide internal directories.