RFC: Deposit additional CFG into HydraDX Omnipool

,

Uses component: CP2
Author(s): spazcoin
Beneficiary: N/A (Centrifuge treasury retains control of tokens)
Wallet: 7LCt6dFsJVukxnxpix9KcTkwu2kWQnXARsy6BuBHEL54NcS6 (Centrifuge sibling acct on HydraDX chain)
Date proposed: 2024-04-09

Short Summary
I propose that the Centrifuge treasury make an additional CFG deposit of 710k CFG ($595k) into the HydraDX Omnipool to further increase Polkadot on-chain liquidity for CFG.

High level objective
This 710k CFG is 5% of the treasury and would bring the CFG treasury deposit in the Omnipool up to $1M or 0.22% of FDV. This would significantly reduce trading slippage of CFG within the Polkadot ecosystem and enable lending and borrowing markets.

Background
The Centrifuge treasury in June 2023 deposited 500k CFG into the Omnipool, currently valued at $400,763. RFC: Listing CFG in HydraDX Omnipool & seeding initial liquidity

https://app.hydradx.io/wallet/assets?account=7LCt6dFsJVukxnxpix9KcTkwu2kWQnXARsy6BuBHEL54NcS6

The 24-hour trading volume of CFG in the Omnipool is $120k with an APR of 6.04% and can be seen at: https://app.hydradx.io/stats/overview
As you can see, the Centrifuge treasury deposit into the Omnipool has maintained its value over time. (the acct value in terms of CFG tokens is lower because the CFG token value increased while the stablecoins in the Omnipool did not, and they make up 20% of the Omnipool)

Description of Activity
With the existing CFG in the Omnipool you can only trade 16k CFG ($13,366) per trade before hitting 2% slippage. Recently in twitter discussions an investment firm mentioned they tried to buy 600k ASTR ($76k) recently but slippage was too high and they had to use a CEX instead.

DCA helps you break up large trades, but this reinforces the fact that we should continue to deepen our liquidity across the Polkadot ecosystem. Letā€™s bring those fees on-chain to Polkadot!

Another reason to increase CFG liquidity on-chain is to support larger money markets for CFG. HydraDX is launching a lending platform soon and increasing Omnipool liquidity would support a larger max cap if and when the HydraDX community decides to list CFG on their money market. This would enable another use case for CFG hodlers. Again with my thesis of using treasury-controlled funds to increase liquidity across the entire Polkadot ecosystem I would separately encourage the CFG treasury to deposit CFG liquidity ($200k?) into a CFG lending market on HydraDX to enable larger borrowing positions. (but that would be a separate future Centrifuge proposal) Interlay also has money markets but canā€™t list tokens that have 18 decimal places like CFG. Bifrost has also launched their Loop Stake lending market but are currently only supporting their vTokens. So there is only a future opportunity for a CFG money market on Hydra.

Change or improvement
The great thing about all of the proposals above is that they put to use ā€œTreasury Owned Liquidityā€.

  • earn fees
  • add token use cases
  • deepen liquidity
  • no ā€œlisting feeā€ or reoccurring costs for market making or LM
  • tokens arenā€™t ā€œspentā€ and are still controlled by the Centrifuge community.

Q: But how much in fees?
A: Omnipool stats show CFG deposits earning 6.04% from swap fees. Deposits into lending would likely earn 3-8% once they are borrowed.

Q: But $595k from the treasury is a lot!!
A: Interlay treasury already deposited $750k of INTR and weā€™re discussing boosting it to $1.2M. Astar governance just passed a proposal to add another $718k of ASTR to the Omnipool. ([Deposit additional ASTR into HydraDX Omnipool - Astar Network (Polkadot) - Astar Network Forum]) The Bifrost team is discussing adding another $639k of BNC as well.

Iā€™m certainly open to discussing deposit amounts other than 710k CFG, but Iā€™m encouraging multiple teams to deposit $1M of liquidity to send a strong ā€œweā€™re open for businessā€ signal from a cohesive Polkadot community, with minimal risk for each treasury and demonstrating the power of XCM to control funds on other chains.

Alignment to the mission of Centrifuge DAO

  • increase use case for CFG token and earn revenue without ā€˜spendingā€™ any token assets
  • I have reviewed the March ā€œUpdated Treasury Spending Agreementā€ and earnestly believe that POL strategies are one of the best uses of treasury funds.

Description of Individual/Group seeking funding
I am an $HDX token holder but I am not a HydraDX team member.

Budget
710k CFG ($595k)

Delivery and Reporting
If the Centrifuge community accepts this proposal, the on-chain referenda to execute it would:

  1. XCM transfer the 710k CFG from Centrifuge chain to the Centrifuge sibling acct on HydraDX chain (7LCt6dFsJVukxnxpix9KcTkwu2kWQnXARsy6BuBHEL54NcS6)
  2. call multiTransactionPayment.setCurrency(13) to set CFG as the fee token so that no other tokens are needed for further operations
  3. call omnipool.addLiquidity(13,709999000000000000000000) to deposit the 710k CFG into the Omnipool (minus tx fee, assumed to be <1 CFG)
  4. the CFG sibling acct would receive an NFT representing their second liquidity deposit into the Omnipool.

