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

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

Классы

struct  branchstat
 Таблица статистики кооперативных участков хранит количество участков для каждого кооператива. Подробнее...
 
struct  coobranch
 Таблица кооперативных участков хранит информацию о кооперативных участках и их доверенных лицах. Подробнее...
 

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

typedef eosio::multi_index<"branchstat"_n, branchstatbranchstat_index
 
typedef eosio::multi_index<"branches"_n, coobranch, eosio::indexed_by<"bytrustee"_n, eosio::const_mem_fun< coobranch, uint64_t, &coobranch::by_trustee > > > branch_index
 

Функции

uint64_t add_branch_count (eosio::name coopname)
 
uint64_t sub_branch_count (eosio::name coopname)
 
coobranch get_branch_or_fail (eosio::name coopname, eosio::name braname)
 

Типы

◆ branch_index

typedef eosio::multi_index<"branches"_n, coobranch, eosio::indexed_by<"bytrustee"_n, eosio::const_mem_fun<coobranch, uint64_t, &coobranch::by_trustee> >> branch_index

◆ branchstat_index

typedef eosio::multi_index<"branchstat"_n, branchstat> branchstat_index

Функции

◆ add_branch_count()

uint64_t add_branch_count ( eosio::name  coopname)

◆ get_branch_or_fail()

coobranch get_branch_or_fail ( eosio::name  coopname,
eosio::name  braname 
)

◆ sub_branch_count()

uint64_t sub_branch_count ( eosio::name  coopname)