| 
    COOPENOMICS
    v1
    
   Кооперативная Экономика 
   | 
 
#include <rammarket.hpp>
Классы | |
| struct | connector | 
Открытые члены | |
| uint64_t | primary_key () const | 
| asset | convert_to_exchange (connector &c, asset in) | 
| asset | convert_from_exchange (connector &c, asset in) | 
| asset | convert (asset from, const symbol &to) | 
| uint64_t | primary_key () const | 
| asset | convert_to_exchange (connector &reserve, const asset &payment) | 
| asset | convert_from_exchange (connector &reserve, const asset &tokens) | 
| asset | convert (const asset &from, const symbol &to) | 
| asset | direct_convert (const asset &from, const symbol &to) | 
Открытые статические члены | |
| static int64_t | get_bancor_output (int64_t inp_reserve, int64_t out_reserve, int64_t inp) | 
| static int64_t | get_bancor_input (int64_t out_reserve, int64_t inp_reserve, int64_t out) | 
Открытые атрибуты | |
| asset | supply | 
| connector | base | 
| connector | quote | 
Uses Bancor math to create a 50/50 relay between two asset types. The state of the bancor exchange is entirely contained within this struct. There are no external side effects associated with using this API.
      
  | 
  inline | 
| asset eosiosystem::exchange_state::convert | ( | const asset & | from, | 
| const symbol & | to | ||
| ) | 
      
  | 
  inline | 
| asset eosiosystem::exchange_state::convert_from_exchange | ( | connector & | reserve, | 
| const asset & | tokens | ||
| ) | 
      
  | 
  inline | 
| asset eosiosystem::exchange_state::convert_to_exchange | ( | connector & | reserve, | 
| const asset & | payment | ||
| ) | 
| asset eosiosystem::exchange_state::direct_convert | ( | const asset & | from, | 
| const symbol & | to | ||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  inline | 
      
  | 
  inline | 
| connector eosiosystem::exchange_state::base | 
| connector eosiosystem::exchange_state::quote | 
| asset eosiosystem::exchange_state::supply |