Chiffres
Chiffres is a sentient economic system where value is alive. Certain in circulation, it mutates at rest in a cosmic gamble influenced by ethical actions and natural cycles. It's a currency that remembers its past, reacts to the collective present, and bets on the future.
Loading...
Searching...
No Matches
Chiffres::Ether Class Reference

Collective monetary field in the Chiffres system. More...

#include <Ether.h>

Public Member Functions

double density () const noexcept
 Get current Ether density.
void consume (double amount) noexcept
 Consume Ether when a gain occurs.
void dissolve (double amount) noexcept
 Dissolve Ether when a loss occurs.

Static Public Member Functions

static Etherinstance ()
 Access the unique global instance (Meyers' singleton).

Detailed Description

Collective monetary field in the Chiffres system.

Ether represents the "atmosphere" of value shared by all Chiffres. It reacts to individual gains and losses, and in turn influences the probability space of all future mutations.

Core principles:

  • When a wallet gains in rest, Ether is "consumed" → density decreases, value of all Chiffres increases slightly (rarer field).
  • When a wallet loses in rest, Ether "dissolves" → density increases; The value of all Chiffres decreases slightly (thicker field).

Ether acts as a global coupling mechanism: no mutation is purely individual. The system becomes organically self-regulating.

Member Function Documentation

◆ consume()

void Ether::consume ( double amount)
noexcept

Consume Ether when a gain occurs.

Parameters
amountPositive gain value (will be clamped).

Consuming reduces Ether density, bounded by min_density.

This makes Chiffres globally scarcer → positive drift.

◆ density()

double Ether::density ( ) const
nodiscardnoexcept

Get current Ether density.

Returns
Current density in [min_density, max_density].
  • 1.0 is neutral density (baseline).
  • <1.0 means Ether has been consumed (rarer, boosting value).
  • >1.0 means Ether has thickened (abundant, reducing value).

◆ dissolve()

void Ether::dissolve ( double amount)
noexcept

Dissolve Ether when a loss occurs.

Parameters
amountPositive loss value (will be clamped).

Dissolving increases Ether density, bounded by max_density.

This makes Chiffres globally thicker → negative drift.

◆ instance()

Ether & Ether::instance ( )
static

Access the unique global instance (Meyers' singleton).

Returns
Reference to the Ether instance.
Note
Ether is unique by design. All wallets share the same field.

The documentation for this class was generated from the following files: