COOPENOMICS  v1
Кооперативная Экономика
Файл consts.hpp

См. исходные тексты.

Макросы

#define HUNDR_PERCENTS   1000000
 
#define ONE_PERCENT   10000
 
#define ANO   "ano"
 
#define GATEWAY   "gateway"
 
#define DRAFT   "draft"
 
#define MARKETPLACE   "marketplace"
 
#define SOVIET   "soviet"
 
#define REGISTRATOR   "registrator"
 
#define SYSTEM   "eosio"
 
#define FUND   "fund"
 
#define BRANCH   "branch"
 
#define CAPITAL   "capital"
 
#define WALLET   "wallet"
 
#define LOAN   "loan"
 
#define LEDGER   "ledger"
 
#define MEET   "meet"
 
#define LEDGER   "ledger"
 

Переменные

static constexpr eosio::name _regaccount_action = "joincoop"_n
 
static constexpr eosio::name _deposit_action = "deposit"_n
 
static constexpr eosio::name _withdraw_action = "withdraw"_n
 
static constexpr eosio::name _afund_withdraw_action = "subaccum"_n
 
static constexpr eosio::name _efund_withdraw_action = "subexp"_n
 
static constexpr eosio::name _free_decision_action = "freedecision"_n
 
static constexpr eosio::name _change_action = "change"_n
 
static constexpr eosio::name _product_contribution_action = "productcntr"_n
 
static constexpr eosio::name _product_return_action = "productrtrn"_n
 
static constexpr eosio::name _result_action = "result"_n
 
static constexpr eosio::name _wallet_program = "wallet"_n
 Главный Кошелёк Подробнее...
 
static constexpr eosio::name _marketplace_program = "marketplace"_n
 Кошелёк программы "Маркетплейс". Подробнее...
 
static constexpr eosio::name _source_program = "source"_n
 Кошелёк для генерации по договору УХД Подробнее...
 
static constexpr eosio::name _capital_program = "capital"_n
 Кошелёк программы "Капитализация". Подробнее...
 
static const std::set< eosio::name > soviet_actions
 
static constexpr uint64_t _wallet_program_id = 1
 
static constexpr uint64_t _marketplace_program_id = 2
 
static constexpr uint64_t _source_program_id = 3
 
static constexpr uint64_t _capital_program_id = 4
 
static constexpr eosio::name _provider = "voskhod"_n
 
static constexpr eosio::name _provider_chairman = "ant"_n
 
static constexpr eosio::name _capital = "capital"_n
 
static constexpr eosio::name _ano = "ano"_n
 
static constexpr eosio::name _gateway = "gateway"_n
 
static constexpr eosio::name _wallet = "wallet"_n
 
static constexpr eosio::name _draft = "draft"_n
 
static constexpr eosio::name _marketplace = "marketplace"_n
 
static constexpr eosio::name _soviet = "soviet"_n
 
static constexpr eosio::name _registrator = "registrator"_n
 
static constexpr eosio::name _system = "eosio"_n
 
static constexpr eosio::name _fund = "fund"_n
 
static constexpr eosio::name _branch = "branch"_n
 
static constexpr eosio::name _loan = "loan"_n
 
static constexpr eosio::name _meet = "meet"_n
 
static constexpr eosio::name _ledger = "ledger"_n
 
static constexpr eosio::name _power_account = "eosio.power"_n
 
static constexpr eosio::name _saving_account = "eosio.saving"_n
 
static std::vector< name > contracts_whitelist
 
static std::vector< name > token_whitelist
 
static constexpr eosio::symbol _root_symbol = eosio::symbol(eosio::symbol_code("AXON"), 4)
 
static constexpr eosio::symbol _root_govern_symbol = eosio::symbol(eosio::symbol_code("RUB"), 4)
 
static const eosio::asset _provider_initial = eosio::asset(1000000, _root_govern_symbol)
 
static const eosio::asset _provider_minimum = eosio::asset(3000000, _root_govern_symbol)
 
static const eosio::asset _provider_org_initial = eosio::asset(10000000, _root_govern_symbol)
 
static const eosio::asset _provider_org_minimum = eosio::asset(30000000, _root_govern_symbol)
 
static constexpr eosio::name _root_contract = "eosio.token"_n
 
static constexpr eosio::symbol RAM_symbol {"RAM", 0}
 
static constexpr eosio::symbol _ramcore_symbol = eosio::symbol(eosio::symbol_code("RAMCORE"),4)
 
static constexpr uint64_t _ram_price_per_byte = 1
 
static constexpr uint64_t _register_amount = 10000
 