Real-time value of the Centrifuge treasury CFG deposit in the Omnipool can be monitored at: https://app.hydradx.io/wallet/assets?account=7LCt6dFsJVukxnxpix9KcTkwu2kWQnXARsy6BuBHEL54NcS6

The 24-hour trading volume of CFG in the Omnipool can be monitored at: https://app.hydradx.io/stats/overview

Governance Process for this Proposal
Link to the Github PR: https://github.com/centrifuge/cps/pull/102
Link to the RFC on the Forum: RFC: Deposit additional CFG into HydraDX Omnipool

5 Likes

Always happy to see you, Spaz! :raised_hands:

Thank you for broaching this topic and letting us know of the slippage issue.

While my knee-jerk reaction is a simple ā€œYES,ā€ I think other Centrifuge holders should weigh in too. My biggest reservation is that I believe the last time we did this for the original provision, Centrifuge actually minted the tokens (I could be wrong or not remembering the details correctly, so happy to have others weigh in). So in some sense all holders were slightly diluted despite these tokens not being in circulation and otherwise under the control of the Centrifuge team.

Ultimately weā€™ll see how other community members feel about it after they have shared their perspectives, but Iā€™m provisionally an ā€œAYEā€ on this should it go to referendum.

1 Like

I agree with Phunky, I also tried HydraDX, and like the good experience from them, it is great to support the DEX in Polkadot and also bring more liquidity for the CFG pool. One small question, for the CFG treasury fund, will they also earn some trading fees on HydraDX?

1 Like

@The_Phunky_One_Lucky Centrifuge has successfully grown a treasury now. I see 14.3M CFG ($10.4M) in the parachain treasury account at: Subscan | Aggregate Substrate ecological network high-precision Web3 explorer

@DrCAO Yes the CFG treasury is already earning 6.1% on its deposit into the Omnipool. See the HydraDX Omnipool stats page: HydraDX Omnipool - An Ocean of Liquidity The fees earned are in CFG/LRNA increasing the LP balance over time. Itā€™s hard to see that in the Liquidity Position because CFG has increased in value faster than the LRNA pool of all assets, which is why the LP position looks like itā€™s worth less in purely CFG terms now.

Good day @spazcoin

Thank you for posting this proposal.

  • Centrifuge Treasury right now holds ~ 14,408,235 CFG

With this proposal, HydraDX is asking to provide 710,000 CFG which is =~ 4.927% of all CFG Treasury. This is not a small request.

Due to this, As a simple token holder, I would like to understand more about the benefits of this proposal for Centrifuge Protocol.
Since the first HydraDX Proposal already passed around 10 months ( cps/cps/CP53.md at main Ā· centrifuge/cps Ā· GitHub )

  • CFG initial allocation was 500,010 CFG ( ~ 350,500$ with the actual token price) and 484 942 CFG actual holding ( ~40% of the pool)
  • CFG Pool on HydraDX has Value locked: $652 222
  • CFG Protocol has earned - $9 315 in LRNA tokens
  • CFG protocol has lost 15,068 CFG (difference between CFG provided and CFG that sibling account holding right now) = or 10,562.668$ difference.

Is this information correct ?
So in 10 months, CFG has earned 9315$ (2.657% of the Value locked) and lost 10,562$.
Looks like not a super interesting deal for Centrifuge Protocol, but as a good deal for HydraDX.

So what are the benefits for CFG Protocol and token holders to increase the actual CFG Holdings and decrease by 5% CFG Treasury and get more looses?
Would not be better to use this 5% of Treasury in T-Bills through Anemoy and get profit instead of 0% or losses?

2 Likes

hey, although I am not the proponent of the proposal, I believe that the point of this proposal is more focused on having the necessary liquidity to be able to increase the use of the token on other platforms from the eco, for example in the lending of Interlay or Hydra later on, major liquidity, allows a higher threshold = greater use, since a higher position can be liquidated = also means more volume

Likewise, it must be clarified that it is simply IL, due to the price increase greater than that of LRNA (you can treat it as an index of the other assets in the Omnipool). So simply if another omnipool token has a big rise, this gap that you mention closes more and you can really see what it has generated as fees. As in any other position, it is knowing when to exit the position.

Now it is worth highlighting that in the month of May a defi campaign will be carried out in Hydra for the next 12 months, which is expected to attract much more volume, and in conjunction with dynamic fees, will allow more rewards to be generated for the Position.

So although in the long term ofc the position is sought to be in profit, it is about what this liquidity can contribute to the cfg ecosystem and usage.

if the amount is big or no, well that depends on the cfg comunnity, im more simply solving the doubts

