Flex
Flex exchange system
All Classes Files Functions Variables Typedefs Enumerations Pages
Classes | Typedefs | Functions
PriceCommon.hpp File Reference

Price common interfaces and data-structs. More...

#include <tvm/suffixes.hpp>
#include "RationalValue.hpp"
Include dependency graph for PriceCommon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OrderRet
 Notification struct about order to a client. More...
 
interface  IPriceCallback
 Notifications to a client about orders. More...
 

Typedefs

using IPriceCallbackPtr = handle< IPriceCallback >
 

Functions

__always_inline uint128 calc_lend_tokens_for_order (bool sell, uint128 major_tokens, price_t price)
 Calculate lend tokens for order (including fees)
 

Detailed Description

Price common interfaces and data-structs.

Author
Andrew Zhogin