Minter / Floor

This is a technical explanation on how to mint XVIX with ETH and how to redeem ETH for XVIX.

Minter

The Minterarrow-up-right contract allows anyone to mint XVIX using ETH, the formula for how much XVIX you will receive can be calculated using the following formula:

ethIn(maxSupplytotalSupply)/(ethReserve+ethIn)ethIn * (maxSupply - totalSupply) / (ethReserve + ethIn)

Where circulatingXVIX is the total supply of XVIX, total supply and maxSupply can be read from the XVIX contractarrow-up-right and ethReserve can be read from the Minterarrow-up-right contract. Note that all values in the link are pre-multiplied by 10^18.

To mint XVIX with ETH:

  1. Visit the Minterarrow-up-right contract

  2. Click on "Connect to Web3"

  3. Under "mint", enter the amount of ETH to send and key in the address you want to receive XVIX at under "receiver"

  4. Note that the "mint" amount does NOT need to be multiplied by 10^18

Floor

The Floorarrow-up-right contract allows anyone to redeem ETH for XVIX at the floor pricearrow-up-right.

To redeem ETH for XVIX:

  1. Visit the Floorarrow-up-right contract

  2. Click on "Connect to Web3"

  3. Under "refund", key in the address you want to receive ETH at under "receiver" and key in the amount of XVIX you want to burn under "burnAmount"

  4. Note that the "burnAmount" should be multiplied by 10^18, you can use https://eth-converter.com/arrow-up-right for conversion

Example:

If your address is 0x5F799f365Fa8A2B60ac0429C48B153cA5a6f0Cf and you want to burn 1.5 XVIX.

  • Click on "Write" and send the transaction with Metamask

  • You would then receive the refunded ETH at your address

Last updated