COOPENOMICS  v1
Кооперативная Экономика
Файл shared_gateway.hpp

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

Классы

struct  Gateway::income
 Таблица входящих платежей хранит информацию о входящих платежах в кооператив. Подробнее...
 
struct  Gateway::outcome
 Таблица исходящих платежей хранит информацию об исходящих платежах из кооператива. Подробнее...
 

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

namespace  Gateway
 

Макросы

#define CREATEOUTPAY_SIGNATURE   name coopname, name username, checksum256 outcome_hash, asset quantity, name callback_contract, name confirm_callback, name decline_callback
 

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

using createoutpay_interface = void(CREATEOUTPAY_SIGNATURE)
 
typedef eosio::multi_index< "incomes"_n, income, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< income, checksum256, &income::by_hash > >, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun< income, uint64_t, &income::by_username > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< income, uint64_t, &income::by_status > > > Gateway::incomes_index
 
typedef eosio::multi_index< "outcomes"_n, outcome, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< outcome, checksum256, &outcome::by_hash > >, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun< outcome, uint64_t, &outcome::by_username > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< outcome, uint64_t, &outcome::by_status > > > Gateway::outcomes_index
 

Функции

eosio::name Gateway::get_valid_income_action (const eosio::name &action)
 
eosio::name Gateway::get_valid_outcome_action (const eosio::name &action)
 
std::optional< income > Gateway::get_income (eosio::name coopname, const checksum256 &hash)
 Получает возврат из кошелька по хэшу. Подробнее...
 
std::optional< outcome > Gateway::get_outcome (eosio::name coopname, const checksum256 &hash)
 
void Gateway::create_outcome (name calling_contract, CREATEOUTPAY_SIGNATURE)
 

Переменные

static const std::set< eosio::name > Gateway::gateway_income_actions
 Допустимые действия для входящих платежей Подробнее...
 
static const std::set< eosio::name > Gateway::gateway_outcome_actions
 Допустимые действия для исходящих платежей Подробнее...
 

Макросы

◆ CREATEOUTPAY_SIGNATURE

#define CREATEOUTPAY_SIGNATURE   name coopname, name username, checksum256 outcome_hash, asset quantity, name callback_contract, name confirm_callback, name decline_callback

Типы

◆ createoutpay_interface