COOPENOMICS  v1
Кооперативная Экономика
Файл marketplace.hpp
#include <optional>
#include <set>
#include <string>
#include <eosio/crypto.hpp>
#include <eosio/eosio.hpp>
#include "../../consts.hpp"
#include "../../domain/document_core.hpp"

См. исходные тексты.

Пространства имен

namespace  Marketplace
 
namespace  Marketplace::DocumentNames
 

Макросы

#define AUTH_SIGNATURE   eosio::name coopname, checksum256 request_hash, document2 authorization
 

Определения типов

using auth_interface = void(AUTH_SIGNATURE)
 

Функции

eosio::name Marketplace::get_valid_marketplace_action (const eosio::name &action)
 
static std::optional< request > Marketplace::get_request_by_hash (eosio::name coopname, checksum256 request_hash)
 
static std::optional< shipment > Marketplace::get_shipment_by_hash (eosio::name coopname, checksum256 shipment_hash)
 
static request Marketplace::get_request_by_hash_or_fail (eosio::name coopname, checksum256 request_hash, const std::string &error_msg="Заявка не найдена по хэшу")
 
static shipment Marketplace::get_shipment_by_hash_or_fail (eosio::name coopname, checksum256 shipment_hash, const std::string &error_msg="Перевозка не найдена по хэшу")
 

Переменные

static const std::set< eosio::name > Marketplace::marketplace_callback_actions
 
static constexpr const name Marketplace::DocumentNames::RETURN_STMT = "returnstmt"_n
 
static constexpr const name Marketplace::DocumentNames::CONVERT_FROM = "convertfrom"_n
 
static constexpr const name Marketplace::DocumentNames::CONVERT_TO = "convertto"_n
 
static constexpr const name Marketplace::DocumentNames::CONTRIB_STMT = "contribstmt"_n
 
static constexpr const name Marketplace::DocumentNames::CONTRIB_AUTH = "contribauth"_n
 
static constexpr const name Marketplace::DocumentNames::RETURN_AUTH = "returnauth"_n
 
static constexpr const name Marketplace::DocumentNames::RECEIVE_ACT = "receiveact"_n
 
static constexpr const name Marketplace::DocumentNames::RECEIVE_ACT_CONF = "receiveconf"_n
 
static constexpr const name Marketplace::DocumentNames::TRANSPORT1 = "transport1"_n
 
static constexpr const name Marketplace::DocumentNames::TRANSPORT2 = "transport2"_n
 
static constexpr const name Marketplace::DocumentNames::TRANSPORT3 = "transport3"_n
 
static constexpr const name Marketplace::DocumentNames::TRANSPORT4 = "transport4"_n
 
static constexpr const name Marketplace::DocumentNames::SUPPLY_ACT = "supplyact"_n
 
static constexpr const name Marketplace::DocumentNames::SUPPLY_ACT_CONF = "supplyconf"_n
 
static constexpr const name Marketplace::DocumentNames::SHIPMENT_ACT = "shipmentact"_n
 
static constexpr const name Marketplace::DocumentNames::DELIVERY_ACT = "deliveryact"_n
 
static constexpr const name Marketplace::DocumentNames::SHIPMENT_SEND_ACT = "shsendact"_n
 
static constexpr const name Marketplace::DocumentNames::SHIPMENT_LOADING_ACT = "shloadact"_n
 
static constexpr const name Marketplace::DocumentNames::SHIPMENT_ARRIVE_ACT = "sharriveact"_n
 
static constexpr const name Marketplace::DocumentNames::SHIPMENT_RECV_ACT = "shrecvact"_n
 
static constexpr const name Marketplace::DocumentNames::WDISPUTE = "wdispute"_n
 
static constexpr const name Marketplace::DocumentNames::WRETURN_AUTH = "wreturnauth"_n
 
static constexpr const name Marketplace::DocumentNames::WSUPPLY_AUTH = "wsupplyauth"_n
 
static constexpr const name Marketplace::DocumentNames::WRETURN_ACT = "wreturnact"_n
 
static constexpr const name Marketplace::DocumentNames::WOFFER_ACT = "wofferact"_n
 
static constexpr const name Marketplace::DocumentNames::WACCEPT_ACT = "wacceptact"_n
 

Макросы

◆ AUTH_SIGNATURE

#define AUTH_SIGNATURE   eosio::name coopname, checksum256 request_hash, document2 authorization

Типы

◆ auth_interface