BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
28 namespace graphene {
namespace protocol {
62 liquidity_pool_id_type
pool;
80 liquidity_pool_id_type
pool;
164 (fee)(account)(asset_a)(asset_b)(share_asset)
165 (taker_fee_percent)(withdrawal_fee_percent)(extensions) )
167 (fee)(account)(pool)(extensions) )
169 (fee)(account)(pool)(taker_fee_percent)(withdrawal_fee_percent)(extensions) )
171 (fee)(account)(pool)(amount_a)(amount_b)(extensions) )
173 (fee)(account)(pool)(share_amount)(extensions) )
175 (fee)(account)(pool)(amount_to_sell)(min_to_receive)(extensions) )
liquidity_pool_id_type pool
ID of the liquidity pool.
account_id_type fee_payer() const
extensions_type extensions
Unused. Reserved for future use.
account_id_type account
The account who withdraws from the liquidity pool.
asset_id_type asset_a
Type of the first asset in the pool.
asset amount_b
The amount of the second asset to deposit.
Exchange with a liquidity pool.
asset_id_type asset_b
Type of the second asset in the pool.
Create a new liquidity pool.
optional< uint16_t > withdrawal_fee_percent
Withdrawal fee percent.
liquidity_pool_id_type pool
ID of the liquidity pool.
account_id_type account
The account who deposits to the liquidity pool.
uint16_t withdrawal_fee_percent
Withdrawal fee percent.
extensions_type extensions
Unused. Reserved for future use.
Withdraw from a liquidity pool.
asset share_amount
The amount of the share asset to use.
extensions_type extensions
Unused. Reserved for future use.
account_id_type fee_payer() const
#define GRAPHENE_BLOCKCHAIN_PRECISION
account_id_type fee_payer() const
account_id_type fee_payer() const
Deposit to a liquidity pool.
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
extensions_type extensions
Unused. Reserved for future use.
liquidity_pool_id_type pool
ID of the liquidity pool.
asset min_to_receive
The minimum amount of the other asset type to receive.
asset amount_to_sell
The amount of one asset type to sell.
account_id_type fee_payer() const
account_id_type account
The account who owns the liquidity pool.
optional< uint16_t > taker_fee_percent
Taker fee percent.
liquidity_pool_id_type pool
ID of the liquidity pool.
asset_id_type share_asset
Type of the share asset aka the LP token.
extensions_type extensions
Unused. Reserved for future use.
asset amount_a
The amount of the first asset to deposit.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
extensions_type extensions
Unused. Reserved for future use.
account_id_type fee_payer() const
account_id_type account
The account who exchanges with the liquidity pool.
provides stack-based nullable value similar to boost::optional
account_id_type account
The account who creates the liquidity pool.
liquidity_pool_id_type pool
ID of the liquidity pool.
uint16_t taker_fee_percent
Taker fee percent.
future_extensions::flat_set_type extensions_type
account_id_type account
The account who owns the liquidity pool.