# Pooling

Currently, anyone can be a liquidity provider for the roulette contract.

If you decide to add liquidity, pool shares will be printed, represented with the DEVL ERC-20 token.
Because of the nature of roulette probabilities, when people play, the expected value of the pool with grow while you ownership percentage will remain the same. This will allow you to collect interests from pooling.

On the current version, there's no limit how much you can pool and how many shares can be printed. It will remain like that for this contract, forever.

# How to provide liquidity

Go to the DApp interface and select the tab Pool. There you'll have an interface with the current total liquidity and your deposited liquidity and pool percentage.

If you click on Add Liquidity a popup will open, there you have to put how much you wish to add.

If you wish to withdraw your current liquidity, just click on Remove liquidity.

Each liquidity buy-in will be charged a 10% fee which goes to the developers. This fee serves two purposes. First, it is used to fund further development of the game, including a planned mobile phone compatible version. Second, it encourages stakers to leave funds in for a longer period of time in order to recoup the 10% fee and potentially earn a profit.

There is no fee to withdraw liquidity from the pool and there is also no set lock-up period for liquidity providers.

# Examples

Here are some examples of what can happen to the provided liquidity:

# Basic example

  • Pool has 1000 DAI initially
  • You provide 1000 DAI in liquidity, making it 2000 DAI now.
  • You're minted the equivalent token shares of 45%, as 100 DEVL shares go to the developers.
  • After a while the pool grows from 2000 DAI to 2500 DAI because of losing bets in the game.
  • You now have 2500 * 45% = 1125 DAI available to withdraw.

# Share dilution

  • Pool has 1000 DAI initially
  • You provide 1000 DAI in liquidity, making it 2000 DAI now.
  • You're minted the equivalent token shares of 45%
  • Another person provides an additional 500 DAI in liquidity, making it 2500 DAI now.
  • More shares were printed, so your percentage gets diluted to 36%
  • After a while the pool grows from 2500 DAI to 3000 DAI because of losing bets in the game.
  • You now have 3000 * 36% = 1080 DAI available to withdraw.

You can contact the developers through our Discord server or by Telegram with any questions about pooling.