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

PriceXchg persistent data struct. More...

#include <PriceXchg.hpp>

Inheritance diagram for DPriceXchg:
Inheritance graph
[legend]

Public Attributes

uint128 price_num_
 Price numerator in minor tokens for one minor token - rational number, denominator kept in config.
 
uint128 sells_amount_
 
uint128 buys_amount_
 
big_queue< OrderInfoXchgsells_
 Queue of sell orders. More...
 
big_queue< OrderInfoXchgbuys_
 Queue of buy orders.
 

Detailed Description

PriceXchg persistent data struct.

Member Data Documentation

◆ sells_

big_queue<OrderInfoXchg> sells_

Queue of sell orders.

Common amount of major tokens to buy.

Warning
May be not strictly actual because of possible expired orders in the queue.

◆ sells_amount_

uint128 sells_amount_

Common amount of major tokens to sell.

Warning
May be not strictly actual because of possible expired orders in the queue.

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