COOPENOMICS
v1
Кооперативная Экономика
|
Классы | |
struct | candidate |
Структура кандидата на вступление. Подробнее... | |
struct | candidate_legacy |
Структура кандидата на вступление (устаревшая версия). Подробнее... | |
Определения типов | |
typedef eosio::multi_index<"candidates"_n, candidate_legacy, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< candidate_legacy, checksum256, &candidate_legacy::by_hash > > > | candidates_legacy_index |
typedef eosio::multi_index<"candidates2"_n, candidate, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< candidate, checksum256, &candidate::by_hash > > > | candidates_index |
Функции | |
std::optional< candidate > | get_candidate_by_hash (eosio::name coopname, const checksum256 &hash) |
Получает кандидата по хэшу регистрации. Подробнее... | |
uint64_t | get_active_participants_count (eosio::name coopname) |
Получает количество активных пайщиков кооператива. Подробнее... | |
typedef eosio::multi_index<"candidates2"_n, candidate, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun<candidate, checksum256, &candidate::by_hash> > > Registrator::candidates_index |
typedef eosio::multi_index<"candidates"_n, candidate_legacy, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun<candidate_legacy, checksum256, &candidate_legacy::by_hash> > > Registrator::candidates_legacy_index |
|
inline |
Получает количество активных пайщиков кооператива.
coopname | Имя кооператива |
eosio::check_failure | если счетчик пайщиков не найден |
|
inline |
Получает кандидата по хэшу регистрации.
coopname | Имя кооператива |
hash | Хэш регистрации |