# esDOP vesting duration

The length of the esDOP vesting period is determined by the ratio of veDOP to esDOP in a user’s wallet, at the time of vesting. Once established, esDOP will be distributed as DOP linearly over the allocated time frame.

The minimum eligible esDOP/veDOP ratio of 1 will yield a vesting period of 180 days, while the maximum eligible esDOP/veDOP ratio of 10 or higher will yield a vesting period of 30 days.

The vesting period for a ratio between 1 and 10 will be calculated according to the following formula:

`minDuration + (maxDuration - minDuration) / (maxRatio - userRatio) * (maxRatio - minRatio)`

* When vested DOP claimed from the vesting
* Locking more or claiming veDOP

### esDOP vesting period recalculations

In some cases, the esDOP vesting period will be subject to a recalculation. This includes cases where:

* 0 esDOP tokens added to vest
* Additional esDOP is added to the vest, while there’s esDOP already vesting.

The esDOP vesting period will not be recalculated when:

* When vested DOP claimed from the vesting
* Locking more or claiming veDOP
