Scorum
Public Member Functions | List of all members
scorum::chain::escrow_service_i Struct Referenceabstract

#include <escrow.hpp>

Inheritance diagram for scorum::chain::escrow_service_i:
scorum::chain::base_service_i< escrow_object > scorum::chain::dbs_service_base< escrow_service_i > scorum::chain::dbs_escrow

Public Member Functions

virtual const escrow_objectget (const account_name_type &name, uint32_t escrow_id) const =0
 
virtual const escrow_objectcreate_escrow (uint32_t escrow_id, const account_name_type &from, const account_name_type &to, const account_name_type &agent, const time_point_sec &ratification_deadline, const time_point_sec &escrow_expiration, const asset &scorum_amount, const asset &pending_fee)=0
 
- Public Member Functions inherited from scorum::chain::base_service_i< escrow_object >
virtual ~base_service_i ()
 
virtual const object_typecreate (const modifier_type &modifier)=0
 
virtual void update (const modifier_type &modifier)=0
 
virtual void update (const object_type &o, const modifier_type &modifier)=0
 
virtual void remove ()=0
 
virtual void remove (const object_type &o)=0
 
virtual void remove_all (const std::vector< object_cref_type > &os)=0
 
virtual bool is_exists () const=0
 
virtual const object_typeget () const=0
 

Additional Inherited Members

- Public Types inherited from scorum::chain::base_service_i< escrow_object >
using object_type = escrow_object
 
using modifier_type = std::function< void(object_type &)>
 
using call_type = std::function< void(const object_type &)>
 
using object_cref_type = std::reference_wrapper< const object_type >
 

Detailed Description

Definition at line 9 of file escrow.hpp.

Member Function Documentation

◆ create_escrow()

virtual const escrow_object& scorum::chain::escrow_service_i::create_escrow ( uint32_t  escrow_id,
const account_name_type from,
const account_name_type to,
const account_name_type agent,
const time_point_sec &  ratification_deadline,
const time_point_sec &  escrow_expiration,
const asset scorum_amount,
const asset pending_fee 
)
pure virtual

Implemented in scorum::chain::dbs_escrow.

◆ get()

virtual const escrow_object& scorum::chain::escrow_service_i::get ( const account_name_type name,
uint32_t  escrow_id 
) const
pure virtual

Implemented in scorum::chain::dbs_escrow.


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