osmosis-labs / osmosis

The AMM Laboratory
https://app.osmosis.zone
Apache License 2.0
887 stars 580 forks source link

[Feature]: Auto Protocol Liquidity Whitelist for Taker Fees #8467

Open JohnnyWyles opened 3 months ago

JohnnyWyles commented 3 months ago

Summary

Osmosis has limited choices when choosing what to do with collected taker fees. Non-OSMO taker fees are either stored in the community pool until a governance proposal triggers their use or disposed of for OSMO for onward distribution to stakers. This issue proposes adding a third option of automatically using a set of assets to grow protocol liquidity in an, as yet to be governance approved, list of assets, likely those with high volume-to-liquidity ratios. This would improve execution costs for traders and further increase the volume of the asset, causing a feedback loop on the taker fee collection by the trading of the asset.

Problem Definition

There are several assets collected by Osmosis with high volume-to-liquidity ratios that could benefit from increased liquidity in the pools but are not attracting liquidity rapidly enough. Osmosis is collecting the assets from this volume that could be used to increase this liquidity, but regularly disposing of them for staking rewards. This feature would enable Osmosis to begin automatically increasing liquidity with these assets, improving the trading execution rate and becoming a more attractive location for trading. The main disadvantage of this feature is that list additions would likely be from assets that are currently being sold to OSMO for staking rewards - lowering staking rewards until the asset is removed from the list, but in theory increasing them in the longer term.

Proposed Feature

Existing flow is as follows:

This issue would insert another step (Similar to how the request that the Quote list above be changed to a separate whitelist in https://github.com/osmosis-labs/osmosis/issues/7984)

This requires 3 main parameter additions: