BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | List of all members
graphene::app::extended_liquidity_pool_object Struct Reference

#include <api_objects.hpp>

Inheritance diagram for graphene::app::extended_liquidity_pool_object:
graphene::chain::liquidity_pool_object graphene::db::abstract_object< liquidity_pool_object, protocol_ids, liquidity_pool_object_type > graphene::db::base_abstract_object< liquidity_pool_object > graphene::db::object

Public Member Functions

 extended_liquidity_pool_object ()
 
 extended_liquidity_pool_object (const liquidity_pool_object &o)
 
 extended_liquidity_pool_object (liquidity_pool_object &&o)
 
- Public Member Functions inherited from graphene::chain::liquidity_pool_object
void update_virtual_value ()
 
- Public Member Functions inherited from graphene::db::abstract_object< liquidity_pool_object, protocol_ids, liquidity_pool_object_type >
 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< liquidity_pool_object >
std::unique_ptr< objectclone () const override
 
void move_from (object &obj) override
 
fc::variant to_variant () const override
 
std::vector< char > pack () const override
 
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
- Public Member Functions inherited from graphene::db::object
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
virtual ~object ()=default
 
virtual std::unique_ptr< objectclone () const =0
 
virtual fc::variant to_variant () const =0
 
virtual std::vector< char > pack () const =0
 

Public Attributes

optional< liquidity_pool_ticker_objectstatistics
 
- Public Attributes inherited from graphene::chain::liquidity_pool_object
asset_id_type asset_a
 Type of the first asset in the pool. More...
 
asset_id_type asset_b
 Type of the second asset in the pool. More...
 
share_type balance_a
 The balance of the first asset in the pool. More...
 
share_type balance_b
 The balance of the second asset in the pool. More...
 
asset_id_type share_asset
 Type of the share asset aka the LP token. More...
 
uint16_t taker_fee_percent = 0
 Taker fee percent. More...
 
uint16_t withdrawal_fee_percent = 0
 Withdrawal fee percent. More...
 
fc::uint128_t virtual_value = 0
 Virtual value of the pool. More...
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Additional Inherited Members

- Static Public Attributes inherited from graphene::db::abstract_object< liquidity_pool_object, protocol_ids, liquidity_pool_object_type >
static constexpr uint8_t space_id
 
static constexpr uint8_t type_id
 

Detailed Description

Definition at line 171 of file api_objects.hpp.

Constructor & Destructor Documentation

◆ extended_liquidity_pool_object() [1/3]

graphene::app::extended_liquidity_pool_object::extended_liquidity_pool_object ( )
inline

Definition at line 173 of file api_objects.hpp.

◆ extended_liquidity_pool_object() [2/3]

graphene::app::extended_liquidity_pool_object::extended_liquidity_pool_object ( const liquidity_pool_object o)
inlineexplicit

Definition at line 174 of file api_objects.hpp.

◆ extended_liquidity_pool_object() [3/3]

graphene::app::extended_liquidity_pool_object::extended_liquidity_pool_object ( liquidity_pool_object &&  o)
inlineexplicit

Definition at line 175 of file api_objects.hpp.

Member Data Documentation

◆ statistics

optional<liquidity_pool_ticker_object> graphene::app::extended_liquidity_pool_object::statistics

Definition at line 177 of file api_objects.hpp.


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