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

#include <htlc.hpp>

Inheritance diagram for graphene::protocol::htlc_redeemed_operation:


struct  fee_parameters_type

Public Member Functions

 htlc_redeemed_operation ()
 htlc_redeemed_operation (htlc_id_type htlc_id, account_id_type from, account_id_type to, account_id_type redeemer, asset amount, const htlc_hash &preimage_hash, uint16_t preimage_size, const std::vector< char > &preimage)
account_id_type fee_payer () const
void validate () const
share_type calculate_fee (const fee_parameters_type &k) 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

htlc_id_type htlc_id
account_id_type from
account_id_type to
account_id_type redeemer
asset amount
htlc_hash htlc_preimage_hash
uint16_t htlc_preimage_size
asset fee
std::vector< char > preimage

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

virtual op to assist with notifying related parties

Definition at line 127 of file htlc.hpp.

Constructor & Destructor Documentation

graphene::protocol::htlc_redeemed_operation::htlc_redeemed_operation ( )

Definition at line 131 of file htlc.hpp.

graphene::protocol::htlc_redeemed_operation::htlc_redeemed_operation ( htlc_id_type  htlc_id,
account_id_type  from,
account_id_type  to,
account_id_type  redeemer,
asset  amount,
const htlc_hash preimage_hash,
uint16_t  preimage_size,
const std::vector< char > &  preimage 

Definition at line 132 of file htlc.hpp.

Member Function Documentation

share_type graphene::protocol::htlc_redeemed_operation::calculate_fee ( const fee_parameters_type k) const

Definition at line 141 of file htlc.hpp.

account_id_type graphene::protocol::htlc_redeemed_operation::fee_payer ( ) const

Definition at line 138 of file htlc.hpp.

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

Definition at line 139 of file htlc.hpp.

Member Data Documentation

asset graphene::protocol::htlc_redeemed_operation::amount

Definition at line 145 of file htlc.hpp.

asset graphene::protocol::htlc_redeemed_operation::fee

Definition at line 149 of file htlc.hpp.

account_id_type graphene::protocol::htlc_redeemed_operation::from

Definition at line 144 of file htlc.hpp.

htlc_id_type graphene::protocol::htlc_redeemed_operation::htlc_id

Definition at line 143 of file htlc.hpp.

htlc_hash graphene::protocol::htlc_redeemed_operation::htlc_preimage_hash

Definition at line 146 of file htlc.hpp.

uint16_t graphene::protocol::htlc_redeemed_operation::htlc_preimage_size

Definition at line 147 of file htlc.hpp.

std::vector<char> graphene::protocol::htlc_redeemed_operation::preimage

Definition at line 150 of file htlc.hpp.

account_id_type graphene::protocol::htlc_redeemed_operation::redeemer

Definition at line 144 of file htlc.hpp.

account_id_type graphene::protocol::htlc_redeemed_operation::to

Definition at line 144 of file htlc.hpp.

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