COOPENOMICS  v1
Кооперативная Экономика
table_branch_config.hpp
См. документацию.
1#pragma once
2
3#include "../core/ram_payer.hpp"
4#include <eosio/asset.hpp>
5#include <eosio/eosio.hpp>
6#include <eosio/binary_extension.hpp>
7#include <eosio/singleton.hpp>
8
9#include "../consts.hpp"
10
32struct [[eosio::table, eosio::contract(BRANCH)]] brnconfig {
33 eosio::asset aid_month_limit;
34 eosio::binary_extension<uint32_t> aid_period_seconds;
35};
36
37typedef eosio::singleton<"brnconfig"_n, brnconfig> brnconfig_singleton;
38
39// Плательщик за оперативную память строк таблицы — правило в lib/core/ram_payer.hpp.
contract
Definition: eosio.msig_tests.cpp:977
Definition: eosio.msig.hpp:34
Настройки экономики кооперативных участков (задача 99D-20, КЭУ-2; решение владельца 03....
Definition: table_branch_config.hpp:32
eosio::asset aid_month_limit
потолок резерва на получателя в месяц; ноль — резерв выключен
Definition: table_branch_config.hpp:33
eosio::binary_extension< uint32_t > aid_period_seconds
длина периода предела помощи, секунд; пусто или ноль — календарный месяц UTC
Definition: table_branch_config.hpp:34
RAM_PAYER_CLASS(brnconfig, contract)
eosio::singleton<"brnconfig"_n, brnconfig > brnconfig_singleton
Definition: table_branch_config.hpp:37