COOPENOMICS
v1
Кооперативная Экономика
|
Классы | |
struct | income |
Таблица входящих платежей хранит информацию о входящих платежах в кооператив. Подробнее... | |
struct | outcome |
Таблица исходящих платежей хранит информацию об исходящих платежах из кооператива. Подробнее... | |
Определения типов | |
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 > > > | 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 > > > | outcomes_index |
Функции | |
eosio::name | get_valid_income_action (const eosio::name &action) |
eosio::name | get_valid_outcome_action (const eosio::name &action) |
std::optional< income > | get_income (eosio::name coopname, const checksum256 &hash) |
Получает возврат из кошелька по хэшу. Подробнее... | |
std::optional< outcome > | get_outcome (eosio::name coopname, const checksum256 &hash) |
void | create_outcome (name calling_contract, CREATEOUTPAY_SIGNATURE) |
Переменные | |
static const std::set< eosio::name > | gateway_income_actions |
Допустимые действия для входящих платежей Подробнее... | |
static const std::set< eosio::name > | gateway_outcome_actions |
Допустимые действия для исходящих платежей Подробнее... | |
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 |
Мультииндекс для доступа и манипуляции данными таблицы incomes
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 |
Мультииндекс для доступа и манипуляции данными таблицы outcome
|
inline |
|
inline |
Получает возврат из кошелька по хэшу.
coopname | Имя кооператива (scope таблицы). |
hash | Хэш возврата. |
std::optional<income>
- найденное действие или std::nullopt
, если его нет.
|
inline |
|
inline |
|
inline |