Treasury of Eternity

## Welcome to the Treasury of Eternity!

This portion of the wiki will give you all the information you need to understand the in-game economy of Eternity, its tokenomics, and how the money flows through the game!
The economy in Eternity is built using a unique Player Driven Emissions (PDE) system that controls in-game rewards to tailor the emission rate of Glory and Gold based on the current number of players. As the number of players increases the rewards (and emissions) will increase as necessary to meet this demand, and if the number of players goes down so does the emission rate. This ensures that only enough Glory or Gold is minted as necessary to sufficiently reward in-game players, and prevents unnecessary inflation that has caused problems for so many other projects!

### In-game Tokens

The in-game economy is made up of four different types of tokens, each one playing an essential role in the game! The four types of tokens are:

### Economic Sustainability

The Eternity team has worked hard to ensure that the in-game economy is not only rewarding for players, but also sustainable. There are a number of mechanisms in place that help ensure Glory will not only retain its value, but increase in value as the Treasury grows! These mechanisms are detailed below:

#### Buy-Backs

The Eternity economy incorporates automatic Glory buy-backs whenever a purchase is made in-game! Every time someone purchases something in-game, using any token besides Glory, 27.5% of the token used in the purchase will be used to buy-back Glory to hold in the Treasury, and recycle back into rewards for adventurers in-game! This buy-back system creates constant buy pressure on Glory, while reducing the need for unnecessary inflation of Glory supply to reward players.

#### Automatic Glory Liquidity

In addition to buy-backs with in-game purchases, proceeds from every purchase is automatically used to create deeper Glory liquidity! Whenever a purchase is made in-game, with a non-Glory Token, 52.5% of the proceeds from that sale will be used to create deeper Glory liquidity. The Treasury contract will automatically sell half of that 52.5% for Glory, and the other half for USDC, these tokens will then be paired and held in the Treasury ensuring constantly deepening liquidity, and generating swap fees for every Glory trade!

#### Player Driven Emissions

As discussed on its own page, found here, the PDE system works in concert with buy-backs and ever deepening liquidity to ensure Glory's supply is not unnecessarily inflated by a static emission schedule. This unique system is key to keeping the economy functioning in a long-term sustainable manner.

#### Returning Glory to the Players

As Glory accumulates in the treasury from in-game purchases, it does not good if it just sits there! When someone earns Glory in-game there is a small amount above the amount rewarded that is sent from the Treasury to players in-game. This Glory is then earned by players in-game, reducing the amount of Glory that needs to be minted, and ensuring that any Glory not being used by the Treasury will be returned to players!

#### Glory Staking (Glory to the Holders!)

Glory holders will be able to stake their Glory and earn non-inflationary rewards for staking! Glory staker's will earn NFTs to use in-game, experience potions to power-up their heroes, and achievements! All of these rewards mean that Glory staker's will be rewarded with valuable assets to use in-game, or sell in Eternity's marketplace, without having their staked tokens diluted. Sustainable staking is an important part of reducing Glory's circulating supply while not reducing its value.

Here is a graphic representation of how money will flow in-game:

### Examples

**Stablecoins**

Adam Adventurer wants to buy the weekly hero available for sale because its a limited edition version of his favorite hero, the warrior! He can purchase this limited edition hero using LP tokens of Glory or stablecoins. Since he has a large bag of stablecoins ready he decides to buy it using USDC. Adam purchases the hero for the price set in the store, and the stablecoin enter the treasury. The Eternity Treasury contract automatically pairs 52.5% of the stablecoins used in the purchase to make deeper Glory liquidity. The way this is done is that half of that 52.5% (26.25%) of stablecoin spent by Adam is used to buy Glory off of the market, and the other half of the 52.5% (26.2% again) of stablecoin received is paired with this newly bought Glory. This LP is then held in the treasury to create deeper liquidity for Glory, and generate swap fees for the treasury which are received in the form of additional Glory LP, and are held by the treasury for a passive income stream that automatically deepens liquidity for Glory.

**Gold**

Suzie Orcslayer has been facing some fierce Orcs and wants to spend some of her Gold rewards on more health potions, so she can get back to cutting down those orcs without worry! Suzie uses her Gold to buy health potions in the General Store. The Gold from her purchase goes into the treasury, where it is held, and recycled back into the game as in-game rewards for other adventurers! Why recycle Gold? This keeps the total supply lower, and keeps the Player Driven Emissions system from minting more unless absolutely necessary!