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

Update a liquidity pool. More...

#include <liquidity_pool.hpp>

Inheritance diagram for graphene::protocol::liquidity_pool_update_operation:
graphene::protocol::base_operation

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 &params) 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 owns the liquidity pool. More...
 
liquidity_pool_id_type pool
 ID of the liquidity pool. More...
 
optional< uint16_t > taker_fee_percent
 Taker fee percent. More...
 
optional< uint16_t > withdrawal_fee_percent
 Withdrawal fee percent. 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)
 

Detailed Description

Update a liquidity pool.

Definition at line 74 of file liquidity_pool.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::liquidity_pool_update_operation::fee_payer ( ) const
inline

Definition at line 86 of file liquidity_pool.hpp.

◆ validate()

void graphene::protocol::liquidity_pool_update_operation::validate ( ) const
virtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 45 of file liquidity_pool.cpp.

Member Data Documentation

◆ account

account_id_type graphene::protocol::liquidity_pool_update_operation::account

The account who owns the liquidity pool.

Definition at line 79 of file liquidity_pool.hpp.

◆ extensions

extensions_type graphene::protocol::liquidity_pool_update_operation::extensions

Unused. Reserved for future use.

Definition at line 84 of file liquidity_pool.hpp.

◆ fee

asset graphene::protocol::liquidity_pool_update_operation::fee

Operation fee.

Definition at line 78 of file liquidity_pool.hpp.

◆ pool

liquidity_pool_id_type graphene::protocol::liquidity_pool_update_operation::pool

ID of the liquidity pool.

Definition at line 80 of file liquidity_pool.hpp.

◆ taker_fee_percent

optional<uint16_t> graphene::protocol::liquidity_pool_update_operation::taker_fee_percent

Taker fee percent.

Definition at line 81 of file liquidity_pool.hpp.

◆ withdrawal_fee_percent

optional<uint16_t> graphene::protocol::liquidity_pool_update_operation::withdrawal_fee_percent

Withdrawal fee percent.

Definition at line 82 of file liquidity_pool.hpp.


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