mDAO Proposal - Market Making Partnership with Lifinity (Modified)

How “robust” an oracle is really depends on what the oracle is being used for. In our case it’s for market making, so it’s ultimately a matter of inventory management. The market price of mSOL is essentially always lower than Marinade’s staking rate. If we used your version of the oracle and the price of SOL dropped beyond the value of the rewards distributed during that epoch, we wouldn’t be selling when the price falls (as we normally do), resulting in IL.

However, if that version of an mSOL oracle is important to Marinade, we can create and open source two versions of the oracle – ours and yours. This would include:

  1. The smart contract, which is just a simple program to record price data on-chain
  2. Some examples (at least two) of how we can aggregate price and send transactions to the program

(Fyi we will likely be modifying the oracle that we plan to use as we gather actual trading data.)

How’s that sound?

1 Like

I agree with you here, my comment was from a position of Pyth having several price failures resulting in faulty liquidations of mSOL collateralized loans, so having this as a backstop would help you

1 Like

I see. That was likely because mSOL didn’t have much liquidity on CEXs. Again, and I’m sure you understand this, but this is why we need to create a custom oracle based on Pyth’s SOL price feed.

1 Like

I have created a proposal on Tribeca: https://tribeca.so/gov/mnde/proposals/9

2 Likes

Following up on this with some back-of-the napkin calculations… Assuming 11.7M votes on the gauges this week (I didn’t get the exact amount the moment it closed), if Lifinity had voted with their 2M votes, they would have been allocated ~140K MNDE for the week.

That means after a month, if nobody else votes and without accounting for compounding, Lifinity would have accumulated an extra 560K votes.

Having said that, there are a lot of factors that could change these numbers:

  • We only got about 16% of the locked MNDE voting on gauges this week - higher participation would change the distribution;
  • Other protocols may decide to join the gauges as well.

So consider this only a rough guess, which I’m posting mostly since I said I would. :slight_smile:

2 Likes

I have activated the proposal, chefs can now vote!
https://tribeca.so/gov/mnde/proposals/9

3 Likes

Hi Durden! several questions:

Assuming the stSOL-USDC pool (which among our pools has the most similar profile to a mSOL-USDC pool) generates a daily volume of $1M (the average so far)

If I understand correctly, you’re providing 1 million USDC + 1 million mSOL, and also running the pool.

  1. What’s the monthly fee earned by Linfinity considering a daily volume of $1M ?

  2. are you currently providing the service for stSOL?

1 Like

We would provide $1M of liquidity, which would mean $500k USDC and $500k mSOL.

  1. The stSOL-USDC pool hasn’t been running for a month yet, so it’s not clear. Also, both fees and MMP/IL will vary significantly from month to month. We also adjust our fees to maximize profit. It is currently set to 0.12%, so if we assumed stable volume and an unchanging price, we’d earn 1M * 0.12% * 30 = 36k. (Now that more time has passed, it looks like the average daily volume is actually lower than $1M).

  2. We provide liquidity as a service to Lido, so they compensate us on a monthly basis based on the volume generated.

2 Likes

So that’s about 43.2% APY you’re collecting on the 1 million correct? $432k/year?
And since mSOL price is tied to SOL price, we will be paying you on top of that for the risk you’re taking that SOL goes way below current price, correct?

1 Like

APR, yes.

Our proposed deal with Marinade is a one-time grant, so no there will not be on-going payments (and even if you did pay it wouldn’t be for SOL’s price risk but rather the risk of us holding mSOL relative to SOL – smart contract risk etc.)

1 Like

43.2% APY sounds nice, and Marinade contract risk is really low. I say you should do it anyway even if you don’t get the grant from Marinade.

The deal is a little strange, if you tell me you need to get paid to run MNDE<>USDC pool, that’s more understandable, but I don’t see it for mSOL<>USDC (maybe I’m wrong), that’s because mSOL is a SOL derivative, and Marinade contract risk is low… looks like something you should do just for the 43% APY IMHO

1 Like

I think you are confusing profit from market making with incentives paid by the protocol for the service. The potential 43.2% APR is not from trading fees, it is from Lido paying us in LDO based on volume generated.

Your reasoning begs the question of why Marinade has incentivized mSOL-USDC pools until now. I think the obvious answer is that providing liquidity for it is too risky (especially in terms of IL) for people to be motivated to do it in the absence of incentives.

2 Likes

So the 0.12% fee on each operation is paid by LIDO? There are no fees for the user making the swap?

1 Like

The 0.12% is the swap fee, paid by traders. Lido pays 0.05% on the total volume generated (totally separate from the 0.12%).

So I’m confused again…

Those 36k/year make the 43% APR on 1 million USD you’re providing. I still don’t understand why do we need to pay you, for you to do something that looks very profitable on itself.

Regarding mSOL<>SOL liquidity, we have 23 million USD in our internal pool and 5 million more on ORCA, and SOL<>USDC has a lot of depth everywhere, so mSOL<>SOL is relevant to mSOL<>USDC

I’ve no problem partnering with Lifinity, but please explain why do we need it, please convince us that we depart from 2 million MNDE and get something of at least equal value in return.

I need to understand what are we buying, and I still don’t… what are we paying for? 1 million deep liquidity mSOL<>USDC pool? do we need it considering actual existing pools?. Maybe is me, and I’m not seeing the advantage, but TBH I still don’t see how this is a good buy for the DAO.

If we’re paying for the oracle, let’s put that in a separate proposal.

1 Like

The 36k is just the fees and doesn’t factor in the possibility of IL or the price risk of holding mSOL. We are being compensated for the risk being taken.

2 Likes

@Durden hello

  1. What is the Lifinity wallet address to receive the grant?
  2. Is it ok to send the funds already locked as NFT?
1 Like

71hhezkHQ2dhmPySsHVCCkLggfWzPFEBdfEjbn4NCXMG

Yes, NFT would be great. Excited to see what it looks like! :slightly_smiling_face:

1 Like

Imho it looks nice! :slight_smile:

3 Likes

Love it! gm :purple_heart:

Does Marinade need any info from us in order to create the liquidity mining gauge?

1 Like