static constexpr uint64_t _signature_expiration = 86400 * 365 * 2
 
static constexpr uint64_t _auction_name_length_limit = 12
 
static constexpr uint64_t _deposit_expiration_seconds = 3600
 
static constexpr uint64_t _decision_expiration = 3 * 86400
 
static constexpr uint64_t _producers_percent = 900000
 
static constexpr uint64_t _fund_percent = 100000
 

Макросы

◆ ANO

#define ANO   "ano"

◆ BRANCH

#define BRANCH   "branch"

◆ CAPITAL

#define CAPITAL   "capital"

◆ DRAFT

#define DRAFT   "draft"

◆ FUND

#define FUND   "fund"

◆ GATEWAY

#define GATEWAY   "gateway"

◆ HUNDR_PERCENTS

#define HUNDR_PERCENTS   1000000

◆ LEDGER [1/2]

#define LEDGER   "ledger"

◆ LEDGER [2/2]

#define LEDGER   "ledger"

◆ LOAN

#define LOAN   "loan"

◆ MARKETPLACE

#define MARKETPLACE   "marketplace"

◆ MEET

#define MEET   "meet"

◆ ONE_PERCENT

#define ONE_PERCENT   10000

◆ REGISTRATOR

#define REGISTRATOR   "registrator"

◆ SOVIET

#define SOVIET   "soviet"

◆ SYSTEM

#define SYSTEM   "eosio"

◆ WALLET

#define WALLET   "wallet"

Переменные

◆ _afund_withdraw_action

constexpr eosio::name _afund_withdraw_action = "subaccum"_n
staticconstexpr

◆ _ano

constexpr eosio::name _ano = "ano"_n
staticconstexpr

◆ _auction_name_length_limit

constexpr uint64_t _auction_name_length_limit = 12
staticconstexpr

◆ _branch

constexpr eosio::name _branch = "branch"_n
staticconstexpr

◆ _capital

constexpr eosio::name _capital = "capital"_n
staticconstexpr

◆ _capital_program

constexpr eosio::name _capital_program = "capital"_n
staticconstexpr

Кошелёк программы "Капитализация".

◆ _capital_program_id

constexpr uint64_t _capital_program_id = 4
staticconstexpr

◆ _change_action

constexpr eosio::name _change_action = "change"_n
staticconstexpr

◆ _decision_expiration

constexpr uint64_t _decision_expiration = 3 * 86400
staticconstexpr

◆ _deposit_action

constexpr eosio::name _deposit_action = "deposit"_n
staticconstexpr

◆ _deposit_expiration_seconds

constexpr uint64_t _deposit_expiration_seconds = 3600
staticconstexpr

◆ _draft

constexpr eosio::name _draft = "draft"_n
staticconstexpr

◆ _efund_withdraw_action

constexpr eosio::name _efund_withdraw_action = "subexp"_n
staticconstexpr

◆ _free_decision_action

constexpr eosio::name _free_decision_action = "freedecision"_n
staticconstexpr

◆ _fund

constexpr eosio::name _fund = "fund"_n
staticconstexpr

◆ _fund_percent

constexpr uint64_t _fund_percent = 100000
staticconstexpr

◆ _gateway

constexpr eosio::name _gateway = "gateway"_n
staticconstexpr

◆ _ledger

constexpr eosio::name _ledger = "ledger"_n
staticconstexpr

◆ _loan

constexpr eosio::name _loan = "loan"_n
staticconstexpr

◆ _marketplace

constexpr eosio::name _marketplace = "marketplace"_n
staticconstexpr

◆ _marketplace_program

constexpr eosio::name _marketplace_program = "marketplace"_n
staticconstexpr

Кошелёк программы "Маркетплейс".

◆ _marketplace_program_id

constexpr uint64_t _marketplace_program_id = 2
staticconstexpr

◆ _meet

constexpr eosio::name _meet = "meet"_n
staticconstexpr

◆ _power_account

constexpr eosio::name _power_account = "eosio.power"_n
staticconstexpr

◆ _producers_percent

constexpr uint64_t _producers_percent = 900000
staticconstexpr

◆ _product_contribution_action

constexpr eosio::name _product_contribution_action = "productcntr"_n
staticconstexpr

◆ _product_return_action

constexpr eosio::name _product_return_action = "productrtrn"_n
staticconstexpr

◆ _provider

constexpr eosio::name _provider = "voskhod"_n
staticconstexpr

◆ _provider_chairman

constexpr eosio::name _provider_chairman = "ant"_n
staticconstexpr

◆ _provider_initial

