Inflation system

Token flow

The protocol controls Namada token NAM (the native staking token) sourced from two locations:

  • Fees paid for transactions per the description in fee system, 50 % goes to block production and 50 % goes to treasury.
  • Inflation (described below), as in tokens directly printed by the protocol (which we can do arbitrarily), where these tokens then flow to many different sinks:
  1. Proof-of-stake rewards, which are paid into the reward distribution mechanism in order to distribute them to validators and delegators.
  2. Shielded pool rewards, which are locked in a way such that they can be eventually paid to users who kept tokens in the shielded pool.
  3. A governance pool - aka treasury.
    • These tokens are slowly burned at a fixed fraction per epoch.
  4. A set of configurable custom sinks, which can be addresses on Namada, addresses on Ethereum (over the Ethereum bridge), or addresses on other chains connected over IBC.
    • These can be paid fixed amounts per epoch.
    • Initial recipients will be configured at genesis, and recipients can be added, removed, or altered by Namada governance.

Token Inflation

In general, inflation refers to the process of a currency losing its purchasing power over time. While this is a classical economic phenomenon, the way cryptocurrencies are produced permits great control over money supply, and doing so cleverly can have positive effects such as increasing incentives. The Namada inflation model depends on several factors, such as ratio between locked and liquid tokens (described below), the multi-asset shielded pool, and funds for treasury.

When validators are selected they need to be backed by funds. These funds are locked for the duration of an epoch and 21 days after the epoch has ended. Locked tokens help secure the system while liquidity supports its activity and liveness. We need to choose the ratio between locked and liquid tokens carefully. Liquid tokens make sure the price of the token is not increasing out of scarcity and users have access to tokens to pay transaction fees, while locked tokens are the guarantee that attacking the system is expensive for an adversary.

Here are some numbers from other projects

Blockchain platformApproximate locking %
Cosmos66.7
Polkadot50
Ethereum47
Solana77

Our desired percentage for Namada is 33%-66%: Locked for validating and the rest %33-%66 is liquid. When the price of the token is low we can aim for a higher % of locked tokens and reduce this as the price and demand for liquid tokens increases. For example, we can set a range, in the beginning have 50 % and later aim for 1/3. I don't think we should go lower than that. The staking reward should be ideally set.

The privacy that MASP is providing depends on the asset in the shielded pool. A transaction can only be private if it can hide among other transactions, hence more funds and activity in the shielded pool increase privacy for transactions.

The Treasury is a pool of native tokens that can be appropriated for funding public-good products for Namada. The decision on spending these funds will be assigned to governance.

Ethereum 2.0, Solana, and Near protocols inflation rate are independent of how much tokens are staked. Near protocol and Ethereum 2.0 have fixed inflation rates, while Solana start with a high inflation rate that decreases over time, as less transaction fees are burned.

In Polkadot and Cosmos the total inflation rate that is paid as rewards to validators depends on the staking ratio. This is to incentivize validators and delegators to invest in the staking pool. We will follow the same idea and have inflation vary depending on our target staking ratio. Here is how we achieve that.

For funds going to treasury Near protocol where 5 % goes to treasury and Polkadot sends the difference between inflation for PoS and the total constant inflation to treasury.

Model

Let us assume is the total token supply and is the total inflation of Namada.

The total inflation consists of several components as follows.

where is our inflation that goes to treasury, is inflation that is paid as PoS rewards, and is the inflation for locking that is paid to accounts in shielded pool. We can extend the be extended to be for many other types of . For simplicity we only assume to have one . is the constant deflation of the treasury. This is applied to incentivize governance voters to spend treasury funds.

These components are each varying depending on independent factors as follows. The depends on the staking ratio . The locking inflation depends on the locking ratio . Ideally we want the total token supply to consist of tokens locked for staking and shielded pool and the rest are liquid tokens .

where is the target staking ratio and is the target locking of assets in the shielded pool.

We assume further assume is our target total inflation that we want to achieve on the long term, where we split it up into and for staking and locking respectivly.

We define as a PD controller as follows.

If then .

If then .

If then .

For , , , and we set and . Lets review what these parameters give us with examples as follows.

Example 1: If and , but then drops quickly to , then the effect of the term will be to increase by and inflation will hit its maximum value of . Changes in smaller than will not cause inflation to hit its maximum or minimum quickly.

Example 2: If , but holds steady at , then term will cause to increase by per day/epoch. will take 100 days to reach its maximum. This is slow compared to the unbonding period, allowing delegators time to react.


We define as a PD controller follows.

If then .

If then .

If then .

For , , , and we set and . Lets review what these parameters give us with examples as follows.

Example 1: If and , but then drops quickly to , then the effect of the term will be to increase by and inflation will hit which is short of its maximum value of . Changes in smaller than will not cause inflation to hit its maximum or minimum quickly.

Example 2: If , but holds steady at , then term will cause to increase by per day/epoch. will take 8 days to reach its maximum.

TODO: Why we chose those min and max values. TODO: Dt and It based on Chris proposal

The ratio between staking and locking in the shielded pool is a trade off between security, privacy, and liveness. A higher staking ratio means more security, a higher locking ratio means more privacy, and if both are too high there wont be enough liquidity for transactions. It would be easier to consider these separately, for example, setting the target staking ratio to 50 % and the target locking ratio to 30 %.

The funds minted for the treasury is a constant %, for example 1 %. Same goes for .

We need to define , , and to bound total inflation.

The sum of and other will also be limited. If their sum would exceed the limit, then we need to scale them down to stay within the limit.

These bounds on and give us a min and max bound on the total inflation, where the total inflation depends on and independently.