COOPENOMICS  v1
Кооперативная Экономика
table_fund_expfunds.hpp
См. документацию.
1#pragma once
2
3
4#include "../core/ram_payer.hpp"
5#include <eosio/asset.hpp>
6#include <eosio/eosio.hpp>
7#include <string>
8
9#include "../consts.hpp"
10
16struct [[eosio::table, eosio::contract(FUND)]] expfund {
17 uint64_t id;
18 eosio::name coopname;
19 eosio::name contract;
20
21 std::string name;
22 std::string description;
23
24 eosio::asset expended;
25
26 uint64_t primary_key() const { return id; }
27};
28
29typedef eosio::multi_index<"expfunds"_n, expfund> expfunds_index;
30
31// Плательщик за оперативную память строк таблицы — правило в lib/core/ram_payer.hpp.
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Definition: table_fund_expfunds.hpp:16
eosio::name coopname
Definition: table_fund_expfunds.hpp:18
eosio::name contract
Definition: table_fund_expfunds.hpp:19
std::string name
Definition: table_fund_expfunds.hpp:21
uint64_t id
Definition: table_fund_expfunds.hpp:17
eosio::asset expended
Definition: table_fund_expfunds.hpp:24
std::string description
Definition: table_fund_expfunds.hpp:22
uint64_t primary_key() const
Definition: table_fund_expfunds.hpp:26
RAM_PAYER_CLASS(expfund, contract)
eosio::multi_index<"expfunds"_n, expfund > expfunds_index
Definition: table_fund_expfunds.hpp:29