BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Deposit to a liquidity pool. More...
#include <liquidity_pool.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
virtual void | get_required_active_authorities (flat_set< account_id_type > &) const |
virtual void | get_required_owner_authorities (flat_set< account_id_type > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) const |
Public Attributes | |
asset | fee |
Operation fee. More... | |
account_id_type | account |
The account who deposits to the liquidity pool. More... | |
liquidity_pool_id_type | pool |
ID of the liquidity pool. More... | |
asset | amount_a |
The amount of the first asset to deposit. More... | |
asset | amount_b |
The amount of the second asset to deposit. More... | |
extensions_type | extensions |
Unused. Reserved for future use. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Deposit to a liquidity pool.
Definition at line 94 of file liquidity_pool.hpp.
|
inline |
Definition at line 106 of file liquidity_pool.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 55 of file liquidity_pool.cpp.
account_id_type graphene::protocol::liquidity_pool_deposit_operation::account |
The account who deposits to the liquidity pool.
Definition at line 99 of file liquidity_pool.hpp.
asset graphene::protocol::liquidity_pool_deposit_operation::amount_a |
The amount of the first asset to deposit.
Definition at line 101 of file liquidity_pool.hpp.
asset graphene::protocol::liquidity_pool_deposit_operation::amount_b |
The amount of the second asset to deposit.
Definition at line 102 of file liquidity_pool.hpp.
extensions_type graphene::protocol::liquidity_pool_deposit_operation::extensions |
Unused. Reserved for future use.
Definition at line 104 of file liquidity_pool.hpp.
asset graphene::protocol::liquidity_pool_deposit_operation::fee |
Operation fee.
Definition at line 98 of file liquidity_pool.hpp.
liquidity_pool_id_type graphene::protocol::liquidity_pool_deposit_operation::pool |
ID of the liquidity pool.
Definition at line 100 of file liquidity_pool.hpp.