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

#include "proto_call_engine.hpp"

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

Public Member Functions

 CallEngine (iroha::protocol::Command &command)
 
virtual ~CallEngine ()
 
shared_model::interface::EngineType type () const override
 
const std::string & caller () const override
 
std::optional< std::reference_wrapper< const std::string > > callee () const override
 
const std::string & input () const override
 
- Public Member Functions inherited from shared_model::interface::CallEngine
std::string toString () const
 
bool operator== (const CallEngine &rhs) const
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::CallEngine
using ModelType = CallEngine
 

Constructor & Destructor Documentation

◆ CallEngine()

CallEngine::CallEngine ( iroha::protocol::Command &  command)
explicit
Here is the call graph for this function:

◆ ~CallEngine()

CallEngine::~CallEngine ( )
virtualdefault

Reimplemented from shared_model::interface::CallEngine.

Here is the caller graph for this function:

Member Function Documentation

◆ callee()

std::optional< std::reference_wrapper< const std::string > > CallEngine::callee ( ) const
overridevirtual
Returns
hex address of the called contract

Implements shared_model::interface::CallEngine.

◆ caller()

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

Implements shared_model::interface::CallEngine.

◆ input()

const std::string & CallEngine::input ( ) const
overridevirtual
Returns
hex engine input data

Implements shared_model::interface::CallEngine.

◆ type()

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

Implements shared_model::interface::CallEngine.


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