hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::CallEngine Class Referenceabstract

#include "call_engine.hpp"

Inheritance diagram for shared_model::interface::CallEngine:
Inheritance graph
Collaboration diagram for shared_model::interface::CallEngine:
Collaboration graph

Public Types

using ModelType = CallEngine
 

Public Member Functions

virtual ~CallEngine ()
 
virtual EngineType type () const =0
 
virtual const std::string & caller () const =0
 
virtual std::optional< std::reference_wrapper< const std::string > > callee () const =0
 
virtual const std::string & input () const =0
 
std::string toString () const
 
bool operator== (const CallEngine &rhs) const
 

Detailed Description

Call smart contract engine to deploy or execute a contract.

Member Typedef Documentation

◆ ModelType

Constructor & Destructor Documentation

◆ ~CallEngine()

CallEngine::~CallEngine ( )
virtualdefault

Member Function Documentation

◆ callee()

virtual std::optional<std::reference_wrapper<const std::string> > shared_model::interface::CallEngine::callee ( ) const
pure virtual
Returns
hex address of the called contract

Implemented in shared_model::proto::CallEngine.

Here is the caller graph for this function:

◆ caller()

virtual const std::string& shared_model::interface::CallEngine::caller ( ) const
pure virtual
Returns
hex address of the overriding caller address, on behalf of which the contract is to be executed

Implemented in shared_model::proto::CallEngine.

Here is the caller graph for this function:

◆ input()

virtual const std::string& shared_model::interface::CallEngine::input ( ) const
pure virtual
Returns
hex engine input data

Implemented in shared_model::proto::CallEngine.

Here is the caller graph for this function:

◆ operator==()

bool CallEngine::operator== ( const CallEngine rhs) const
Here is the call graph for this function:

◆ toString()

std::string CallEngine::toString ( ) const
Here is the call graph for this function:

◆ type()

virtual EngineType shared_model::interface::CallEngine::type ( ) const
pure virtual
Returns
which smart contract engine is to be called.

Implemented in shared_model::proto::CallEngine.

Here is the caller graph for this function:

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