Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::escrow_approve_operation Struct Reference

Approves escrow transaction. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::escrow_approve_operation:
scorum::protocol::base_operation

Public Member Functions

void validate () const
 
void get_required_active_authorities (flat_set< account_name_type > &a) const
 
- Public Member Functions inherited from scorum::protocol::base_operation
void get_required_authorities (std::vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_name_type > &) const
 
void get_required_posting_authorities (flat_set< account_name_type > &) const
 
void get_required_owner_authorities (flat_set< account_name_type > &) const
 
bool is_virtual () const
 
void validate () const
 

Public Attributes

account_name_type from
 
account_name_type to
 
account_name_type agent
 
account_name_type who
 
uint32_t escrow_id = 30
 
bool approve = true
 

Detailed Description

Approves escrow transaction.

The agent and to accounts must approve an escrow transaction for it to be valid on the blockchain. Once a part approves the escrow, the cannot revoke their approval. Subsequent escrow approve operations, regardless of the approval, will be rejected.

Definition at line 319 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_active_authorities()

void scorum::protocol::escrow_approve_operation::get_required_active_authorities ( flat_set< account_name_type > &  a) const
inline

Definition at line 330 of file scorum_operations.hpp.

◆ validate()

void scorum::protocol::escrow_approve_operation::validate ( ) const

Definition at line 211 of file scorum_operations.cpp.

Member Data Documentation

◆ agent

account_name_type scorum::protocol::escrow_approve_operation::agent

Definition at line 323 of file scorum_operations.hpp.

◆ approve

bool scorum::protocol::escrow_approve_operation::approve = true

Definition at line 327 of file scorum_operations.hpp.

◆ escrow_id

uint32_t scorum::protocol::escrow_approve_operation::escrow_id = 30

Definition at line 326 of file scorum_operations.hpp.

◆ from

account_name_type scorum::protocol::escrow_approve_operation::from

Definition at line 321 of file scorum_operations.hpp.

◆ to

account_name_type scorum::protocol::escrow_approve_operation::to

Definition at line 322 of file scorum_operations.hpp.

◆ who

account_name_type scorum::protocol::escrow_approve_operation::who

Definition at line 324 of file scorum_operations.hpp.


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