28 namespace graphene {
namespace protocol {
62 liquidity_pool_id_type
pool;
80 liquidity_pool_id_type
pool;
future_extensions::flat_set_type extensions_type
asset share_amount
The amount of the share asset to use.
liquidity_pool_id_type pool
ID of the liquidity pool.
liquidity_pool_id_type pool
ID of the liquidity pool.
Create a new liquidity pool.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
uint16_t taker_fee_percent
Taker fee percent.
account_id_type account
The account who withdraws from the liquidity pool.
asset min_to_receive
The minimum amount of the other asset type to receive.
uint16_t withdrawal_fee_percent
Withdrawal fee percent.
extensions_type extensions
Unused. Reserved for future use.
liquidity_pool_id_type pool
ID of the liquidity pool.
extensions_type extensions
Unused. Reserved for future use.
account_id_type fee_payer() const
extensions_type extensions
Unused. Reserved for future use.
asset_id_type asset_a
Type of the first asset in the pool.
account_id_type account
The account who exchanges with the liquidity pool.
account_id_type fee_payer() const
account_id_type fee_payer() const
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
liquidity_pool_id_type pool
ID of the liquidity pool.
extensions_type extensions
Unused. Reserved for future use.
#define GRAPHENE_BLOCKCHAIN_PRECISION
Withdraw from a liquidity pool.
asset_id_type share_asset
Type of the share asset aka the LP token.
account_id_type account
The account who creates the liquidity pool.
Exchange with a liquidity pool.
asset amount_to_sell
The amount of one asset type to sell.
extensions_type extensions
Unused. Reserved for future use.
account_id_type account
The account who deposits to the liquidity pool.
asset amount_b
The amount of the second asset to deposit.
account_id_type account
The account who owns the liquidity pool.
account_id_type fee_payer() const
asset amount_a
The amount of the first asset to deposit.
Deposit to a liquidity pool.
account_id_type fee_payer() const
asset_id_type asset_b
Type of the second asset in the pool.