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

Releases escrow transaction. More...

#include <scorum_operations.hpp>

Inheritance diagram for scorum::protocol::escrow_release_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
 the original 'to' More...
 
account_name_type agent
 
account_name_type who
 the account that is attempting to release the funds, determines valid 'receiver' More...
 
account_name_type receiver
 the account that should receive funds (might be from, might be to) More...
 
uint32_t escrow_id = 30
 
asset scorum_amount = asset(0, SCORUM_SYMBOL)
 the amount of scorum to release More...
 

Detailed Description

Releases escrow transaction.

This operation can be used by anyone associated with the escrow transfer to release funds if they have permission.

The permission scheme is as follows: If there is no dispute and escrow has not expired, either party can release funds to the other. If escrow expires and there is no dispute, either party can release funds to either party. If there is a dispute regardless of expiration, the agent can release funds to either party following whichever agreement was in place between the parties.

Definition at line 375 of file scorum_operations.hpp.

Member Function Documentation

◆ get_required_active_authorities()

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

Definition at line 387 of file scorum_operations.hpp.

◆ validate()

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

Definition at line 229 of file scorum_operations.cpp.

Member Data Documentation

◆ agent

account_name_type scorum::protocol::escrow_release_operation::agent

Definition at line 379 of file scorum_operations.hpp.

◆ escrow_id

uint32_t scorum::protocol::escrow_release_operation::escrow_id = 30

Definition at line 383 of file scorum_operations.hpp.

◆ from

account_name_type scorum::protocol::escrow_release_operation::from

Definition at line 377 of file scorum_operations.hpp.

◆ receiver

account_name_type scorum::protocol::escrow_release_operation::receiver

the account that should receive funds (might be from, might be to)

Definition at line 381 of file scorum_operations.hpp.

◆ scorum_amount

asset scorum::protocol::escrow_release_operation::scorum_amount = asset(0, SCORUM_SYMBOL)

the amount of scorum to release

Definition at line 384 of file scorum_operations.hpp.

◆ to

account_name_type scorum::protocol::escrow_release_operation::to

the original 'to'

Definition at line 378 of file scorum_operations.hpp.

◆ who

account_name_type scorum::protocol::escrow_release_operation::who

the account that is attempting to release the funds, determines valid 'receiver'

Definition at line 380 of file scorum_operations.hpp.


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