subuser

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubUserRequest

type CreateSubUserRequest struct {
	UserList []Users `json:"userList"`
}

type CreateSubUserResponse

type CreateSubUserResponse struct {
	Code    int        `json:"code"`
	Message string     `json:"message"`
	Data    []UserData `json:"data"`
}

type DepositHistory

type DepositHistory struct {
	Id              int64           `json:"id"`
	Currency        string          `json:"currency"`
	TransactionHash string          `json:"txHash"`
	Chain           string          `json:"chain"`
	Amount          decimal.Decimal `json:"amount"`
	Address         string          `json:"address"`
	AddressTag      string          `json:"addressTag"`
	State           string          `json:"state"`
	CreateTime      int64           `json:"createTime"`
	UpdateTime      int64           `json:"updateTime"`
}

type QuerySubUserDepositHistoryOptionalRequest

type QuerySubUserDepositHistoryOptionalRequest struct {
	Currency  string `json:"currency"`
	StartTime int64  `json:"startTime"`
	EndTime   int64  `json:"endTime"`
	Sort      string `json:"sort"`
	Limit     string `json:"limit"`
	FromId    int64  `json:"fromId"`
}

type QuerySubUserDepositHistoryResponse

type QuerySubUserDepositHistoryResponse struct {
	Code    int              `json:"code"`
	Message string           `json:"message"`
	Data    []DepositHistory `json:"data"`
	NextId  int64            `json:"nextId"`
}

type SetSubUserTradableMarketRequest

type SetSubUserTradableMarketRequest struct {
	SubUids     string `json:"subUids"`
	AccountType string `json:"accountType"`
	Activation  string `json:"activation"`
}

type SetSubUserTradableMarketResponse

type SetSubUserTradableMarketResponse struct {
	Code    int              `json:"code"`
	Message string           `json:"message"`
	Data    []TradableMarket `json:"data"`
}

type SetSubUserTransferabilityRequest

type SetSubUserTransferabilityRequest struct {
	SubUids       string `json:"subUids"`
	AccountType   string `json:"accountType"`
	Transferrable bool   `json:"transferrable"`
}

type SetSubUserTransferabilityResponse

type SetSubUserTransferabilityResponse struct {
	Code    int               `json:"code"`
	Message string            `json:"message"`
	Data    []Transferability `json:"data"`
}

type SubUserManagement

type SubUserManagement struct {
	SubUid    int64  `json:"subUid"`
	UserState string `json:"userState"`
}

type SubUserManagementRequest

type SubUserManagementRequest struct {
	SubUid int64  `json:"subUid"`
	Action string `json:"action"`
}

type SubUserManagementResponse

type SubUserManagementResponse struct {
	Code int `json:"code"`
	Data *SubUserManagement
}

type SubUserTransferRequest

type SubUserTransferRequest struct {
	SubUid   int64           `json:"sub-uid"`
	Currency string          `json:"currency"`
	Amount   decimal.Decimal `json:"amount"`
	Type     string          `json:"type"`
}

type TradableMarket

type TradableMarket struct {
	SubUid      string `json:"subUid"`
	AccountType string `json:"accountType"`
	Activation  string `json:"activation"`
	ErrCode     int    `json:"errCode"`
	ErrMessage  string `json:"errMessage"`
}

type Transferability

type Transferability struct {
	SubUid        int64  `json:"subUid"`
	AccountType   string `json:"accountType"`
	Transferrable bool   `json:"transferrable"`
	ErrCode       int    `json:"errCode"`
	ErrMessage    string `json:"errMessage"`
}

type UserData

type UserData struct {
	UserName     string `json:"userName"`
	Note         string `json:"note"`
	Uid          int64  `json:"uid"`
	ErrorCode    string `json:"errCode"`
	ErrorMessage string `json:"errMessage"`
}

type Users

type Users struct {
	UserName string `json:"userName"`
	Note     string `json:"note"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL