dappnode / liquidity-mining-v2

A repo for planning the v2 version of the Liquidity Mining program.
GNU General Public License v3.0
0 stars 0 forks source link

System Definition #2

Open Pol-Lanski opened 2 years ago

Pol-Lanski commented 2 years ago

After reviewing Carrot.eth, we got a lot of ideas on Liquidity Mining v2.

We need to formalize a sustainable system that lasts for a longer period of time and create specs requirement document.

We would need:

Pol-Lanski commented 2 years ago

Current problem is we are spending 121K NODE weekly incentivising a liquidity that is fragmented between 2 markets and only in Ethereum.

Design Objectives:

  1. The main objective is to attract liquidity for the NODE token. A liquid token is more attractive and can be more effectively used both in sources and sinks.
  2. Goal based: it incentivises people to achieve a goal that is useful for the ecosystem. Currently we're incentivising pools that have low liquidity depth, resulting in high slippage. We want to be able to incentivise more the more useful is the liquidity pool.
  3. Iterable and repeatable: We want to be able to change the parameters, adjust according to feedback and create new programs according to the emerging needs of the ecosystem.

Carrot.eth wasn't "repeatable". Because we want the rewards to be vested, we would need a different token for every iteration, which adds complexity.

What do we want to measure as a KPI?

Need a model for how much will be unlocked at any month and how much we should aspire to have locked

Pol-Lanski commented 2 years ago

Initial considerations/ideas:

We will have:

  1. 1 LP in Ethereum
  2. 1 Governance staking in Ethereum
  3. 1 LP in Gnosis Chain
  4. 1 Governance staking in Gnosis Chain

BUT we should be flexible to add or remove some.

Pol-Lanski commented 2 years ago

LMv2 Project Definition:

Basic information:

Functional Description:

The LM is an improvement on the 1st LM program of the $NODE token.

Users will deposit their NODE together with another token in Liquidity Pools (probably Uniswap in Ethereum and Swapr or Honeyswap in Gnosis Chain), OR just NODE in a single-asset pool (we call this Governance Staking).

Users will receive rewards according to the fulfillment of KPIs. They will receive 0 rewards if a minimum threshold of liquidity pooled is not reached, will start to receive rewards when this minimum is reached, and will collectively receive a total of the reward pool if the maximum KPI is reached.

Example: - If the total liquidity pooled is below 250k denominated in USD, 0 rewards are distributed. Between 250k and 1M, the total amount of rewards are distributed so a bigger % of the total rewards is distributed the more liquidity there is, up to 100% of the reward pool distributed when 1M or above is reached.

In order to not be vulnerable to flash loan attacks or 1 block liquidity attacks, it needs to calculate an average of the liquidity over a period of time.

This calculation needs to be auditable, keeping proof of every point in time that will be used to calculate the final average that will determine the rewards, so it will need to store such data somewhere and make it available to users via a dedicated Front-End within app.dappnode.io

A guide regarding software design considerations like assumptions, dependencies, constraints, software requirements, objectives, and methodologies.

Design Considerations:

Dependencies:

Constraints:

TODO

Software Requirements:

General:

SCs:

Methodologies:

TODO

User interface design, end-user experiences, and user stories.

TODO

Development Milestones.

TODO

System architecture strategy & details

TODO

Testing & monitoring information that includes references to expert testing, the experiences of end users, and failure conditions.

TODO

Glossary.

LM = Liquidity Mining TODO

DAppDanil commented 2 years ago

image

DAppDanil commented 2 years ago

Updated scheme

https://excalidraw.com/#room=965376334a69311c37bb,Ivqc_J5u7yeRgFGV62C4bQ