About glitches in accruals of rewards.

EmiSwap
3 min readJun 24, 2022

--

Dear Emiswapians. Recently we have fixed glitches in accruals of rewards so that’s why some of you might see changes in their balances.

Let’s recall how rewards should have been accounted:

  • Create an LP token by putting any token in pair with ESW, for example USDT + ESW and get 180% APR for liquidity provision + 0,25% from the commissions in this trading pool. If you will add this LP into the farming pool with ESW to have LP

Example: 1000$ in USDT + 1000$ in ESW = LP (USDT + ESW). If you will add this LP to the farming pool with ESW (as in example below) you will have 180% APR + extra farming rewards depending on the amount of people who already are in this farming pool.

  • Create an LP token by putting any token in pair without ESW, for example USDT + MATIC, then put this LP into farming pool with ESW and and get 365% APR for liquidity provision + 0,25% from the commissions in this trading pool + extra farming rewards from the created pool.

Example: 1000$ in USDT + 1000$ in MATIC = LP (USDT+MATIC) + 2000$ ESW

In the first case you receive rewards for liquidity provision and in the second — for staking in the farming pool. In both cases you will have extra farming rewards if you will put your LP tokens with ESW.

But luckily we’ve found the bug that was calculating rewards in a wrong way, doubling rewards in the way that it shouldn’t.

So our first case with 180% APR has been accruing double rewards 360% instead of 180% when people were adding their LPs (matic+ESW) to farming pools adding ESW to their LPs to have LP+ESW farming pools.

Also 180% were accruaring for LPs MATIC+USDT without ESW which was a mistake. In this case we don’t account rewards for liquidity without ESW being staked in the farming pool. In the correct way in order to have 365% you should stake this LP (MATIC_USDT) in farming pool with ESW as in example #2.

How rewards are being unlocked and what is the collect process?

  • For 180% APR liquidity provision you can withdraw your liquidity at any moment and you will be able to collect rewards in 90 days.
  • For 365% APR your liquidity will be locked for 30 days, after this period you can withdraw it and as in the above mentioned you will be able to collect rewards in 90 days
  • Extra rewards that you get from the farming pool you can withdraw after 30 days.
  • Daily limit for withdrawals for all the users 50 000 ESW. Soon this amount will be increased.
  • You must wait 10 days after you request to collect your tokens.
  • Rewards are accrued on a daily basis.

All these measures are taken to lower the selling pressure on ESW tokens. We have very high rewards in our native ESW tokens so in future we will be lowering these APRs.

--

--

EmiSwap

The first decentralized AMM exchange with NFTs and ESW governance token that compensates 100% gas on Ethereum and distributes 100% of trading fees