COOPENOMICS  v1
Кооперативная Экономика
table_fund_coopwallet.hpp
См. документацию.
1#pragma once
2
3
4#include "../core/ram_payer.hpp"
5#include <eosio/asset.hpp>
6#include <eosio/eosio.hpp>
7
8#include "../consts.hpp"
9
11 eosio::asset available;
12 eosio::asset withdrawed;
13};
14
20struct [[eosio::table, eosio::contract(FUND)]] coopwallet {
21 uint64_t id = 0;
22
23 eosio::name coopname;
24
26
28
30
32
33 uint64_t primary_key() const { return id; }
34};
35
36typedef eosio::multi_index<"coopwallet"_n, coopwallet> coopwallet_index;
37
38// Плательщик за оперативную память строк таблицы — правило в lib/core/ram_payer.hpp.
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Definition: table_fund_coopwallet.hpp:20
simple_wallet circulating_account
Definition: table_fund_coopwallet.hpp:25
uint64_t primary_key() const
Definition: table_fund_coopwallet.hpp:33
simple_wallet accumulative_expense_account
Definition: table_fund_coopwallet.hpp:31
simple_wallet accumulative_account
Definition: table_fund_coopwallet.hpp:29
eosio::name coopname
Definition: table_fund_coopwallet.hpp:23
uint64_t id
Definition: table_fund_coopwallet.hpp:21
simple_wallet initial_account
Definition: table_fund_coopwallet.hpp:27
Definition: table_fund_coopwallet.hpp:10
eosio::asset available
Definition: table_fund_coopwallet.hpp:11
eosio::asset withdrawed
Definition: table_fund_coopwallet.hpp:12
RAM_PAYER_CLASS(coopwallet, contract)
eosio::multi_index<"coopwallet"_n, coopwallet > coopwallet_index
Definition: table_fund_coopwallet.hpp:36