Skip to main content

Mint and Farm YD-ETH-JUN21

This tutorial will show you how to mint YD-ETH-JUN21 and farm them on a Balancer pool to get BAL and also UMA tokens via the UMA liquidity mining program. It's a simple two-step process and should take you no longer than a few minutes (subject to network congestion).

Useful Links#

Step 1: Mint YD-ETH-JUN21#

You can now mint yield dollar tokens from two different interfaces.

Minting using EMP Tools#

Navigate to http://tools.umaproject.org/ and click the "Connect" button at the top right corner to connect your MetaMask wallet to the dapp.

connect

Then, select the YD-ETH-JUN21 contract from the dropdown immediately underneath the header (above the tabs).

select EMP

Select the "Manage Position" tab.

manage position tab

Scroll down to the "Actions" dropdown and ensure that "Create" is selected.

position actions dropdown

At this point, make sure you read the text and confirm that:

  1. You will be minting at a collateralization ratio above the global collateralization ratio (GCR);
  2. You will be minting the minimum required number of tokens (100 for YD-ETH-JUN21), and;
  3. You will keep your position collateralized above the minimum required collateralization ratio (CR) or else risk getting liquidated (the required CR is 125% for YD-ETH-JUN21).

If you fully understand the above, and have decided on an appropriate amount of (1) collateral to supply and (2) tokens to mint, check to make sure you have enough collateral for minting.

In the case of YD-ETH-JUN21, the collateral you need is WETH, which is just ETH with an ERC20 interface. If you do not have a sufficient balance of WETH, you can easily convert your ETH to WETH via the “Wrap/Unwrap WETH” tab.

You may skip this step if you already have sufficient WETH.

weth converter

Once you have enough WETH to use as collateral, return to the "Manage Position" tab and scroll down to the form at the bottom of the page:

token minting form

In the first field, fill in the amount of collateral you want to supply.

In the second field, fill in the number of tokens you want to mint.

If these values are appropriate, you can then click the "Create" button which will trigger a transaction with MetaMask. Once that is confirmed and the transaction is mined, you shall have your YD-ETH-JUN21 tokens!

Minting using OpenDAO's Interface#

Navigate to https://ydollar.opendao.io/ and click the "Connect" button at the top right corner to connect your MetaMask wallet to the dapp.

connect

Then click select Btc or Eth and select the ETH(YD-ETH-JUN21) contract from the dropdown.

select EMP

Select the "Mint Y-Dollars" tab.

manage position tab

At this point, make sure you confirm that you know that:

  1. You will be minting at a collateralization ratio above the global collateralization ratio (GCR);
  2. You will be minting the minimum required number of tokens (100 for YD-ETH-JUN21), and;
  3. You will keep your position collateralized above the minimum required collateralization ratio (CR) or else risk getting liquidated (the required CR is 125% for YD-ETH-JUN21).

If you fully understand the above, and have decided on an appropriate amount of (1) collateral to supply and (2) tokens to mint, check to make sure you have enough collateral for minting.

In the case of YD-ETH-JUN21, the collateral you need is WETH, which is just ETH with an ERC20 interface. If you do not have a sufficient balance of WETH, you can easily convert your ETH to WETH via the “Convert your ETH into WETH” section.

You may skip this step if you already have sufficient WETH.

weth converter

Once you have enough WETH to use as collateral, return to "Mint Y-Dollars".

In the first field, fill in the amount of collateral you want to supply.

In the second field, fill in the number of tokens you want to mint.

If these values are appropriate, you can then click the "Create" button which will trigger a transaction with MetaMask. Once that is confirmed and the transaction is mined, you shall have your YD-ETH-JUN21 tokens!

Step 2: Farm on Balancer#

danger

Supplying only USDC to the pool will result in auto-purchasing YD-ETH-JUN21 at the current price. This means you are market-buying YD-ETH-JUN21, so be mindful of the trading price of YD-ETH-JUN21 before doing this.

By supplying liquidity to the YD-ETH-JUN21 Balancer pool, you have the opportunity to earn both BAL and UMA tokens.

Head to the YD-ETH-JUN21 pool and click on the "Add Liquidity" button. You’ll be asked to Setup Proxy if you haven’t already

add liquidity button on balancer

Once the proxy is setup, the "Add Liquidity" button will show you a form for adding liquidity.

At this point, you might want to get some USDC so you can supply both assets to the Balancer pool. Alternatively, Balancer also supports supplying only a single-asset but that mechanism is out of scope for this tutorial.

Under the "All Pool Assets" tab, you should see something like this:

deposit assets on balancer

As with any other ERC20 token, you'll have to "unlock" (i.e. grant approval) for the dapp to transfer tokens on your behalf. Once you have done that, you can deposit YD-ETH-JUN21 and USDC into the Balancer pool in exchange for some Balancer Pool Tokens (i.e. BPT) specific to this pool.

This enables you to passively gain BAL as well as UMA. If you have any questions regarding this process, please don't hesitate to reach out on Discord.