BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::ticket_update_operation Struct Reference

Updates an existing ticket. More...

#include <ticket.hpp>

Inheritance diagram for graphene::protocol::ticket_update_operation:
graphene::protocol::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::protocol::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () const
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) const
 

Public Attributes

asset fee
 Operation fee. More...
 
ticket_id_type ticket
 The ticket to update. More...
 
account_id_type account
 The account who owns the ticket. More...
 
unsigned_int target_type
 New target ticket type, see ticket_type. More...
 
optional< assetamount_for_new_target
 The amount to be used for the new target. 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

Updates an existing ticket.

Definition at line 66 of file ticket.hpp.

Member Function Documentation

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

Definition at line 78 of file ticket.hpp.

void graphene::protocol::ticket_update_operation::validate ( ) const

Definition at line 39 of file ticket.cpp.

Member Data Documentation

account_id_type graphene::protocol::ticket_update_operation::account

The account who owns the ticket.

Definition at line 72 of file ticket.hpp.

optional<asset> graphene::protocol::ticket_update_operation::amount_for_new_target

The amount to be used for the new target.

Definition at line 74 of file ticket.hpp.

extensions_type graphene::protocol::ticket_update_operation::extensions

Unused. Reserved for future use.

Definition at line 76 of file ticket.hpp.

asset graphene::protocol::ticket_update_operation::fee

Operation fee.

Definition at line 70 of file ticket.hpp.

unsigned_int graphene::protocol::ticket_update_operation::target_type

New target ticket type, see ticket_type.

Definition at line 73 of file ticket.hpp.

ticket_id_type graphene::protocol::ticket_update_operation::ticket

The ticket to update.

Definition at line 71 of file ticket.hpp.


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