FlatQube Boosting mechanism

Broxus
3 min readOct 23, 2022

--

The first epoch of voting is already in full swing, which means it’s time to explain how the new mechanics work.

In this article, we will describe how the boost farming mechanism works.

Total deposits (TD) — is just a sum of the user’s deposits in a specific gauge. We need this new entity in case of measuring locked deposits.

Where
d — user’s deposit
n — number of deposits

veQUBE — vote escrowed tokens which can be obtained by locking QUBE. Amount of veQUBE remains static for the whole duration of the lock.

Where
QUBE lock time — lock time in days

Ve-boosted deposit (veBD) — part of virtual balance which calculates from the user’s veQUBE amount.

Where
GB — gauge balance, sum of user balances in a specific gauge (e.g. EVER/USDT)
veQUBE — number of veQUBE a user owns
TveQUBE — total number of veQUBE in circulation

LP-locked boosted deposit (lBD) — part of virtual balance which calculates from the time of lock of the deposit.

Where
Deposit lock time — the time for which the user has blocked his LP tokens
Max lock time — maximum possible LP lock time

Now we need to calculate both multipliers for deposit.

Ve-boosted deposit multiplier (veBD multiplier) — boost we get for veQUBE.

LP-locked boosted deposit multiplier (lBD multiplier) — boost we get for LP lock.

Finally, virtual balance — the balance to which the weight of the user in the farming pool will be applied.

Examples

Example 1

Input data

User A: deposit $1 in EVER/USDT gauge, 10 veQUBE on the balance;
User B: deposit $1000 n EVER/USDT gauge, 10000 veQUBE on the balance;
Other users in EVER/USDT gauge don’t have veQUBE;
EVER/USDT TVL $10000;
veQUBE total supply 100000.

No LP lock applicable.

This article will be constantly updating.

--

--

Broxus

This is the official Medium account of Broxus, developer of octusbridge.io, flatqube.io, EVER Wallet & everscan.io.