|
COOPENOMICS
v1
Кооперативная Экономика
|
Классы | |
| struct | callback_handler |
| Callback на финализацию — устанавливается при createexp как переменная. Подробнее... | |
| struct | item |
| Item — одна строка СЗ-расхода. Подробнее... | |
| struct | proposal |
| Таблица СЗ-расходов. Scope = coopname. Подробнее... | |
Определения типов | |
| using | proposals_index = eosio::multi_index<"proposals"_n, proposal, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< proposal, eosio::checksum256, &proposal::by_hash > >, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun< proposal, uint64_t, &proposal::by_username > >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun< proposal, uint64_t, &proposal::by_status > > > |
Перечисления | |
| enum class | Mechanics : uint8_t { ADVANCE = 0 , DIRECT = 1 } |
| Способ оплаты item-а в СЗ. ADVANCE — пайщик-получатель оплачивает, затем приносит чек. DIRECT — кассир/председатель платит организации напрямую. Подробнее... | |
| enum class | RecipientType : uint8_t { SELF = 0 , MEMBER = 1 , ORG = 2 } |
| Получатель платежа в item-е. SELF — сам создатель СЗ. MEMBER — другой пайщик. ORG — внешняя организация. Подробнее... | |
| enum class | ProposalStatus : uint8_t { CREATED = 0 , AUTHORIZED = 1 , PARTIALLY_PAID = 2 , REPORT_SUBMITTED = 3 , CLOSED = 4 , DECLINED = 5 } |
| enum class | ItemStatus : uint8_t { APPROVED = 0 , PAID = 1 , REPORTED = 2 , RETURNED = 3 , OVERSPENT = 4 } |
| using ExpenseDomain::proposals_index = typedef eosio::multi_index<"proposals"_n, proposal, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun<proposal, eosio::checksum256, &proposal::by_hash> >, eosio::indexed_by<"byusername"_n, eosio::const_mem_fun<proposal, uint64_t, &proposal::by_username> >, eosio::indexed_by<"bystatus"_n, eosio::const_mem_fun<proposal, uint64_t, &proposal::by_status> > > |
|
strong |
|
strong |
|
strong |
|
strong |