COOPENOMICS  v1
Кооперативная Экономика
Пространство имен Registrator

Классы

struct  candidate
 
struct  candidate_legacy
 

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

typedef multi_index< "candidates2"_n, candidate, indexed_by<"byhash"_n, const_mem_fun< candidate, checksum256, &candidate::by_hash > > > candidates_index
 
typedef multi_index< "candidates"_n, candidate_legacy, indexed_by<"byhash"_n, const_mem_fun< candidate_legacy, checksum256, &candidate_legacy::by_hash > > > candidates_legacy_index
 

Функции

std::optional< candidateget_candidate_by_hash (name coopname, const checksum256 &hash)
 
uint64_t get_active_participants_count (name coopname)
 

Типы

◆ candidates_index

typedef multi_index< "candidates2"_n, candidate, indexed_by<"byhash"_n, const_mem_fun<candidate, checksum256, &candidate::by_hash> > > Registrator::candidates_index

◆ candidates_legacy_index

typedef multi_index< "candidates"_n, candidate_legacy, indexed_by<"byhash"_n, const_mem_fun<candidate_legacy, checksum256, &candidate_legacy::by_hash> > > Registrator::candidates_legacy_index

Функции

◆ get_active_participants_count()

uint64_t Registrator::get_active_participants_count ( name  coopname)
inline

◆ get_candidate_by_hash()

std::optional< candidate > Registrator::get_candidate_by_hash ( name  coopname,
const checksum256 &  hash 
)
inline