3#include <eosio/asset.hpp>
4#include <eosio/crypto.hpp>
5#include <eosio/eosio.hpp>
7#include "../consts.hpp"
41 uint64_t
by_branch()
const {
return braname.value; }
44typedef eosio::multi_index<
46 eosio::indexed_by<
"byhash"_n, eosio::const_mem_fun<branch_expense, eosio::checksum256, &branch_expense::by_hash>>,
47 eosio::indexed_by<
"bybranch"_n, eosio::const_mem_fun<branch_expense, uint64_t, &branch_expense::by_branch>>>
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Расход кооперативного участка, поданный в шасси расходов (requirement b6 «Экономика КУ»; процесс p....
Definition: table_branch_expenses.hpp:32
eosio::checksum256 hash
идентификатор расхода (= proposal_hash в шасси расходов)
Definition: table_branch_expenses.hpp:34
eosio::name creator
кто подал служебную записку
Definition: table_branch_expenses.hpp:36
uint64_t primary_key() const
Definition: table_branch_expenses.hpp:39
eosio::asset amount
сумма, выделенная под расход в пул расходов
Definition: table_branch_expenses.hpp:37
uint64_t id
суррогатный ключ (scope coopname)
Definition: table_branch_expenses.hpp:33
eosio::checksum256 by_hash() const
Definition: table_branch_expenses.hpp:40
eosio::name braname
кооперативный участок — владелец средств
Definition: table_branch_expenses.hpp:35
uint64_t by_branch() const
Definition: table_branch_expenses.hpp:41
eosio::multi_index< "expenses"_n, branch_expense, eosio::indexed_by<"byhash"_n, eosio::const_mem_fun< branch_expense, eosio::checksum256, &branch_expense::by_hash > >, eosio::indexed_by<"bybranch"_n, eosio::const_mem_fun< branch_expense, uint64_t, &branch_expense::by_branch > > > branch_expenses_index
Definition: table_branch_expenses.hpp:48