🔒Mine Lock

When mining, your tokens (T) will be locked for 10 days (except for the standard BITGOLD staking mine with zero lock time), as this is a critical aspect of our sustainability protocol. The lock counter will not be reset when adding tokens at a later time. Instead, we utilize an average-based locking window. Read below how this works (Don't worry about the math, we've got you covered and will explain it in the simplest way possible.)

Average-based Locking Window

The math is easy when you stake tokens for the first time. Your lock time is:

10 days

When staking at a later time, we take into account the remaining lock period (let's call it rem_lock) of your staked tokens (let's call it staked) and the ratio between your staked tokens and the tokens you wish to add to the mine (let's call it new_stake). The new lock (let's call it new_lock) is calculated as:

new_lock = (staked * rem_lock + new_stake * 10 days) / (staked + new_stake)

Example 1:

  • staked: 250 T

  • new_stake: 250 T

  • rem_lock: 3 days

  • new_lock : ?

The new lock new_lock is calculated as

new_lock = (250 T* 3 days + 250 T* 10 days) / (250 T+ 250 T) = ?

new_lock = (750 T* days + 2500 T* days) / (500 T) = ?

new_lock = (3250 T* days) / (500 T) = 6.5 days

Note: if staked = new_stake, then new_lock is always in the middle of [rem_lock, 10 days] and you can simply calculate Example 1 as:

new_lock = (3 days + 10 days) / 2 = 6.5 days

Example 2:

  • staked: 250 T

  • rem_lock: 3 days

  • new_stake: 100 T

  • new_lock : ?

The new lock new_lock is calculated as

new_lock = (250 T* 3 days + 100 T* 10 days) / (250 T+ 100 T) = ?

new_lock = (750 T* days + 1000 T* days) / (350 T) = ?

new_lock = (1750 T* days) / (350 T) = 5 days

Note: It is always rem_lock < new_lock < 10 days

Had enough of the math? Gotcha, jump right into the mine on the mining app.

Last updated