[venues.
More...
#include <fastmm/config/config.hpp>
[venues.
<primary>.treasury]: the pool treasury of an account pool's primary (core/treasury.hpp). Decimals keep their text; Config::treasury_config() makes it typed.
◆ configured
| bool fastmm::TreasurySection::configured = false |
◆ enabled
| bool fastmm::TreasurySection::enabled = false |
◆ dry_run
| bool fastmm::TreasurySection::dry_run = false |
◆ asset
| std::string fastmm::TreasurySection::asset |
◆ weights
| std::map<std::string, double> fastmm::TreasurySection::weights |
pool account -> weight (absent: 1)
◆ min_free
| std::map<std::string, std::string> fastmm::TreasurySection::min_free |
pool account -> decimal (absent: 0)
◆ threshold
| double fastmm::TreasurySection::threshold = 0.2 |
◆ min_amount
| std::string fastmm::TreasurySection::min_amount = "0" |
◆ max_amount
| std::string fastmm::TreasurySection::max_amount = "0" |
◆ step
| std::string fastmm::TreasurySection::step = "0.01" |
◆ interval_s
| std::int64_t fastmm::TreasurySection::interval_s = 10 |
◆ min_interval_s
| std::int64_t fastmm::TreasurySection::min_interval_s = 60 |
◆ max_per_hour
| std::int64_t fastmm::TreasurySection::max_per_hour = 12 |
◆ cooldown_s
| std::int64_t fastmm::TreasurySection::cooldown_s = 300 |
◆ timeout_s
| std::int64_t fastmm::TreasurySection::timeout_s = 60 |
◆ settle_s
| std::int64_t fastmm::TreasurySection::settle_s = 30 |
◆ state_file
| std::string fastmm::TreasurySection::state_file |
empty: <journal_dir>/<engine name>.<primary>.treasury