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::limit_order_cancel_operation Struct Reference

#include <market.hpp>

Inheritance diagram for graphene::protocol::limit_order_cancel_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
 
limit_order_id_type order
 
account_id_type fee_paying_account
 
extensions_type extensions
 

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

Used to cancel an existing limit order. Both fee_pay_account and the account to receive the proceeds must be the same as order->seller.

Returns
the amount actually refunded

Definition at line 145 of file market.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 155 of file market.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 84 of file market.cpp.

Member Data Documentation

◆ extensions

extensions_type graphene::protocol::limit_order_cancel_operation::extensions

Definition at line 153 of file market.hpp.

◆ fee

asset graphene::protocol::limit_order_cancel_operation::fee

Definition at line 149 of file market.hpp.

◆ fee_paying_account

account_id_type graphene::protocol::limit_order_cancel_operation::fee_paying_account

must be order->seller

Definition at line 152 of file market.hpp.

◆ order

limit_order_id_type graphene::protocol::limit_order_cancel_operation::order

Definition at line 150 of file market.hpp.


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