One goal of any project is to get their token listed on exchanges so that their community can trade it, ideally so people can buy more of the token. The goal is also to achieve the projectā€™s target exchange liquidity with as little cost as possible to the project. Listing on top-tier centralized exchanges is very expensive, and you might even pay a market maker like Wintermute to manage liquidity on the CEX. Getting listed on a DEX is cheaper, but almost always requires ongoing rewards to attract mercenary liquidity.

Example governance proposals to use treasury tokens to incentivize DEX liquidity:

This works out to a ā€œcost of capitalā€ of paying $2400/month in incentives to attract each $100k in DEX liquidity for your token.

The Centrifuge treasury currently has $400k of CFG deposited into the Omnipool as Protocol Owned Liquidity. If the treasury were instead incentivizing this $400k liquidity with pure token incentives, it would cost about $2,400 x ($400k/$100k) = $9.6k each month. Over 10 months this would have cost $90.6k. (and you can see from the governance proposals above that other treasuries are indeed paying this magnitude of incentives to DEXs to encourage liquidity)

Therefore although it requires a much larger up-front deposit of tokens (which might not have been put to use sitting in the treasury anyways), the reoccurring cost for providing this DEX liquidity as a service to the Centrifuge community is significantly cheaper. You calculated the temporary impermanent loss to be $1,247 vs having paid $90.6k in liquidity incentives. If/when the market swings the other direction and CFG loses value vs the other tokens in the Omnipool (particularly stablecoins) then the impermanent loss will swing the other way and the value of the Centrifuge treasury deposit will look positive. Long-term its a wash and thereā€™s really not a cost and we should see the treasury balance grow due to swap fees. But if a project pays out liquidity incentives to a DEX, those are permanently spent and the project must pay again each period to maintain DEX liquidity for their users.

So please consider how the Omnipool is providing a cheap valuable service.

Second, you were thinking about the CFG deposit just as an investment and suggested instead investing this 5% into T-bills to deposit into Anemoy. This could certainly be another investment that the Centrifuge community makes. But usually communities donā€™t want their treasury to sell tokens and depress the CFG price. A benefit of depositing just CFG tokens into the Omnipool or into a lending pool is that the treasury doesnā€™t need to sell any tokens so it doesnā€™t affect price.

How Much Liquidity Is Really Needed?

I feel very strongly about the benefits of POL as outlined above, but I think ā€œhow much liquidity is enoughā€ is definitely something we could debate. Currently with the $685k of CFG in the Omnipool you can trade 16.5k CFG ($11.6k) to USDT in a single trade. Has the community shown a desire for more liquidity to do larger trades? As I mentioned in my proposal, I see whales wanting to buy more of a token but forced to use a CEX because on-chain liquidity is too low. Coingecko indicates you can trade $12.7k on Kraken and $23k on OrangeX before hitting 2% depth/slippage. Iā€™d like to see our on-chain liquidity be high enough for each parachain token so that on-chain swaps provide the cheapest most efficient way to buy tokens. Adding 710k CFG to the Omnipool would achieve that.

The other reason Iā€™m advocating for a deeper pool of liquidity on-chain is for loan liquidations as I explained originally. You definitely need more token liquidity to enable that, so thatā€™s why I think itā€™s valuable to push Omnipool liquidity to $1M so that we have a large enough money market to attract larger players.

Closing thought: Thanks for the discussion, Iā€™m really glad Polkadot chains have open governance like this, and Iā€™m looking forward to fielding more questions from the community at tomorrowā€™s monthly governance call.

2 Likes

Hi @spazcoin

Thank you for your reply and for your presentation during the call.
As a simple token holder. I have a few questions:

  • How many active users does HydraDX have?
  • How many dailies trading HydraDX have?
  • How many trading with $CFG pair is happening on HydraDX daily, weekly, and monthly?
  • How I can find full daily statistics about CFG trading? I can see only 10 last trading.
  • Are CFG tokens could face any risk if HydraDX protocol will be hacked?

I do think that this is not a bad proposal and definitely much better than simple maintaining of incentive or trading volume, but I would like to understand if spending this amount on something else will be more beneficial for CFG Protocol.

Thank you.

There is a good Dune dashboard for HydraDX:
[https://dune.com/substrate/hydradx]

The Parity data team also have some good monthly graphs:
[Parity Data Dashboards - Monthly Report]

Active Users - Dune shows 200-300 and Parity shows 5000-6000 active addresses. Neither source currently breaks out CFG trader accounts specifically.

From Dune, the daily volume of CFG traded on HydraDX is around $100-200k:

Regarding hacks, I would highly recommend reading through the list of HydraDX security measures: [State of the Art Security | HydraDX Docs]
I am especially impressed with how theyā€™ve been able to customize their Polkadot chain to apply security checks on every block produced. They also have an Immunefi bounty and recently participated in a code4rena contest to get whitehats to find any lingering vulnerabilities:

Only one high-risk finding with a $100k prize. (compare to Acala $36.5k prize and three High-risk findings)

1 Like