COOPENOMICS
v1
Кооперативная Экономика
|
Классы | |
struct | Marketplace::segment |
Сегмент поставки - унифицированная структура для работы с документами Подробнее... | |
struct | Marketplace::shipment |
Перевозка имущества - объединение нескольких заявок в одну транспортную накладную Подробнее... | |
struct | Marketplace::request |
Таблица обменов для контракта "marketplace". Подробнее... | |
Пространства имен | |
namespace | Marketplace |
namespace | Marketplace::DocumentNames |
Константы для имен документов маркетплейса (максимум 12 символов) | |
Макросы | |
#define | AUTH_SIGNATURE eosio::name coopname, checksum256 request_hash, document2 authorization |
Определения типов | |
using | auth_interface = void(AUTH_SIGNATURE) |
typedef eosio::multi_index< "segments"_n, segment, eosio::indexed_by<"byrequest"_n, eosio::const_mem_fun< segment, uint64_t, &segment::by_request > >, eosio::indexed_by<"bytype"_n, eosio::const_mem_fun< segment, uint64_t, &segment::by_type > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< segment, uint64_t, &segment::by_status > > > | Marketplace::segments_index |
typedef eosio::multi_index< "shipments"_n, shipment, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< shipment, checksum256, &shipment::by_hash > >, eosio::indexed_by<"bycoop"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_coop > >, eosio::indexed_by<"bydriver"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_driver > >, eosio::indexed_by<"bysource"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_source > >, eosio::indexed_by<"bydest"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_destination > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_status > >, eosio::indexed_by<"bycreated"_n, eosio::const_mem_fun< shipment, uint64_t, &shipment::by_created > > > | Marketplace::shipments_index |
typedef eosio::multi_index< "requests"_n, request, eosio::indexed_by<"bycoop"_n, eosio::const_mem_fun< request, uint64_t, &request::by_coop > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< request, uint64_t, &request::by_status > >, eosio::indexed_by<"bytype"_n, eosio::const_mem_fun< request, uint64_t, &request::by_type > >, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< request, checksum256, &request::by_hash > >, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun< request, uint64_t, &request::by_username > >, eosio::indexed_by<"bycreated"_n, eosio::const_mem_fun< request, uint64_t, &request::by_created > >, eosio::indexed_by<"bycompleted"_n, eosio::const_mem_fun< request, uint64_t, &request::by_completed > >, eosio::indexed_by<"bydeclined"_n, eosio::const_mem_fun< request, uint64_t, &request::by_declined > >, eosio::indexed_by<"bycanceled"_n, eosio::const_mem_fun< request, uint64_t, &request::by_canceled > >, eosio::indexed_by<"bywarrantyid"_n, eosio::const_mem_fun< request, uint64_t, &request::by_warranty_id > > > | Marketplace::requests_index |
Функции | |
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 |
#define AUTH_SIGNATURE eosio::name coopname, checksum256 request_hash, document2 authorization |
using auth_interface = void(AUTH_SIGNATURE) |