const eosio::asset _provider_initial = eosio::asset(1000000, _root_govern_symbol)
static

◆ _provider_minimum

const eosio::asset _provider_minimum = eosio::asset(3000000, _root_govern_symbol)
static

◆ _provider_org_initial

const eosio::asset _provider_org_initial = eosio::asset(10000000, _root_govern_symbol)
static

◆ _provider_org_minimum

const eosio::asset _provider_org_minimum = eosio::asset(30000000, _root_govern_symbol)
static

◆ _ram_price_per_byte

constexpr uint64_t _ram_price_per_byte = 1
staticconstexpr

стоимость 1 байта в эпсилон AXON (0.0001)

◆ _ramcore_symbol

constexpr eosio::symbol _ramcore_symbol = eosio::symbol(eosio::symbol_code("RAMCORE"),4)
staticconstexpr

идентификационный токен рынка оперативной памяти

◆ _regaccount_action

constexpr eosio::name _regaccount_action = "joincoop"_n
staticconstexpr

◆ _register_amount

constexpr uint64_t _register_amount = 10000
staticconstexpr

стоимость регистрации нового аккаунта

◆ _registrator

constexpr eosio::name _registrator = "registrator"_n
staticconstexpr

◆ _result_action

constexpr eosio::name _result_action = "result"_n
staticconstexpr

◆ _root_contract

constexpr eosio::name _root_contract = "eosio.token"_n
staticconstexpr

системный контракт

◆ _root_govern_symbol

constexpr eosio::symbol _root_govern_symbol = eosio::symbol(eosio::symbol_code("RUB"), 4)
staticconstexpr

◆ _root_symbol

constexpr eosio::symbol _root_symbol = eosio::symbol(eosio::symbol_code("AXON"), 4)
staticconstexpr

системный токен

◆ _saving_account

constexpr eosio::name _saving_account = "eosio.saving"_n
staticconstexpr

◆ _signature_expiration

constexpr uint64_t _signature_expiration = 86400 * 365 * 2
staticconstexpr

◆ _source_program

constexpr eosio::name _source_program = "source"_n
staticconstexpr

Кошелёк для генерации по договору УХД

◆ _source_program_id

constexpr uint64_t _source_program_id = 3
staticconstexpr

◆ _soviet

constexpr eosio::name _soviet = "soviet"_n
staticconstexpr

◆ _system

constexpr eosio::name _system = "eosio"_n
staticconstexpr

◆ _wallet

constexpr eosio::name _wallet = "wallet"_n
staticconstexpr

◆ _wallet_program

constexpr eosio::name _wallet_program = "wallet"_n
staticconstexpr

Главный Кошелёк

◆ _wallet_program_id

constexpr uint64_t _wallet_program_id = 1
staticconstexpr

◆ _withdraw_action

constexpr eosio::name _withdraw_action = "withdraw"_n
staticconstexpr

◆ contracts_whitelist

std::vector<name> contracts_whitelist
static
Инициализатор
= {
"ano"_n,
"gateway"_n,
"draft"_n,
"marketplace"_n,
"soviet"_n,
"registrator"_n,
"eosio"_n,
"fund"_n,
"branch"_n,
"capital"_n,
"wallet"_n,
"meet"_n,
"loan"_n,
"test"_n,
"contributor"_n,
"eosio.token"_n,
"eosio.msig"_n,
"eosio.wrap"_n,
"eosio.power"_n,
"eosio.saving"_n,
"ledger"_n,
"capital"_n
}

◆ RAM_symbol

constexpr eosio::symbol RAM_symbol {"RAM", 0}
staticconstexpr

токен рынка оперативной памяти

◆ soviet_actions

const std::set<eosio::name> soviet_actions
static
Инициализатор
= {
"joincoop"_n,
"creategm"_n,
"completegm"_n,
"ballot"_n,
"gmnotify"_n,
"capitalinvst"_n,
"createresult"_n,
"createdebt"_n,
"capresexpns"_n,
"capwthdrprog"_n,
"capwthdrproj"_n,
"capwthdrres"_n,
"createwthd"_n,
"ledgerwthd"_n,
"authoffs2c"_n,
"authoffc2r"_n,
}

◆ token_whitelist

std::vector<name> token_whitelist
static
Инициализатор
= {
"eosio"_n,
"eosio.vpay"_n,
"eosio.saving"_n,
"eosio.bpay"_n,
"eosio.saving"_n,
"eosio.power"_n,
"eosio.ram"_n,
"eosio.stake"_n,
}
static constexpr eosio::name _provider
Definition: consts.hpp:147