COOPENOMICS  v1
Кооперативная Экономика
table_fund_accfunds.hpp
См. документацию.
1#pragma once
2
3#include <eosio/asset.hpp>
4#include <eosio/eosio.hpp>
5#include <string>
6
7#include "../consts.hpp"
8
14struct [[eosio::table, eosio::contract(FUND)]] accfund {
15 uint64_t id;
16 eosio::name coopname;
17 eosio::name contract;
18
19 std::string name;
20 std::string description;
21
22 uint64_t percent;
23 eosio::asset available;
24 eosio::asset withdrawed;
25
26 uint64_t primary_key() const { return id; }
27};
28
29typedef eosio::multi_index<"accfunds"_n, accfund> accfunds_index;
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Definition: table_fund_accfunds.hpp:14
std::string name
Definition: table_fund_accfunds.hpp:19
eosio::name contract
Definition: table_fund_accfunds.hpp:17
eosio::asset withdrawed
Definition: table_fund_accfunds.hpp:24
uint64_t primary_key() const
Definition: table_fund_accfunds.hpp:26
std::string description
Definition: table_fund_accfunds.hpp:20
eosio::name coopname
Definition: table_fund_accfunds.hpp:16
eosio::asset available
Definition: table_fund_accfunds.hpp:23
uint64_t id
Definition: table_fund_accfunds.hpp:15
uint64_t percent
Definition: table_fund_accfunds.hpp:22
eosio::multi_index<"accfunds"_n, accfund > accfunds_index
Definition: table_fund_accfunds.hpp:29