Flex
Flex exchange system
Public Attributes | List of all members
OrderRet Struct Reference

Notification struct about order to a client. More...

#include <PriceCommon.hpp>

Public Attributes

uint32 err_code
 Error code (zero if success)
 
uint128 processed
 Processed major tokens amount.
 
uint128 enqueued
 Enqueued major tokens amount.
 
uint128 price_num
 Price numerator.
 
uint128 price_denum
 Price denominator.
 
uint256 user_id
 User id.
 
uint256 order_id
 Order id.
 
address pair
 XchgPair address.
 
uint8 major_decimals
 Decimals for the major token.
 
uint8 minor_decimals
 Decimals for the minor token.
 
bool sell
 Is it a sell order.
 

Detailed Description

Notification struct about order to a client.

Member Data Documentation

◆ enqueued

uint128 enqueued

Enqueued major tokens amount.

◆ err_code

uint32 err_code

Error code (zero if success)

◆ major_decimals

uint8 major_decimals

Decimals for the major token.

◆ minor_decimals

uint8 minor_decimals

Decimals for the minor token.

◆ order_id

uint256 order_id

Order id.

◆ pair

address pair

XchgPair address.

◆ price_denum

uint128 price_denum

Price denominator.

◆ price_num

uint128 price_num

Price numerator.

◆ processed

uint128 processed

Processed major tokens amount.

◆ sell

bool sell

Is it a sell order.

◆ user_id

uint256 user_id

User id.


The documentation for this struct was generated from the following file: