Introduction to United Mint Contract

MinakoKojima
1 min readSep 4, 2020

Backgound

yCrv is the liquidity token behind the Curve’s yearn series in YFI. yyCrv earns passive incoming in YFI as well as Curve’s trading fees plus Curve governance token via liuquidity mining. In short, yyCrv yield comes from:

  1. Passive incoming by YFI.
  2. Trading fees by Curve.
  3. Additional liquidity incentives by Curve.

No matter what direction the market goes in the near future, it seems that yCrv is one of the most stable financial portfolios at this moment. That’s why we select y3d-yyCrv Uniswap pair as our y3d liquidity mining LP token.

Generally speaking, in order to get yyCrv, you need to have yCrv first. The easiest way is to have yCrv is directly buying them from the Uniswap, but the yCrv premium is too high. The correct way should be mint yCrv from the Curve contract dirrectly. But due to Ethereum network congestion, the latter way usually costs 50$ or 100$ per transcation on Gas, which makes it unaffordable for long-tail investors.

To address this problem, here we introduce the United Mint contract.

How to use

  • Deposit(uint)
  • Mint()
  • Claim()
  • Withdraw(uint)

Techinical Detail

https://github.com/frankwei98/My-solidity-workshop/blob/master/src/UnitedMint.sol

--

--