Author:
Hover Labs [email protected]
Created:
1/30/2022
Status:
DRAFT
Background
Existing Farms
The Kolibri protocol currently maintains 3 farms which emit kDAO. These farms incentivize activities that are advantageous to the protocol. Specifically:
1. kUSD Farm: Incentivizes holding kUSD. This is important because it provides a reason for users to hold kUSD to balance out sell side demand for kUSD before use cases develop.
2. QLkUSD Farm: Incentives participating in the Kolibri Liquidity Pool. The Liquidity Pool provides stability to the protocol by providing liquidity to liquidate ovens (Read More)
3. Quipuswap kUSD/XTZ LP Token Farm: Incentivizes providing liquidity for the kUSD/XTZ pair on Quipuswap. This allows price discovery and stability of kUSD. Quipuswap is the oldest and most liquid DEX in the Tezos ecosystem.
These farms all run for 1,048,320 blocks (1 year @ 30 second blocks). The kUSD farm and the QLkUSD farm will emit 75,000 kDAO, and the Quipuswap farm will emit 150,000 kDAO. This means that the Quipuswap pool emits 2x the kDAO per block as the others. This increased emission rate is to compensate for the fact that participants in an XTZ/kUSD Liquidity Pool on a DEX may experience impermanent loss.
DEXes and AMM Algorithms
The Quipuswap DEX is an automatic market maker (AMM) that uses a constant product formula to calculate a price by looking at the ratio of assets in the pool. This means that each trade on the pool can change the price, and that large trades may move the price significantly. This type of AMM is well suited for assets that may not be strongly correlated in value.
A second class of AMMs exist which use a different curve, which is “flatter”. This curve is useful because it provides low slippage around the initial rate. These types of curves are well suited for assets that should be correllated in value. A reference implementation on Tezos exists, which includes documentation about how this curve works.
The Flat Curve
The Youves team issues an algorithmic stablecoin on Tezos called uUSD. They have recently deployed an DEX which uses a flat curve for correlated assets. This DEX offers a kUSD/uUSD pair, which should be highly correlated.
Providing convertibility between stable value assets that should be pegged to each other creates arbitrage opportunities for trades who can help keep the price on peg. This is valuable for algorithmic stablecoins, such as kUSD, since arbitrage is an important mechanism for maintaining price stability.
Incentivizing Liquidity in the Youves DEX
The Youves DEX is the first DEX to make use of a flat curve on Tezos, and providing liquidity on the kUSD/uUSD pair seems likely to help stabilize the peg of Kolibri. Therefore, it seems advantageous to provide a kDAO farm to incentivize liquidity on this DEX.
Impermanent loss only occurs when assets diverge in price. Therefore, on a flat curve DEX with correlated assets, impermanent loss is very unlikely to occur. To this end, this proposal suggests creating a new farm for kUSD/uUSD holders with the same parameters as the kUSD and QLkUSD farms. Specifically:
- 75,000 kDAO allocated to the farm
- 1,048,320 blocks run time (1 year @ 30 second blocks)
Costs
The Kolibri Community Fund contains 350,000 kDAO. Kolibri Governance Proposal #17 allocates 741 kDAO for a hackathon prize. KIP-021 suggests allocating a 56,260 kDAO to a new farm. Assuming that both of these proposals optimistically pass, the Community Fund would contain 293,009 kDAO.
This proposal would allocate an additional 75,000 kDAO to a new farm.
which would leave 218,009 in the Community Fund.
Costs
The Kolibri Community fund contains 350,000 kDAO. Kolibri Governance Proposal #17 allocates 741 kDAO for a hackathon prize. Optimistically assuming the proposal passes, there is 349,259 kDAO remaining in the community fund.
Sunsetting the kUSD farm early recovers 18,750 kDAO, and 75,000 kDAO will be allocated to the new farm. Effectively, the cost of the new farm is 56,250 kDAO.
After this proposal, assuming Kolibri Governance Proposal #17 passes and KIP-021 is implemented, the community fund will have 293,009 kDAO remaining.
Implementation
Farming Contracts can be deployed outside of the DAO. These contracts will not have any kDAO in them and will therefore not emit until the DAO proposal passes.
A lambda can be submitted to the DAO that will call the sendTokens(75,000, <new farm address>)
entrypoint on the Community Fund Contract, to transfer 75,000 kDAO to the new farm contract.